Engee documentation

Reservoir (G)

Boundary conditions for the gas network at constant values of pressure and temperature.

blockType: AcausalFoundation.Gas.Elements.Reservoir

Path in the library:

/Physical Modeling/Fundamental/Gas/Elements/Reservoir (G)

Description

Block Reservoir (G) It is an endless reservoir with fixed pressure and temperature values. The tank and its inlet can be at atmospheric or preset pressure. Port A corresponds to the entrance to the tank.

The volume of gas inside the tank is considered infinite, so the flow is assumed to be quasi-stationary.

The gas enters and exits the tank at a pressure set for the tank, but its temperature is determined by the direction of the gas flow. If the gas enters the tank, its temperature is determined by the gas network, then the tank acts as a heat sink. If the gas exits the tank, then its temperature is equal to the temperature of the tank, and the tank acts as a heat source.

This unit also serves as a reference point for measuring pressure and temperature in the gas network. These measurements relate to the pressure and temperature inside the tank, respectively. Connect the tank to the B port of the unit Absolute Pressure & Temperature Sensor (G) to measure the relative pressure and temperature of the node connected to the A port of the sensor.

Assumptions and limitations

  • The pressure and temperature inside the tank are constant.

  • The gas in the tank is quasi-stationary.

Ports

Conserving

# A — gas inlet and outlet
gas

Details

The gas port corresponds to the entrance to the tank.

Program usage name

port

Parameters

Parameters

# Reservoir pressure specification — choosing the pressure setting method
Atmospheric pressure | Specified pressure

Details

Select the pressure setting method:

  • Atmospheric pressure — the atmospheric pressure set by the unit is used Gas Properties (G) connected to the gas network.

  • Specified pressure — the parameter value is being used Reservoir pressure.

Values

Atmospheric pressure | Specified pressure

Default value

Atmospheric pressure

Program usage name

pressure_type

Evaluatable

No

# Reservoir pressure — pressure in the tank
Pa | uPa | hPa | kPa | MPa | GPa | kgf/m^2 | kgf/cm^2 | kgf/mm^2 | mbar | bar | kbar | atm | ksi | psi | mmHg | inHg

Details

Enter the desired pressure in the tank. This pressure remains constant throughout the simulation time.

Dependencies

To use this parameter, set for the parameter Reservoir pressure specification meaning Specified pressure.

Units

Pa | uPa | hPa | kPa | MPa | GPa | kgf/m^2 | kgf/cm^2 | kgf/mm^2 | mbar | bar | kbar | atm | ksi | psi | mmHg | inHg

Default value

101325.0 Pa

Program usage name

p_const

Evaluatable

Yes

# Reservoir temperature — temperature in the tank
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR

Details

Sets the temperature in the tank. This temperature remains constant throughout the simulation time.

Units

K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR

Default value

293.15 K

Program usage name

T_const

Evaluatable

Yes

# Cross-sectional area at port A — the area normal to the flow direction at the reservoir inlet
m^2 | um^2 | mm^2 | cm^2 | km^2 | in^2 | ft^2 | yd^2 | mi^2 | ha | ac

Details

The cross-sectional area of the tank inlet in the direction normal to the gas flow path.

Units

m^2 | um^2 | mm^2 | cm^2 | km^2 | in^2 | ft^2 | yd^2 | mi^2 | ha | ac

Default value

0.01 m^2

Program usage name

port_area

Evaluatable

Yes