Show
Ignore:
Timestamp:
05/04/08 14:13:28 (4 months ago)
Author:
otter
Message:

Media.Interfaces.PartialSimpleMedium: Missing functions added (pressure, temperature, density, specificEnthalpy) + update of release notes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Modelica/Media/package.mo

    r1103 r1117  
    59935993    end thermalConductivity; 
    59945994 
     5995     
     5996    redeclare function extends pressure "Return pressure"  
     5997       
     5998    annotation(Documentation(info="<html></html>")); 
     5999    algorithm  
     6000      p := state.p; 
     6001    end pressure; 
     6002 
     6003    redeclare function extends temperature "Return temperature"  
     6004       
     6005    annotation(Documentation(info="<html></html>")); 
     6006    algorithm  
     6007      T := state.T; 
     6008    end temperature; 
     6009 
     6010    redeclare function extends density "Return density"  
     6011       
     6012    annotation(Documentation(info="<html></html>")); 
     6013    algorithm  
     6014      d := d_const; 
     6015    end density; 
     6016 
     6017    redeclare function extends specificEnthalpy "Return specific enthalpy"  
     6018       
     6019    annotation(Documentation(info="<html></html>")); 
     6020    algorithm  
     6021      h := cp_const*(state.T-T0); 
     6022    end specificEnthalpy; 
     6023 
    59956024    redeclare function extends specificHeatCapacityCp 
    59966025      "Return specific heat capacity at constant pressure"