dependabot[bot]
d9521913c0
Bump numpy from 1.26.4 to 2.1.2
...
Bumps [numpy](https://github.com/numpy/numpy ) from 1.26.4 to 2.1.2.
- [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/v1.26.4...v2.1.2 )
---
updated-dependencies:
- dependency-name: numpy
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 18:54:11 +02:00
Normann
bda6d240d1
TypeGuard[float] added to isfloat
2024-10-08 07:53:07 +02:00
Normann
bddf89b6ee
README-DE Python req. pushed to 3.10
2024-10-08 07:53:07 +02:00
Normann
8d50168904
README.md Python req. pushed to 3.10
2024-10-08 07:53:07 +02:00
Normann
6a3964b47c
empty line added
2024-10-08 07:53:07 +02:00
Normann
efb685d602
import sort#2
2024-10-08 07:53:07 +02:00
Normann
0339e5dc2e
sort imports
2024-10-08 07:53:07 +02:00
Normann
c9db30859b
moved isfloat(num)
...
improved isfloat for case "None" and strings with surrounding whitespace and special types like +-inf.
2024-10-08 07:53:07 +02:00
Normann
ae5ead0884
remove isfloat()
...
function is not used here
2024-10-08 07:53:07 +02:00
Bobby Noelte
52026fa36a
Adapt data to package directory structure.
...
Move static data to server package directory.
Assure data/*.npz data is included in the server package.
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 17:51:44 +02:00
Bobby Noelte
efd32b9185
Adapt Dockerfile to package directory structure.
...
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 08:12:33 +02:00
Bobby Noelte
95322e69ce
Add packaging and use it.
...
Add packaging information and make it usable by Makefile.
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 08:12:33 +02:00
Bobby Noelte
ba31734bd8
Adapt tests to package directory structure.
...
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 08:12:33 +02:00
Bobby Noelte
89fd1d4203
Adapt python sources to new package directory structure.
...
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 08:12:33 +02:00
Bobby Noelte
619d49488b
Move Python package files to new package directories
...
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 08:12:33 +02:00
Jakob Moecke
fb12856b8c
date fix line 110 README-DE.md
2024-10-07 07:52:04 +02:00
Andreas
b40052047c
Delete battery_model.pkl
2024-10-06 22:40:42 +02:00
Andreas
b7dbd7e475
min_soc (was killed by someone else, pls dont force push!)
2024-10-06 16:00:07 +02:00
Normann
d8a46eb5d3
fixed optimize test
...
fixed first our values for optimize test
2024-10-06 15:20:37 +02:00
Normann
40341d9aef
fixed_seed for single_test_optimization
...
sets the seed for random to a fixed value to be able to compare results.
Value chosen for obvious reason. Same value is used in the test case.
2024-10-06 15:20:37 +02:00
Andreas
0ad8359811
MariaDB removed
2024-10-06 15:20:10 +02:00
Andreas
b8d07db483
Pre Commit
2024-10-06 14:35:11 +02:00
Andreas
cc270e71bc
- Home Appliances fixed
...
- Unittest with Home Appliances
2024-10-06 14:35:11 +02:00
Andreas
584ab225f1
Unittest includes Home Appliances
2024-10-06 14:35:11 +02:00
Normann
fc0ee64521
Update test_class_ems.py
2024-10-06 14:35:11 +02:00
Normann
c31a6c457f
cleanup class_ems.py
...
- type hints added
- translated to English
- reduced not needed function calls
improves optimization time by 50%
2024-10-06 14:35:11 +02:00
Andreas
3b5fc18665
Delete data/mariadb directory
...
Not needed
2024-10-06 07:40:19 +02:00
Andreas
26ad8507f8
Delete test_data directory
...
Dead Files
2024-10-06 07:39:42 +02:00
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
Normann
75d87aa94a
test for class_optimize in PR #88
...
Test meant for class_optimize.
Will only work with PR #88 since the old class has no way to use a fixed random seed.
2024-10-05 23:54:05 +02:00
Andreas
6ab8a67773
Pre Commit Fixes
2024-10-05 09:22:10 +02:00
Andreas
b49321ddb4
deleted dead File server_load_profile.py now in flask_server
...
test.py -> single_test_optimization.py
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
ec1dc87104
Moves Load_Profiles
...
deleted comments
flask_server path with os lib
2024-10-05 09:22:10 +02:00
Sebastian Struß
00c8b91c61
Add docker multi-arch build with github package push and cleaned up Dockerfile for smaller builds
2024-10-05 08:53:14 +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
411a843faf
Add contribution guide and issue templates
2024-10-04 11:51:10 +02:00
Michael Osthege
f1bf01b381
Fix code style
2024-10-04 11:51:10 +02:00
Andreas
2f31fe6669
English + Ruff
2024-10-04 11:04:50 +02:00
Andreas
2e82cad052
Unittest EMS
2024-10-04 11:04:50 +02:00
Andreas
fd5c18c59e
Merge branch 'main' of https://github.com/Akkudoktor-EOS/EOS
2024-10-04 09:05:08 +02:00
Daniel Molkentin
acfb2aaa13
fix: remove verbose comment
2024-10-03 21:40:28 +02:00
Daniel Molkentin
7b8ca3b840
feat: run pytest for PRs
2024-10-03 21:38:04 +02:00
Andreas
19c7bb9ec5
Removed comments
2024-10-03 17:32:00 +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
Michael Osthege
05a3c1a5bb
Add pre-commit configuration
2024-10-03 17:28:49 +02:00