Controlled Reservoir (G)
Boundary conditions for a gas network at time-varying pressure and temperature.
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.