Normann
fb59c9dd14
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
738a4da455
MariaDB removed
2024-10-06 15:20:10 +02:00
Andreas
e61a89cff6
Pre Commit
2024-10-06 14:35:11 +02:00
Andreas
9b7817e3dc
- Home Appliances fixed
...
- Unittest with Home Appliances
2024-10-06 14:35:11 +02:00
Andreas
0a0c3eed87
Unittest includes Home Appliances
2024-10-06 14:35:11 +02:00
Normann
27bab20606
Update test_class_ems.py
2024-10-06 14:35:11 +02:00
Normann
a80d4c1901
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
d8c726e833
Delete data/mariadb directory
...
Not needed
2024-10-06 07:40:19 +02:00
Andreas
e99d1ae84b
Delete test_data directory
...
Dead Files
2024-10-06 07:39:42 +02:00
fortrieb
66d101fb50
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
dd3363b714
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
9471ad7abc
Pre Commit Fixes
2024-10-05 09:22:10 +02:00
Andreas
ee3f94a3e2
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
cd0d134408
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
c047b0c7dc
Moves Load_Profiles
...
deleted comments
flask_server path with os lib
2024-10-05 09:22:10 +02:00
Sebastian Struß
3fb564d2db
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
7f97bbb7bc
Pre Commit Fix
2024-10-05 08:50:23 +02:00
Andreas
c7140f6da5
datetime bug
2024-10-05 08:50:23 +02:00
Normann
fb1aa06ddd
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
1eed420131
bugfix visualize module
...
datetime.datetime.now() is incorrectly accessing the datetime class
2024-10-04 16:16:03 +02:00
Michael Osthege
7abee4a8e8
Add contribution guide and issue templates
2024-10-04 11:51:10 +02:00
Michael Osthege
2fce372029
Fix code style
2024-10-04 11:51:10 +02:00
Andreas
4458b9f841
English + Ruff
2024-10-04 11:04:50 +02:00
Andreas
3e3d06272b
Unittest EMS
2024-10-04 11:04:50 +02:00
Andreas
d8c894ad5c
Merge branch 'main' of https://github.com/Akkudoktor-EOS/EOS
2024-10-04 09:05:08 +02:00
Daniel Molkentin
772e890627
fix: remove verbose comment
2024-10-03 21:40:28 +02:00
Daniel Molkentin
fc8214f3fe
feat: run pytest for PRs
2024-10-03 21:38:04 +02:00
Andreas
240eeb0266
Removed comments
2024-10-03 17:32:00 +02:00
Michael Osthege
c3f10df277
Manual edits to remove remaining code style errors
2024-10-03 17:28:49 +02:00
Michael Osthege
3045d53bd6
Apply isort and ruff code style
2024-10-03 17:28:49 +02:00
Michael Osthege
bbaaacaca0
Add pre-commit configuration
2024-10-03 17:28:49 +02:00
Normann
8595b91692
Update requirements.txt
2024-10-03 10:03:05 +02:00
Normann
e5bfbe757a
Delete modules/class_battery_soc_predictor.py
2024-10-03 10:03:05 +02:00
Andreas
e31178569f
unittest -> pytest
2024-10-03 09:57:36 +02:00
Fortrieb
0056e71695
Add first unit test for heatpump COP calculation
2024-10-03 09:57:36 +02:00
Andreas
22c6a38513
Unittest Akku
...
class_akku: min_soc & max_soc now supported
2024-10-03 09:20:15 +02:00
dependabot[bot]
eb485ac152
Bump pandas from 2.2.2 to 2.2.3
...
Bumps [pandas](https://github.com/pandas-dev/pandas ) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pandas-dev/pandas/releases )
- [Commits](https://github.com/pandas-dev/pandas/compare/v2.2.2...v2.2.3 )
---
updated-dependencies:
- dependency-name: pandas
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 20:43:12 +02:00
dependabot[bot]
eedd8ccabc
Bump tensorboard from 2.17.1 to 2.18.0
...
Bumps [tensorboard](https://github.com/tensorflow/tensorboard ) from 2.17.1 to 2.18.0.
- [Release notes](https://github.com/tensorflow/tensorboard/releases )
- [Changelog](https://github.com/tensorflow/tensorboard/blob/master/RELEASE.md )
- [Commits](https://github.com/tensorflow/tensorboard/compare/2.17.1...2.18.0 )
---
updated-dependencies:
- dependency-name: tensorboard
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 20:43:04 +02:00
dependabot[bot]
b138f1e152
Bump h5py from 3.11.0 to 3.12.1
...
Bumps [h5py](https://github.com/h5py/h5py ) from 3.11.0 to 3.12.1.
- [Release notes](https://github.com/h5py/h5py/releases )
- [Changelog](https://github.com/h5py/h5py/blob/master/docs/release_guide.rst )
- [Commits](https://github.com/h5py/h5py/compare/3.11.0...3.12.1 )
---
updated-dependencies:
- dependency-name: h5py
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 20:42:57 +02:00
dependabot[bot]
eafaaf71f3
Bump opt-einsum from 3.3.0 to 3.4.0
...
Bumps [opt-einsum](https://github.com/dgasmith/opt_einsum ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/dgasmith/opt_einsum/releases )
- [Changelog](https://github.com/dgasmith/opt_einsum/blob/main/docs/changelog.md )
- [Commits](https://github.com/dgasmith/opt_einsum/compare/v3.3.0...v3.4.0 )
---
updated-dependencies:
- dependency-name: opt-einsum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 20:42:48 +02:00
dependabot[bot]
98725fd277
Bump fonttools from 4.54.0 to 4.54.1
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.54.0 to 4.54.1.
- [Release notes](https://github.com/fonttools/fonttools/releases )
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst )
- [Commits](https://github.com/fonttools/fonttools/compare/4.54.0...4.54.1 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 20:42:39 +02:00
NormannK
8959bd8693
Update class_strompreis.py
...
initial clean up, translations, os.makedirs improved
2024-10-01 07:16:13 +02:00
NormannK
922042ced1
Update class_sommerzeit.py
...
initial clean up. translations, minor changes
2024-10-01 07:12:58 +02:00
NormannK
baa22e973d
Update class_load_corrector.py
...
initial clean up. translations, imports cleaned and sorted
2024-10-01 07:12:41 +02:00
NormannK
c14a94e6f9
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
cf3b610b72
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
89e84b39e5
Update class_inverter.py
...
initial clean up, comments translated. no code changes
2024-10-01 07:07:31 +02:00
NormannK
258267fad4
Update class_heatpump.py
...
initial clean up. comments translated, parameters pulled top the top
2024-10-01 07:05:55 +02:00
NormannK
d1ab1d0184
Update class_akku.py
...
initial cleanup, translations, minimal code changes
2024-10-01 07:04:46 +02:00
NormannK
362fb2221b
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