Skip to content

Commit

Permalink
Improve Configuration and Prediction Usability (#220)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
b0661 authored Dec 15, 2024
1 parent f7f2bce commit 128a346
Show file tree
Hide file tree
Showing 80 changed files with 29,411 additions and 2,814 deletions.
5,318 changes: 4,937 additions & 381 deletions docs/akkudoktoreos/openapi.json

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,16 @@ select = [
# Google convention via `convention = "google"`, below.
]
ignore = [
# On top of `Pyflakes (F)` to prevent errors for existing sources. Should be removed!!!
# Prevent errors due to ruff false positives
# ------------------------------------------
# On top of `Pyflakes (F)` to allow numpydantic Shape forward annotation
"F722", # forward-annotation-syntax-error: forward annotations that include invalid syntax.

# Prevent errors for existing sources. Should be removed!!!
# ---------------------------------------------------------
# On top of `Pyflakes (F)`
"F841", # unused-variable: Local variable {name} is assigned to but never used
# On top of `pydocstyle (D)` to prevent errors for existing sources. Should be removed!!!
# On top of `pydocstyle (D)`
"D100", # undocumented-public-module: Missing docstring in public module
"D101", # undocumented-public-class: Missing docstring in public class
"D102", # undocumented-public-method: Missing docstring in public method
Expand Down
6 changes: 5 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
numpy==2.2.0
numpydantic==1.6.4
matplotlib==3.9.2
fastapi[standard]==0.115.5
python-fasthtml==0.9.1
uvicorn==0.32.1
pydantic==2.10.3
scikit-learn==1.6.0
timezonefinder==6.5.7
deap==1.4.1
requests==2.32.3
pandas==2.2.3
pendulum==3.0.0
platformdirs==4.3.6
pvlib==0.11.1
pydantic==2.10.3
Loading

0 comments on commit 128a346

Please sign in to comment.