modelFeedInController

Controlling electrolyzer power comparing set power with maximum allowed H2 that can be fed into the grid, limited to min and max electrolyzer power

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

Information

1. Purpose of model

Model of a controller for the PtG plant in operation mode RE with limited hydrogen output.

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

Controller considers minimum and maximum power of electrolyzer. If desired power is too low, output signal is zero.

3. Limits of validity

(no remarks)

4. Interfaces

Three inputs: mass flow from PtG plant; maximum permitted mass flow; available RE power

One output: desired electrical power of PtG plant

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

Definiton of minimum and maximum power of PtG plant is required.

Depending on application adjustment of PID controller will be helpful.

If useMassFlowControl=true, the electrical power of the electrolyzer will no more be limited by given m_flow_feed. This simplifies the controller if limitation is not needed.

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Model created by Lisa Andresen (andresen@tuhh.de) in Sep 2016

Model modified by Oliver Schülting (oliver.schuelting@tuhh.de) in April 2019: added Boolean useMassFlowControl

Parameters

TypeNameDefaultDescription
SI.ActivePowerP_el_n1e6Nominal power of electrolyzer
SI.ActivePowerP_el_max3*P_el_nMaximum permitted input power
SI.ActivePowerP_el_min0.02*P_el_nMinimum permitted input power
SI.Efficiencyeta_n0.75Nominal efficiency coefficient (min = 0, max = 1)
SI.Efficiencyeta_scale0Sets a with increasing input power linear degrading efficiency coefficient (min = 0, max = 1)
General › Controller
Modelica.Blocks.Types.SimpleControllercontrollerTypeModelica.Blocks.Types.SimpleController.PType of controller
Realk1Gain for controller
RealTi0.1Integrator time constant
RealTd0.1Derivative time constant
General
BooleanuseMassFlowControltruechoose if output of FeedInStation is limited by m_flow_feedIn

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flow_H2Current hydrogen mass flow in kg/s
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flow_feedInMaximum admissible hydrogen mass flow in kg/s
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOutP_el_feedInMaximum power considering constraints
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_el_setDesired output power

Components

TypeNameDefaultDescription
TransiEnt.Basics.Blocks.LimPIDlimPID
Modelica.Blocks.Nonlinear.Limiterlimiter

Contents

NameDescription
Charline