LBL logo

Modelica.Media.Interfaces.PartialPureSubstance.setState_pT Modelica.Media.Interfaces.PartialPureSubstance.setState_pT

Return thermodynamic state from p and T

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
AbsolutePressurep Pressure [Pa]
TemperatureT Temperature [K]

Outputs

TypeNameDescription
ThermodynamicStatestatethermodynamic state record

Modelica definition

replaceable function setState_pT 
  "Return thermodynamic state from p and T"
   extends Modelica.Icons.Function;
   input AbsolutePressure p "Pressure";
   input Temperature T "Temperature";
   output ThermodynamicState state "thermodynamic state record";
algorithm 
   state := setState_pTX(p,T,fill(0,0));
end setState_pT;

Modelica.Media.Interfaces.PartialPureSubstance.setState_ph Modelica.Media.Interfaces.PartialPureSubstance.setState_ph

Return thermodynamic state from p and h

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
AbsolutePressurep Pressure [Pa]
SpecificEnthalpyh Specific enthalpy [J/kg]

Outputs

TypeNameDescription
ThermodynamicStatestatethermodynamic state record

Modelica definition

replaceable function setState_ph 
  "Return thermodynamic state from p and h"
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input SpecificEnthalpy h "Specific enthalpy";
  output ThermodynamicState state "thermodynamic state record";
algorithm 
  state := setState_phX(p,h,fill(0, 0));
end setState_ph;

Modelica.Media.Interfaces.PartialPureSubstance.setState_ps Modelica.Media.Interfaces.PartialPureSubstance.setState_ps

Return thermodynamic state from p and s

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
AbsolutePressurep Pressure [Pa]
SpecificEntropys Specific entropy [J/(kg.K)]

Outputs

TypeNameDescription
ThermodynamicStatestatethermodynamic state record

Modelica definition

replaceable function setState_ps 
  "Return thermodynamic state from p and s"
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input SpecificEntropy s "Specific entropy";
  output ThermodynamicState state "thermodynamic state record";
algorithm 
  state := setState_psX(p,s,fill(0,0));
end setState_ps;

Modelica.Media.Interfaces.PartialPureSubstance.setState_dT Modelica.Media.Interfaces.PartialPureSubstance.setState_dT

Return thermodynamic state from d and T

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
Densityd density [kg/m3]
TemperatureT Temperature [K]

Outputs

TypeNameDescription
ThermodynamicStatestatethermodynamic state record

Modelica definition

replaceable function setState_dT 
  "Return thermodynamic state from d and T"
  extends Modelica.Icons.Function;
  input Density d "density";
  input Temperature T "Temperature";
  output ThermodynamicState state "thermodynamic state record";
algorithm 
  state := setState_dTX(d,T,fill(0,0));
end setState_dT;

Modelica.Media.Interfaces.PartialPureSubstance.density_ph Modelica.Media.Interfaces.PartialPureSubstance.density_ph

Return density from p and h

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
AbsolutePressurep Pressure [Pa]
SpecificEnthalpyh Specific enthalpy [J/kg]

Outputs

TypeNameDescription
DensitydDensity [kg/m3]

Modelica definition

replaceable function density_ph "Return density from p and h"
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input SpecificEnthalpy h "Specific enthalpy";
  output Density d "Density";
algorithm 
  d := density_phX(p, h, fill(0,0));
end density_ph;

Modelica.Media.Interfaces.PartialPureSubstance.temperature_ph Modelica.Media.Interfaces.PartialPureSubstance.temperature_ph

Return temperature from p and h

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
AbsolutePressurep Pressure [Pa]
SpecificEnthalpyh Specific enthalpy [J/kg]

Outputs

TypeNameDescription
TemperatureTTemperature [K]

Modelica definition

replaceable function temperature_ph "Return temperature from p and h"
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input SpecificEnthalpy h "Specific enthalpy";
  output Temperature T "Temperature";
algorithm 
  T := temperature_phX(p, h, fill(0,0));
end temperature_ph;

Modelica.Media.Interfaces.PartialPureSubstance.pressure_dT Modelica.Media.Interfaces.PartialPureSubstance.pressure_dT

Return pressure from d and T

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
Densityd Density [kg/m3]
TemperatureT Temperature [K]

Outputs

TypeNameDescription
AbsolutePressurepPressure [Pa]

Modelica definition

replaceable function pressure_dT "Return pressure from d and T"
  extends Modelica.Icons.Function;
  input Density d "Density";
  input Temperature T "Temperature";
  output AbsolutePressure p "Pressure";
algorithm 
  p := pressure(setState_dTX(d, T, fill(0,0)));
end pressure_dT;

Modelica.Media.Interfaces.PartialPureSubstance.specificEnthalpy_dT Modelica.Media.Interfaces.PartialPureSubstance.specificEnthalpy_dT

Return specific enthalpy from d and T

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
Densityd Density [kg/m3]
TemperatureT Temperature [K]

Outputs

TypeNameDescription
SpecificEnthalpyhspecific enthalpy [J/kg]

Modelica definition

replaceable function specificEnthalpy_dT 
  "Return specific enthalpy from d and T"
  extends Modelica.Icons.Function;
  input Density d "Density";
  input Temperature T "Temperature";
  output SpecificEnthalpy h "specific enthalpy";
algorithm 
  h := specificEnthalpy(setState_dTX(d, T, fill(0,0)));
end specificEnthalpy_dT;

Modelica.Media.Interfaces.PartialPureSubstance.specificEnthalpy_ps Modelica.Media.Interfaces.PartialPureSubstance.specificEnthalpy_ps

Return specific enthalpy from p and s

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
AbsolutePressurep Pressure [Pa]
SpecificEntropys Specific entropy [J/(kg.K)]

Outputs

TypeNameDescription
SpecificEnthalpyhspecific enthalpy [J/kg]

Modelica definition

replaceable function specificEnthalpy_ps 
  "Return specific enthalpy from p and s"
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input SpecificEntropy s "Specific entropy";
  output SpecificEnthalpy h "specific enthalpy";
algorithm 
  h := specificEnthalpy_psX(p,s,fill(0,0));
end specificEnthalpy_ps;

Modelica.Media.Interfaces.PartialPureSubstance.temperature_ps Modelica.Media.Interfaces.PartialPureSubstance.temperature_ps

Return temperature from p and s

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
AbsolutePressurep Pressure [Pa]
SpecificEntropys Specific entropy [J/(kg.K)]

Outputs

TypeNameDescription
TemperatureTTemperature [K]

Modelica definition

replaceable function temperature_ps "Return temperature from p and s"
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input SpecificEntropy s "Specific entropy";
  output Temperature T "Temperature";
algorithm 
  T := temperature_psX(p,s,fill(0,0));
end temperature_ps;

Modelica.Media.Interfaces.PartialPureSubstance.density_ps Modelica.Media.Interfaces.PartialPureSubstance.density_ps

Return density from p and s

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
AbsolutePressurep Pressure [Pa]
SpecificEntropys Specific entropy [J/(kg.K)]

Outputs

TypeNameDescription
DensitydDensity [kg/m3]

Modelica definition

replaceable function density_ps "Return density from p and s"
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input SpecificEntropy s "Specific entropy";
  output Density d "Density";
algorithm 
  d := density_psX(p, s, fill(0,0));
end density_ps;

Modelica.Media.Interfaces.PartialPureSubstance.specificEnthalpy_pT Modelica.Media.Interfaces.PartialPureSubstance.specificEnthalpy_pT

Return specific enthalpy from p and T

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
AbsolutePressurep Pressure [Pa]
TemperatureT Temperature [K]

Outputs

TypeNameDescription
SpecificEnthalpyhspecific enthalpy [J/kg]

Modelica definition

replaceable function specificEnthalpy_pT 
  "Return specific enthalpy from p and T"
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input Temperature T "Temperature";
  output SpecificEnthalpy h "specific enthalpy";
algorithm 
  h := specificEnthalpy_pTX(p, T, fill(0,0));
end specificEnthalpy_pT;

Modelica.Media.Interfaces.PartialPureSubstance.density_pT Modelica.Media.Interfaces.PartialPureSubstance.density_pT

Return density from p and T

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
AbsolutePressurep Pressure [Pa]
TemperatureT Temperature [K]

Outputs

TypeNameDescription
DensitydDensity [kg/m3]

Modelica definition

replaceable function density_pT "Return density from p and T"
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input Temperature T "Temperature";
  output Density d "Density";
algorithm 
  d := density(setState_pTX(p, T, fill(0,0)));
end density_pT;

Automatically generated Wed Feb 12 08:26:59 2014.