suboptimumg.vehicle.accumulator.accumulator#

class suboptimumg.vehicle.accumulator.accumulator.Accumulator(vehicle_model)[source]#

Bases: object

Parameters:

vehicle_model (VehicleModel)

apply_pack_weight(new_pack_weight)[source]#

Derive vehicle mass and capacity from a new pack weight.

Parameters:
  • (kWh). (Returns the new capacity)

  • new_pack_weight (float)

Return type:

float