Skip to content

Commit e49fd89

Browse files
committed
Merge branch 'release/v2.0.1'
2 parents 2c9a8e8 + 7ebc749 commit e49fd89

File tree

7 files changed

+18
-12
lines changed

7 files changed

+18
-12
lines changed

examples/1_1_nmc_identification.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
},
3636
{
3737
"cell_type": "code",
38-
"execution_count": 2,
38+
"execution_count": null,
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
42-
"# The LFP battery being modelled has the capacity around\n",
42+
"# The NMC battery being modelled has the capacity around\n",
4343
"# 1 Ah. The exact value has been calculated by coulomb-counting\n",
44-
"# during GITT experiment.\n",
44+
"# during GITT experiment. Note that the capacity is in Coulombs.\n",
4545
"battery_capacity = 3440.05372\n",
4646
"# The experimental measurements were recorded with 1s\n",
4747
"# sampling period.\n",

examples/1_2_nmc_validation.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232
},
3333
{
3434
"cell_type": "code",
35-
"execution_count": 2,
35+
"execution_count": null,
3636
"metadata": {},
3737
"outputs": [],
3838
"source": [
39-
"# The LFP battery being modelled has the capacity around\n",
39+
"# The NMC battery being modelled has the capacity around\n",
4040
"# 1 Ah. The exact value has been calculated by coulomb-counting\n",
41-
"# during GITT experiment.\n",
41+
"# during GITT experiment. Note that the capacity is in Coulombs.\n",
4242
"battery_capacity = 3440.05372\n",
4343
"# The experimental measurements were recorded with 1s\n",
4444
"# sampling period.\n",

examples/3_1_nmc_with_temperature_identification.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@
2727
},
2828
{
2929
"cell_type": "code",
30-
"execution_count": 60,
30+
"execution_count": null,
3131
"metadata": {},
3232
"outputs": [],
3333
"source": [
34+
"# The NMC battery being modelled has the capacity around\n",
35+
"# 2.85 Ah. The exact value has been calculated by coulomb-counting\n",
36+
"# during GITT experiment. Note that the capacity is in Coulombs.\n",
3437
"battery_capacity = 10344.169\n",
3538
"sampling_period = 1\n",
3639
"\n",

examples/3_2_nmc_with_temperature_validation.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@
2828
},
2929
{
3030
"cell_type": "code",
31-
"execution_count": 2,
31+
"execution_count": null,
3232
"metadata": {},
3333
"outputs": [],
3434
"source": [
35+
"# The NMC battery being modelled has the capacity around\n",
36+
"# 2.85 Ah. The exact value has been calculated by coulomb-counting\n",
37+
"# during GITT experiment. Note that the capacity is in Coulombs.\n",
3538
"battery_capacity = 10344.169\n",
3639
"sampling_period = 1\n",
3740
"\n",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name='pybatteryid',
11-
version='2.0.0',
11+
version='2.0.1',
1212
author='Muiz Sheikh',
1313
description='Data-driven Battery Model Identification in Python',
1414
long_description=readme,

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ def scheduling_signals():
1818
parent_directory = os.path.dirname(os.path.dirname(__file__))
1919
#
2020
dataset = np.load(f'{parent_directory}/examples/data/'
21-
'nmc_with_temperature_data/identification_data_2_6.npy',
21+
'nmc_with_temperature/identification_data_2_6.npy',
2222
allow_pickle=True).item()
2323
dataset['initial_soc'] = 0.9979013241720326
2424
#
2525
emf_data = np.load(f'{parent_directory}/examples/data/'
26-
'nmc_with_temperature_data/gitt_data.npy',
26+
'nmc_with_temperature/gitt_data.npy',
2727
allow_pickle=True).item()
2828
#
2929
model_structure = ModelStructure(battery_capacity, sampling_period)

tests/test_signal_trajectories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_io_trajectories():
2121

2222
def test_basis_trajectories():
2323
"""Test basis trajectories."""
24-
soc = Signal('s', [100, 200, 300, 400, 500], lambda x: x)
24+
soc = Signal('s', [1, 2, 3, 4, 5], lambda x: x)
2525

2626
time_delays = [ [1, 2], [0, 1, 2] ]
2727

0 commit comments

Comments
 (0)