functiondp_DP_staticHead
calculate pressure loss with static head
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| dp_IN_con | IN_con | Input record for function dp_overall_DP | |
| dp_IN_var | IN_var | Input record for function dp_overall_DP | |
| SI.MassFlowRate | m_flow | Mass flow rate | |
| SI.MassFlowRate | m_flow_small | 0.01 | Regularization of zero flow if |m_flow| < m_flow_small (dummy if use_m_flow_small = false) |
| Real | g_times_height_ab | Gravity times (Height(port_b) - Height(port_a)) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | DP | Output for function dp_overall_DP |