modelFeedInStorageTWVController
Controller to control the three way valve after the electrolyzer to grid and storage
Extends from TransiEnt.Basics.Icons.Controller (Icon for controller).
Information
1. Purpose of model
This is a controller to control the split ratio in a three way valve which splits the mass flow coming from the electrolyzer into the mass flow into the storage and through the bypass around it.
2. Level of detail, physical effects considered, and physical insight
(no remarks)
3. Limits of validity
(no remarks)
4. Interfaces
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
splitRatio: output for the split ratio of the three way valve
5. Nomenclature
(no elements)
6. Governing Equations
(no remarks)
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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | StoreAllHydrogen | false | All Hydrogen is stored before beeing fed in |
| General › Controller | |||
| SI.Pressure | p_minLow | 20e5 | Lower limit of the target pressure in storage |
| SI.Pressure | p_maxLow | 29e5 | Lower limit of the target pressure in storage |
| SI.Pressure | p_maxHigh | 30e5 | Upper limit of the target pressure in storage |
| SI.Pressure | p_minHigh | 60e5 | if valve closed and p>p_high, open valve |
| SI.Pressure | p_minLow_constantDemand | 50e5 | storage can be emptied via 'm_flow_hydrogenDemand_constant' up to 'p_minLow_constantDemand' |
| SI.MassFlowRate | m_flow_hydrogenDemand_constant | 0 | constant hydrogen demand if hydrogen is available |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.General.MassFlowRateIn | m_flow_ely | H2 mass flow out of the electrolyser | |
| TransiEnt.Basics.Interfaces.General.MassFlowRateIn | m_flow_feedIn | maximum mass flow that can be fed into the natural gas system | |
| Modelica.Blocks.Interfaces.RealOutput | splitRatio | split ratio of the three way valve | |
| TransiEnt.Basics.Interfaces.General.PressureIn | p | Pressure in storage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow_ely_min | Minimal mass flow rate limited to eps | |
| Boolean | storageFull | hysteresis.y | true if storage is full |
| TransiEnt.SimCenter | simCenter | ||
| Modelica.Blocks.Logical.Hysteresis | hysteresis | ||
| Modelica.Blocks.Sources.RealExpression | realExpression1 | ||
| Modelica.Blocks.Logical.Hysteresis | hysteresis1 | ||
| Modelica.Blocks.Logical.Switch | switch1 | ||
| Modelica.Blocks.Sources.RealExpression | realExpression2 | ||
| Modelica.Blocks.Math.Gain | gain |