Engee documentation

Controlled Reservoir (G)

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

blockType: AcausalFoundation.Gas.Elements.ControlledReservoir

Path in the library:

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

Description

Block Controlled Reservoir (G) It represents an endless reservoir with variable pressure and temperature. Port A (gas) corresponds to the entrance to the tank. The P port receives the pressure setting signal in the tank. The T port receives a temperature setting signal in the tank.

The volume of gas inside the tank is considered infinite, so the gas flow through the port 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 previous 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.

Assumptions and limitations

The gas in the tank is quasi-stationary.

Ports

Conserving

# A — Gas Input-gas output
gas

Details

The gas port corresponds to the Input to the tank.

Program usage name

port

Input

# T — temperature value, K
scalar

Details

The input port that receives the temperature value in the tank.

Data types

Float64

Complex numbers support

I don’t

# P — pressure value, Pa
scalar

Details

The input port that takes the pressure value in the tank.

Data types

Float64

Complex numbers support

I don’t

Parameters

Parameters

# Cross-sectional area at port A — the area normal to the flow path at the entrance to the chamber
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 entrance to the tank A 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