Changeset 585
- Timestamp:
- 08/21/2007 09:18:41 AM (17 months ago)
- Location:
- Modelica/trunk/Modelica
- Files:
-
- 2 modified
-
Media/IdealGases/Common/SingleGasesData.mo (modified) (2 diffs)
-
Thermal/FluidHeatFlow.mo (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Modelica/trunk/Modelica/Media/IdealGases/Common/SingleGasesData.mo
r584 r585 9 9 report TP-2002-211556</p> 10 10 </blockquote> 11 <pre>12 <p>The record entries are defined in <b>IdealGases.DataRecord</b>. Data13 records for the following gases are provided:14 </p>15 11 16 12 <pre> … … 193 189 BaO+ CH3CO_acetyl DBr In2F6 Na3Cl3 ScO 194 190 BaOH C2H4 DCl In2I2 Na3F3 ScO+ 195 </pre></HTML>")); 191 </pre> 192 193 </HTML>")); 196 194 197 195 constant IdealGases.Common.DataRecord Ag( -
Modelica/trunk/Modelica/Thermal/FluidHeatFlow.mo
r582 r585 1026 1026 connect(Pipe1.flowPort_b, Ambient2.flowPort) 1027 1027 annotation (points=[20,0; 40,0], style(color=1, rgbcolor={255,0,0})); 1028 connect(ThermalConductor1.port_a, HeatCapacitor1.port) annotation (points=[10,-40; 1028 connect(ThermalConductor1.port_a, HeatCapacitor1.port) annotation (points=[10,-40; 1029 1029 10,-40; 10,-50; 10,-50], style(color=42, rgbcolor={191,0,0})); 1030 1030 connect(Pipe1.heatPort, ThermalConductor1.port_b) … … 1127 1127 connect(Pipe3.flowPort_b, Ambient2.flowPort) 1128 1128 annotation (points=[60,0; 80,0], style(color=1, rgbcolor={255,0,0})); 1129 connect(HeatCapacitor2.port, ThermalConductor2.port_a) annotation (points=[10,60; 1129 connect(HeatCapacitor2.port, ThermalConductor2.port_a) annotation (points=[10,60; 1130 1130 10,55.5; 10,50; 10,50], style(color=42, rgbcolor={191,0,0})); 1131 1131 connect(ThermalConductor2.port_b, Pipe2.heatPort) … … 1133 1133 connect(Pipe1.heatPort, ThermalConductor1.port_b) annotation (points=[10,-20; 1134 1134 10,-30], style(color=42, rgbcolor={191,0,0})); 1135 connect(ThermalConductor1.port_a, HeatCapacitor1.port) annotation (points=[10,-50; 1135 connect(ThermalConductor1.port_a, HeatCapacitor1.port) annotation (points=[10,-50; 1136 1136 10,-50; 10,-60; 10,-60], 1137 1137 style(color=42, rgbcolor={191,0,0})); … … 1190 1190 parameter Modelica.SIunits.Time interval=0.2 1191 1191 "Interval between end of 1st and beginning of 2nd ramp"; 1192 parameter Real height_1=-1 "Height of ramp" 1192 parameter Real height_1=-1 "Height of ramp" 1193 1193 annotation(Dialog(group="Ramp 1")); 1194 1194 parameter Modelica.SIunits.Time duration_1(min=Modelica.Constants.small) = 0.2 1195 "Duration of ramp" 1195 "Duration of ramp" 1196 1196 annotation(Dialog(group="Ramp 1")); 1197 parameter Real height_2=1 "Height of ramp" 1197 parameter Real height_2=1 "Height of ramp" 1198 1198 annotation(Dialog(group="Ramp 2")); 1199 1199 parameter Modelica.SIunits.Time duration_2(min=Modelica.Constants.small) = 0.2 1200 "Duration of ramp" 1200 "Duration of ramp" 1201 1201 annotation(Dialog(group="Ramp 2")); 1202 1202 annotation ( … … 1250 1250 <p> 1251 1251 This package contains components: 1252 </p> 1253 1252 1254 <ul> 1253 1255 <li>pipe without heat exchange</li> 1254 1256 <li>pipe with heat exchange</li> 1255 1257 <li>valve (simple controlled valve)</li> 1256 < ul>1257 </p> 1258 </ul> 1259 1258 1260 <p> 1259 1261 Pressure drop is taken from partial model SimpleFriction.<br> 1260 1262 Thermodynamic equations are defined in partial models (package Partials). 1261 1263 </p> 1262 <p>1263 1264 1264 1265 </HTML>", revisions="<HTML> … … 1435 1436 fillPattern=1))), Diagram); 1436 1437 extends Interfaces.Partials.TwoPort(m=0, final tapT=1); 1437 parameter Boolean LinearCharacteristic=true 1438 "Type of characteristic" 1439 annotation(Dialog(group="Standard characteristic"), choices(choice=true "Linear", choice=false "Exponential")); 1440 parameter Real y1(min=small)=1 1441 "Max. valve opening" 1438 parameter Boolean LinearCharacteristic=true "Type of characteristic" 1439 annotation(Dialog(group="Standard characteristic"), choices(choice=true "Linear", choice=false 1440 "Exponential")); 1441 parameter Real y1(min=small)=1 "Max. valve opening" 1442 1442 annotation(Dialog(group="Standard characteristic")); 1443 1443 parameter Modelica.SIunits.VolumeFlowRate Kv1(min=small)=1 1444 "Max. flow @ y = y1" 1444 "Max. flow @ y = y1" 1445 1445 annotation(Dialog(group="Standard characteristic")); 1446 1446 parameter Real kv0(min=small,max=1-small)=0.01 1447 "Leakage flow / max.flow @ y = 0" 1447 "Leakage flow / max.flow @ y = 0" 1448 1448 annotation(Dialog(group="Standard characteristic")); 1449 parameter Modelica.SIunits.Pressure dp0=1 1450 "Standard pressure drop" 1449 parameter Modelica.SIunits.Pressure dp0=1 "Standard pressure drop" 1451 1450 annotation(Dialog(group="Standard characteristic")); 1452 parameter Modelica.SIunits.Density rho0 = 10 1453 "Standard medium's density" 1451 parameter Modelica.SIunits.Density rho0 = 10 "Standard medium's density" 1454 1452 annotation(Dialog(group="Standard characteristic")); 1455 1453 parameter Real frictionLoss(min=0, max=1) = 0 … … 1747 1745 string="dp ~ V_flow²"))); 1748 1746 parameter Modelica.SIunits.VolumeFlowRate V_flowLaminar(min=Modelica.Constants.small)=0.1 1749 "Laminar volume flow" 1747 "Laminar volume flow" 1750 1748 annotation(Dialog(group="Simple Friction")); 1751 1749 parameter Modelica.SIunits.Pressure dpLaminar=0.1 1752 "Laminar pressure drop" 1750 "Laminar pressure drop" 1753 1751 annotation(Dialog(group="Simple Friction")); 1754 1752 parameter Modelica.SIunits.VolumeFlowRate V_flowNominal=1 1755 "Nominal volume flow" 1753 "Nominal volume flow" 1756 1754 annotation(Dialog(group="Simple Friction")); 1757 parameter Modelica.SIunits.Pressure dpNominal=1 1758 "Nominal pressure drop" 1755 parameter Modelica.SIunits.Pressure dpNominal=1 "Nominal pressure drop" 1759 1756 annotation(Dialog(group="Simple Friction")); 1760 1757 parameter Real frictionLoss(min=0, max=1) = 0 1761 "Part of friction losses fed to medium" 1758 "Part of friction losses fed to medium" 1762 1759 annotation(Dialog(group="Simple Friction")); 1763 1760 Modelica.SIunits.Pressure pressureDrop; … … 2369 2366 <p> 2370 2367 This package contains different types of sources: 2368 </p> 2369 2371 2370 <ul> 2372 2371 <li>Ambient with constant pressure and temperature</li> … … 2376 2375 <li>Constant and prescribed pressure increase</li> 2377 2376 <li>Simple pump with mechanical flange</li> 2378 < ul>2379 </p> 2377 </ul> 2378 2380 2379 <p> 2381 2380 Thermodynamic equations are defined in partial models (package Interfaces.Partials).<br> 2382 2381 All fans / pumps are considered without losses, they do not change enthalpy flow. 2383 2382 </p> 2384 <p>2385 2383 2386 2384 </HTML>", revisions="<HTML> … … 2697 2695 Diagram); 2698 2696 extends Interfaces.Partials.TwoPort(final tapT=1); 2699 parameter Modelica.SIunits.AngularVelocity w_Nominal=1 2700 "Nominal speed" 2697 parameter Modelica.SIunits.AngularVelocity w_Nominal=1 "Nominal speed" 2701 2698 annotation(Dialog(group="Pump characteristic")); 2702 2699 parameter Modelica.SIunits.Pressure dp0=2 2703 "Max. pressure increase @ V_flow=0" 2700 "Max. pressure increase @ V_flow=0" 2704 2701 annotation(Dialog(group="Pump characteristic")); 2705 2702 parameter Modelica.SIunits.VolumeFlowRate V_flow0=2 2706 "Max. volume flow rate @ dp=0" 2703 "Max. volume flow rate @ dp=0" 2707 2704 annotation(Dialog(group="Pump characteristic")); 2708 2705 Modelica.SIunits.AngularVelocity w=der(flange_a.phi) "Speed";
