modelTestOpenTank

Test the OpenTank model

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

First, the medium is pumped out of the tank (initial level = 0.5 m, T = 40°C) to an (infinite) ambient (T = 20°C):

  • The level of the medium in the tank decreases.
  • The temperature of the medium in the tank remains unchanged.

Subsequently the medium is pumped into the tank from an (infinite) ambient:

  • The level of the medium in the tank increases again.
  • The temperature of the medium in the tank decreases (mixing temperature).

Components

TypeNameDefaultDescription
SI.VolumeFlowRateV_flowvolumeFlow.V_flowVolume flow rate to tank
SI.LengthlevelopenTank.levelLevel in tank
SI.TemperatureTopenTank.TTankTemperature in tank
FluidHeatFlow.Components.OpenTankopenTank
FluidHeatFlow.Sources.Ambientambient
FluidHeatFlow.Sources.VolumeFlowvolumeFlow
Modelica.Blocks.Sources.CombiTimeTablecombiTimeTable