modelValveReferenceValues_Undirected
Test for Reference Values in Basic and Specific Valve in undirected flow
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This test model verifies the safeguards for the reference values
dp_ref and rho_ref in
BasicControlValve and SpecificValveType.
When a valve is parameterized using Kvs,
Cvs_US, or Cvs_UK, the reference values must
remain at their defaults:
dp_ref = 1 barrho_ref = 1000 kg/m3
The model contains correctly parameterized reference valves as well as
valves with modified reference values. The latter use
assertionLevel = AssertionLevel.warning, allowing the
simulation to continue while demonstrating the corresponding assertion
messages.
The test verifies that modifying dp_ref or
rho_ref for standardized flow coefficients is detected,
while valves using the default reference values do not trigger these
assertions.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermofluidStream.DropOfCommons | dropOfCommons | ||
| Boundaries.BoundaryRear | boundaryRear | ||
| ThermofluidStream.Undirected.FlowControl.BasicControlValve | reference | ||
| Boundaries.BoundaryFore | boundaryFore | ||
| Modelica.Blocks.Sources.Ramp | ramp | ||
| Boundaries.BoundaryRear | boundaryRear2 | ||
| ThermofluidStream.Undirected.FlowControl.BasicControlValve | dp_ref | ||
| Boundaries.BoundaryFore | boundaryFore2 | ||
| Boundaries.BoundaryRear | boundaryRear3 | ||
| ThermofluidStream.Undirected.FlowControl.BasicControlValve | rho_ref | ||
| Boundaries.BoundaryFore | boundaryFore3 | ||
| Modelica.Blocks.Sources.Constant | const2 | ||
| Boundaries.BoundaryRear | boundaryRear4 | ||
| ThermofluidStream.Undirected.FlowControl.SpecificValveType | reference1 | ||
| Boundaries.BoundaryFore | boundaryFore4 | ||
| Boundaries.BoundaryRear | boundaryRear5 | ||
| ThermofluidStream.Undirected.FlowControl.SpecificValveType | dp_ref1 | ||
| Boundaries.BoundaryFore | boundaryFore5 | ||
| Boundaries.BoundaryRear | boundaryRear1 | ||
| ThermofluidStream.Undirected.FlowControl.SpecificValveType | rho_ref1 | ||
| Boundaries.BoundaryFore | boundaryFore1 |
Contents
| Name | Description |
|---|---|