.TransiEnt.Storage.Gas.GasStorage_constXi_L2

Information

1. Purpose of model

This model represents a compressed gas storage for real gases with constant composition. It extends Base.PartialGasStorage_L2.

2. Level of detail, physical effects considered, and physical insight

The model consists of a volume, in which the gas located. Pressure losses inside the volume and during charging and discharging are neglected. There is no discretisation of the flow field or the heat transfer. The heat transfer is modelled using a replacable heat transfer model, the default model uses a constant heat transfer coefficient.

3. Limits of validity

The model is only valid for negligible pressure losses and negligible changes of the heat transfer coefficient (other heat transfer models can be used) as well as constant compositions. For high pressures there are errors due to errors in the gas models.

4. Interfaces

gasPortIn and gasPortOut: Real gas input and output

heat: heat port for the heat flow into/out of the storage

p_storage: signal output of the gas pressure

5. Nomenclature

(no elements)

6. Governing Equations

Simple mass and energy balances are used.

7. Remarks for Usage

useXiConstParameter can be used to either use the inStream value of gasPortIn or xi_const for the composition.

8. Validation

Validated because this model including heat transfer (UndergroundGasStorageHeatTransfer_L2) is validated.

9. References

(no remarks)

10. Version History

Model created by Carsten Bode (c.bode@tuhh.de) in Apr 2016

Revised by Lisa Andresen (andresen@tuhh.de) in May 2016

Modeli modified by Carsten Bode (c.bode@tuhh.de) in Apr 2021 (added simplifications for composition)


Generated at 2024-10-22T18:25:24Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos