modelPEM

Model of PEM-Cell stack

Extends from TransiEnt.Basics.Icons.Model (Icon for models).

Information

1. Purpose of model

Model of PEM cell stack.

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

(no remarks)

3. Limits of validity

(no remarks)

4. Interfaces

Type of electrical power port can be chosen

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

With the choice of the boundary the the model can be used as PQ or PU bus.

8. Validation

Validation has been done as part of the master thesis [1]

9. References

[1] Modellierung und Simulation von erdgasbetriebenen Brennstoffzellen-Blockheizkraftwerken zur Heimenergieversorgung

Master thesis, Simon Weilbach (2014)

10. Version History

Model created by Simon Weilbach (simon.weilbach@tuhh.de) in October 2014

Model revised by Pascal Dubucq (dubucq@tuhh.de) in October 2015

Quality check (Code conventions) by Rebekka Denninger in October 2016

Model generalized for different electrical power ports by Jan-Peter Heckel (jan.heckel@tuhh.de) in July 2018

Parameters

TypeNameDefaultDescription
Integerno_Cells30Number of cells connected in series
Modelica.Units.SI.CurrentDensityi_00.000006Reactive current (empiric)
Modelica.Units.SI.CurrentDensityi_L6Limiting current
Modelica.Units.SI.CurrentDensityi_Loss6Leakage current
RealRi0.15e-4Internal resistance according to Barbir in Ohm
Realalpha1Transfer coefficient
Realz2Quantity of transfered electrons
Modelica.Units.SI.AreaA_cell361e-4Area of one cell
Modelica.Units.SI.Pressurep_Anode150000Pressure at the anode
Modelica.Units.SI.Pressurep_Kathode100000Pressure at the cathode
TransiEnt.Basics.Media.Gases.Gas_VDIWA_SG7_varSyngasTransiEnt.Basics.Media.Gases.Gas_VDIWA_SG7_var()Medium model of Syngas
TransiEnt.Basics.Media.Gases.Gas_MoistAirAirTransiEnt.Basics.Media.Gases.Gas_MoistAir()Medium model of air
Real[3,3]cp_tab[28.91404, -0.00084, 2.01e-6; 25.84512, 0.012987, -3.9e-6; 30.62644, 0.009621, 1.18e-6]Empiric parameter for calculating the Gibbs free energy according to Barbir
Modelica.Units.SI.CurrentI_shutdown10If load controller requests currents below this value, stack will shut down
Modelica.Units.SI.Massm5Mass of the stack
Modelica.Units.SI.SpecificHeatCapacitycp1000Specific heat capacity of the stack
Realeta_Q0.7Efficiency of the heat transfer
Modelica.Units.SI.TemperatureT_nom820 + 273.15Temperature in nominal point (i.e. minimum temperature for heat)
Modelica.Units.SI.ThermalConductanceka0.5Thermal conductance of the wall
SI.Voltagev_nsimCenter.v_nNominal Voltage for grid
Replaceable Components
BooleanusePowerPorttrueTrue if power port shall be used

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Gas.IdealGasTempPortInfeedh
TransiEnt.Basics.Interfaces.Gas.IdealGasTempPortOutdrainh
TransiEnt.Basics.Interfaces.Gas.IdealGasTempPortInfeeda
TransiEnt.Basics.Interfaces.Gas.IdealGasTempPortOutdraina
TransiEnt.Basics.Interfaces.Electrical.ActivePowerPortepp
TransiEnt.Basics.Interfaces.Electrical.ElectricCurrentInI_loadInput for loading current
TransiEnt.Basics.Interfaces.Electrical.VoltageOutV_stackOutput for Voltage of a stack
TransiEnt.Basics.Interfaces.General.MassFractionOutlambda_HOutput for excess ratio of hydrogen
TransiEnt.Basics.Interfaces.Thermal.HeatFlowRateOutQ_flow_useUseful heat flow rate
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOutP_el-1*V_stack*I
TransiEnt.Basics.Interfaces.General.MassFractionOutlambda_OOutput for excess ratio of oxygen

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
Modelica.Units.SI.TemperatureT_cellT_stackTemperature of one cell
Modelica.Units.SI.TemperatureT_stackTemperature of the stack
Modelica.Units.SI.TemperatureT_syng_einTemperature of the syngas
Modelica.Units.SI.TemperatureT_air_einTemperature of the air
Modelica.Units.SI.CurrentDensityi_cellCurrent in one cell
Modelica.Units.SI.PressureP_O2air.p_i[3]/air.pPartial pressure of oxygen at the cathode
Modelica.Units.SI.PressureP_H2syng.p_i[5]/syng.pPartial pressure of hydrogen at the anode
Modelica.Units.SI.VoltageE_cellVoltage of one cell
Modelica.Units.SI.VoltageE_stackVoltage of the stack
Modelica.Units.SI.VoltageV1Voltage loss 1
Modelica.Units.SI.VoltageV2Voltage loss 2
Modelica.Units.SI.VoltageV3Voltage loss 3
Modelica.Units.SI.VoltageErReversible electric potential without the other losses
Realdacp_tab[3, 1] - cp_tab[1, 1] - 0.5*cp_tab[2, 1]Empiric parameter for calculating Gibbs free energy according to Barbir
Realdbcp_tab[3, 2] - cp_tab[1, 2] - 0.5*cp_tab[2, 2]Empiric parameter for calculating Gibbs free energy according to Barbir
Realdccp_tab[3, 3] - cp_tab[1, 3] - 0.5*cp_tab[2, 3]Empiric parameter for calculating Gibbs free energy according to Barbir
RealDelta_H_T-241.98*1000 + da*(T_cell - 298.15) + db*((T_cell^2) - 298.15^2)/2 + dc*((T_cell^3) - 298.15^3)/3Empiric equation for calculating the enthalpy of formation according to Barbir
RealDelta_S_T-0.0444*1000 + da*log(T_cell/298.15) + db*(T_cell - 298.15) + dc*((T_cell^2) - 298.15^2)/2Empiric equation for calculating the entropy according to Barbir
Modelica.Units.SI.MolarFlowRateN_dot_eMolar flow rate of the electrons
Modelica.Units.SI.MassFlowRatem_dot_H2_react_stackRequired H2 mass flow rate of one cell
Modelica.Units.SI.MassFlowRatem_dot_O2_react_stackRequired O2 mass flow rate of one cell
Modelica.Units.SI.MassFlowRatem_dot_H2O_gen_stackGenerated H2O mass flow rate of one cell
Modelica.Units.SI.MassFlowRatem_dot_air_react_stackRequired air mass flow rate of one cell
Modelica.Units.SI.MolarMassM_H2syng.M_i[5]Molar mass H2
Modelica.Units.SI.MolarMassM_O2syng.M_i[2]Molar mass O2
Modelica.Units.SI.MassFractionxi_O2Mass fraction of O2 in the air
Modelica.Units.SI.SpecificEnthalpyh_heinsyng.h
Modelica.Units.SI.SpecificEnthalpyh_haussynga.h
Modelica.Units.SI.SpecificEnthalpyh_aeinair.h
Modelica.Units.SI.SpecificEnthalpyh_aausaira.h
SI.HeatFlowRateQ_flow_reacHeat flow due to reaction
SI.HeatFlowRateQ_flow_gasHeat flow to/from syngas and air
Modelica.Units.SI.CurrentI
Modelica.Units.SI.CurrentI_is
Booleanis_T_reac_min_reachedtrue, if minimum temperature for FC reaction reached
Booleanis_Shutdowntrue, if load current is indicating to shut the stack down
TILMedia.Gas_pTsyng
TILMedia.Gas_pTairMoist air is used which consists of N2, H2O and O2. This is why the component O2 can be used from it!
TILMedia.Gas_pTsynga
TILMedia.Gas_pTairaMoist air is used which consists of N2, H2O and O2. This is why the component O2 can be used from it!
TransiEnt.Components.Boundaries.Electrical.ActivePower.PowerpowerBoundary
Modelica.Blocks.Sources.RealExpressionrealExpression