Show
Ignore:
Timestamp:
01/24/2007 04:04:49 PM (2 years ago)
Author:
hubertus
Message:

Fixed a bug reported by Kevin Davies (kdavies@…) in both development and maintenance branches (setState_phX did not work due to wrong vector size in h_pTX).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Modelica/branches/maintenance/2.2.1/Modelica/Media/Air.mo

    r463 r474  
    348348    input SI.Pressure p "Pressure"; 
    349349    input SI.Temperature T "Temperature"; 
    350     input SI.MassFraction X[nX] "Mass fractions of moist air"; 
     350    input SI.MassFraction X[:] "Mass fractions of moist air"; 
    351351    output SI.SpecificEnthalpy h "Specific enthalpy at p, T, X"; 
    352352    annotation(Inline=false,smoothOrder=1);