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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.SpecificEnthalpy | NCV | TransiEnt.Basics.Functions.GasProperties.getRealGasNCVVector(medium, medium.nc) | NCV of gas components |
| SI.SpecificEnthalpy | GCV | TransiEnt.Basics.Functions.GasProperties.getRealGasGCVVector(medium, medium.nc) | GCV of gas component |
| Fundamental Definitions | |||
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium | simCenter.gasModel1 | Medium in the gas storage |
| Boolean | includeHeatTransfer | true | consider heat transfer |
| Geometry | |||
| SI.Volume | V_geo | 1 | geometric inner volume of the storage cylinder |
| Initialization | |||
| SI.Mass | m_gas_start | 1e5 | Initial mass in the storage |
| Statistics | |||
| Boolean | calculateCost | simCenter.calculateCost | true if cost shall be calculated |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Gas.RealGasPortIn | gasPortIn | ||
| TransiEnt.Basics.Interfaces.Gas.RealGasPortOut | gasPortOut | ||
| TransiEnt.Basics.Interfaces.General.PressureOut | p_gas | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heat |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| TransiEnt.ModelStatistics | modelStatistics | ||
| SI.Mass | m_gas | Gas mass | |
| SI.MassFraction[medium.nc - 1] | xi_gas | Gas composition | |
| SI.EnergyFlowRate | H_flow_in_NCV | Inflowing enthalpy flow based on NCV | |
| SI.EnergyFlowRate | H_flow_out_NCV | Inflowing enthalpy flow based on NCV | |
| SI.Enthalpy | H_gas_NCV | Enthalpy of the gas bulk based on NCV | |
| SI.EnergyFlowRate | H_flow_in_GCV | Inflowing enthalpy flow based on GCV | |
| SI.EnergyFlowRate | H_flow_out_GCV | Inflowing enthalpy flow based on GCV | |
| SI.Enthalpy | H_gas_GCV | Enthalpy of the gas bulk based on GCV |
Contents
| Name | Description |
|---|---|