modelGasGrid_JunctionWithConstantPressureSource

Model of a gas grid with a constant pressure indefinite gas source connected to a mixing volume with a pipeline
Diagram of GasGrid_JunctionWithConstantPressureSource

Extends from TransiEnt.Basics.Icons.Model (Icon for models).

Information

1. Purpose of model

Model of a simple, idealized gas grid.

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

All input ports connect into a common mixing volume "junction". This volume has a connection to an indefinite constant pressure source through a pipeline.

3. Limits of validity

(no remarks)

4. Interfaces

One gasPortOut[nRegions, n_gasPort]

5. Nomenclature

(no elements)

6. Governing Equations

(no equations)

7. Remarks for Usage

(none)

8. Validation

(no validation or testing necessary)

9. References

(none)

10. Version History

Model created by Jon Babst (babst@xrg-simulation.de), 06.09.2021

Parameters

TypeNameDefaultDescription
IntegernRegions4 Number of regions
BooleanuseOneGasPortOnlytrueuse 1 or 6 gas ports per superstructure boundary
SI.TemperatureT_constsimCenter.T_groundConstant temperature of source
SI.AbsolutePressurep_constsimCenter.p_amb_const + simCenter.p_eff_2Constant absolute pressure
SI.MassFraction[medium.nc - 1]xi_constmedium.xi_defaultConstant composition
TILMedia.VLEFluidTypes.BaseVLEFluidmediumsimCenter.gasModel1Medium to be used
ClaRa.Basics.Units.Volumevolume14005Volume of the junction
SI.MassFlowRatem_flow_nom11288Nominal mass flow rate at each junction outlet
SI.PressureDifferenceDelta_p_nom1e4Nominal pressure loss at m_flow_nom at junction outler
ClaRa.Basics.Units.Lengthlength_pipe1000Length of the pipeline (one pass)
ClaRa.Basics.Units.Lengthdiameter_i_pipe0.05Inner diameter of the pipeline
ClaRa.Basics.Units.MassFlowRatem_flow_nom_pipe11288Nominal mass flow of pipeline
ClaRa.Basics.Units.PressureDifferenceDelta_p_nom_pipe4e5Nominal pressure of pipeline at m_flow_nom_pipe
GasGrid
Integern_gasPortif useOneGasPortOnly then 1 else 6

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Gas.RealGasPortIn[nRegions,n_gasPort]gasPortOut

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
TransiEnt.Components.Gas.VolumesValvesFittings.Fittings.RealGasJunction_L2_nPortsjunction_1
TransiEnt.Components.Gas.VolumesValvesFittings.Pipes.PipeFlow_L4_Simplepipe_1
Modelica.Blocks.Math.Gaingain_negative_1
Modelica.Blocks.Sources.RealExpressionNoZeroMassFlow_1
TransiEnt.Components.Boundaries.Gas.BoundaryRealGas_Txim_flowboundary_Txim_flow2_1
TransiEnt.Components.Boundaries.Gas.BoundaryRealGas_Txim_flowboundary_Txim_flow1_1
TransiEnt.Components.Boundaries.Gas.BoundaryRealGas_pTxiboundary_gas_1