spice_ev.components.Vehicle.get_energy_needed

Vehicle.get_energy_needed(full=False)

Calculate energy needed to reach desired SoC (positive or zero).

Parameters:

full (bool) – True if battery should be charged completely

Returns:

energy needed to charge battery

Return type:

numeric