This model describes the mass flow rate and pressure difference relation of an orifice in the form
V_flow = k * dp^m,
where k
is a variable and
m
a parameter.
For turbulent flow, set m=1/2
and
for laminar flow, set m=1
.
The model is used as a base for the interzonal air flow models.
A
because
IBPSA.Airflow.Multizone.EffectiveAirLeakageArea
uses the effective leakage area L
rather than A
.v=V_flow/A
as parameter A
has been removed.lWet
as this is only used to compute
the Reynolds number, and the Reynolds number is not used by this model.
Also removed the variable Re
for the Reynolds number.final allowFlowReversal=true
.
See #877.
showDesignFlowDirection
in extends
statement.
This is for
#349.
mExc
as Modelica.SIunits.Mass
sets min=0
, but mExc
can be negative.
useConstantDensity
to
useDefaultProperties
and also applied the parameter
to the computation of the dynamic viscosity.
The conversion script can be used to update this parameter.sta_a
, as this
may be conditionally removed and hence it is not proper Modelica
syntax to use it outside of a connect
statement.
mExc
to avoid error when checking model
in pedantic mode with Dymola 2014.
fixed=false
attribute of protected parameter
k
.