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

TypeNameDefaultDescription
SI.VolumeFlowRateV_flowpipe.V_flowVolume flow rate tank 1 -> tank 2
SI.Lengthlevel1openTank1.levelLevel in tank 1
SI.TemperatureT1openTank1.TTankTemperature in tank 1
SI.Lengthlevel2openTank2.levelLevel in tank 2
SI.TemperatureT2openTank2.TTankTemperature in tank 2
FluidHeatFlow.Components.OpenTankopenTank1
FluidHeatFlow.Components.OpenTankopenTank2
FluidHeatFlow.Components.Pipepipe