Skip to content

Commit

Permalink
Fix sign of idle_delta_soc
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulScheerRLI committed Jun 7, 2024
1 parent 6059fec commit 60f4aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simba/trip.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ def get_idle_consumption(self):

break_duration = self.rotation.trips[idx + 1].departure_time - self.arrival_time
idle_consumption = break_duration.total_seconds() / 3600 * idle_cons_spec
return idle_consumption, idle_consumption / capacity
return idle_consumption, -idle_consumption / capacity

0 comments on commit 60f4aed

Please sign in to comment.