75 Commits

Author SHA1 Message Date
fortrieb
a1c071c1a8 Heat pump: Tests, Translation, Docstrings, Relocation (#89)
* Add first unit test for heatpump COP calculation

* Translate to english,

add type hints, improve unit tests.

* Run pre-commit

* Apply suggestions from code review

Co-authored-by: Michael Osthege <michael.osthege@outlook.com>

* Remove conftest file

---------

Co-authored-by: Michael Osthege <michael.osthege@outlook.com>
2024-10-06 01:06:08 +02:00
Andreas
6ab8a67773 Pre Commit Fixes 2024-10-05 09:22:10 +02:00
Andreas
caf907a2e5 Moved load_profile db to data
removed comments
fixed Bug in visualize.py (extra data empty)
removed dead cp
2024-10-05 09:22:10 +02:00
Andreas
2cfed0b191 Pre Commit Fix 2024-10-05 08:50:23 +02:00
Andreas
a5b7e14128 datetime bug 2024-10-05 08:50:23 +02:00
Normann
e2bca5aba1 Refactored class_optimize.py
- Optimized Imports: Removed unused imports and organized them.
- Refactored Code: Introduced split_individual function for clarity.
- Improved Efficiency: Enhanced penalty calculation and streamlined loops.
- Updated Evaluation Logic: Better handling of penalties in evaluate.
- Type Hints added
- fixed seed option added for automated tests
- verbose comment added, default False

Notes:
- isfloat is only used in flask_server.py
- start_hour is not used in this class
2024-10-05 08:50:23 +02:00
Normann
f10b64e7c6 bugfix visualize module
datetime.datetime.now() is incorrectly accessing the datetime class
2024-10-04 16:16:03 +02:00
Michael Osthege
d987437b01 Manual edits to remove remaining code style errors 2024-10-03 17:28:49 +02:00
Michael Osthege
a4d178d250 Apply isort and ruff code style 2024-10-03 17:28:49 +02:00
Normann
8dd2df46a7 Delete modules/class_battery_soc_predictor.py 2024-10-03 10:03:05 +02:00
Fortrieb
d1e5c344c0 Add first unit test for heatpump COP calculation 2024-10-03 09:57:36 +02:00
Andreas
2ed623bfa4 Unittest Akku
class_akku: min_soc & max_soc now supported
2024-10-03 09:20:15 +02:00
NormannK
9049a06782 Update class_strompreis.py
initial clean up, translations, os.makedirs improved
2024-10-01 07:16:13 +02:00
NormannK
5236057508 Update class_sommerzeit.py
initial clean up. translations, minor changes
2024-10-01 07:12:58 +02:00
NormannK
2df409695a Update class_load_corrector.py
initial clean up. translations, imports cleaned and sorted
2024-10-01 07:12:41 +02:00
NormannK
8075515e8f Update class_load_container.py
initial clean up, unused imports removed, translations, very minor code changes
2024-10-01 07:11:08 +02:00
NormannK
c2af6cc1b3 Update class_load.py
initial clean up, unused imports removed, translations, minor error handling for file added
2024-10-01 07:10:47 +02:00
NormannK
9b439c9228 Update class_inverter.py
initial clean up, comments translated. no code changes
2024-10-01 07:07:31 +02:00
NormannK
ad24ab68fc Update class_heatpump.py
initial clean up. comments translated, parameters pulled top the top
2024-10-01 07:05:55 +02:00
NormannK
cbb5807a7b Update class_akku.py
initial cleanup, translations, minimal code changes
2024-10-01 07:04:46 +02:00
NormannK
0125dc219b Update class_battery_soc_predictor.py
initial clean up. import sorted and unused removed, comments translated, commented debug functions removed
2024-10-01 07:02:14 +02:00
NormannK
dfff675ca7 Update class_haushaltsgeraet.py
initial clean up, only translations
2024-10-01 06:56:37 +02:00
Andreas
752a7e56b4 Bugfix: Simulation Load Data missed 2024-10-01 06:51:06 +02:00
Andreas
88d50fcb06 Performance
Fixes #56
2024-09-30 10:32:54 +02:00
drbacke
1131887ae7 Revert "restructure and optimization of class_optimize.py"
This reverts commit e7f6853f7f64214da98701fc049e33a76b780ff7.
2024-09-30 08:27:07 +02:00
NormannK
a1ea125553 Update visualize.py
initial clean up, translations
2024-09-30 07:54:19 +02:00
NormannK
e7f6853f7f restructure and optimization of class_optimize.py
- removed unused functions
- restructure code
-optimized parameters of optimization
2024-09-30 07:37:18 +02:00
drbacke
e8adea0e3b Update class_soc_calc.py 2024-09-23 06:58:57 +02:00
Bla Bla
a90a92b841 Optimierungsparameter eingestellt
Choice für die E-Auto LAdeströme entfernt, scheint in DEAP buggy zu sein
Initiale Lösung 3x eingefügt, damit diese bestehen bleibt
2024-09-15 11:08:00 +02:00
Bla Bla
bb81a3e7ee Lastprediction als Service verfügbar und ohne DB Abfrage.
y
2024-09-08 10:28:54 +02:00
Bla Bla
b876cc7a1d Vergessen 2024-09-05 13:33:56 +02:00
Bla Bla
8f1d23fe9d E-Auto/Wallbox wird jetzt mit diskreten Ladezuständen versehen, in der
config.py einstellbar
Jeder DisCharge = 0 (Akkus nicht benutzen) wird mit 1Cent Strafe belegt,
da die Lastverteilung fehlt. Also wenn es egal ist, soll er den Akku
anschalten.
2024-09-04 08:23:17 +02:00
Bla Bla
c03d5f386a Anfangs und Endzustand jeder Stunden berücksichtigt. 2024-08-31 10:40:07 +02:00
Bla Bla
65ecf4cf3c Wallbox Leistung wird von der Lastprognose abgezogen 2024-08-30 11:49:44 +02:00
Bla Bla
5d5514c901 Verluste erstmal entfernt, macht die Auswertung zu komplex 2024-08-24 11:47:39 +02:00
Bla Bla
13601d5f12 Optimierungsparameter jetzt linear geordnet
E-Auto Ladeleistung wird optimiert
Nach wievielen Stunden muss das E-Auto voll sein? Einstellbar
2024-08-24 10:22:49 +02:00
Bla Bla
635f747c98 Bug in der Inverter Klasse, Maximale Batterie Leistung wurde als Grenze
genommen (Verbrauch > Erzeugung) statt Maximale WR Leistung. Jetzt
korrekt
2024-08-21 08:56:58 +02:00
Bla Bla
b02f20462e Lastausgabe der Simulation war ohne Netzbezug, also teils zu niedrig 2024-08-08 10:17:21 +02:00
Bla Bla
e4b7a29352 Prediction = 0 führte zu Fehler 2024-08-03 09:14:10 +02:00
Bla Bla
f57c9e5c53 PV & Temperatur Prognose als Array an den Flask Server übergeben, so
kann man seine eigenen Prognose nutzen / Entkoppelung
2024-07-30 14:01:18 +02:00
Bla Bla
b5ff38fb03 Lastprognose entkoppelt, an den Optimierer wird jetzt nur das Array
übergeben. So sind unterschiedliche / eigenen Prognosen möglich
2024-07-30 10:51:26 +02:00
Bla Bla
5e842d5ee4 Strompreis entkoppelt, kann jetzt als Array übergeben werden. 2024-07-30 09:22:55 +02:00
Bla Bla
2605460a99 48 Stunden Predcition & Optimierung
Ein paar Zeitfunktionen korrigiert (24h / 48h)
Strompreis Cache stündlich leeren
Strompreis bei nur 24h Daten, wird verdoppelt (Prognose fehlt noch)
2024-05-08 09:58:41 +02:00
Bla Bla
24548f5621 NOTICE + requirements angepasst 2024-05-03 10:56:13 +02:00
Bla Bla
1145d3c185 Inverter Klasse hinzugefügt
Kleinere Bugs bei max_WR Leistung behoben
2024-05-02 10:27:33 +02:00
Bla Bla
ae05608c6e Maximale Wechselrichter Leistung 2024-05-01 14:38:16 +02:00
Bla Bla
52328cfd7c Akku zurück, Verluste falsch 2024-05-01 11:25:03 +02:00
Bla Bla
cce1976ca4 Neues LFP Modell, die Daten für das Training waren falsch (Auflösung war
nicht gut)
Ladeeff = 0.8 entlade=1.0 da er sonst versucht das Entladen nach "hinten
zu schieben"
Optimierung weniger Iterationen
2024-05-01 11:22:26 +02:00
Bla Bla
c19f1754f1 SoC Schätzung / Gaussprozess hinzugefügt 2024-05-01 10:02:16 +02:00
Bla Bla
3126fafea9 AC Charge TODO
# Please enter the commit message for your changes. Lines starting
2024-04-28 10:28:34 +02:00