Skip to content

Commit

Permalink
Update day_ahead.py
Browse files Browse the repository at this point in the history
  • Loading branch information
soeter01 authored Nov 14, 2024
1 parent 5c9c9a7 commit f278ef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dao/prog/day_ahead.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,6 @@ def calc_optimum(self, _start_dt: dt.datetime | None = None,
hour_fraction[-1])
solar_prod[s].append(prod)
pv_total += prod
logging.debug(f"pv_tot: {pv_total}")
logging.debug(f"pv: {solar_prod[0]}")
pv_org_ac.append(pv_total)
pv_total = 0
for b in range(B):
Expand Down Expand Up @@ -287,6 +285,8 @@ def calc_optimum(self, _start_dt: dt.datetime | None = None,
logging.debug(f"base: {len(b_l)}")
logging.debug(f"pv_ac: {len(pv_org_ac)}")
logging.debug(f"pv_ac: {len(pv_org_dc)}")
logging.debug(f"pv_tot: {pv_total}")
logging.debug(f"pv: {solar_prod[0]}")

# volledig salderen?
salderen = self.prices_options['tax refund'] == "True"
Expand Down

0 comments on commit f278ef0

Please sign in to comment.