This component transports fluid between its two ports, without storing mass or energy.
Energy may be exchanged with the environment though, e.g., in the form of work.
PartialTwoPortTransport is intended as base class for devices like orifices, valves and simple fluid machines.
Three equations need to be added by an extending class using this component:
dpand the mass flow rate
port_b.h_outflowfor flow in design direction, and
port_a.h_outflowfor flow in reverse direction.
Moreover appropriate values shall be assigned to the following parameters:
dp_startfor a guess of the pressure drop
m_flow_smallfor regularization of zero flow.