266 Commits

Author SHA1 Message Date
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
NormannK
b9b6b16437 Update class_haushaltsgeraet.py
initial clean up, only translations
2024-10-01 06:56:37 +02:00
Andreas
2260b5831d Bugfix: Simulation Load Data missed 2024-10-01 06:51:06 +02:00
Andreas
ffdd76e140 Merge branch 'main' of https://github.com/Akkudoktor-EOS/EOS 2024-10-01 06:47:25 +02:00
Andreas
042c74ce99 Bugfix: Load Simulation did not return Data 2024-10-01 06:41:45 +02:00
Andreas
e0463a36e0 Performance
Fixes #56
2024-09-30 10:32:54 +02:00
Bla Bla
acd04c8628 Bugfix: datetime.datetime -> datetime
Code nicht mehr lauffähig
2024-09-30 08:37:48 +02:00
drbacke
c17d535cef Revert "restructure and optimization of class_optimize.py"
This reverts commit 1f0145582542d32367792a308c2125165afcd6d4.
2024-09-30 08:27:07 +02:00
NormannK
29315427f0 Update flask_server.py
first step of cleanup. only formatting and very minor code changes
To Do:
- implement proper config 
- move parameters into config
- remove not needed commented code (idk which is useful)
- logic in has_no_empty_params is unnecessary complicated
2024-09-30 08:16:05 +02:00
Fortrieb
af7b745d15 Add english translation for readme.
Moving german readme to READEME-DE.md. Add sensible gitignore defaults for most operating systems, VS code and Python.
2024-09-30 08:02:40 +02:00
NormannK
c2254dc5ed Update visualize.py
initial clean up, translations
2024-09-30 07:54:19 +02:00
NormannK
a2770e8410 Update test.py
degree is a non-UTF-8 code. too risky to have that
2024-09-30 07:53:12 +02:00
NormannK
ec996fe410 Update server_load_profile.py
- general clean up
- constants pulled to the top
- improved error handeling
2024-09-30 07:46:05 +02:00
NormannK
1f01455825 restructure and optimization of class_optimize.py
- removed unused functions
- restructure code
-optimized parameters of optimization
2024-09-30 07:37:18 +02:00
dependabot[bot]
6d19a97223 Bump protobuf from 5.28.1 to 5.28.2
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 5.28.1 to 5.28.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.28.1...v5.28.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 15:38:00 +02:00
dependabot[bot]
d80e5e34b9 Bump scikit-learn from 1.5.1 to 1.5.2
Bumps [scikit-learn](https://github.com/scikit-learn/scikit-learn) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/scikit-learn/scikit-learn/releases)
- [Commits](https://github.com/scikit-learn/scikit-learn/compare/1.5.1...1.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 15:37:37 +02:00
dependabot[bot]
1fa100f7f8 Bump setuptools from 74.1.2 to 75.1.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 74.1.2 to 75.1.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v74.1.2...v75.1.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 15:37:13 +02:00
dependabot[bot]
f87eea12fe Bump fonttools from 4.53.1 to 4.54.0
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.53.1 to 4.54.0.
- [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.53.1...4.54.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 15:37:02 +02:00
dependabot[bot]
f045c0b963 Bump tzdata from 2024.1 to 2024.2
Bumps [tzdata](https://github.com/python/tzdata) from 2024.1 to 2024.2.
- [Release notes](https://github.com/python/tzdata/releases)
- [Changelog](https://github.com/python/tzdata/blob/master/NEWS.md)
- [Commits](https://github.com/python/tzdata/compare/2024.1...2024.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 15:36:53 +02:00
drbacke
3a8df5879e Update class_soc_calc.py 2024-09-23 06:58:57 +02:00
NormannK
5d38a7c982 Update flask_server.py
- sorted and organized import section according to PEP 8 guidelines
- removed unused "import string"
- translated to english
2024-09-20 00:05:35 +02:00
NormannK
709211784b Update test.py
- removed unused/duplicate imports
- organized parameters
- input values got rounded!
2024-09-20 00:05:08 +02:00
Dominik Siebel
226608dc9e change default port to 8503 2024-09-18 12:48:21 +02:00
Dominik Siebel
eaa23e6824 change default port to 3000 2024-09-18 12:48:21 +02:00