新建
未命名

bohr893603

推荐镜像 :ABACUS:3.3.2-user-guide
推荐机型 :c32_m64_cpu
赞
数据集
EISrawdata(v1)
[8]
import numpy as np
import matplotlib.pyplot as plt
from scipy import io
for i in('05','06','07'):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/1. BatteryAgingARC-FY08Q4/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()












代码
文本
[5]
import numpy as np
import matplotlib.pyplot as plt
from scipy import io
for i in('25','26','27','28'):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/2. BatteryAgingARC_25_26_27_28_P1/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][3][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][3][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][3][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
















代码
文本
[12]
import numpy as np
import matplotlib.pyplot as plt
from scipy import io
for i in range(29,33):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/3. BatteryAgingARC_25-44/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
















代码
文本
[14]
import numpy as np
import matplotlib.pyplot as plt
from scipy import io
for i in range(33,34,36):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/3. BatteryAgingARC_25-44/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()




代码
文本
[15]
import numpy as np
import matplotlib.pyplot as plt
from scipy import io
for i in (33,34,36):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/3. BatteryAgingARC_25-44/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()












代码
文本
[16]
from scipy import io
for i in (38,39,40):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/3. BatteryAgingARC_25-44/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()












代码
文本
[20]
from scipy import io
for i in range(41,44,33):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/3. BatteryAgingARC_25-44/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][1][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()




代码
文本
[21]
from scipy import io
for i in (42,43,44):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/3. BatteryAgingARC_25-44/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()












代码
文本
[23]
from scipy import io
for i in (45,46,47,48):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/4. BatteryAgingARC_45_46_47_48/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
















代码
文本
[24]
from scipy import io
for i in (49,50,51,52):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/5. BatteryAgingARC_49_50_51_52/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()














代码
文本
[25]
from scipy import io
for i in (53,54,55,56):
data_ = io.loadmat('/bohr/EISrawdata-uw4j/v1/NASA/Battery_Data_Set/6. BatteryAgingARC_53_54_55_56/B00{}.mat'.format(i))
V_c=[]
I_c=[]
t_c=[]
V_d=[]
I_d=[]
t_d=[]
V_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][0]
I_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][1]
t_c=data_['B00{}'.format(i)][0][0][0][0][2][3][0][0][5]
V_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][0]
I_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][1]
t_d=data_['B00{}'.format(i)][0][0][0][0][0][3][0][0][5]
plt.scatter(t_c, V_c)
plt.title('B00{}E_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_c, I_c)
plt.title('B00{}I_change/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
plt.scatter(t_d, V_d)
plt.title('B00{}E_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('E/V')
plt.show()
plt.scatter(t_d, I_d)
plt.title('B00{}I_dischange/t'.format(i))
plt.xlabel('t/s')
plt.ylabel('I/mA')
plt.show()
















代码
文本
点个赞吧
推荐阅读
公开
鸢尾花书Book3_Ch05_笛卡尔坐标系__数学要素__从加减乘除到机器学习_Python_Codes
donglikun@dp.tech

更新于 2024-06-06
公开
未命名
bohr893603

发布于 2023-10-27