-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] feature - Strange AC Charge #358
Comments
input data main branch: {
"ems": {
"pv_prognose_wh": [
0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 46, 170, 247, 227, 282, 307, 247, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 174, 478, 576, 770, 833, 813, 415, 73, 0, 0, 0, 0, 0, 0
],
"strompreis_euro_pro_wh": [
0.0003219, 0.0003205, 0.0003193, 0.0003157, 0.0003188, 0.0003232, 0.000354, 0.0003693, 0.0003854, 0.0003767, 0.0003681, 0.0003607, 0.0003487, 0.0003417, 0.0003444, 0.000348, 0.0003443, 0.0003514, 0.0003552, 0.0003459, 0.0003397, 0.0003255, 0.0003216, 0.0003087, 0.0003053, 0.0003007, 0.0002918, 0.0002895, 0.0002904, 0.0003044, 0.0003196, 0.0003444, 0.00036, 0.0003574, 0.0003441, 0.0003341, 0.0003279, 0.0003255, 0.0003305, 0.0003492, 0.0003554, 0.0003631, 0.0003646, 0.0003616, 0.0003553, 0.000343, 0.0003403, 0.0003322
],
"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
],
"preis_euro_pro_wh_akku": 0.00022,
"gesamtlast": [
1478.03399933635, 1272.262380050942, 1498.373383129938, 1636.7493211833453, 1295.6866132641019, 1482.4456516840155, 1360.2147509587844, 966.7680382953181, 991.3070862563956, 1183.1591581400091, 1289.46978785848, 1558.0527261605644, 1230.577730609642, 1335.3761298980212, 1368.4981775396077, 1120.1244007062442, 1191.5843859963172, 1409.9533303250262, 1509.2391739363943, 1722.0558173180586, 1516.3847799242, 1645.7831458566825, 1522.5900632115681, 1317.987650783864, 1473.9220450624916, 1267.4140001094895, 1497.2955354593612, 1636.0155615452913, 1294.9142689706143, 1481.9394856278716, 1360.3643320600954, 967.2034186312657, 991.123590079357, 1128.2067695793417, 1105.5298155310381, 1334.4058630371724, 1218.7639233316008, 1468.948999766965, 1469.3547891249632, 1131.704669759033, 1163.9732480056693, 1357.3938497446375, 1811.7715323698076, 1814.1602853536729, 1065.0995073427525, 1177.655414304526, 910.6215434298542, 1013.3100013103456
]
},
"pv_akku": {
"kapazitaet_wh": 26400,
"lade_effizienz": 0.88,
"entlade_effizienz": 0.88,
"max_ladeleistung_w": 5000,
"start_soc_prozent": 0,
"min_soc_prozent": 0,
"max_soc_prozent": 100
},
"wechselrichter": {
"max_power_wh": 10000
},
"eauto": {
"kapazitaet_wh": 60000,
"lade_effizienz": 0.95,
"entlade_effizienz": 1,
"max_ladeleistung_w": 11040,
"start_soc_prozent": 75,
"min_soc_prozent": 0,
"max_soc_prozent": 100
},
"dishwasher": null,
"temperature_forecast": [
1.7, 1.7, 1.9, 2.2, 1.7, 1.6, 1.6, 1.2, 1.1, 0.9, 0.6, 0.3, 0.2, 0, 0, 0.2, 0.3, 0.3, 0.2, 0.3, 0.3, 0.5, 0.3, 0.2, 0.2, 0.1, -0.1, -0.2, -0.4, -0.5, -0.7, -0.4, -0.4, -0.3, -0.2, 0.2, 0.5, 0.8, 1.3, 1.2, 0.6, 0.1, 0, -0.2, -0.6, -0.5, -0.6, -0.6
],
"start_solution": [
3, 6, 4, 11, 5, 3, 6, 0, 7, 4, 9, 3, 8, 5, 9, 3, 8, 1, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9
]
} changes between feature and main (both /optimize with start_hour=14): --- output_358_main.json
+++ output_358_feature.json
@@ -52,13 +52,13 @@
"discharge_array": [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
],
- "entlade_effizienz": 1,
+ "discharging_efficiency": 1,
"hours": 48,
- "kapazitaet_wh": 60000,
- "lade_effizienz": 0.95,
- "max_ladeleistung_w": 11040,
+ "capacity_wh": 60000,
+ "charging_efficiency": 0.95,
+ "max_charge_power_w": 11040,
"soc_wh": 45000,
- "start_soc_prozent": 75
+ "initial_soc_percentage": 75
},
"start_solution": [
3, 6, 4, 11, 5, 3, 6, 0, 7, 4, 9, 3, 8, 5, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 full result (feature): {
"ac_charge": [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
],
"dc_charge": [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
],
"discharge_allowed": [
0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
],
"eautocharge_hours_float": null,
"result": {
"Last_Wh_pro_Stunde": [
1368.4981775396077, 1120.1244007062442, 1191.5843859963172, 1409.9533303250262, 1509.2391739363943, 1722.0558173180586, 1516.3847799242, 1645.7831458566825, 1522.5900632115681, 1317.987650783864, 1473.9220450624916, 1267.4140001094895, 1497.2955354593612, 1636.0155615452913, 1294.9142689706143, 1481.9394856278716, 1360.3643320600954, 967.2034186312657, 991.123590079357, 1128.2067695793417, 1105.5298155310381, 1334.4058630371724, 1218.7639233316008, 1468.948999766965, 1469.3547891249632, 1131.704669759033, 1163.9732480056693, 1357.3938497446375, 1811.7715323698076, 1814.1602853536729, 1065.0995073427525, 1177.655414304526, 910.6215434298542, 1013.3100013103456
],
"EAuto_SoC_pro_Stunde": [
75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75
],
"Einnahmen_Euro_pro_Stunde": [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
],
"Gesamt_Verluste": 0,
"Gesamtbilanz_Euro": 13.479052352752845,
"Gesamteinnahmen_Euro": 0,
"Gesamtkosten_Euro": 13.479052352752845,
"Home_appliance_wh_per_hour": [
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null
],
"Kosten_Euro_pro_Stunde": [
0.3741899723446409, 0.282967291445773, 0.32522040409853203, 0.48315860027621416, 0.5360817545822073, 0.5956591072103165, 0.5151159097402508, 0.5357024139763501, 0.4896649643288403, 0.4068627877969788, 0.4499884003575787, 0.3811113898329235, 0.4369108372470416, 0.4736265050673618, 0.3760431037090664, 0.45110237942512416, 0.4347724405264065, 0.33310485737660794, 0.35680449242856854, 0.39643049944765674, 0.3205394095242302, 0.2861251988407193, 0.2107622904604319, 0.22750789942414712, 0.21031525780580035, 0.11129167067985435, 0.2661850923412149, 0.46636340684227784, 0.6605719007020319, 0.6560003591838881, 0.37842985495888, 0.4039358071064524, 0.30988451122917937, 0.3366215824352968
],
"Netzbezug_Wh_pro_Stunde": [
1086.4981775396077, 813.1244007062442, 944.5843859963172, 1374.9533303250262, 1509.2391739363943, 1722.0558173180586, 1516.3847799242, 1645.7831458566825, 1522.5900632115681, 1317.987650783864, 1473.9220450624916, 1267.4140001094895, 1497.2955354593612, 1636.0155615452913, 1294.9142689706143, 1481.9394856278716, 1360.3643320600954, 967.2034186312657, 991.123590079357, 1109.2067695793417, 931.5298155310381, 856.4058630371724, 642.7639233316008, 698.948999766965, 636.3547891249632, 318.7046697590331, 748.9732480056693, 1284.3938497446375, 1811.7715323698076, 1814.1602853536729, 1065.0995073427525, 1177.655414304526, 910.6215434298542, 1013.3100013103456
],
"Netzeinspeisung_Wh_pro_Stunde": [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
],
"Verluste_Pro_Stunde": [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
],
"akku_soc_pro_stunde": [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
],
"Electricity_price": [
0.0003444, 0.000348, 0.0003443, 0.0003514, 0.0003552, 0.0003459, 0.0003397, 0.0003255, 0.0003216, 0.0003087, 0.0003053, 0.0003007, 0.0002918, 0.0002895, 0.0002904, 0.0003044, 0.0003196, 0.0003444, 0.00036, 0.0003574, 0.0003441, 0.0003341, 0.0003279, 0.0003255, 0.0003305, 0.0003492, 0.0003554, 0.0003631, 0.0003646, 0.0003616, 0.0003553, 0.000343, 0.0003403, 0.0003322
]
},
"eauto_obj": {
"charge_array": [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
],
"discharge_array": [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
],
"discharging_efficiency": 1,
"hours": 48,
"capacity_wh": 60000,
"charging_efficiency": 0.95,
"max_charge_power_w": 11040,
"soc_wh": 45000,
"initial_soc_percentage": 75
},
"start_solution": [
3, 6, 4, 11, 5, 3, 6, 0, 7, 4, 9, 3, 8, 5, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9
],
"washingstart": null
} I can't really reproduce the strange ac behavior. |
One optimization is not enough. And the Code was completely Clean. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input:
Output (AC Charge is not correct)
visualization_results.pdf
The text was updated successfully, but these errors were encountered: