From 20f08fc822b7c9d403aa5ac700bef9cf2c7e06d9 Mon Sep 17 00:00:00 2001 From: Lorena Hendrix Date: Thu, 13 Nov 2025 16:10:51 +0100 Subject: [PATCH] update to BattMo.jl v0.2.4 --- battmo/juliapkg.json | 8 ++------ tests/test_api.py | 4 ++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/battmo/juliapkg.json b/battmo/juliapkg.json index a41c45e..5d05cb0 100644 --- a/battmo/juliapkg.json +++ b/battmo/juliapkg.json @@ -1,9 +1,9 @@ { - "julia": "1", + "julia": "1.11", "packages": { "BattMo": { "uuid": "6f0c0536-3c2c-4762-a987-c605a8a6f898", - "version": "0.2.3" + "version": "0.2.4" }, "Jutul": { @@ -13,10 +13,6 @@ "GLMakie": { "uuid": "e9467ef8-e4e7-5192-8a1a-b1aee30e663a", "version": "0.11.11" - }, - "OpenSSL_jll": { - "uuid": "458c3c95-2e84-50aa-8efc-19380b2a3a95", - "version": "~3" } } diff --git a/tests/test_api.py b/tests/test_api.py index caa855a..1c055c4 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -23,6 +23,9 @@ def test_simulation(): cell_parameters = load_cell_parameters(from_default_set="chen_2020") cycling_protocol = load_cycling_protocol(from_default_set="cc_discharge") + print_info(cell_parameters, view="NegativeElectrode") + print_info(cell_parameters, view="Electrode") + model_setup = LithiumIonBattery() sim = Simulation(model_setup, cell_parameters, cycling_protocol) output = solve(sim) @@ -96,6 +99,7 @@ def test_calibration(): cal = VoltageCalibration(np.array(df_05["Time"]), np.array(df_05["Voltage"]), sim) + print_info(cal) free_calibration_parameter( cal, ["NegativeElectrode", "ActiveMaterial", "StoichiometricCoefficientAtSOC100"],