modelFeedInStation_Methanation
Extends from TransiEnt.Producer.Gas.Electrolyzer.Base.PartialFeedInStation.
Information
1. Purpose of model
This model represents a feed in station where hydrogen is produced with an electrolyzer and methanated in a methanator to be fed in into a natural gas grid.
2. Level of detail, physical effects considered, and physical insight
The hydrogen can be produced in an electrolyzer and be stored if desired. Herefore one of the FeedInSystems with an electrolzer can be chosen.
The methanation of hydrogen takes place after the hydrogen production and the possible storage.
The methanation can be avoided by a bypass. This bypass is is controlled by the output molar content of hydrogen which can be defined by the parameter 'hydrogenContentOutput'. If this parameter is set to '1' all hydrogen is bypassed. If the parameter is set to '0' all hydrogen is methanated. The bypass fraction is controlled via a PID-controller whereby the set value is equal to 'hydrogenContentOutput'. if 'useVariableHydrogenFraction'=false the meassurement-signal is equal to the volumetric hydrogen fraction at the output. If 'useVariableHydrogenFraction'=true the meassurement-signal is equal to the input value 'hydrogenFraction_input'. This allows defining the hydrogen fraction in the SNG depending of the hydrogen fraction in an outer gas grid.
Consider that the output of the methanator still contains hydrogen such that an actual molar hydrogen content of '0' can not be achieved.
Via the parameter 'useSeperateHydrogenOutput' an additional hydrogen output can be activated. The gas of this output is not methanated before and can be controlled via the input m_flow_feedIn_H2.
Via parameter 'useLeakageMassFlow' a small mass flow of 'simCenter.m_flow_small' is always flowing out of gas ports (to avoid Zero-Mass-Flow problems)
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_feedIn_H2: input for the possible feed-in mass flow of Hydrogen into the natural grid etc.
epp: electric power port for the electrolyzer
gasPortOut: outlet of SNG
gasPortOut_H2: outlet of hydrogen
5. Nomenclature
(no elements)
6. Governing Equations
(no remarks)
7. Remarks for Usage
For start up, a small hydrogen mass flow for the electrolyzer can be set to allow for simpler initialisation.
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. useMassFlowControl=false should only be used if feedInStation_Hydrogen has no hydrogen storage and the parameter useMassFlowControl is set to 'false' in feedInStation_Hydrogen as well.
8. Validation
Tested in check model TransiEnt.Producer.Gas.MethanatorSystem.Check.Test FeedInStation_Methanator
9. References
(no remarks)
10. Version History
Model created by Oliver Schülting (oliver.schuelting@tuhh.de) in Feb 2018
Model modified by Oliver Schülting (oliver.schuelting@tuhh.de) in Jul 2018: added conditional separate hydrogen port
Model modified by Oliver Schülting (oliver.schuelting@tuhh.de) in Nov 2018: TWV for Hydrogen output is controled without PID now for faster simulation results. useLeakageMassFlow added
Model modified by Oliver Schülting (oliver.schuelting@tuhh.de) in April 2019: added Boolean useMassFlowControl
Model modified by Carsten Bode (c.bode@tuhh.de), Feb 2021 (added separate medium models for CO2 and H2/SNG)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| General | |||
| Boolean | usePowerPort (from PartialFeedInStation) | true | True if power port shall be used |
| Real | hydrogenFraction_fixed | 0 | Target fraction of hydrogen in ouput |
| Boolean | useSeperateHydrogenOutput | false | Use additional gas port for hydrogen only |
| Boolean | useVariableHydrogenFraction | false | meassured hydrogen fraction for hydrogen-fraction-controller |
| Boolean | useMassFlowControl | true | choose if output of FeedInStation is limited by m_flow_feedIn - if 'false': m_flow_feedIn has no effect - should only be 'false' if feedInStation_Hydrogen has no storage and useMassFlowControl='false' in feedInStation_Hydrogen as well |
| Boolean | useCO2Input | false | Use gas port for CO2 for methanation |
| General › General | |||
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium | simCenter.gasModel1 | Natural Gas model to be used |
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium_CO2 | simCenter.gasModel1 | CO2 model to be used |
| Methanation › Nominal Values | |||
| SI.Temperature[N_cv] | T_nom | (273.15 + 270)*ones(N_cv) | Nominal gas and catalyst temperature in the control volumes |
| SI.Pressure[N_cv] | p_nom | (17e5)*ones(N_cv) | Nominal pressure in the control volumes |
| SI.MassFraction[N_cv,vle_sg4.nc - 1] | xi_nom | fill({0.296831, 0.0304503, 0.666944}, N_cv) | Nominal values for mass fractions |
| Integer | scalingOfReactor | 2 | Chooce by which value the scaling of the reactor is defined |
| SI.MassFlowRate | m_flow_n_Methane | 0.0675008 | Nominal mass flow rate of methane at the outlet |
| SI.MassFlowRate | m_flow_n_Hydrogen | 0.0339027 | Nominal mass flow rate of hydrogen at the inlet |
| SI.EnthalpyFlowRate | H_flow_n_Methane | 3.375921e6 | Nominal enthalpy flow rate of methane at the output |
| SI.EnthalpyFlowRate | H_flow_n_Hydrogen | 4.0673747e6 | Nominal enthalpy flow rate of hydrogen at the input |
| Methanation › Fundamental Definitions | |||
| Integer | N_cv | 10 | Number of control volumes |
| SI.Temperature | T_out_SNG | 273.15 + 20 | Temperature of Synthetic Natural Gas after drying |
| Methanation › Coolant | |||
| Integer | heatLossCalculation | 1 | |
| Real | percentageLosses | 0.01 | |
| Methanation › Initialization | |||
| SI.Temperature[N_cv] | T_start | 503.15*ones(N_cv) | Initial gas and catalyst temperature in the control volumes |
| SI.Pressure[N_cv] | p_start | 17e5*ones(N_cv) | Initial pressure in the control volumes |
| SI.MassFraction[N_cv,gas_sg4.nc - 1] | xi_start | fill({0.296831, 0.0304503, 0.666944}, N_cv) | Initial values for mass fractions |
| Numerical Stability | |||
| Boolean | useLeakageMassFlow | false | Constant leakage gas mass flow of 'm_flow_small' to avoid zero mass flow |
| SI.MassFlowRate | m_flow_small | simCenter.m_flow_small | leakage mass flow if useLeakageMassFlow=true |
| Coolant | |||
| Boolean | useFluidCoolantPort | false | choose if fluid port for coolant shall be used |
| Boolean | useHeatPort | false | choose if heat port for coolant shall be used |
| Boolean | useVariableCoolantOutputTemperature | false | choose if temperature of cooland output shall be defined by input |
| SI.Temperature | T_out_coolant_target | 500 + 273.15 | output temperature of coolant - will be limited by temperature which is technically feasible |
| Boolean | externalMassFlowControl | false | choose if coolant mass flow is defined by input |
| Integer | chooseHeatSources | 1 | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.General.MassFlowRateIn | m_flow_feedIn (from PartialFeedInStation) | Mass flow rate input | |
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerIn | P_el_set (from PartialFeedInStation) | Electric power input | |
| TransiEnt.Basics.Interfaces.Gas.RealGasPortOut | gasPortOut (from PartialFeedInStation) | ||
| TransiEnt.Basics.Interfaces.Electrical.ActivePowerPort | epp (from PartialFeedInStation) | ||
| TransiEnt.Basics.Interfaces.Gas.RealGasPortOut | gasPortOut_H2 | ||
| TransiEnt.Basics.Interfaces.General.MassFlowRateIn | m_flow_feedIn_H2 | ||
| Modelica.Blocks.Interfaces.RealInput | hydrogenFraction_input | ||
| Basics.Interfaces.Thermal.FluidPortIn | fluidPortIn | ||
| Basics.Interfaces.Thermal.FluidPortOut | fluidPortOut | ||
| TransiEnt.Basics.Interfaces.Gas.RealGasPortIn | gasPortIn_CO2 | ||
| Basics.Interfaces.General.TemperatureIn | T_set_coolant_out | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heat |
Components
Contents
| Name | Description |
|---|---|