modeldp_nominalPressureLossLawDensity_DPMFLOW
Verification of function dp_nominalPressureLossLawDensity_DP and dp_nominalPressureLossLawDensity_MFLOW
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | size(rho, 1) | Number of different fluid density values |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Area | A_cross | A_cross_nom | Cross sectional area |
| SI.Area | A_cross_nom | Modelica.Constants.pi*0.1^2/4 | Nominal cross sectional area |
| SI.Pressure | dp_nom | 50 | Nominal pressure loss (at nominal values of mass flow rate and density) |
| SI.MassFlowRate | m_flow_nom | 1 | Nominal mass flow rate (at nominal values of pressure loss and density) |
| Real | exp | 2 | Exponent of pressure loss law |
| Integer | NominalMassFlowRate | 1 | = true, if use nominal mass flow rate, otherwise nominal volume flow rate |
| SI.VolumeFlowRate | V_flow_nom | m_flow_nom/rho_nom | Nominal volume flow rate (at nominal values of pressure loss and density) |
| Modelica.Fluid.Dissipation.Utilities.Types.PressureLossCoefficient | zeta_TOT | 0.05*1/0.1 | Pressure loss coefficient |
| Modelica.Fluid.Dissipation.Utilities.Types.PressureLossCoefficient | zeta_TOT_nom | 1 | Nominal pressure loss coefficient (for nominal values) |
| SI.Density | rho_nom | 1e3 | Nominal density (at nominal values of mass flow rate and pressure loss) |
| SI.Density[:] | rho | {1e3, 1.5e3, 2e3} | 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_nominalPressureLossLawDensity_IN_con[n] | m_flow_IN_con | ||
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_nominalPressureLossLawDensity_IN_var[n] | m_flow_IN_var | ||
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_nominalPressureLossLawDensity_IN_con[n] | dp_IN_con | ||
| Modelica.Fluid.Dissipation.PressureLoss.General.dp_nominalPressureLossLawDensity_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 |