modelSOFC

Model of one SOFC-Cell Stack with three states (Ramp up, Normal operation, Ramp down)

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

Information

1. Purpose of model

Model of one SOFC-Cell Stack with three states (Ramp up, Normal operation, Ramp down).

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 2015

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
Realalpha1Transfer coefficient
Realz2Quantity of transfered electrons
Modelica.Units.SI.AreaA_cell361e-4Area of one cell
Modelica.Units.SI.Pressurep_Anode1.5e5Pressure at the anode
Modelica.Units.SI.Pressurep_Kathode1e5Pressure 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
Realhf_H2O-285.8*1000Reaction enthalpy of the steam
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 Gibbs free energy according to Barbir
RealASR_00.29e-4Reference value of the loss resistance at T_0 according to Saarinen in Ohm
Modelica.Units.SI.TemperatureT_01073Reference value of the temperature for calculating the loss resistance according to Saarinen
RealE_A0.65Energy of activation according to Saarinen in eV
Modelica.Units.SI.Massm5Mass of the stack
Modelica.Units.SI.SpecificHeatCapacitycp1000Specific heat capacity of the stack
SI.TemperatureT_n820 + 273.15Temperature in nominal point (i.e. minimum Temperature for operation)
Modelica.Units.SI.TemperatureT_heater_restartT_n - 50Heater restarts at this temperature when temperature drops while operating
Modelica.Units.SI.HeatFlowRateQ_heater_nom3e3Nominal power of heater for ramp up process
Modelica.Units.SI.ThermalConductanceka0.5Thermal conductance between FC and ambient when cooling is shut off (i.e. heat loss)
Modelica.Units.SI.TemperatureT_demand50 + 273.15Temperature of heat demand
Modelica.Units.SI.CurrentI_shutdown10If load controller requests currents below this value, stack will shut down
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.ElectricCurrentInI_loadInput for loading current
TransiEnt.Basics.Interfaces.Electrical.VoltageOutv_stackOutput for voltage of one stack
TransiEnt.Basics.Interfaces.General.MassFractionOutlambda_HOutput for excess ratio of hydrogen
TransiEnt.Basics.Interfaces.Thermal.HeatFlowRateOutQ_flow_useUseful heatflowrate
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOutP_el-1*E_stack*Ielectrical Power
TransiEnt.Basics.Interfaces.General.MassFractionOutlambda_OOutput for excess ratio of oxygen
TransiEnt.Basics.Interfaces.Electrical.ActivePowerPortepp

Components

TypeNameDefaultDescription
SimCentersimCenter
Modelica.Units.SI.TemperatureT_stackTemperature of one cell
Modelica.Units.SI.TemperatureT_syng_einTemperature of the syngas
Modelica.Units.SI.TemperatureT_air_einTemperature of the air
Modelica.Units.SI.TemperatureT_heatdemand60 + 273.15
Modelica.Units.SI.CurrentDensityi_cellElectric current of one cell
Modelica.Units.SI.PressureP_O2air.p_i[3]/air.pPartial pressure of the oxygen at the cathode
Modelica.Units.SI.PressureP_H2syng.p_i[5]/syng.pPartial pressure of the hydrogen at the anode
Modelica.Units.SI.VoltageE_cellVoltage of one cell
Modelica.Units.SI.VoltageE_stackVoltage of one stack
RealASRASR_0*exp(E_A/Modelica.Constants.R*(1/T_stack - 1/T_0))Temperature-dependent resistance for calculating the losses
Modelica.Units.SI.VoltageVRVoltage loss 3
Modelica.Units.SI.VoltageErReversible electric potential without any 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_stack - 298.15) + db*((T_stack^2) - 298.15^2)/2 + dc*((T_stack^3) - 298.15^3)/3Empiric equation for calculating the enthalpy of formation according to Barbir
RealDelta_S_T-0.0444*1000 + da*log(T_stack/298.15) + db*(T_stack - 298.15) + dc*((T_stack^2) - 298.15^2)/2Empiric equation for calculating the entropy according to Barbir
Modelica.Units.SI.MolarFlowRateN_dot_eMolar flow 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_heaterHeat flow provided by heater for ramp up
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
Modelica.Blocks.Sources.RealExpressionrealExpression
TransiEnt.Components.Boundaries.Electrical.ActivePower.PowerpowerBoundary
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!