Show
Ignore:
Timestamp:
05/04/08 14:11:03 (5 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
  • branches/maintenance/3.0/Modelica/Media/package.mo

    r1083 r1116  
    59885988    end thermalConductivity; 
    59895989 
     5990     
     5991    redeclare function extends pressure "Return pressure"  
     5992       
     5993    annotation(Documentation(info="<html></html>")); 
     5994    algorithm  
     5995      p := state.p; 
     5996    end pressure; 
     5997 
     5998    redeclare function extends temperature "Return temperature"  
     5999       
     6000    annotation(Documentation(info="<html></html>")); 
     6001    algorithm  
     6002      T := state.T; 
     6003    end temperature; 
     6004 
     6005    redeclare function extends density "Return density"  
     6006       
     6007    annotation(Documentation(info="<html></html>")); 
     6008    algorithm  
     6009      d := d_const; 
     6010    end density; 
     6011 
     6012    redeclare function extends specificEnthalpy "Return specific enthalpy"  
     6013       
     6014    annotation(Documentation(info="<html></html>")); 
     6015    algorithm  
     6016      h := cp_const*(state.T-T0); 
     6017    end specificEnthalpy; 
    59906018    redeclare function extends specificHeatCapacityCp 
    59916019      "Return specific heat capacity at constant pressure"