modelPartialGasStorage

Extends from TransiEnt.Basics.Icons.StorageGenericGas, MatchClassGasStorage.

Information

1. Purpose of model

This model is a partial model for simple gas storage for real gases.

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

(no elements)

3. Limits of validity

(no elements)

4. Interfaces

gasPortIn and gasPortOut: Real gas input and output

5. Nomenclature

(no elements)

6. Governing Equations

(no elements)

7. Remarks for Usage

(no remarks)

8. Validation

No validation necessary because only fundamental equations are used.

9. References

(no remarks)

10. Version History

Model created by Oliver Schülting (oliver.schuelting@tuhh.de), Dec 2018

Parameters

TypeNameDefaultDescription
SI.SpecificEnthalpyNCVTransiEnt.Basics.Functions.GasProperties.getRealGasNCVVector(medium, medium.nc)NCV of gas components
SI.SpecificEnthalpyGCVTransiEnt.Basics.Functions.GasProperties.getRealGasGCVVector(medium, medium.nc)GCV of gas component
Fundamental Definitions
TILMedia.VLEFluidTypes.BaseVLEFluidmediumsimCenter.gasModel1Medium in the gas storage
BooleanincludeHeatTransfertrueconsider heat transfer
Geometry
SI.VolumeV_geo1geometric inner volume of the storage cylinder
Initialization
SI.Massm_gas_start1e5Initial mass in the storage
Statistics
BooleancalculateCostsimCenter.calculateCosttrue if cost shall be calculated

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Gas.RealGasPortIngasPortIn
TransiEnt.Basics.Interfaces.Gas.RealGasPortOutgasPortOut
TransiEnt.Basics.Interfaces.General.PressureOutp_gas
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheat

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
TransiEnt.ModelStatisticsmodelStatistics
SI.Massm_gasGas mass
SI.MassFraction[medium.nc - 1]xi_gasGas composition
SI.EnergyFlowRateH_flow_in_NCVInflowing enthalpy flow based on NCV
SI.EnergyFlowRateH_flow_out_NCVInflowing enthalpy flow based on NCV
SI.EnthalpyH_gas_NCVEnthalpy of the gas bulk based on NCV
SI.EnergyFlowRateH_flow_in_GCVInflowing enthalpy flow based on GCV
SI.EnergyFlowRateH_flow_out_GCVInflowing enthalpy flow based on GCV
SI.EnthalpyH_gas_GCVEnthalpy of the gas bulk based on GCV

Contents

NameDescription
CostSpecsStorage