modelPartialElectrolyzer

partial class for electrolyzer

Extends from TransiEnt.Basics.Icons.Electrolyser2 (Icon for electrolysers), TransiEnt.Producer.Heat.Base.PartialHeatProvision.

Information

1. Purpose of model

Partial class for electrolyzer

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

(no remarks)

3. Limits of validity

(no remarks)

4. Interfaces

gasPortOut: gas port for hydrogen

PowerPort epp: power port for electric power

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no remarks)

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Created by Jan Westphal (j.westphal@tuhh.de), dec 2019

Parameters

TypeNameDefaultDescription
SI.MassFraction[medium.nc - 1]xi_outzeros(medium.nc - 1)
SI.SpecificEnergy[:]NCV_H2TransiEnt.Basics.Functions.GasProperties.getRealGasNCVVector(medium, medium.nc)Net calorific value of hydrogen at 25 C and 1 bar
SI.SpecificEnergy[:]GCV_H2TransiEnt.Basics.Functions.GasProperties.getRealGasGCVVector(medium, medium.nc)Gross calorific value of hydrogen at 25 C and 1 bar
SI.SpecificEnthalpyh0TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluidFunctions.specificEnthalpy_pTxi(medium, 1e5, 298.15)Specific enthalpy at 25 C and 1 bar
EnergyResourcetypeOfResourceEnergyResource.ConsumerType of energy resource for global model statistics
Coolant
BooleanuseFluidCoolantPort (from PartialHeatProvision)falsechoose if fluid port for coolant shall be used
BooleanuseHeatPort (from PartialHeatProvision)falsechoose if heat port for coolant shall be used
BooleanexternalMassFlowControl (from PartialHeatProvision)falsechoose if coolant mass flow is defined by input
BooleanuseVariableCoolantOutputTemperature (from PartialHeatProvision)falsechoose if temperature of cooland output shall be defined by input
SI.TemperatureT_out_coolant_target (from PartialHeatProvision)500 + 273.15output temperature of coolant - will be limited by temperature which is technically feasible
Fundamental Definitions
TILMedia.VLEFluidTypes.BaseVLEFluidmediumsimCenter.gasModel3Medium model
SI.ActivePowerP_el_nNominal power of the electrolyzer
SI.ActivePowerP_el_maxMaximum power of the electrolyzer
SI.TemperatureT_out283.15Hydrogen output temperature
Replaceable Components
BooleanusePowerPorttrueTrue if power port shall be used
Statistics
BooleanintegrateH2Flowfalsetrue if hydrogen mass flow shall be integrated
BooleanintegrateElPowersimCenter.integrateElPowertrue if electric powers shall be integrated
BooleancalculateCostsimCenter.calculateCosttrue if cost shall be calculated
TransiEnt.Basics.Units.MonetaryUnitPerEnergyCspec_demAndRev_elsimCenter.Cspec_demAndRev_freeSpecific demand-related cost per electric energy
RealCspec_demAndRev_othersimCenter.Cspec_demAndRev_other_freeSpecific demand-related cost per cubic meter water

Connectors

TypeNameDefaultDescription
Basics.Interfaces.Thermal.FluidPortInfluidPortIn (from PartialHeatProvision)
Basics.Interfaces.Thermal.FluidPortOutfluidPortOut (from PartialHeatProvision)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheat (from PartialHeatProvision)
Basics.Interfaces.General.TemperatureInT_set_coolant_out (from PartialHeatProvision)
TransiEnt.Basics.Interfaces.Electrical.ActivePowerPortepp
TransiEnt.Basics.Interfaces.Gas.RealGasPortOutgasPortOut

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from PartialHeatProvision)
Components.Boundaries.Heat.Heatflow_L1heatFlow_externalMassFlowControl (from PartialHeatProvision)
Modelica.Blocks.Sources.RealExpressionQ_flow_positive (from PartialHeatProvision)
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowprescribedHeatFlow (from PartialHeatProvision)
Components.Boundaries.Heat.Heatflow_L1_idContrMFlow_tempheatflow_L1_idContrMFlow_temp (from PartialHeatProvision)
Modelica.Blocks.Sources.RealExpressionrealExpression8 (from PartialHeatProvision)
SI.HeatFlowRateQ_flow_heatprovision (from PartialHeatProvision)
SI.TemperatureT_out_coolant (from PartialHeatProvision)min(T_out_coolant_target, T_out_coolant_max)
SI.TemperatureT_out_coolant_max (from PartialHeatProvision)
TransiEnt.ModelStatisticsmodelStatistics
SI.HeatFlowRateQ_flowwaste heat
SI.PowerP_elElectric power consumed by the electrolyzer
SI.MassFlowRatem_flow_H2Owater mass flow rate into the electrolyzer
Modelica.Blocks.Sources.RealExpressionrealExpression
TransiEnt.Components.Boundaries.Electrical.ActivePower.PowerpowerBoundary
TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluid_pTvleFluidH2

Contents

NameDescription
CostSpecsGeneral