SubSystemCooling circulates coolant through a fuel-cell stack and controls both stack and reservoir temperature.
The model consists of an open coolant reservoir, a replaceable pump, coolant temperature sensors, a prescribed cooling-heat input, and two controllers. The stack is connected through from_stack and to_stack; pin_p and pin_n supply the pump electrically.
The stack-temperature PI controller adjusts pump flow to track T_stack_set. A second proportional controller uses the reservoir temperature error to calculate the cooling heat-flow command. The reservoir starts at tank_fill_fraction of its specified height and at 323.15 K.
Tank dimensions, fill level, coolant medium, stack set point, and reservoir set point are configurable. Controller limits and tuning should be checked for the connected stack and coolant circuit.
-
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
T_stack_set | Modelica.Units.SI.Temperature | K | 353 | Target stack temperature |
T_coolant_set | Modelica.Units.SI.Temperature | K | 300 | Target coolant reservoir temperature |
tank_height | Modelica.Units.SI.Length | m | 0.5 | Height of the cooling tank |
tank_diameter | Modelica.Units.SI.Length | m | 0.2 | Height of the cooling tank |
tank_fill_fraction | Real | 1 | 0.8 | Fraction of coolant in the tank |
tank_csa | Modelica.Units.SI.Area | m2 | Modelica.Constants.pi * (tank_diameter/2)^2 | Tank cross section area |
| Name | Kind | Type | Unit | Description |
|---|---|---|---|---|
from_stack | Connection | Modelica.Fluid.Interfaces.FluidPort_a | Pa; kg/s; J/kg | |
pin_p | Connection | Modelica.Electrical.Analog.Interfaces.PositivePin | V; A | Positive electrical terminal |
stackTemperature | Input signal | Modelica.Blocks.Interfaces.RealInput | - | |
to_stack | Connection | Modelica.Fluid.Interfaces.FluidPort_b | Pa; kg/s; J/kg | |
pin_n | Connection | Modelica.Electrical.Analog.Interfaces.NegativePin | V; A | Negative electrical terminal |