Changeset 1103 for trunk/Modelica
- Timestamp:
- 03/14/08 17:54:32 (8 months ago)
- Location:
- trunk/Modelica/Media
- Files:
-
- 2 modified
-
Air.mo (modified) (1 diff)
-
package.mo (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modelica/Media/Air.mo
r887 r1103 515 515 h := SingleGasNasa.h_Tlow(data=steam, T=T, refChoice=3, h_off=46479.819+2501014.5); 516 516 end enthalpyOfCondensingGas; 517 518 redeclare function extends enthalpyOfNonCondensingGas 519 "Return specific enthalpy of dry air as a function of temperature T" 520 521 annotation(Inline=false,smoothOrder=5, 522 Documentation(info="<html> 523 Specific enthalpy of dry air is computed from temperature. 524 </html>")); 525 algorithm 526 h := SingleGasNasa.h_Tlow(data=dryair, T=T, refChoice=3, h_off=25104.684); 527 end enthalpyOfNonCondensingGas; 517 528 518 529 function enthalpyOfWater -
trunk/Modelica/Media/package.mo
r1073 r1103 3049 3049 lineColor={255,0,0}, 3050 3050 fillColor={255,0,0}, 3051 fillPattern=FillPattern.Solid)}) 3052 , 3051 fillPattern=FillPattern.Solid)}), 3053 3052 Diagram(coordinateSystem( 3054 3053 preserveAspectRatio=true, … … 5253 5252 input Temperature T "temperature"; 5254 5253 input MassFraction[:] X "vector of mass fractions"; 5255 output SpecificEnthalpy h " liquidenthalpy";5254 output SpecificEnthalpy h "specific enthalpy"; 5256 5255 end enthalpyOfGas; 5257 5256 … … 5260 5259 extends Modelica.Icons.Function; 5261 5260 input Temperature T "temperature"; 5262 output SpecificEnthalpy h " liquidenthalpy";5261 output SpecificEnthalpy h "specific enthalpy"; 5263 5262 end enthalpyOfCondensingGas; 5264 5263 5264 replaceable partial function enthalpyOfNonCondensingGas 5265 "Return enthalpy of the non-condensing species" 5266 extends Modelica.Icons.Function; 5267 input Temperature T "temperature"; 5268 output SpecificEnthalpy h "specific enthalpy"; 5269 end enthalpyOfNonCondensingGas; 5265 5270 end PartialCondensingGases; 5266 5271
