modelGasGrid_JunctionWithConstantPressureSource
Model of a gas grid with a constant pressure indefinite gas source connected to a mixing volume with a pipeline
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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nRegions | 4 | Number of regions |
| Boolean | useOneGasPortOnly | true | use 1 or 6 gas ports per superstructure boundary |
| SI.Temperature | T_const | simCenter.T_ground | Constant temperature of source |
| SI.AbsolutePressure | p_const | simCenter.p_amb_const + simCenter.p_eff_2 | Constant absolute pressure |
| SI.MassFraction[medium.nc - 1] | xi_const | medium.xi_default | Constant composition |
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium | simCenter.gasModel1 | Medium to be used |
| ClaRa.Basics.Units.Volume | volume | 14005 | Volume of the junction |
| SI.MassFlowRate | m_flow_nom | 11288 | Nominal mass flow rate at each junction outlet |
| SI.PressureDifference | Delta_p_nom | 1e4 | Nominal pressure loss at m_flow_nom at junction outler |
| ClaRa.Basics.Units.Length | length_pipe | 1000 | Length of the pipeline (one pass) |
| ClaRa.Basics.Units.Length | diameter_i_pipe | 0.05 | Inner diameter of the pipeline |
| ClaRa.Basics.Units.MassFlowRate | m_flow_nom_pipe | 11288 | Nominal mass flow of pipeline |
| ClaRa.Basics.Units.PressureDifference | Delta_p_nom_pipe | 4e5 | Nominal pressure of pipeline at m_flow_nom_pipe |
| GasGrid | |||
| Integer | n_gasPort | if useOneGasPortOnly then 1 else 6 | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Gas.RealGasPortIn[nRegions,n_gasPort] | gasPortOut |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| TransiEnt.Components.Gas.VolumesValvesFittings.Fittings.RealGasJunction_L2_nPorts | junction_1 | ||
| TransiEnt.Components.Gas.VolumesValvesFittings.Pipes.PipeFlow_L4_Simple | pipe_1 | ||
| Modelica.Blocks.Math.Gain | gain_negative_1 | ||
| Modelica.Blocks.Sources.RealExpression | NoZeroMassFlow_1 | ||
| TransiEnt.Components.Boundaries.Gas.BoundaryRealGas_Txim_flow | boundary_Txim_flow2_1 | ||
| TransiEnt.Components.Boundaries.Gas.BoundaryRealGas_Txim_flow | boundary_Txim_flow1_1 | ||
| TransiEnt.Components.Boundaries.Gas.BoundaryRealGas_pTxi | boundary_gas_1 |