modelGasGrid_SubSystem

Very simple gas grid featuring the main components

Information

1. Purpose of model

Small closed-loop gas grid subsystem.

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

(Purely technical component without physical modeling.)

3. Limits of validity

(Purely technical component without physical modeling.)

4. Interfaces

epp: active power port

P_el_set: setpoint for electric power in [W]

gasIn: inlet for real gas

5. Nomenclature

(no elements)

6. Governing Equations

(no equations)

7. Remarks for Usage

(no remarks)

8. Validation

(no validation or testing necessary)

9. References

(no remarks)

10. Version History

Created by Johannes Brunnemann (brunnemann@xrg-simulation.de), Jan 2017

Edited and revised by Lisa Andresen (andresen@tuhh.de), Apr 2017

Model revised by Carsten Bode (c.bode@tuhh.de) in Apr 2018 (fixed for update to ClaRa 1.3.0)

Parameters

TypeNameDefaultDescription
TILMedia.VLEFluidTypes.BaseVLEFluidmediumH2simCenter.gasModel3|General|Hydrogen model to be used
Modelica.Units.SI.ActivePowerP_el_n3e6|Electrolyzer|Nominal power of electrolyzer
Modelica.Units.SI.ActivePowerP_el_max1.68*P_el_n|Electrolyzer|Maximum power of electrolyzer
Modelica.Units.SI.ActivePowerP_el_min0.05*P_el_n|Electrolyzer|Minimal power of ely, when only 1 stack is working at 2%(?)
Modelica.Units.SI.ActivePowerP_el_overload1.0*P_el_n|Electrolyzer|Power at which overload region begins
Modelica.Units.SI.MassFlowRatem_flow_start0.001|Initialization|Sets initial value for m_flow (value needed for init with StatCycle)
Modelica.Units.SI.TemperatureT_Init283.15|Initialization|Sets initial value for T
Modelica.Units.SI.Efficiencyeta_n0.75|Electrolyzer|Nominal efficency coefficient (min = 0, max = 1)
Modelica.Units.SI.Efficiencyeta_scale0|Electrolyzer|Sets a with increasing input power linear degrading efficiency coefficient (min = 0, max = 1)
Modelica.Units.SI.AbsolutePressurep_out35e5|Electrolyzer|Hydrogen output pressure from electrolyzer
Modelica.Units.SI.TemperatureT_out283.15|Electrolyzer|Hydrogen output temperature from electrolyzer
Realt_overload0.5*3600|Electrolyzer|Maximum time the ely can work in overload in seconds
RealcoolingToHeatingRatio1|Electrolyzer|Defines how much faster electrolyzer cools down than heats up
IntegerstartState1|Electrolyzer|Initial state of the electrolyzer (1: ready to overheat, 2: working in overload, 3: cooling down)
Modelica.Blocks.Types.SimpleControllercontrollerTypeModelica.Blocks.Types.SimpleController.PI|Controller|Type of controller for feed-in control
Realk1e8|Controller|Gain for feed-in control
RealTi1|Controller|Integrator time constant for feed-in control
RealTd0.1|Controller|Derivative time constant for feed-in control
Realf_10.5
Realf_20.5
Realphi_H2max0.1

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Electrical.ActivePowerPorteppElectric power port
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_el_setSet power
TransiEnt.Basics.Interfaces.Gas.RealGasPortIngasInGas port

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
InitGasGrid_PtGinit
Modelica.Blocks.Routing.Replicatorreplicator
Components.Electrical.Grid.Line_PSline_L1_PS
TransiEnt.Components.Boundaries.Gas.BoundaryRealGas_Txim_flowsink2
TransiEnt.Producer.Gas.Electrolyzer.Systems.FeedInStation_woStoragefeedInStation1
TransiEnt.Producer.Gas.Electrolyzer.Systems.FeedInStation_woStoragefeedInStation2
TransiEnt.Components.Gas.VolumesValvesFittings.Fittings.RealGasJunction_L2junction_feedIn1
TransiEnt.Components.Sensors.RealGas.CompositionSensorvleCompositionSensor_1
TransiEnt.Components.Gas.VolumesValvesFittings.Fittings.RealGasJunction_L2junction_feedIn2
TransiEnt.Components.Sensors.RealGas.CompositionSensorvleCompositionSensor_2