modelTotalFeedInStorageController

Controller to control the electrolyzer and storage system for feeding into a natural gas grid

Extends from TransiEnt.Basics.Icons.Controller (Icon for controller).

Information

1. Purpose of model

This is a controller to control for a system with storage the electric power of the electrolyzer, the three way valve and outlet valve of the storage. it combines the FeedInStorageTWVController, FeedInStorageController and OverloadController.

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

see sub models

3. Limits of validity

see sub models

4. Interfaces

P_el_set: input for the set value for the electric power

m_flow_feedIn: input for the possible feed-in mass flow into the natural grid etc.

m_flow_ely: input for the mass flow coming from the electrolyzer

p_storage: input for the storage pressure

P_el_ely: output for the limited electric power for the electrolyzer

splitRatio: output for the split ratio of the three way valve

m_flowDes_valve: output for the mass flow through the valve after the storage

5. Nomenclature

(no elements)

6. Governing Equations

The desired mass flow through valve after the storage is simply the difference between feed-in mass flow and bypass mass flow.

7. Remarks for Usage

(no remarks)

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Model created by Carsten Bode (c.bode@tuhh.de) in April 2016

Parameters

TypeNameDefaultDescription
Fundamental Definitions
SI.ActivePowerP_el_n1e6Nominal power of the electrolyzer
SI.ActivePowerP_el_min0.02*P_el_nMaximum power of the electrolyzer
SI.ActivePowerP_el_max3*P_el_nMaximum power of the electrolyzer
SI.ActivePowerP_el_overload1.5*P_el_nPower at which the overload region of the electrolyzer begins
SI.ActivePowerP_el_cooldownP_el_nPower below which cooldown starts
Modelica.Units.SI.Efficiencyeta_n0.75Nominal efficiency coefficient (min = 0, max = 1)
Modelica.Units.SI.Efficiencyeta_scale0Sets a with increasing input power linear degrading efficiency coefficient (min = 0, max = 1)
SI.Timet_overload5*3600Maximum time in seconds that the electrolyzer can work in overload
RealcoolingToHeatingRatio2Ratio of how much faster the electrolyzer cools down than it heats up
IntegerstartState1Initial state of the electrolyzer (1: ready to overheat, 2: working in overload, 3: cooling down)
General › Controller
Modelica.Blocks.Types.SimpleControllercontrollerTypeModelica.Blocks.Types.SimpleController.PType of controller for feed-in control
Realk1Gain for feed-in control
RealTi0.1Integrator time constant for feed-in control
RealTd0.1Derivative time constant for feed-in control
SI.Pressurep_minLow20e5Lower limit of the target pressure in storage
SI.Pressurep_maxLow29e5Lower limit of the maximum pressure in storage
SI.Pressurep_maxHigh30e5Upper limit of the maximum pressure in storage
SI.Pressurep_minHigh60e5if valve closed and p>p_high, open valve
SI.Pressurep_minLow_constantDemand50e5storage can be emptied via 'm_flow_hydrogenDemand_constant' up to 'p_minLow_constantDemand'
SI.MassFlowRatem_flow_hydrogenDemand_constant0constant hydrogen demand if hydrogen is available
BooleanStoreAllHydrogenfalseAll Hydrogen is stored before beeing fed in

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_el_setSet power
TransiEnt.Basics.Interfaces.General.PressureInp_storagePressure in storage
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flow_elyHydrogen mass flow out of the electrolyser
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flow_feedInMaximum mass flow that can be fed into the natural gas system
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flow_bypassMass flow through bypass of storage
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOutP_el_elyControlled power of the electrolyser
Modelica.Blocks.Interfaces.RealOutputsplitRatioSplit ratio of the three way valve
TransiEnt.Basics.Interfaces.General.MassFlowRateOutm_flowDes_valveDesired mass flow through the valve after the storage

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
TransiEnt.Producer.Gas.Electrolyzer.Controller.FeedInStorageControllerfeedInStorageController
TransiEnt.Producer.Gas.Electrolyzer.Controller.FeedInStorageTWVControllerfeedInStorageTWVController
Modelica.Blocks.Math.Feedbackfeedback
TransiEnt.Producer.Gas.Electrolyzer.Controller.OverloadControlleroverloadController
Modelica.Blocks.Sources.RealExpressionrealExpression
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Math.Productproduct

Contents

NameDescription
Charline