TestOpenTank

Test the OpenTank model

Diagram

Information

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

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).

Outputs (3)

V_flow

Default Value: volumeFlow.V_flow

Type: VolumeFlowRate (m³/s)

Description: Volume flow rate to tank

level

Default Value: openTank.level

Type: Length (m)

Description: Level in tank

T

Default Value: openTank.TTank

Type: Temperature (K)

Description: Temperature in tank

Components (4)

openTank

Type: OpenTank

ambient

Type: Ambient

volumeFlow

Type: VolumeFlow

combiTimeTable

Type: CombiTimeTable