batlab.settings package

Submodules

batlab.settings.Settings module

class batlab.settings.Settings.Settings

Holds information the test manager uses to run tests on a cell.

The Settings class contains information the test manager needs to run tests on a cell. The general usage is that settings will be specified in a JSON settings file and then loaded into the program to be used for tests.

acceptableImpedanceThreshold

Ohms

batlabCellPlaylistFileVersion
cellPlaylistName
chargeCurrentSafetyCutoff

Amps

chargeRate

Amps

chargeTemperatureCutoff

Celsius

dischargeCurrentSafetyCutoff

Amps

dischargeRate

Amps

dischargeTemperatureCutoff

Celsius

highVoltageCutoff

Volt

impedanceReportingPeriod

Seconds

lowVoltageCutoff

Volts

numMeasurementCycles
numWarmupCycles
reportingPeriod

Seconds

restPeriod

Seconds

sineWaveFrequency

Hz

sineWaveMagnitude
storageDischarge

Boolean

storageDischargeVoltage

Volts

check(key, value, minval, maxval, variable)
load(fhandle)

Loads information contained in a test JSON file into the Settings instance.

view()

Print out currently loaded settings.

Module contents