334 Commits

Author SHA1 Message Date
dependabot[bot]
755a1f05fe
Bump numpy from 2.2.0 to 2.2.1 (#305)
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
Bumps [numpy](https://github.com/numpy/numpy) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-31 16:27:31 +01:00
dependabot[bot]
c5ba707916
Bump mypy from 1.13.0 to 1.14.1 (#306)
Bumps [mypy](https://github.com/python/mypy) from 1.13.0 to 1.14.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.13.0...v1.14.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-31 16:26:01 +01:00
Normann
7bd5decdf2
temp. skip test_server (#311)
* temp. skip test_server
2024-12-31 15:58:10 +01:00
Dominique Lasserre
c30ea5300e
Update README.md (#303)
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
- Development on feature/config-overhaul
2024-12-30 23:46:20 +01:00
Dominique Lasserre
38968a941a
pvforecast: Some values optional. Closes #292 (#293)
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
* temperature, relativehumidity_2m, windspeed_10m can be null
 * prettify pv_forecast_input_1.json (and add null value)
2024-12-29 16:43:37 +01:00
Normann
09e54b9989
duplicate line removed (#290)
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
2024-12-27 21:42:50 +01:00
Normann
c6da05d57b
default filename changed back (#288)
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
2024-12-27 10:46:13 +01:00
Andreas
e22388b753 Merge
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
2024-12-26 08:12:56 +01:00
Andreas
08623ae61f Merge branch 'soc_zero_price_precision' of https://github.com/Akkudoktor-EOS/EOS into soc_zero_price_precision 2024-12-26 08:11:06 +01:00
Andreas
0b63538e09 Ruff 2024-12-26 08:10:02 +01:00
Andreas
762d3105e5 Awattar Price changed to more precise value; if SoC=0 discharge =1 forced. Exp Avg for siple Price Forecast 2024-12-26 08:10:02 +01:00
Andreas
a6ea36bfb1 Merge branch 'soc_zero_price_precision' of https://github.com/Akkudoktor-EOS/EOS into soc_zero_price_precision 2024-12-26 08:01:11 +01:00
Andreas
d724d287d0 Ruff 2024-12-26 08:00:52 +01:00
Andreas
df3c121771 Ruff 2024-12-26 07:55:29 +01:00
Andreas
e20c83e413
Merge branch 'main' into soc_zero_price_precision 2024-12-26 07:53:07 +01:00
Andreas
60ec9f5a9b Price Forecast with linear weighting, last value = highest weighting
Discharge enforce when soc = 0 -> mask bug
2024-12-26 07:50:30 +01:00
Andreas
015a6a7a8d Discharge Mask Bug, Tests updated, simple Price Forecast with linear weighting 2024-12-26 07:50:25 +01:00
Andreas
4f8d5d3742 Awattar Price changed to more precise value; if SoC=0 discharge =1 forced. Exp Avg for siple Price Forecast
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
2024-12-25 19:17:08 +01:00
Andreas
c8c8d86bcc Awattar Price changed to more precise value; if SoC=0 discharge =1 forced. Exp Avg for siple Price Forecast 2024-12-25 19:12:38 +01:00
dependabot[bot]
a939900b1c
Bump matplotlib from 3.9.2 to 3.10.0 (#251)
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.9.2 to 3.10.0.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.9.2...v3.10.0)

---
updated-dependencies:
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 13:32:04 +01:00
dependabot[bot]
f6df0edb98
Bump fastapi[standard] from 0.115.5 to 0.115.6 (#254)
Bumps [fastapi[standard]](https://github.com/fastapi/fastapi) from 0.115.5 to 0.115.6.
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](https://github.com/fastapi/fastapi/compare/0.115.5...0.115.6)

---
updated-dependencies:
- dependency-name: fastapi[standard]
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 13:26:47 +01:00
dependabot[bot]
9c61239de1
Bump uvicorn from 0.32.1 to 0.34.0 (#252)
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.32.1 to 0.34.0.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.32.1...0.34.0)

---
updated-dependencies:
- dependency-name: uvicorn
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 13:21:01 +01:00
dependabot[bot]
03d067d2fe
Bump pytest from 8.3.3 to 8.3.4 (#253)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.3 to 8.3.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 13:16:19 +01:00
dependabot[bot]
8f8c0ed12c
Bump pydantic from 2.10.3 to 2.10.4 (#280)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.10.3 to 2.10.4.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v2.10.3...v2.10.4)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 13:15:08 +01:00
Normann
04f6602659
backport visualize v3 (#279)
* backport visualize v3

* test backport

* compare file

* old test files removed
2024-12-24 13:11:15 +01:00
Andreas
35142fafbd English translation EMS 2024-12-22 12:22:27 +01:00
Andreas
9edc2d20d3 Soc 1 hour shift fixed + some german -> english translations in ems 2024-12-22 12:22:27 +01:00
Dominique Lasserre
3c646fcd66 workflow: Pytest also upload artifacts on test failure 2024-12-22 10:36:36 +01:00
Dominique Lasserre
afa5cc7c02 input data: Fix indentation
* Comment full_run (use pytest --full-run to activate)
2024-12-22 10:36:36 +01:00
Andreas
fc4067fe63 Standard Optimization time 48h -> Tests updated 2024-12-22 10:36:36 +01:00
Andreas
e939512623 Test Update with new algorithm 2024-12-21 14:57:11 +01:00
Andreas
0606772758 Tests fixed 2024-12-21 14:57:11 +01:00
Andreas
8a9fe297c5 Path 2024-12-21 14:57:11 +01:00
Andreas
3f67da1326 Price Prediction as JSON simulation output, config fixed electricty fees configurable + MyPy & Ruff 2024-12-21 14:57:11 +01:00
Andreas
43da234a06 Price Forceast (use mean of last 7 days instead of repeat) 2024-12-21 14:57:11 +01:00
Andreas
6416b119cc EV Charge Bug fixed 2024-12-21 14:57:11 +01:00
Andreas
e1f4c75a5d Start solution Bug 2024-12-21 14:57:11 +01:00
Andreas
54f7989ec4 Small penalty when EV 100% and charge >0 2024-12-21 14:57:11 +01:00
Andreas
0d529d7533 Time stop in verbose + LRU Cache / Vectoriz. 2024-12-21 14:57:11 +01:00
Andreas
af031b1a93 Bug 2024-12-21 14:57:11 +01:00
Andreas
0e7350b1e9 First self consumption predictor only PV > load 2024-12-21 14:57:11 +01:00
Andreas
41747a02f8 Interpolator Self Consumption 2024-12-21 14:57:11 +01:00
Andreas
eaf39925ca Penalty not neccessary anymore.
Self Consumption rate is FIXED!!! TODO!
2024-12-21 14:57:11 +01:00
Andreas
2ec3f87732 - discharge hour penalty from start_hour
- Inverter: Frist try of small self consumption rate (fixed) for better discharge_hour results
2024-12-21 14:57:11 +01:00
Dominique Lasserre
3d8a97e128
Optimize states (#256)
* optimization states for AC, DC and IDLE now similar probab. Also AC states taken from config. Maybe a single config option for AC and E-Auto States is sensefull.
 * Ruff
 * test_class_optimize: Update testdata
 * Write pdf and json to test/testdata/new.... so it can be analyzed
   manually or just copied as new expected result.
 * workflow: Upload pytest optimization result artifacts (pdf, json)

---------

Co-authored-by: Andreas <drbacke@gmx.de>
2024-12-16 13:37:16 +01:00
Dominique Lasserre
da419dbf39
Update optimize full-run (#238)
* Enable full-run in github workflow
2024-12-12 14:37:46 +01:00
Andreas
fff685aad9 openAPI Template 2024-12-11 10:31:50 +01:00
Andreas
143814fe18 mypy 2024-12-11 10:31:50 +01:00
Andreas
8264b94131 Swagger Fix (Pydantic) Gesamtlast 2024-12-11 10:31:50 +01:00
Andreas
8d75ad3f61 OpenAPI Gesamtlast changed 2024-12-11 10:14:30 +01:00