TYPE 74: GAS TANK
General Description
This subroutine models a gas tank after /1/. The calculations can be either for a ideal gas (mode=1) or a gas that follows the Van-der-Waal equation for real gases (mode=2).
The gas pressure should be given in [bar] if SI-units are used.
Nomenclature
Mathematical Description
Ideal Gas (mode 1):
Real Gas (mode 2):
(agas = 25000. for hydrogen)
(bgas = 0.0267 for hydrogen)
TRNSYS Component Configuration
PARAMETER NO. DESCRIPTION
INPUT NO. DESCRIPTION
OUTPUT NO. DESCRIPTION
DERIVATIV NO. DESCRIPTION
1 m - Gas mass in the tank
.
Informational Flow Diagrams
Data file input
The data for the gas has to be given in a separate file. The first line in this file will give the number of gases given in the file. The for each different gas will have two lines; the first line will give the number of the gas in the file, the second line will give the data for the gas. The data file for the gas will be like this (the third line (P1-P5) should not be in the file, but are included here to show which data means what):
OUTPUT to file logical unit 6 will look like this:
References
/1/ F. Steinhardt, Photovoltaische Energieversorgung f9r ein
Wohnhaus, Studienarbeit, FhG-ISE Freiburg, 1988