WOLFRAM SYSTEMMODELER

TwoTanks

Two connected open tanks

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

Outputs (5)

V_flow

Default Value: pipe.V_flow

Type: VolumeFlowRate (m³/s)

Description: Volume flow rate tank 1 -> tank 2

level1

Default Value: openTank1.level

Type: Length (m)

Description: Level in tank 1

T1

Default Value: openTank1.TTank

Type: Temperature (K)

Description: Temperature in tank 1

level2

Default Value: openTank2.level

Type: Length (m)

Description: Level in tank 2

T2

Default Value: openTank2.TTank

Type: Temperature (K)

Description: Temperature in tank 2

Components (3)

openTank1

Type: OpenTank

openTank2

Type: OpenTank

pipe

Type: Pipe