modelDynamicPipeInitialization
Steady-state initialization of a dynamic pipe
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
The simulation shall start in steady-state (see system.energyDynamics on the Assumptions tab). This requires the solution of an equation system with complex non-linear expressions for the pipe wall friction and compressible valve characteristics.The test is further complicated with an specific enthalpy of 2000 kJ/kg at 100 bar, which is in the two phase region.
The steady-state initial values are checked with an assertion.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Sources.FixedBoundary | source | ||
| Modelica.Fluid.Pipes.DynamicPipe | pipe | ||
| Modelica.Fluid.Valves.ValveCompressible | valve | ||
| Modelica.Fluid.Sources.FixedBoundary | sink | ||
| Modelica.Blocks.Sources.Ramp | ramp | ||
| Modelica.Fluid.System | system | ||
| SI.MassFlowRate | m_flow_initial |