modelFeedInStorageController

Controller model for limited hydrogen output with mass flow feedback and storage pressure

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.

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 Nov 2018: PID-controller input signal deactivated if not needed to increase dimulation speed

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)
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
Realk1Gain for controller
RealTi0.1Integrator time constant
RealTd0.1Derivative time constant
SI.Pressurep_maxLow29e5Lower limit of the target pressure in storage
SI.Pressurep_maxHigh30e5Upper limit of the target pressure in storage

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flow_bypassCurrent 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_elyMaximum power considering constraints
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_el_setDesired output power
TransiEnt.Basics.Interfaces.General.PressureInpPressure in storage

Components

TypeNameDefaultDescription
BooleanstorageFullhysteresis.ytrue if storage is full
TransiEnt.Basics.Blocks.LimPIDlimPID
Modelica.Blocks.Math.MinminimumMinimum of both input signals
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Sources.BooleanExpressionbooleanExpression1
Modelica.Blocks.Logical.Hysteresishysteresis
Modelica.Blocks.Nonlinear.Limiterlimiter
Modelica.Blocks.Sources.BooleanExpressionbooleanExpression
Modelica.Blocks.Logical.Switchswitch
Modelica.Blocks.Sources.Constantconst
Modelica.Blocks.Logical.Switchswitch2
Modelica.Blocks.Sources.BooleanExpressionbooleanExpression2

Contents

NameDescription
Charline