Battery discharge perfromance map is "None"

55 views
Skip to first unread message

Diogo Tomas

unread,
Aug 17, 2022, 5:13:36 AM8/17/22
to SUAVE FORUM
Hey there,

I was following the basic eVTOL tutorial and came across this error:

\Anaconda3\lib\site-packages\suave-2.5.2-py3.9.egg\SUAVE\Methods\Power\Battery\Cell_Cycle_Models\LiNiMnCoO2_cell_cycle_model.py", line 51, in compute_NMC_cell_state_variables
    V_ul           = np.atleast_2d(battery_data.Voltage(pts)[:,1]).T

AttributeError: 'NoneType' object has no attribute 'Voltage' 

I traced it back to the function Lithium_Ion_LiNiMnCoO2_18650.py where "battery" is correctly presented (I think, I will leave a print of this variable in the P.S) and found out that the "battery_data" is indeed "None".

This might be an error on my side but I can´t seem to figure it out. Can someone provide any guidance?

Best regards,
Diogo Tomas

P.S:

tag : Lithium_Ion_LiNiMnCoO2_Cell
origin : [[0. 0. 0.]]
generative_design_max_per_vehicle : 0
generative_design_characteristics : []
generative_design_special_parent : None
mass_properties :
  mass : 453.59237
  volume : 0.0
  center_of_gravity : [[0. 0. 0.]]
  moments_of_inertia :
    center : [0. 0. 0.]
    tensor : [[0. 0. 0.]
 [0. 0. 0.]
 [0. 0. 0.]]
symmetric : False
inputs :
outputs :
chemistry : None
energy_density : 0.0
current_energy : [[2.90866107e+08]
 [2.90866107e+08]
 [2.90866107e+08]
 [2.90866107e+08]
 [2.90866107e+08]
 [2.90866107e+08]
 [2.90866107e+08]
 [2.90866107e+08]]
initial_temperature : 20.0
current_capacitor_charge : 0.0
resistance : 0.025
specific_heat_capacity : 1108
max_energy : 306174849.75000006
max_power : 86246436.54929578
max_voltage : 400
discharge_performance_map : None
ragone :
  const_1 : 88818.0
  const_2 : -4.258333333333333e-06
  lower_bound : 216000.0
  i : 0.0
  upper_bound : 810000.0
cell :
  mass : 0.048
  charging_SOC_cutoff : 1.0
  charging_current : 3.0
  charging_voltage : 3.6
  diameter : 0.0185
  height : 0.0653
  surface_area : 0.004332806048014702
  volume : 1.7552804648907316e-05
  density : 2734.6057202880147
  electrode_area : 0.0342
  max_voltage : 4.2
  nominal_capacity : 3.55
  nominal_voltage : 3.6
  specific_heat_capacity : 1108
  radial_thermal_conductivity : 0.4
  axial_thermal_conductivity : 32.2
module :
pack_config :
  series : 95
  parallel : 70
  total : 6654
module_config :
  total : 1
  normal_count : 1
  parallel_count : 1
  normal_spacing : 0.02
  parallel_spacing : 0.02
age : 0
convective_heat_transfer_coefficient : 35.0
heat_transfer_efficiency : 1.0
cooling_fluid :
  tag : air
  molecular_mass : 28.96442
  gas_specific_constant : 287.0528742
  composition :
    gas : 1.0
    O2 : 0.20946
    Ar : 0.00934
    CO2 : 0.00036
    N2 : 0.78084
    other : 0.0
  specific_heat_capacity : 1006
  cooling_flowspeed : 0.01
  thermal_conductivity : [[0.0254375 ]
 [0.02543675]
 [0.02543466]
 [0.02543164]
 [0.02542829]
 [0.02542527]
 [0.02542318]
 [0.02542243]]
  kinematic_viscosity : [[1.46071859e-05]
 [1.46089161e-05]
 [1.46137653e-05]
 [1.46207763e-05]
 [1.46285628e-05]
 [1.46355827e-05]
 [1.46404432e-05]
 [1.46421783e-05]]
  prandtl_number : [[0.70766259]
 [0.70766463]
 [0.70767033]
 [0.70767857]
 [0.70768772]
 [0.70769596]
 [0.70770166]
 [0.70770369]]
  density : [[1.225     ]
 [1.22482252]
 [1.22432533]
 [1.22360715]
 [1.22281041]
 [1.22209291]
 [1.22159658]
 [1.22141947]]
specific_energy : 958500.0
specific_power : 270000.0
watt_hour_rating : 12.78
min_energy : 306174849.75000006
initial_max_energy : 306174849.75000006
charging_voltage : 342.0
charging_current : 210.0
pack_temperature : [[288.15]
 [288.15]
 [288.15]
 [288.15]
 [288.15]
 [288.15]
 [288.15]
 [288.15]]
cell_charge_throughput : [[0.]
 [0.]
 [0.]
 [0.]
 [0.]
 [0.]
 [0.]
 [0.]]
R_growth_factor : 1
E_growth_factor : 1
ambient_temperature : [[288.15      ]
 [288.14018998]
 [288.11270293]
 [288.07298307]
 [288.02889743]
 [287.98917772]
 [287.96169088]
 [287.95188095]]
ambient_pressure : [[101325.        ]
 [101306.87066351]
 [101256.08742698]
 [101182.74005999]
 [101101.3811704 ]
 [101028.1248627 ]
 [100977.45517526]
 [100959.37637288]]
Reply all
Reply to author
Forward
0 new messages