Commit Graph
167 Commits
Author SHA1 Message Date
AndreasandAndreas cafed7eaca EV Bugs 2024-10-22 10:39:10 +02:00
AndreasandAndreas 2b5f0ee53c EV Charge Parameters optional + AC Charge first try (Parameter Reduction) 2024-10-22 10:39:10 +02:00
AndreasandAndreas 6881710295 EV possible currents -> Work now (new Mutate Function)
-> Some Penalties are removed (deprecated)
AC Charge -> Parameter in Optimization -1,0,1
-> Missing integration in class_ems
2024-10-22 10:39:10 +02:00
ChrisandAndreas e65eb6b6dd Ruff format 2024-10-11 09:07:53 +02:00
Dominique LasserreandAndreas a71eab3bd0 Streamline Dockerfile, remove unused deps
* Dockerfile: Use non-root user, buildx cache, setup for readonly
   container, remove unused apt deps.
   For now don't install pip package and keep development flask server
   as this will be replaced in the future (fastapi). Then a proper
   webserver (e.g. nginx) should be used and the pip package can be
   created and deployed just to the run-stage (with the webserver).
 * docker-compose: Set to readonly (anonymous volumes declared in
   Dockerfile should maintain all writable data).
   Mount config.py for easier development. Should be replaced by
   environment support for all config file variables.
 * Remove unused runtime dependencies: mariadb, joblib, pytest,
   pytest-cov.
 * Move pytest-cov to dev dependencies.
 * Add output_dir to config.py.
 * Fix visualization_results.pdf endpoint.
 * Update docs.
2024-10-11 08:39:14 +02:00
Dominique LasserreandAndreas 12c9e4428e Replace pytz with stdlib zoneinfo/timezone, Bump python to 3.10
* Timezone support comes with the standard lib since 3.9
 * Bump to 3.10 because typing.TypeGuard
2024-10-10 14:18:40 +02:00
Michael OsthegeandAndreas 2f1f37577b Activate optimization test with 3 generations 2024-10-09 17:05:36 +02:00
Michael OsthegeandAndreas 2c1dd7a1fd Fix matplotlib warning about xticklabels 2024-10-09 17:05:36 +02:00
AndreasandAndreas 004e1f3dc7 [BUG]: class_ems nd_array not JSON serializable
Big Bugfix - not sure if everything works
2024-10-09 16:59:50 +02:00
AndreasandAndreas e72008471f JSON Response fixed 2024-10-09 16:59:50 +02:00
NormannandAndreas 1e78abb074 convert np arrys to lists before changing 2024-10-08 18:55:51 +02:00
NormannandAndreas 62339a0e6c set current hour value None in class_ems.py 2024-10-08 18:55:51 +02:00
NormannandAndreas 3050320607 remove unused function
replace_nan_with_none(data) is not needed anymore since we don't have any NaN values. Another 13% speed increase.
2024-10-08 18:55:51 +02:00
NormannandAndreas 76be16b06a empty line added 2024-10-08 07:53:07 +02:00
NormannandAndreas 2613e71bda remove isfloat()
function is not used here
2024-10-08 07:53:07 +02:00
Bobby NoelteandAndreas 7d25194585 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 NoelteandAndreas 36e1bb649a Move Python package files to new package directories
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 08:12:33 +02:00