Changeset 1114 for branches/maintenance/2.2.2/Modelica/Media/package.mo
- Timestamp:
- 05/04/08 14:03:32 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/maintenance/2.2.2/Modelica/Media/package.mo
r739 r1114 5902 5902 end thermalConductivity; 5903 5903 5904 redeclare function extends pressure "Return pressure" 5905 5906 annotation(Documentation(info="<html></html>")); 5907 algorithm 5908 p := state.p; 5909 end pressure; 5910 5911 redeclare function extends temperature "Return temperature" 5912 5913 annotation(Documentation(info="<html></html>")); 5914 algorithm 5915 T := state.T; 5916 end temperature; 5917 5918 redeclare function extends density "Return density" 5919 5920 annotation(Documentation(info="<html></html>")); 5921 algorithm 5922 d := d_const; 5923 end density; 5924 5925 redeclare function extends specificEnthalpy "Return specific enthalpy" 5926 5927 annotation(Documentation(info="<html></html>")); 5928 algorithm 5929 h := cp_const*(state.T-T0); 5930 end specificEnthalpy; 5931 5904 5932 redeclare function extends specificHeatCapacityCp 5905 5933 "Return specific heat capacity at constant pressure" … … 6083 6111 end density; 6084 6112 6085 redeclare function extends specificEnthalpy 6086 "Return specific enthalpy" 6087 extends Modelica.Icons.Function; 6113 redeclare function extends specificEnthalpy "Return specific enthalpy" 6114 extends Modelica.Icons.Function; 6088 6115 annotation(Documentation(info="<html></html>")); 6089 6116 algorithm … … 6092 6119 6093 6120 redeclare function extends specificInternalEnergy 6094 "Return specific internal energy"6095 extends Modelica.Icons.Function;6121 "Return specific internal energy" 6122 extends Modelica.Icons.Function; 6096 6123 annotation(Documentation(info="<html></html>")); 6097 6124 algorithm … … 6099 6126 end specificInternalEnergy; 6100 6127 6101 redeclare function extends specificEntropy 6102 "Return specific entropy" 6103 extends Modelica.Icons.Function; 6128 redeclare function extends specificEntropy "Return specific entropy" 6129 extends Modelica.Icons.Function; 6104 6130 annotation(Documentation(info="<html></html>")); 6105 6131 algorithm … … 6108 6134 6109 6135 redeclare function extends specificGibbsEnergy 6110 "Return specific Gibbs energy"6111 extends Modelica.Icons.Function;6136 "Return specific Gibbs energy" 6137 extends Modelica.Icons.Function; 6112 6138 annotation(Documentation(info="<html></html>")); 6113 6139 algorithm … … 6116 6142 6117 6143 redeclare function extends specificHelmholtzEnergy 6118 "Return specific Helmholtz energy"6119 extends Modelica.Icons.Function;6144 "Return specific Helmholtz energy" 6145 extends Modelica.Icons.Function; 6120 6146 annotation(Documentation(info="<html></html>")); 6121 6147 algorithm
