diff --git a/__pycache__/data_base_influx.cpython-312.pyc b/__pycache__/data_base_influx.cpython-312.pyc index 0aa648a..603cd67 100644 Binary files a/__pycache__/data_base_influx.cpython-312.pyc and b/__pycache__/data_base_influx.cpython-312.pyc differ diff --git a/__pycache__/energysystem.cpython-312.pyc b/__pycache__/energysystem.cpython-312.pyc index e0d8a40..e1886d9 100644 Binary files a/__pycache__/energysystem.cpython-312.pyc and b/__pycache__/energysystem.cpython-312.pyc differ diff --git a/__pycache__/sg_ready_controller.cpython-312.pyc b/__pycache__/sg_ready_controller.cpython-312.pyc index f97f438..a8e7566 100644 Binary files a/__pycache__/sg_ready_controller.cpython-312.pyc and b/__pycache__/sg_ready_controller.cpython-312.pyc differ diff --git a/forecaster/__pycache__/weather_forecaster.cpython-312.pyc b/forecaster/__pycache__/weather_forecaster.cpython-312.pyc new file mode 100644 index 0000000..09916da Binary files /dev/null and b/forecaster/__pycache__/weather_forecaster.cpython-312.pyc differ diff --git a/main.py b/main.py index 46f212a..a61bc7a 100644 --- a/main.py +++ b/main.py @@ -51,6 +51,8 @@ upper_roof_west = PvWattsSubarrayConfig(name="west", pdc0_w=7*p_module, tilt_deg cfgs = [upper_roof_north, upper_roof_south, upper_roof_east, upper_roof_west] pv_plant = PvWattsPlant(site, cfgs) +now = datetime.now(TZ) +next_forecast_at = (now + dt.timedelta(hours=1)).replace(minute=0, second=0, microsecond=0) while True: now = datetime.now() if now.second % interval_seconds == 0 and now.microsecond < 100_000: diff --git a/simulators/__pycache__/pv_plant_simulator.cpython-312.pyc b/simulators/__pycache__/pv_plant_simulator.cpython-312.pyc new file mode 100644 index 0000000..a9a1493 Binary files /dev/null and b/simulators/__pycache__/pv_plant_simulator.cpython-312.pyc differ