modelTwoTanks
Two connected open tanks
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Two tanks are connected with a pipe:
- Tank 1: initial level = 0.9 m, T = 40°C
- Tank 2: initial level = 0.1 m, T = 20°C
Within 1.5 s (dependent on the flow resistance of the pipe) the level = 0.5 m in both tanks is the same, medium flows from tank 1 to tank 2. The temperature of tank 1 remains unchanged, the temperature of tank 2 is increased.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.VolumeFlowRate | V_flow | pipe.V_flow | Volume flow rate tank 1 -> tank 2 |
| SI.Length | level1 | openTank1.level | Level in tank 1 |
| SI.Temperature | T1 | openTank1.TTank | Temperature in tank 1 |
| SI.Length | level2 | openTank2.level | Level in tank 2 |
| SI.Temperature | T2 | openTank2.TTank | Temperature in tank 2 |
| FluidHeatFlow.Components.OpenTank | openTank1 | ||
| FluidHeatFlow.Components.OpenTank | openTank2 | ||
| FluidHeatFlow.Components.Pipe | pipe |