I evaluate battery VOC model fitness.

Construct an instance of me, run the setup method, and wait (in non-blocking Twisted-friendly fashion) for the Deferred it returns to fire. Then call the instance a bunch of times with parameter values for a curve to get a (deferred) sum-of-squared-error fitness of the curve to the thermistor data.

Method setup Returns a Deferred that fires with two equal-length sequences, the names and bounds of all parameters to be determined.
Method curve No summary
Method __call__ Evaluation function for the parameter values.

Inherited from Picklable:

Method __getstate__ Undocumented
Method __setstate__ Undocumented
def setup(self):

Returns a Deferred that fires with two equal-length sequences, the names and bounds of all parameters to be determined.

Also creates a dict of indices in those sequences, keyed by parameter name.

def curve(self, t, *args):

Given a 1-D time vector followed by arguments defining curve parameters, returns a 1-D vector of battery voltage over that time with with no charge or discharge current, with one particular but unknown SOC.

The model implements this equation:

V = a1*exp(-t/b1+c1) + ... ak*exp(-t/bk+ck) + voc

def __call__(self, values):

Evaluation function for the parameter values.

API Documentation for ade, generated by pydoctor at 2022-11-17 13:13:22.