modelFeedInStation_CavernComp

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, compressed with an ionic compressor, stored in an underground storage (salt cavern) and fed into a natural gas grid. The storage can by bypassed and the hydrogen is fed directly into the grid.

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.

epp: electric power port for the electrolyzer

gasPortOut: outlet of the 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.

Constant mass flow 'm_flow_hydrogenDemand_constant' is pulled from hydrogen storage if storage pressure is above p_min_Low_constantDemand. If pressure falls below 'p_minLow' hydrogen in storage is only used for supply of 'm_flow_hydrogenDemand_constant' and no more hydrogen can be fed in.

8. Validation

Tested in check model "TransiEnt.Producer.Gas.Electrolyzer.Systems.Check.Test_FeedInStation_CavernComp"

9. References

(no remarks)

10. Version History

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

Model revised by Carsten Bode (c.bode@tuhh.de) in Apr 2018 (fixed for update to ClaRa 1.3.0)

Model modified by Oliver Schülting (oliver.schuelting@tuhh.de) in Mar 2020: added boundary for constant internal hydrogen demand

Model modified by Carsten Bode (c.bode@tuhh.de) in May 2020: added option to use isothermal junction

Parameters

TypeNameDefaultDescription
SI.ActivePowerP_el_min0.05*P_el_nMinimal power of ely, when only 1 stack is working at 2%(?)
RealTi0.1Ti for feed-in control
RealTd0.1Td for feed-in control
BooleanintegrateMassFlowfalseTrue, if mass flow shall be integrated
General
BooleanusePowerPort (from PartialFeedInStation)trueTrue if power port shall be used
General › General
TILMedia.VLEFluidTypes.BaseVLEFluidmedium_h2simCenter.gasModel3Hydrogen model to be used
BooleanuseFluidAdaptertruetrue: fluid adapter to natural gas at gasPortOut is used, false: no adapter, then set medium_ng to medium_h2
TILMedia.VLEFluidTypes.BaseVLEFluidmedium_ngsimCenter.gasModel1Natural gas or output gas with H2 model to be used
General › Electrolyzer
SI.ActivePowerP_el_n1e6nominal power of electrolyser
SI.ActivePowerP_el_max1.68*P_el_nMaximum power of electrolyzer
SI.ActivePowerP_el_overload1.0*P_el_nPower at which overload region begins
Modelica.Units.SI.Efficiencyeta_n0.75Nominal efficency refering to the GCV (min = 0, max = 1)
Modelica.Units.SI.Efficiencyeta_scale0Sets a with increasing input power linear degrading efficiency coefficient (min = 0, max = 1)
SI.Timet_overload0.5*3600Maximum admissible time the electrolyzer can work in overload region in seconds
RealcoolingToHeatingRatio1Defines how much faster electrolyzer cools down than heats up
IntegerstartState1Initial state of the electrolyzer (1: ready to overheat, 2: working in overload, 3: cooling down)
SI.AbsolutePressurep_out35e5Hydrogen output pressure from electrolyser
SI.TemperatureT_out283.15Hydrogen output temperature from electrolyser
RealspecificWaterConsumption10Mass of water per mass of hydrogen
Electrolyzer
SI.ActivePowerP_el_cooldownP_el_nPower below which cooldown of electrolyzer starts
General › Initialization
SI.MassFlowRatem_flow_start0.0Sets initial value for m_flow from a buffer
Junction
BooleanuseIsothMixfalseChoose if the temperature changes in junction should be neglected
General › Junction
SI.SpecificEnthalpyh_start_junctionTILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluidFunctions.specificEnthalpy_pTxi(medium_h2, p_start_junction, T_start_junction, medium_h2.xi_default)Initial specific enthalpy (can be calculated by StaticCycle)
SI.AbsolutePressurep_start_junctionsimCenter.p_amb_const + simCenter.p_eff_2Initial pressure in the junction
SI.TemperatureT_start_junctionsimCenter.T_groundInitial temperature
ClaRa.Basics.Units.Volumevolume_junction0.1Volume of the junction
IntegerinitOption0Type of initialisation
Storage
Booleanstart_pressuretruetrue if a start pressure is defined, false if a start mass is defined
SI.Pressurep_maxHigh175e5Maximum pressure
SI.Pressurep_maxLow174e5Lower value of the storage where it can be filled again
SI.Pressurep_minLow58e5if valve open and p<p_low, close valve
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.VolumeV_geo1e5Geometric volume of storage
SI.Heightheight3.779*V_geo^(1/3)Height of storage
SI.CoefficientOfHeatTransferalpha_nom133Heat transfer coefficient inside the storage cylinder
SI.ThermodynamicTemperatureT_surrounding317.15Temperature of the surrounding media
SI.Thicknessthickness_salt2Thickness of the salt that changes temperature
SI.Massm_start1Stored gas mass at t=0
SI.Pressurep_start1e5Pressure in storage at t=0
SI.ThermodynamicTemperatureT_start283.15Temperature of gas in storage at t=0
BooleanStoreAllHydrogenfalseAll Hydrogen is stored before beeing fed in
Storage › Control
SI.MassFlowRatem_flow_hydrogenDemand_constant0constant hydrogen demand if hydrogen is available
Storage › Compressor
SI.Efficiencyeta_mech_compressor0.95Mechanical efficiency
SI.Efficiencyeta_el_compressor0.97Electrical efficiency
General › Controller
Realk2e8Gain for feed-in control
Statistics
RealCspec_demAndRev_other_watersimCenter.Cspec_demAndRev_other_waterSpecific demand-related cost per cubic meter water of electrolyzer
TransiEnt.Basics.Units.MonetaryUnitPerEnergyCspec_demAndRev_el_electrolyzersimCenter.Cspec_demAndRev_freeSpecific demand-related cost per electric energy for electrolyzer
Modelica.Units.SI.PowerP_el_n_compressor1e5Nominal power of compressor for cost calculation
TransiEnt.Basics.Units.MonetaryUnitPerEnergyCspec_demAndRev_el_othersimCenter.Cspec_demAndRev_el_70_150_GWhSpecific demand-related cost per electric energy for compressor and start gas generation
Summary
BooleanuseFluidModelsForSummaryfalseTrue, if fluid models shall be used for the summary
Coolant
BooleanuseFluidCoolantPortfalsechoose if fluid port for coolant shall be used
BooleanuseHeatPortfalsechoose if heat port for coolant shall be used
BooleanuseVariableCoolantOutputTemperaturefalsechoose if temperature of cooland output shall be defined by input
SI.TemperatureT_out_coolant_target500 + 273.15output temperature of coolant - will be limited by temperature which is technically feasible
BooleanexternalMassFlowControlfalsechoose if heat port for coolant shall be used

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flow_feedIn (from PartialFeedInStation)Mass flow rate input
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_el_set (from PartialFeedInStation)Electric power input
TransiEnt.Basics.Interfaces.Gas.RealGasPortOutgasPortOut (from PartialFeedInStation)
TransiEnt.Basics.Interfaces.Electrical.ActivePowerPortepp (from PartialFeedInStation)
Basics.Interfaces.Thermal.FluidPortInfluidPortIn
Basics.Interfaces.Thermal.FluidPortOutfluidPortOut
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheat
Basics.Interfaces.General.TemperatureInT_set_coolant_out

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from PartialFeedInStation)
SI.Massmass_H2_fedInHydrogen mass fed into grid
SI.ActivePowerP_el_max_isif controlTotalElyStorage.overloadController.state == 3 then controlTotalElyStorage.overloadController.P_el_cooldown elseif controlTotalElyStorage.feedInStorageController.storageFull then controlTotalElyStorage.feedInStorageController.limPID.y else P_el_max
TransiEnt.Producer.Gas.Electrolyzer.PEMElectrolyzer_L1electrolyzer
TransiEnt.Storage.Gas.UndergroundGasStorageHeatTransfer_L2storage
TransiEnt.Producer.Gas.Electrolyzer.Controller.TotalFeedInStorageControllercontrolTotalElyStorage
TransiEnt.Components.Gas.Compressor.CompressorRealGasIsothermal_L1_simplecompressorCavern
Summarysummary
Components.Boundaries.Gas.BoundaryRealGas_Txim_flowboundary_Txim_flow2
Modelica.Blocks.Sources.RealExpressionrealExpression
Components.Gas.VolumesValvesFittings.Fittings.RealGasJunction_L2_isothmix_H2_isoth

Contents

NameDescription
Charline
Dynamics
PressureLossAtOutlet
CostSpecsElectrolyzer
CostSpecsStorage
CostSpecsCompressor
Outlineprotected
ElectrolyzerRecordprotected
Summaryprotected