MCPcopy Create free account
hub / github.com/Apress/python-for-matlab-development / BatteryEmptyError

Class BatteryEmptyError

code/OO/ecar_sim.py:31–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29# }}}
30import numpy as np
31class BatteryEmptyError(Exception):
32 pass
33charge = 80.0 # kWhr
34d_rate = 0.002
35while True:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected