From ec332d30cd7e79691c32cde4742b8780a2dcc077 Mon Sep 17 00:00:00 2001 From: Xavier Raynaud Date: Mon, 6 Jan 2025 13:44:47 +0100 Subject: [PATCH] update in runSiliconGraphiteBattery --- Examples/Composite/runSiliconGraphiteBattery.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Examples/Composite/runSiliconGraphiteBattery.m b/Examples/Composite/runSiliconGraphiteBattery.m index b5b291f1..a25bc7a1 100644 --- a/Examples/Composite/runSiliconGraphiteBattery.m +++ b/Examples/Composite/runSiliconGraphiteBattery.m @@ -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 @@ -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();