Model of a fictitious pipe that is used as a base class for a pressure source or to prescribe a mass flow rate.
Note that for fans and pumps with dynamic balance, both the heat and the flow work are added to the volume of air or water. This simplifies the equations compared to adding heat to the volume, and flow work to this model.
Typically either control_m_flow
or
control_dp
should be true
to avoid a
singular system.
If control_m_flow = true
, then the mass flow rate
is set to the value of the input connector m_flow_in
.
Otherwise, this model does not specify the mass flow rate.
Similarly, if control_dp = true
, the head is equal to the
value of the input connector dp_in
.
Otherwise, this model does not specify the head.
control_dp
independently from control_m_flow
.
This is
for #770.
allowFlowReversal=false
.
This is
for #673.
dp_in
.
show_V_flow
.