Changeset 1117

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

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

Location:
trunk/Modelica
Files:
2 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" 
  • trunk/Modelica/package.mo

    r1113 r1117  
    22package Modelica "Modelica Standard Library (Version 3.0.1 development)" 
    33extends Icons.Library; 
     4 
    45 
    56annotation ( 
     
    6970</HTML> 
    7071")); 
     72 
    7173 
    7274package UsersGuide "User's Guide of Modelica library" 
     
    659661  
    660662<table border=\"1\" cellspacing=0 cellpadding=2 style=\"border-collapse:collapse;\"> 
    661   <tr><td colspan=\"2\"><b>XXXX</b></td></tr> 
    662   <tr><td valign=\"top\"> XXX</td> 
    663       <td valign=\"top\"> XXX </td>  
     663  <tr><td colspan=\"2\"><b>Media.Interfaces.PartialSimpleMedium</b></td></tr> 
     664  <tr><td valign=\"top\"> pressure<br>  
     665                        temperature<br> 
     666                        density<br> 
     667                        specificEnthalpy </td> 
     668      <td valign=\"top\"> Missing functions added.</td>  
    664669  </tr> 
    665670</table>