modeldp_severalGeometryOverall_DPMFLOW
Verification of function dp_severalGeometryOverall_DP AND dp_severalGeometryOverall_MFLOW
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | size(geometry, 1) | Number of different geometries |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Dissipation.Utilities.Types.ValveGeometry[5] | geometry | {Modelica.Fluid.Dissipation.Utilities.Types.ValveGeometry.Ball, Modelica.Fluid.Dissipation.Utilities.Types.ValveGeometry.Diaphragm, Modelica.Fluid.Dissipation.Utilities.Types.ValveGeometry.Butterfly, Modelica.Fluid.Dissipation.Utilities.Types.ValveGeometry.Gate, Modelica.Fluid.Dissipation.Utilities.Types.ValveGeometry.Sluice} | Choice of geometry for valve |
| SI.Diameter | d_hyd | 0.1 | Hydraulic diameter |
| Real | Av | Modelica.Constants.pi*d_hyd^2/4 | Av (metric) flow coefficient [Av]=m^2 |
| Real | opening | input_opening.y | Opening of valve | 0==closed and 1== fully opened |
| SI.DynamicViscosity | eta | 1e-3 | Dynamic viscosity of fluid |
| SI.Density | rho | 1000 | Density of fluid |
| SI.MassFlowRate[n] | input_mdot_1 | (Input) mass flow rate (for intended incompressible case) | |
| SI.Pressure[n] | input_dp_1 | ones(n)*input_DP.y | (Input) pressure loss (for intended compressible case) |
| SI.MassFlowRate[n] | input_mdot_2 | (Input) mass flow rate (for intended incompressible case) | |
| SI.Pressure[n] | input_dp_2 | ones(n)*1e3 | (Input) pressure loss (for intended compressible case) |
| SI.MassFlowRate[n] | input_mdot_3 | ones(n)*input_mdot.y | (Input) mass flow rate (for intended incompressible case) |
| SI.Pressure[n] | input_dp_3 | (Input) pressure loss (for intended incompressible case) | |
| SI.MassFlowRate[n] | M_FLOW_1 | (Output) mass flow rate (for intended compressible case) | |
| SI.Pressure[n] | DP_1 | {input_dp_1[i] for i in 1:n} | (Output) pressure loss (for intended incompressible case) |
| SI.MassFlowRate[n] | M_FLOW_2 | (Output) mass flow rate (for intended compressible case) | |
| SI.Pressure[n] | DP_2 | {input_dp_2[i] for i in 1:n} | (Output) pressure loss (for intended incompressible case) |
| SI.MassFlowRate[n] | M_FLOW_3 | (Output) mass flow rate (for intended incompressible case) | |
| SI.Pressure[n] | DP_3 | input_dp_3 | (Output) pressure loss (for intended incompressible case) |
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_con[n] | m_flow_IN_con_1 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_var[n] | m_flow_IN_var_1 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_con[n] | dp_IN_con_1 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_var[n] | dp_IN_var_1 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_con[n] | m_flow_IN_con_2 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_var[n] | m_flow_IN_var_2 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_con[n] | dp_IN_con_2 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_var[n] | dp_IN_var_2 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_con[n] | m_flow_IN_con_3 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_var[n] | m_flow_IN_var_3 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_con[n] | dp_IN_con_3 | ||
| Modelica.Fluid.Dissipation.PressureLoss.Valve.dp_severalGeometryOverall_IN_var[n] | dp_IN_var_3 | ||
| Modelica.Blocks.Sources.Ramp | input_DP | ||
| Modelica.Blocks.Sources.Ramp | input_opening | ||
| Modelica.Blocks.Sources.Ramp | input_mdot |