Skip to content

Commit

Permalink
Fix 1ph3ph switching for schedules
Browse files Browse the repository at this point in the history
Signed-off-by: Cornelius Claussen <cc@pionix.de>
  • Loading branch information
corneliusclaussen committed Oct 25, 2024
1 parent 85bd3b9 commit 61bfbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/EnergyManager/BrokerFastCharging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ bool BrokerFastCharging::trade(Offer& _offer) {
}
}

if (number_of_phases == min_phases_import) {
if (number_of_phases == min_phases_import and time_slot_is_active) {
context.ts_1ph_optimal = date::utc_clock::now();
}

Expand Down

0 comments on commit 61bfbd6

Please sign in to comment.