beginning of motor model
beginning of structure for automatic calibration, beginning of calibration script (generate_parameters.m)
add sample test data from "red cell" 0.1C discharge
add "importPL8Discharge.m", script to parse out useful variables from PL8 data log files
Save calibration variables to model data .mat file when finished
update generate_parameters.m with changes from prev commit
Change open-circuit voltage lookup Voc(SOC, T) to be 1D: Voc(SOC). Change R0, R1, C1 to be constant parameters.
add calibrate_pack_RC.m - helper function that returns fit error when given R0, R1, C1
fix Voc format - 1D lookup table expects row vector
add values to support R,C calibration
fix times: MATLAB date number is double(days), not double(seconds); add capacity parameter
add scopes; temporarily modify direction of Idc; change solver to ode23s, modify solver settings
latest version of battery pack data
set initial condition of C1 charge to Voc * C1. Previously, it was 0.
change initial condition of C1 to be *just* Voc, I think that integrator is actually voltage, not charge
previous pulse discharge data was bad
bugfix
Modify C1 initial condition to be 0 V, since that is what it is physically. Make capacity a calibration parameter.
change location of "Battery pack.mat" from Raw/ to Data/
Add cell resistance, capacitance calibration to generate_parameters.m