mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-17 07:55:15 +00:00
visualize.py: Support variable remuneration Closes #451 (#459)
Some checks failed
docker-build / platform-excludes (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
Some checks failed
docker-build / platform-excludes (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
This commit is contained in:
parent
d912561bfb
commit
76b5ec3638
@ -454,7 +454,9 @@ def prepare_visualize(
|
|||||||
[
|
[
|
||||||
np.full(
|
np.full(
|
||||||
len(parameters.ems.gesamtlast) - start_hour,
|
len(parameters.ems.gesamtlast) - start_hour,
|
||||||
parameters.ems.einspeiseverguetung_euro_pro_wh,
|
parameters.ems.einspeiseverguetung_euro_pro_wh[start_hour:]
|
||||||
|
if isinstance(parameters.ems.einspeiseverguetung_euro_pro_wh, list)
|
||||||
|
else parameters.ems.einspeiseverguetung_euro_pro_wh,
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
title="Remuneration",
|
title="Remuneration",
|
||||||
|
9
tests/testdata/optimize_input_1.json
vendored
9
tests/testdata/optimize_input_1.json
vendored
@ -1,7 +1,14 @@
|
|||||||
{
|
{
|
||||||
"ems": {
|
"ems": {
|
||||||
"preis_euro_pro_wh_akku": 0.0001,
|
"preis_euro_pro_wh_akku": 0.0001,
|
||||||
"einspeiseverguetung_euro_pro_wh": 0.00007,
|
"einspeiseverguetung_euro_pro_wh": [
|
||||||
|
0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007,
|
||||||
|
0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007,
|
||||||
|
0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007,
|
||||||
|
0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007,
|
||||||
|
0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007, 0.00007,
|
||||||
|
0.00007, 0.00007, 0.00007
|
||||||
|
],
|
||||||
"gesamtlast": [
|
"gesamtlast": [
|
||||||
676.71, 876.19, 527.13, 468.88, 531.38, 517.95, 483.15, 472.28, 1011.68, 995.00,
|
676.71, 876.19, 527.13, 468.88, 531.38, 517.95, 483.15, 472.28, 1011.68, 995.00,
|
||||||
1053.07, 1063.91, 1320.56, 1132.03, 1163.67, 1176.82, 1216.22, 1103.78, 1129.12,
|
1053.07, 1063.91, 1320.56, 1132.03, 1163.67, 1176.82, 1216.22, 1103.78, 1129.12,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user