modelFluidST

Fluid storage tank

Extends from Modelica.Fluid.Interfaces.PartialTwoPort (Partial component with two ports).

Parameters

TypeNameDefaultDescription
SI.Massm_max0Maximum mass
SI.Massm_start0Starting mass
Medium.TemperatureT_startsystem.T_startStarting temperature
SI.Pressurep_fixedsystem.p_ambientFixed pressure
FI.MoneyC_cap0Capital costs
FI.MoneyPerYearC_main0Maintenance costs
Assumptions
BooleanallowFlowReversal (from PartialTwoPort)system.allowFlowReversal= true to allow flow reversal, false restricts to design direction (port_a -> port_b)

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a (from PartialTwoPort)Fluid connector a (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_b (from PartialTwoPort)Fluid connector b (positive design flow direction is from port_a to port_b)

Components

TypeNameDefaultDescription
Modelica.Fluid.Systemsystem (from PartialTwoPort)System wide properties
SI.MassmMass in tank
Medium.BasePropertiesmprop