www.pudn.com > STATCOM_BESS.rar > fuelcell_volt_calc.m, change:2012-11-01,size:761b


function vfc=fuelcell_volt_calc(ifc) 
% Fuel cell modeling 
% Parameters finding from datasheet values 
% Here we have used the simplified model 
% Model 6KW-45V PEMFC Stack  
% Manufacturer: Nedstack PS6 
% Ashraf Ali 
% 19th_oct_2012 
% Task: Function To calculate corresponding voltage for a fuel cell  
%  
E_oc=65; V_1=63;% voltage at 0 and 1 amps 
I_nom=133.3; V_nom=45; % nominal operating point 
I_max=225; V_min=37;% maximum operating point 
N=65; % Number of cells in series 
 
DR=((log(I_nom))*(I_max-1))-((log(I_max))*(I_nom-1)); 
 
NA=((V_1-V_nom)*(I_max-1)-(V_1-V_min)*(I_nom-1))/DR; 
 
Rohm=(V_1-V_nom-NA*log(I_nom))/(I_nom-1); 
 
i0=exp((V_1-E_oc+Rohm)/NA); 
 
 
% to calculate vfc of fuel cell from ifc 
vfc=E_oc-NA*log(ifc/i0)-(Rohm*ifc); 
end