This component can be used to emulate a pressure-drop or output-pressure regulated control valve, depending on the chosen valve mode.
Depending on the parameter mode, either the
pressure at the outlet p_out or the pressure
difference dp between inlet and outlet can be
stipulated. This is done either by parameter
pressure_set_par or via input connector
pressure_set_var when setting pressureFromInput
= true. The resulting mass flow will be determined by its
usual dynamics.
Setting dp instead of p_out has
advantages, when p_out is determined by a volume at
the outlet (for instance an accumulator).
The pressure difference dp is normalized, such that
it cannot create pressure and it is zero for zero or negative mass
flow.