Skip to content

Commit

Permalink
update in runSiliconGraphiteBattery
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierr committed Jan 6, 2025
1 parent 9a173ee commit ec332d3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Examples/Composite/runSiliconGraphiteBattery.m
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
%% Model Instantiation
% We instantiate the model

model = Battery(inputparams);

model = GenericBattery(inputparams);

%% Setup schedule (control and time stepping)
% We will simulate two consecutive periods: a discharge followed by a
Expand Down Expand Up @@ -134,7 +133,7 @@
inputparams.Control = CCChargeControlModelInputParams(jsonstruct.Control);
inputparams.(ctrl).CRate = DRate;

model = Battery(inputparams);
model = GenericBattery(inputparams);

step = model.(ctrl).setupScheduleStep();
control = model.(ctrl).setupScheduleControl();
Expand Down

0 comments on commit ec332d3

Please sign in to comment.