Skip to content

Commit

Permalink
Merge pull request #28 from Virtual-FCS/pre_release
Browse files Browse the repository at this point in the history
Pre release
  • Loading branch information
jsimonclark authored Feb 16, 2022
2 parents f408f29 + cfb7d7a commit b43a705
Show file tree
Hide file tree
Showing 5 changed files with 683 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ model LiIonBatteryPack_Composite "A Li-ion battery pack comprised of individual
parameter Integer s = 10 "Number of Cells in Series";

parameter Real coolingArea = p * s * liIonCell[1].coolingArea "Cooling Area";
parameter Real heatTransferCoefficient(unit="W/(m^2*K)") = 7.8 * 10 ^ 0.78;
parameter Real heatTransferCoefficient(unit="W/(m2.K)") = 7.8 * 10 ^ 0.78;
Real chargeCapacity;

VirtualFCS.Electrochemical.Battery.LiIonCell liIonCell[s * p](each SOC_init = SOC_init) annotation(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ model LiIonBatteryPack_Lumped "A Li-ion battery pack model comprising a single l
parameter Real V_max_bat_pack(unit = "V") = 54.75 "Battery pack maximum voltage";
parameter Real C_bat_pack(unit = "A.h") = 200 "Battery pack nominal capacity";
parameter Real SOC_init = 0.5 "Battery pack initial state of charge";
parameter Real heatTransferCoefficient(unit="W/(m^2*K)") = 7.8 * 10 ^ 0.78;
parameter Real heatTransferCoefficient(unit="W/(m2.K)") = 7.8 * 10 ^ 0.78;
parameter Real N_s = ceil(V_max_bat_pack / V_chem_max);
Real vol_bat_pack = L_bat_pack * W_bat_pack * H_bat_pack;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ model PolarizeFuelCellStack "Generate a polarization curve for a fuel cell stack
replaceable package Coolant_Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;
inner Modelica.Fluid.System system annotation(
Placement(visible = true, transformation(origin = {-79, -79}, extent = {{-7, -7}, {7, 7}}, rotation = 0)));
Modelica.Electrical.Analog.Sources.RampCurrent rampCurrent(I = 500, duration = 500, startTime = 100) annotation(
Modelica.Electrical.Analog.Sources.RampCurrent rampCurrent(I = 750, duration = 500, startTime = 100) annotation(
Placement(visible = true, transformation(origin = {0, 60}, extent = {{10, -10}, {-10, 10}}, rotation = 0)));
VirtualFCS.Electrochemical.Hydrogen.FuelCellSystem fuelCellSystem annotation(
Placement(visible = true, transformation(origin = {0, -2}, extent = {{-22, -22}, {22, 22}}, rotation = 0)));
Expand Down
Loading

0 comments on commit b43a705

Please sign in to comment.