modelPartialNaturalGasUnit

Adds a gas interface with a mass flow defining boundary to child components

Extends from TransiEnt.Basics.Icons.IndustryPlant (Icon for industry plants).

Information

1. Purpose of model

Adds a gas interface with a mass flow defining boundary to child components.

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

(no remarks)

3. Limits of validity

(no remarks)

4. Interfaces

gasPortIn: inlet for real gas

gasPortIn_2: second gas port - only active if useSecondGasPort==true

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

Mass Flow of first gas port must be defined within the model via 'm_flow_gas'. Mass flow of second gas port needs to be defined from outside.

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Model created by Pascal Dubucq (dubucq@tuhh.de) on 01.10.2014

Quality check (Code conventions) by Rebekka Denninger on 01.10.2016

Parameters

TypeNameDefaultDescription
Fundamental Definitions
TILMedia.VLEFluidTypes.BaseVLEFluidmediumGassimCenter.gasModel1
Configuration
BooleanuseGasPorttrueTrue if gas port shall be used
Physical Constraints
BooleanuseSecondGasPortfalse

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Gas.RealGasPortIngasPortIn
TransiEnt.Basics.Interfaces.General.MassFlowRateOutm_flow_gas
TransiEnt.Basics.Interfaces.Gas.RealGasPortIngasPortIn_2

Components

TypeNameDefaultDescription
SimCentersimCenter
TransiEnt.Components.Boundaries.Gas.BoundaryRealGas_hxim_flowmassFlowSink
TransiEnt.Components.Sensors.RealGas.NCVSensorvleNCVSensor
TransiEnt.Components.Boundaries.Gas.BoundaryRealGas_pTxmassFlowSink_2
TransiEnt.Components.Sensors.RealGas.NCVSensorvleNCVSensor_2
Modelica.Blocks.Sources.RealExpressionm_flow_gas_2_var
Modelica.Blocks.Math.ProductH_flow_secondGasPort
Modelica.Blocks.Sources.RealExpressionm_flow_gas_2_const
Modelica.Blocks.Routing.RealPassThroughm_flow_gas_2
Modelica.Blocks.Sources.RealExpressionNCV_2_const
Modelica.Blocks.Routing.RealPassThroughNCV_2