rl-institut / SimBA

GNU Affero General Public License v3.0
2 stars 1 forks source link

rotation.add_trip: fixed consumption calc if ct is given #134

Closed stefansc1 closed 1 year ago

stefansc1 commented 1 year ago

Changed logic of rotation.add_trip. Consumption for trips was not calculated when trip charging_type was given (eg through trips.csv) and rotation already had a charging type. Added check in schedule.generate_scenario that each trip has a delta_soc. Changed expected result in test_schedule.test_get_negative_rotations.