Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p | Pressure [Pa] | |
Temperature | T | Temperature [K] |
Type | Name | Description |
---|---|---|
ThermodynamicState | state | thermodynamic state record |
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;
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p | Pressure [Pa] | |
SpecificEnthalpy | h | Specific enthalpy [J/kg] |
Type | Name | Description |
---|---|---|
ThermodynamicState | state | thermodynamic state record |
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;
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p | Pressure [Pa] | |
SpecificEntropy | s | Specific entropy [J/(kg.K)] |
Type | Name | Description |
---|---|---|
ThermodynamicState | state | thermodynamic state record |
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;
Type | Name | Default | Description |
---|---|---|---|
Density | d | density [kg/m3] | |
Temperature | T | Temperature [K] |
Type | Name | Description |
---|---|---|
ThermodynamicState | state | thermodynamic state record |
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;
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p | Pressure [Pa] | |
SpecificEnthalpy | h | Specific enthalpy [J/kg] |
Type | Name | Description |
---|---|---|
Density | d | Density [kg/m3] |
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;
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p | Pressure [Pa] | |
SpecificEnthalpy | h | Specific enthalpy [J/kg] |
Type | Name | Description |
---|---|---|
Temperature | T | Temperature [K] |
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;
Type | Name | Default | Description |
---|---|---|---|
Density | d | Density [kg/m3] | |
Temperature | T | Temperature [K] |
Type | Name | Description |
---|---|---|
AbsolutePressure | p | Pressure [Pa] |
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;
Type | Name | Default | Description |
---|---|---|---|
Density | d | Density [kg/m3] | |
Temperature | T | Temperature [K] |
Type | Name | Description |
---|---|---|
SpecificEnthalpy | h | specific enthalpy [J/kg] |
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;
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p | Pressure [Pa] | |
SpecificEntropy | s | Specific entropy [J/(kg.K)] |
Type | Name | Description |
---|---|---|
SpecificEnthalpy | h | specific enthalpy [J/kg] |
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;
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p | Pressure [Pa] | |
SpecificEntropy | s | Specific entropy [J/(kg.K)] |
Type | Name | Description |
---|---|---|
Temperature | T | Temperature [K] |
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;
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p | Pressure [Pa] | |
SpecificEntropy | s | Specific entropy [J/(kg.K)] |
Type | Name | Description |
---|---|---|
Density | d | Density [kg/m3] |
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;
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p | Pressure [Pa] | |
Temperature | T | Temperature [K] |
Type | Name | Description |
---|---|---|
SpecificEnthalpy | h | specific enthalpy [J/kg] |
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;
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p | Pressure [Pa] | |
Temperature | T | Temperature [K] |
Type | Name | Description |
---|---|---|
Density | d | Density [kg/m3] |
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;