modelElectrolyzerAndCavern

Simple model of an electrolyzer plant and a hydrogen cavern (use with: TransiEnt.Producer.Combined.LargeScaleCHP.H2CofiringCHP)

Information

1. Purpose of model

This simple model simulates the behavior of a hydrogen cavern. It should be used together with the component TransiEnt.Producer.Combined.LargeScaleCHP.H2CofiringCHP.

The default parameters are based on the sample cavern of one of the NOW studies [1].


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

Loading:

  • This component takes into consideration the amount of power being sent to the electrolyzer to calculate the produced amount of hydrogen.
  • The cavern ist loaded as long as there is enough unused capacitiy in the cavern.
  • The efficiency of the electrolyzer is constant and in regard to the lower heating value (NCV).

Unloading:

  • Hydrogen is unloaded from the cavern if there is enough hydrogen in the cavern (more than the cushion-gas) and if there is hydrogen demand.
  • The amount of hydrogen to be unloaded depends on the co-firing ration as defined in SimCenter.k_H2_fraction.



3. Limits of validity

Due to its simplifcation level, this model should not be used for detailed dimensioning of underground hydrogen caverns.

Its usage is rather recommended for large system models.


4. Interfaces

Inputs:

  • P_ely_set
  • Q_flow_fuel_GuD


Outputs:

  • h2Available (boolean)


5. Nomenclature

Electrolyzer Parameters:

  • P_nom_ely: nominal electric power of electrolyzer
  • eta_nom_ely: nominal efficiency of electrolyzer


Cavern Parameters:

  • medium: gas stored in the cavern (used for calculating the density)
  • V_cavern: cavern geometric volume (converted into mass via calculated density)
  • V_cushion: cushion gas volume (converted into mass via calculated density)
  • k_H2_fraction: co-firing ratio (Q_flow_fuel_H2/Q_flow_fuel_CH4)


6. Governing Equations

(no equations)


7. Remarks for Usage


(none)


8. Validation

See Check-Model "TransiEnt.Producer.Gas.Electrolyzer.Systems.Check.TestElectrolyzerAndCavern"


9. References

[1] Stolzenburg, Klaus ; Hamelmann, Roland ; Wietschel, Martin ; Genoese, Fabio ; Michaelis, Julia ; Lehmann, Jochen ; Miege, Andreas ; Krause, Stephan ; Sponholz, Christian ; u. a.: Integration von Wind-Wasserstoff-Systemen in das Energiesystem Abschlussbericht, 2014


10. Version History

Ricardo Peniche, 2016








Sources:

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flow_max_in10.5*(1000/3600)Maximum mass flow into the cavern
Modelica.Units.SI.MassFlowRatem_flow_max_out13.5*(1000/3600)Maximum mass flow into the cavern
Realk_H2_fractionsimCenter.k_H2_fraction
BooleanintegrateMassFlowOutfalsetrue if mass flow output shall be integrated
BooleanintegrateMassFlowInfalsetrue if mass flow input shall be integrated
Cavern › Gas Properties
TILMedia.VLEFluidTypes.BaseVLEFluidmediumTransiEnt.Basics.Media.Gases.VLE_VDIWA_H2()Medium to be used
ClaRa.Basics.Units.MassFraction[medium.nc - 1]X_constzeros(medium.nc - 1)Constant composition: 100% hydrogen
Modelica.Units.SI.Pressurep_cavern_nom100e5Cavern nominal pressure
Modelica.Units.SI.TemperatureT_cavern20 + 273.15cavern temperature
Cavern › Size and capacity
Modelica.Units.SI.VolumeV_cavern500e3Cavern volume
Modelica.Units.SI.VolumeV_cushion(1 - 0.63)*V_cavern
Modelica.Units.SI.VolumeV_initialV_cushion
Electrolyzer › Size and capacity
Modelica.Units.SI.PowerP_nom_ely400e6Nominal power capacity of the electrolyzer
Realeta_ely_nom0.7
Hydrogen pipeline
Modelica.Units.SI.LengthL12e3

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutputh2Available
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_set_elyInput for electric power
TransiEnt.Basics.Interfaces.Thermal.HeatFlowRateInQ_flow_fuel_GuDHeat flow rate of the fuel

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
TransiEnt.ModelStatisticsmodelStatistics
Modelica.Units.SI.Massm_cushioncushion / base gas
Modelica.Units.SI.Densityrhodensity of stored gas
Modelica.Units.SI.SpecificEnergyLHV120e6
Modelica.Units.SI.HeatFlowRateQ_flow_GuD_H2
Modelica.Units.SI.PowerP_in_ely
Modelica.Units.SI.EnergyE_storage
Modelica.Units.SI.EnergyE_initial
Modelica.Units.SI.EnergyE_storage_max
Modelica.Units.SI.Massm_initialInitial mass in cavern
Modelica.Units.SI.Massdm_storageMass in cavern
Modelica.Units.SI.Massm_storageMass in cavern
Modelica.Units.SI.Massm_outMass in cavern
Modelica.Units.SI.Massm_inMass in cavern
Modelica.Units.SI.Massm_max_cavernCavern maximum mass capacity
Modelica.Units.SI.MassFlowRatem_flow_inMass flow into cavern
Modelica.Units.SI.MassFlowRatem_flow_outMass flow out of cavern
Modelica.Units.SI.MassFlowRatem_flow_nom_elyNominal mass flow electrolyzer
Modelica.Units.SI.MassFlowRatem_flow_elyMass flow electrolyzer (limited)
Modelica.Units.SI.VolumeFlowRateV_flow_elyVolume flow electrolizer
Modelica.Units.SI.VolumeFlowRateV_flow_nom_elyVolume flow electrolizer
RealLevel
TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluid_pTvleFluidH2Model of used medium (hydrogen)
Components.Statistics.Collectors.LocalCollectors.CollectCostsGeneralcollectCosts_PtG_Ely