Simscape Fuel Cell - unexpected behavior
Show older comments
Good morning, I am trying to use the Fuel cell block in the Simscape environment with model fidelity sets on Simplified - nominal conditions.
I implemented a simple code to check the right behavior of the system. In particular, I compared the analytical polarization curve and the polarization curve obtained by Simscape measuring the fuel cell voltage and the current. I used a variable resistor to set the working conditions.
I would like to understand why there is this difference.

close all
clear
clc
%% Parameters
Eoc = 65; %[V]
A = 0.23; %[V]
N_unit = 10;
i0 = 80; %[A]
N = 65;
Ri = 0.05; %[Ohm]
ifc = linspace(0,300,1e3);
E = Eoc - N*A*log(ifc/i0);
vfc = N_unit*E-Ri*ifc;
%% Simulation
sim("FCsimscapeModel.slx")
%% Plot
figure, plot(ifc,vfc,'LineWidth',2), grid on, grid minor, hold on
plot(ans.current.Data, ans.voltage.Data, '--','LineWidth',2)
axis([0 300 0 1600])
legend ('Analytical polarization curve', 'Simscape polarization curve')
Accepted Answer
More Answers (0)
Categories
Find more on Converters (High Power) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!