Engee documentation

Controlled Reservoir (G)

Boundary conditions for a gas network at time-varying pressure and temperature.

controlled reservoir (g)

Description

The Controlled Reservoir (G) unit represents an infinite reservoir with variable pressure and temperature. Port A (gas) corresponds to the inlet to the reservoir. Port P accepts the reservoir pressure setpoint signal. Port T accepts the reservoir temperature setpoint signal.

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

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

Assumptions and limitations

The gas in the tank is quasi-stationary.

Ports

Inlet

P - pressure value, Pa
scalar

Input port that accepts the tank pressure value.

T - temperature value, K
scalar

Input port that accepts the tank temperature value.

Non-directional

A - gas inlet-outlet
gas

Gas port. Mass and energy expenditure are positive if gas flows from port A.

Parameters

Cross-sectional area at port A - area normal to the flow path at the chamber inlet
`0.01 m² (by default)

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