WOLFRAM SYSTEM MODELER

setDewState

Return the thermodynamic state on the dew line

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.R134a.R134a_ph.setDewState"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This function shall be used in order to calculate the thermodynamic state record for the vapor phase boundary. It requires the saturation record as input which can be determined by both functions setSat_p and setSat_T:

Example:

Medium.AbsolutePressure p=3e5;
// Viscosity on the vapor phase boundary
SI.DynamicViscosity eta_vap;

equation

eta_vap = Medium.DynamicViscosity(Medium.setBubbleState(Medium.setSat_p(p)));

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).

Syntax

state = setDewState(sat, phase)

Inputs (2)

sat

Type: SaturationProperties

Description: Saturation point

phase

Default Value: 1

Type: FixedPhase

Description: Phase: default is one phase

Outputs (1)

state

Type: ThermodynamicState

Description: Complete thermodynamic state info