Closed nreinicke closed 2 months ago
@nreinicke correct me if i'm wrong, but, your example doesn't look like a traversal_summary, but instead, a state_model. note how the distance, energy and time are all zeros:
{'battery_state': {'format': {'floating_point': {'initial': 100.0}},
'type': 'soc',
'unit': 'percent'},
'distance': {'distance_unit': 'miles', 'initial': 0.0},
'energy_electric': {'energy_unit': 'kilowatt_hours', 'initial': 0.0},
'time': {'initial': 0.0, 'time_unit': 'minutes'}}
Oops yeah that's a typo, but the issue is that the initial number for battery state should be 80 rather than 100 since it should be overridden by the starting_soc_percent
If I pass a query that looks like this:
The resulting state model does not honor the setting of starting soc percent:
When we are initializing the state model we use the default value of 100% and the starting soc percent does not get set properly.