ambulance.Ambulance.increase_battery#

Ambulance.increase_battery(increase_quantity: float) None#

Increases the battery with a certain amount.

Parameters:

increase_quantity (float) – The battery increase in kWh.

Raises:

Exception – If the battery level of the ambulance becomes higher than the MAX_BATTERY_LEVEL.