Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
casella committed Apr 16, 2024
1 parent a877f52 commit 9e9cd91
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Modelica/Media/package.mo
Original file line number Diff line number Diff line change
Expand Up @@ -6082,7 +6082,7 @@ Note that the (small) influence of the pressure term p/d is neglected.
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input Temperature T "Temperature";
input MassFraction X[nX] "Mass fractions";
input MassFraction X[:] "Mass fractions";
output SpecificEnthalpy h "Specific enthalpy";
algorithm
h := cp_const*(T - T0);
Expand All @@ -6098,7 +6098,7 @@ This function computes the specific enthalpy of the fluid, but neglects the (sma
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEnthalpy h "Specific enthalpy";
input MassFraction X[nX] "Mass fractions";
input MassFraction X[:] "Mass fractions";
output Temperature T "Temperature";
algorithm
T := T0 + h/cp_const;
Expand All @@ -6108,7 +6108,7 @@ This function computes the specific enthalpy of the fluid, but neglects the (sma
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEnthalpy h "Specific enthalpy";
input MassFraction X[nX] "Mass fractions";
input MassFraction X[:] "Mass fractions";
output Density d "Density";
algorithm
d := density(setState_phX(
Expand Down Expand Up @@ -6403,7 +6403,7 @@ quantities are assumed to be constant.
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input Temperature T "Temperature";
input MassFraction X[nX] "Mass fractions";
input MassFraction X[:] "Mass fractions";
output SpecificEnthalpy h "Specific enthalpy at p, T, X";
algorithm
h := cp_const*(T - T0);
Expand All @@ -6414,7 +6414,7 @@ quantities are assumed to be constant.
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEnthalpy h "Specific enthalpy";
input MassFraction X[nX] "Mass fractions";
input MassFraction X[:] "Mass fractions";
output Temperature T "Temperature";
algorithm
T := h/cp_const + T0;
Expand All @@ -6424,7 +6424,7 @@ quantities are assumed to be constant.
extends Modelica.Icons.Function;
input AbsolutePressure p "Pressure";
input SpecificEnthalpy h "Specific enthalpy";
input MassFraction X[nX] "Mass fractions";
input MassFraction X[:] "Mass fractions";
output Density d "Density";
algorithm
d := density(setState_phX(
Expand Down

0 comments on commit 9e9cd91

Please sign in to comment.