BatteryEntity class into
Battery and make this the new base class for
ElectricVehicle. Also introduces a slight change in the signature of the
__init__ method to make it more straightforward and match the
ElectricVehicle now expects a
charging_time over the entire simulation horizon. If the provided argument does not match, it issues a warning and resizes it.
Adds some unittests for both classes.