Skip to content

Commit 404670a

Browse files
authored
Improve Configuration and Prediction Usability (#220)
* Update utilities in utils submodule. * Add base configuration modules. * Add server base configuration modules. * Add devices base configuration modules. * Add optimization base configuration modules. * Add utils base configuration modules. * Add prediction abstract and base classes plus tests. * Add PV forecast to prediction submodule. The PV forecast modules are adapted from the class_pvforecast module and replace it. * Add weather forecast to prediction submodule. The modules provide classes and methods to retrieve, manage, and process weather forecast data from various sources. Includes are structured representations of weather data and utilities for fetching forecasts for specific locations and time ranges. BrightSky and ClearOutside are currently supported. * Add electricity price forecast to prediction submodule. * Adapt fastapi server to base config and add fasthtml server. * Add ems to core submodule. * Adapt genetic to config. * Adapt visualize to config. * Adapt common test fixtures to config. * Add load forecast to prediction submodule. * Add core abstract and base classes. * Adapt single test optimization to config. * Adapt devices to config. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
1 parent da419db commit 404670a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+29411
-2814
lines changed

docs/akkudoktoreos/openapi.json

+4,937-381
Large diffs are not rendered by default.

pyproject.toml

+9-2
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,16 @@ select = [
5151
# Google convention via `convention = "google"`, below.
5252
]
5353
ignore = [
54-
# On top of `Pyflakes (F)` to prevent errors for existing sources. Should be removed!!!
54+
# Prevent errors due to ruff false positives
55+
# ------------------------------------------
56+
# On top of `Pyflakes (F)` to allow numpydantic Shape forward annotation
57+
"F722", # forward-annotation-syntax-error: forward annotations that include invalid syntax.
58+
59+
# Prevent errors for existing sources. Should be removed!!!
60+
# ---------------------------------------------------------
61+
# On top of `Pyflakes (F)`
5562
"F841", # unused-variable: Local variable {name} is assigned to but never used
56-
# On top of `pydocstyle (D)` to prevent errors for existing sources. Should be removed!!!
63+
# On top of `pydocstyle (D)`
5764
"D100", # undocumented-public-module: Missing docstring in public module
5865
"D101", # undocumented-public-class: Missing docstring in public class
5966
"D102", # undocumented-public-method: Missing docstring in public method

requirements.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
numpy==2.2.0
2+
numpydantic==1.6.4
23
matplotlib==3.9.2
34
fastapi[standard]==0.115.5
5+
python-fasthtml==0.9.1
46
uvicorn==0.32.1
5-
pydantic==2.10.3
67
scikit-learn==1.6.0
78
timezonefinder==6.5.7
89
deap==1.4.1
910
requests==2.32.3
1011
pandas==2.2.3
12+
pendulum==3.0.0
13+
platformdirs==4.3.6
14+
pvlib==0.11.1
1115
pydantic==2.10.3

0 commit comments

Comments
 (0)