Skip to content

Commit

Permalink
Extend logging of tariff inconsistency for all tariffs
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebuk1 committed Jan 21, 2025
1 parent 0228c9f commit bf8d135
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/pv_opt/pv_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -4217,9 +4217,10 @@ def _check_tariffs_vs_bottlecap(self):

if round(df["delta"].abs().mean(), 2) > 0:

if direction == "import" and self.intelligent:
if direction == "import":
str_log += " <<< Potential error detected. Check compare pricing array below."
str_log += " <<< "
self.status("ERROR: Tariff inconsistency")
print_detail = True

else:
Expand Down

0 comments on commit bf8d135

Please sign in to comment.