Model of a tank that is open to the ambient at the fixed pressure
p_ambient
.
The vector of connectors ports represents fluid ports at configurable heights, relative to the bottom of tank.
Fluid can flow either out of or in to each port.
The following assumptions are made:
- The tank is filled with a single or multiple-substance medium having a density higher than the density of the ambient medium.
- The fluid has uniform density, temperature and mass fractions
- No liquid is leaving the tank through the open top; the simulation breaks with an assertion if the liquid level growths over the height.
The port pressures represent the pressures just after the outlet (or just before the inlet) in the attached pipe.
The hydraulic resistances portsData.zeta_in
and portsData.zeta_out
determine the dissipative pressure drop between tank and port depending on
the direction of mass flow. See VesselPortsData and [Idelchik, Handbook of Hydraulic Resistance, 2004].
With the setting use_portsData=false
, the port pressure represents the static head
at the height of the respective port.
The relationship between pressure drop and mass flow rate at the port must then be provided by connected components;
Heights of ports as well as kinetic and potential energy of fluid entering or leaving are not taken into account anymore.
- Dec. 12, 2008 by Rüdiger Franke: move port definitions
to BaseClasses.PartialLumpedVessel; also use energy and mass balance from common base class
- Dec. 8, 2008 by Michael Wetter (LBNL):
Implemented trace substances.
- Jan. 6, 2006 by Katja Poschlad, Manuel Remelhe (AST Uni Dortmund),
Martin Otter (DLR):
Implementation based on former tank model.
- Oct. 29, 2007 by Carsten Heinrich (ILK Dresden):
Adapted to the new fluid library interfaces:
- FluidPorts_b is used instead of FluidPort_b (due to it is defined as an array of ports)
- Port name changed from port to ports
Updated documentation.
- Apr. 25, 2006 by Katrin Prölß (TUHH):
Limitation to bottom ports only, added inlet and outlet loss factors.
Generated at 2024-12-23T19:25:42Z
by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos