modeldp_volumeFlowRate_DPMFLOW
Verification of function dp_volumeFlowRate_DP and dp_volumeFlowRate_MFLOW
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | size(a, 1) | number of different coefficients a |
| Real[:] | a | {15, 30, 45} | Coefficient for quadratic term |
| Real | b | 0 | Coefficient for linear term |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.VolumeFlowRate[n] | V_flow | {input_mdot[i]/rho for i in 1:n} | Input volume flow rate |
| SI.Density | rho | 1.2 | density of fluid |
| SI.MassFlowRate[n] | input_mdot | (Input) mass flow rate (for intended incompressible case) | |
| SI.Pressure[n] | input_dp | ones(n)*input_DP.y | (Input) pressure loss (for intended compressible case) |
| SI.MassFlowRate[n] | M_FLOW | (Output) mass flow rate (for intended compressible case) | |
| SI.Pressure[n] | DP | {input_dp[i] for i in 1:n} | (Output) pressure loss (for intended incompressible case) |
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_volumeFlowRate_IN_con[n] | m_flow_IN_con | ||
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_volumeFlowRate_IN_var[n] | m_flow_IN_var | ||
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_volumeFlowRate_IN_con[n] | dp_IN_con | ||
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_volumeFlowRate_IN_var[n] | dp_IN_var | ||
| Real[n] | DP_plot | {DP[i] for i in 1:n} | Pressure loss [Pa] |
| Modelica.Blocks.Sources.Ramp | input_DP |