This model outputs the latent enthalphy flow rate of the medium in the flow between its fluid ports. In particular, if the total enthalpy flow rate is
Ḣ_{tot} = Ḣ_{sen} + Ḣ_{lat},
where Ḣ_{sen} = ṁ (1-X_{w}) c_{p,air}, then this sensor outputs Ḣ = Ḣ_{lat}.
If the parameter tau
is non-zero, then the measured
specific latent enthalpy h_{out} that is used to
compute the latent enthalpy flow rate
Ḣ_{lat} = ṁ h_{out}
is computed using a first order differential equation.
See
IBPSA.Fluid.Sensors.UsersGuide for an explanation.
For a sensor that measures
Ḣ_{tot}, use
IBPSA.Fluid.Sensors.EnthalpyFlowRate.
For a sensor that measures
Ḣ_{sen}, use
IBPSA.Fluid.Sensors.SensibleEnthalpyFlowRate.
The sensor is ideal, i.e., it does not influence the fluid.
The sensor can only be used with medium models that implement the function
enthalpyOfNonCondensingGas(T)
.
tauInv
since this now exists in
IBPSA.Fluid.Sensors.BaseClasses.PartialDynamicFlowSensor.
This is for
#372.
extends
statement
to replaceable
to avoid a translation error in
OpenModelica.
tau=0
as the base class
already sets tau=1
.
This change was made so that all sensors use the same default value.
i_w
to new base class
IBPSA.Fluid.BaseClasses.IndexWater.
The value of this parameter is now assigned dynamically and does not require to be specified
by the user.
der(h_out) := 0;
from the initial algorithm section to
the initial equation section
as this assignment does not conform to the Modelica specification.
i_w
and an assert statement to
make sure it is set correctly. Without this change, Dymola
cannot differentiate the model when reducing the index of the DAE.
Modelica.Fluid
.