evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Original Zaptec Go is incorrectly reported as supporting phase switching

Open FuR1u5 opened this issue 3 months ago • 15 comments

Describe the bug

The optimizer still assumes that my original Zaptec Go can charge with 1.38 kW.

The charger is an original Zaptec Go, not a Go 2, and it does not support dynamic 1p/3p phase switching. As far as I understand it, dynamic 1p/3p switching is supported by Zaptec Go 2 and Zaptec Pro, but not by the original Zaptec Go. Therefore, treating every non-Go2 device as a PhaseSwitcher seems incorrect, because this also includes the original Go.

EVCC nevertheless exposes automatic phase switching for the charger and the optimizer generates charging plans below the 3-phase minimum power, e.g. 1.38 kW (6 A @ 1p).

In reality the charger stays on 3 phases, so this power level cannot be applied as planned. This also leads to phase mismatch errors in EVCC.

The current implementation appears to assume phase switching for all Zaptec models except Go 2. The question is how the original Zaptec Go can be reliably identified so that it is not advertised as supporting phase switching.

Steps to reproduce

  1. Use an original Zaptec Go (not Go 2).
  2. Add the charger to EVCC using the Zaptec integration.
  3. Enable Optimizer Automatic Mode.
  4. Configure the loadpoint for automatic phase switching.
  5. Start a charging session with PV surplus / optimizer control.
  6. Wait until the optimizer calculates a charging power below the 3-phase minimum.
  7. Observe that the optimizer generates a value such as 1.38 kW / 6 A @ 1p.
  8. The Zaptec Go remains on 3 phases and cannot actually switch to 1 phase.
  9. EVCC subsequently reports a phase mismatch.

Configuration details

EVCC: 0.316.0-dev.1788528774
EVCC branch: feat/optimizer-automatic
PR: #32881
Installation: Home Assistant OS, amd64
Charger: original Zaptec Go
Charger firmware: 2.6.0.6
Optimizer Automatic Mode: enabled
Loadpoint phase configuration: Automatic switching
Charger max current: 16 A
3-phase minimum charging power: ~4.1 kW
Optimizer currently generates values down to 1.38 kW

Log details

Request:
{
  "batteries": [
    {
      "c_max": 11040,
      "c_min": 1380,
      "charge_from_grid": true,
      "d_max": 0,
      "p_a": 0.0007566149,
      "s_initial": 0,
      "s_max": 73800,
      "s_min": 0
    },
    {
      "c_max": 5000,
      "c_min": 0,
      "charge_from_grid": true,
      "d_max": 5000,
      "p_a": 0.0007566149,
      "s_capacity": 20480,
      "s_initial": 10854.4,
      "s_max": 20480,
      "s_min": 2048
    }
  ],
  "eta_c": 0.9,
  "eta_d": 0.9,
  "grid": {
    "p_max_imp": 13800
  },
  "strategy": {
    "charging_strategy": "charge_before_export",
    "discharging_strategy": "discharge_before_import"
  },
  "time_series": {
    "dt": [864, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900],
    "ft": [356.8296, 345.76584, 319.83423, 293.90262, 266.41248, 237.36377, 208.31505, 179.26634, 152.80417, 128.92851, 105.052864, 81.177216, 63.10467, 50.83524, 38.565807, 26.296377, 18.039381, 13.794821, 9.550261, 5.3057003, 2.8518138, 2.1886013, 1.5253888, 0.8621763, 0.46424878, 0.33160627, 0.19896376, 0.066321254, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3212438, 6.963732, 11.606219, 16.248707, 27.722284, 46.02695, 64.33161, 82.636284, 107.34095, 138.44562, 169.55028, 200.65495, 234.57828, 271.32025, 308.06223, 344.8042, 376.10782, 401.9731, 427.8384, 453.7037, 472.77106, 485.0405, 497.3099, 509.57935, 521.21875, 532.228, 543.23737, 554.2467, 563.3659, 570.5949, 577.8239, 585.0529, 587.17523, 584.19073, 581.2063, 578.22186, 567.77625, 549.8695, 531.96277, 514.056, 491.2747, 463.6187, 435.96277, 408.3068, 380.71716, 353.19382, 325.6705, 298.1472, 269.62906, 240.11609, 210.60313, 181.09018, 153.96478, 129.22696, 104.489136, 79.751305, 61.380318, 49.37617, 37.372025, 25.36788, 17.309847, 13.197929, 9.086012, 4.974094, 2.6196895, 2.0227983, 1.4259069, 0.8290157, 0.4974094, 0.43108815, 0.3647669, 0.29844564, 0.23212439, 0.16580313, 0.09948188, 0.033160627],
    "gt": [356.33093, 265.8308, 268.5068, 201.57208, 170.88116, 146.35951, 133.01698, 167.00278, 151.15572, 238.85793, 277.2173, 249.51024, 199.51385, 213.39935, 305.8985, 254.40504, 385.4737, 387.82114, 259.5266, 205.71056, 171.79048, 227.54124, 209.80833, 259.54028, 211.31819, 168.59216, 259.1955, 239.31754, 176.94687, 138.58612, 133.04498, 120.44344, 143.64392, 160.35817, 190.47377, 225.65414, 263.5194, 144.55066, 116.009315, 106.826385, 109.285805, 125.322845, 176.60875, 210.7493, 160.69986, 206.1565, 187.89537, 116.36332, 115.00252, 104.9643, 123.46864, 133.26707, 176.5198, 285.18375, 280.3866, 255.68916, 156.72614, 124.82473, 116.92566, 118.723045, 153.01527, 174.31915, 166.98985, 226.42677, 271.0642, 291.97366, 266.28116, 264.49414, 419.20444, 406.56732, 292.29535, 171.01358, 203.17976, 199.50807, 194.02974, 209.93068, 216.21329, 206.27016, 308.97397, 298.02753, 267.0479, 257.85324, 303.67123, 249.7742, 222.72943, 196.11317, 256.36227, 269.6976, 278.0097, 232.86275, 225.03142, 228.92957, 190.29959, 197.81712, 231.1374, 326.754, 371.17807, 265.8308, 268.5068, 201.57208, 170.88116, 146.35951, 133.01698, 167.00278, 151.15572, 238.85793, 277.2173, 249.51024, 199.51385, 213.39935, 305.8985, 254.40504, 385.4737, 387.82114, 259.5266, 205.71056, 171.79048, 227.54124, 209.80833, 259.54028, 211.31819, 168.59216, 259.1955, 239.31754, 176.94687, 138.58612, 133.04498, 120.44344],
    "p_E": [0.00066227, 0.00062581, 0.00054287, 0.00055188, 0.00040124, 0.00059523, 0.00079067, 0.00100479, 0.00080857, 0.00114242, 0.0012328, 0.00140534, 0.00120812, 0.00123725, 0.00138822, 0.00146026, 0.00146082, 0.00142235, 0.0012905, 0.0011701, 0.00143358, 0.0013681, 0.00123825, 0.00088439, 0.00126982, 0.00119489, 0.00112808, 0.00089784, 0.00100412, 0.00086627, 0.00056177, 0.00014877, 0.00043652, 0.00036165, 0.00022625, 0.00018648, 0.0004002, 0.00031833, 0.00026013, 0.00020426, 0.000317, 0.00029745, 0.00024547, 0.00018637, 0.00028956, 0.0002528, 0.0002298, 0.00018271, 0.00027324, 0.00023925, 0.00020592, 0.00016194, 0.00021303, 0.00021548, 0.00019915, 0.0001876, 0.00021403, 0.00021725, 0.00022603, 0.00022703, 0.00020226, 0.00021648, 0.00023036, 0.00024758, 0.00024991, 0.00022136, 0.00011651, 0.00011973, 0.00007707, 0.00008196, 0.00005075, 0.00004586, 0.00008574, 0.00007719, 0.00005208, 0.0000452, 0.00004342, 0.00003431, 0.00002565, 0.00002509, 0.00001487, 0.00001065, 0.00001487, 0.00000543, 0.00001409, 0.00000532, 0.00000632, 0.00000521, 0.00000243, 0.00000243, 0.00000487, 0, 0.00000987, 0.00001343, 0.00000843, 0.00000465, 0.00002876, 0.0000252, 0.0000442, 0.00008807, 0.00008307, 0.00010884, 0.00015105, 0.00019537, 0.00010484, 0.00012928, 0.00019393, 0.00036376, 0.00032633, 0.00031089, 0.00031667, 0.0003391, 0.00041575, 0.00035788, 0.00043041, 0.00034177, 0.00036987, 0.00039386, 0.00029334, 0.00016394, 0.00035199, 0.0002669, 0.00015361, 0.00011606, 0.00030389, 0.00019315, 0.00009596, 0.00007619],
    "p_N": [0.0016977125, 0.0016521375, 0.0015484625, 0.001559725, 0.001371425, 0.0016139125, 0.0018582125, 0.0021258625, 0.0018805875, 0.0022979, 0.002410875, 0.00262655, 0.002380025, 0.0024164375, 0.00260515, 0.0026952, 0.0026959, 0.0026478125, 0.002483, 0.0023325, 0.00266185, 0.00258, 0.0024176876, 0.0019753624, 0.00245715, 0.0023634876, 0.002279975, 0.001992175, 0.002125025, 0.0019527125, 0.0015720875, 0.0010558375, 0.001415525, 0.0013219375, 0.0011526875, 0.001102975, 0.001370125, 0.0012677875, 0.0011950375, 0.0011252, 0.001266125, 0.0012416875, 0.0011767125, 0.0011028375, 0.001231825, 0.001185875, 0.001157125, 0.0010982625, 0.001211425, 0.0011689375, 0.001127275, 0.0010723, 0.0011361626, 0.001139225, 0.0011188125, 0.001104375, 0.0011374125, 0.0011414374, 0.0011524125, 0.0011536625, 0.0011227, 0.001140475, 0.001157825, 0.00117935, 0.0011822626, 0.001146575, 0.0010155125, 0.0010195374, 0.0009662125, 0.000972325, 0.0009333125, 0.0009272, 0.00097705, 0.0009663625, 0.000934975, 0.000926375, 0.00092415, 0.0009127625, 0.0009019375, 0.0009012375, 0.0008884625, 0.0008831875, 0.0008884625, 0.0008766625, 0.0008874875, 0.000876525, 0.000877775, 0.0008763875, 0.0008729125, 0.0008729125, 0.0008759625, 0.000849175, 0.0008822125, 0.0008866625, 0.0008804125, 0.0008756875, 0.000905825, 0.000901375, 0.000925125, 0.0009799625, 0.0009737125, 0.001005925, 0.0010586875, 0.0011140875, 0.001000925, 0.001031475, 0.0011122875, 0.001324575, 0.0012777875, 0.0012584875, 0.0012657125, 0.00129375, 0.0013895625, 0.001317225, 0.0014078876, 0.0012970875, 0.0013322125, 0.0013622, 0.00123655, 0.0010748, 0.0013098625, 0.0012035, 0.0010618875, 0.00101495, 0.0012497375, 0.0011113125, 0.000989825, 0.0009651125]
  }
}

Response:
{
  "batteries": [
    {
      "charging_power": [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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, 0, 0, 0, 0, 0, 0, 0, 0]
    },
    {
      "charging_power": [0.49867, 79.93504, 51.32743, 92.33054, 95.53132, 91.00426, 75.29807, 0, 1.64845, 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, 0, 0, 0, 0, 0, 2.56043, 0, 0, 0, 41.78107, 80.31006, 0, 0, 135.54305, 282.69012, 269.5913, 285.53244, 303.28015, 299.64868, 305.00546, 325.95786, 234.2634, 256.21918, 296.318, 312.74167, 274.15268, 335.2787, 364.4458, 388.07755, 324.84402, 308.52426, 289.76654, 317.00674, 306.93134, 285.12643, 300.9751, 265.80157, 204.82536, 81.5528, 9.53909, 87.36302, 57.1637, 96.57512, 98.7479, 93.75658, 77.58615, 14.0874, 2.80906, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
      "discharging_power": [0, 0, 0, 0, 0, 0, 0, 0, 0, 109.92942, 172.16444, 168.33302, 136.40918, 162.56412, 267.3327, 228.10866, 367.43433, 374.0263, 249.97633, 200.40486, 168.93867, 225.35265, 208.28294, 258.6781, 210.85394, 168.26054, 258.99655, 239.25122, 176.94687, 138.58612, 133.04498, 0, 143.64392, 160.35817, 190.47377, 0, 263.5194, 144.55066, 116.00931, 106.82638, 109.2858, 125.32284, 176.60875, 0, 160.69986, 206.1565, 187.89537, 0, 115.00252, 104.9643, 123.46864, 0, 174.19856, 278.22003, 268.78036, 81.96616, 129.00386, 78.79778, 52.59405, 36.08676, 45.67432, 35.87353, 0, 25.77182, 36.48592, 20.65341, 0, 0, 43.09662, 4.59422, 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, 109.63097, 172.72816, 169.75893, 138.13353, 164.02318, 268.5265, 229.03716, 368.16385, 374.6232, 250.4406, 200.73647, 169.17079, 225.51843, 208.38242, 258.71127, 210.82079, 168.16107, 258.83072, 239.01909, 176.71475, 138.42032, 132.9455, 120.41028],
      "state_of_charge": [10854.849, 10926.79, 10972.985, 11056.083, 11142.061, 11223.965, 11291.733, 11291.733, 11293.216, 11171.073, 10979.779, 10792.742, 10641.176, 10460.55, 10163.513, 9910.06, 9501.799, 9086.214, 8808.463, 8585.79, 8398.081, 8147.689, 7916.2637, 7628.8433, 7394.561, 7207.605, 6919.831, 6653.9966, 6457.3887, 6303.4043, 6155.5767, 6155.5767, 5995.972, 5817.7964, 5606.1587, 5606.1587, 5313.3594, 5152.7476, 5023.8486, 4905.1523, 4783.7236, 4644.476, 4448.244, 4448.244, 4269.689, 4040.6262, 3831.8535, 3831.8535, 3704.0728, 3587.4458, 3450.2585, 3450.2585, 3256.7046, 2947.5713, 2648.9263, 2557.8528, 2414.5151, 2326.9622, 2268.5242, 2228.4277, 2177.6787, 2137.819, 2140.1235, 2111.488, 2070.9482, 2048, 2085.603, 2157.882, 2109.9968, 2104.892, 2226.8809, 2481.302, 2723.934, 2980.9133, 3253.8655, 3523.5493, 3798.0542, 4091.4163, 4302.2534, 4532.8506, 4799.5366, 5081.0044, 5327.7417, 5629.4927, 5957.4937, 6306.7637, 6599.123, 6876.795, 7137.585, 7422.891, 7699.1294, 7955.743, 8226.62, 8465.842, 8650.185, 8723.582, 8732.168, 8810.794, 8862.241, 8949.159, 9038.032, 9122.413, 9192.241, 9204.92, 9207.447, 9085.636, 8893.715, 8705.094, 8551.612, 8369.364, 8071.002, 7816.516, 7407.4453, 6991.1973, 6712.9297, 6489.889, 6301.922, 6051.3457, 5819.8096, 5532.3525, 5298.1074, 5111.2617, 4823.672, 4558.095, 4361.7456, 4207.9453, 4060.228, 3926.4387]
    }
  ],
  "flow_direction": [0, 0, 0, 0, 0,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 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, 0, 0],
  "grid_import_overshoot": [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, 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, 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],
  "limit_violations": {},
  "objective_value": -6.2825685,
  "status": "Optimal"
}

Trace:
[zaptec] TRACE 2026/09/04 15:58:02 GET https://api.zaptec.com/api/chargers
[zaptec] TRACE 2026/09/04 15:58:02 {"Pages":1,"TotalCount":1,"Data":[...,"MID":"ZAG105072","DeviceId":"ZAG105072","DeviceType":4,...]}

[zaptec] TRACE 2026/09/04 15:58:02 GET https://api.zaptec.com/api/chargers/.../state
[zaptec] TRACE 2026/09/04 15:58:02 [full /state response]

The /state response contains:
"DeviceType":"Go"
"GI":"ZAPTEC GO"
"GV":"2.6.0.6"

[zaptec] TRACE 2026/09/04 15:58:02 GET https://api.zaptec.com/api/installation/...
[zaptec] TRACE 2026/09/04 15:58:02 {...,"MaxCurrent":16.0,"AvailableCurrent":16.0,"AvailableCurrentPhase1":16.0,"AvailableCurrentPhase2":16.0,"AvailableCurrentPhase3":16.0,"DefaultThreeToOneSwitchCurrent":8.0,...,"EnabledFeatures":0,...}

[zaptec] TRACE 2026/09/04 15:58:04 POST https://api.zaptec.com/api/chargers/.../update
[zaptec] TRACE 2026/09/04 15:58:04 {"maxChargePhases":3}

[zaptec] TRACE 2026/09/04 15:58:04 POST https://api.zaptec.com/api/chargers/.../update
[zaptec] TRACE 2026/09/04 15:58:04 {"maxChargeCurrent":6}

...

[zaptec] TRACE 2026/09/04 16:01:21 POST https://api.zaptec.com/api/chargers/.../update
[zaptec] TRACE 2026/09/04 16:01:21 {"maxChargeCurrent":16}

[zaptec] TRACE 2026/09/04 16:01:21 POST https://api.zaptec.com/api/chargers/.../sendCommand/507

Debug:
[lp-1  ] DEBUG 2026/09/04 15:41:35 set phases: 3
[lp-1  ] INFO  2026/09/04 15:41:36 charger: power ✓ energy ✗ currents ✓ phases ✓ wakeup ✗

[lp-1  ] DEBUG 2026/09/04 15:44:37 charger logic error: disabled but charging
[lp-1  ] DEBUG 2026/09/04 15:44:37 switched phases: 3p

[lp-1  ] DEBUG 2026/09/04 15:45:09 pv charge current: 2.37A = 6.08A + -3.71A (2557W @ 3p)

[lp-1  ] DEBUG 2026/09/04 15:45:21 ignoring charge interruption during phase switch
[lp-1  ] WARN  2026/09/04 15:45:21 charger logic error: disabled but charging
[lp-1  ] DEBUG 2026/09/04 15:45:21 optimizer: stop

evcc-20260904-155752-debug.log

What type of operating system or environment does evcc run on?

HomeAssistant Add-on

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

v0.316.0-dev.1788528774

FuR1u5 avatar Sep 04 '26 14:09 FuR1u5

I'm missing the full /state response.

andig avatar Sep 04 '26 14:09 andig

Sorry, my mistake...

The complete trace is attached below. I have removed the Zaptec access token and personal address information. Otherwise, the trace is unmodified.

evcc-20260904-160202-trace.log

FuR1u5 avatar Sep 04 '26 14:09 FuR1u5

Ich sehe

{"ChargerId":"f6a81801-30bd-49ca-a5ec-90fc7db65a88","StateId":100,"Timestamp":"2025-12-17T10:38:46.507","ValueAsString":"{\"CommunicationModes\":[\"LTE\",\"WiFi\"],\"DeviceType\":\"Go\",\"MeterCalibrated\":true,\"OcppVersions\":[\"V1_6\"],\"SchemaVersion\":\"2.1\"}"},

Mir ist jetzt leider nicht klar, ob alle Go Geräte ohne 1p3p sind oder ob es welche gibt die das doch können. Wie finden wir das raus?

andig avatar Sep 04 '26 14:09 andig

Das steht auf der Zaptec Webseite:

Auch bei Zaptec ist die automatische Phasenumschaltung ein zentrales Element moderner Ladeinfrastruktur. Unsere Wallboxen Zaptec Go 2 und Zaptec Pro wurden speziell dafür entwickelt, sich flexibel an unterschiedliche Strombedingungen anzupassen – ganz gleich, ob in Einfamilienhäusern, Tiefgaragen oder Firmenparkplätzen. Sie unterstützen sowohl einphasiges als auch dreiphasiges Laden und erkennen eigenständig, welche Ladeart in der aktuellen Situation am sinnvollsten ist.

Und das Im Datenblatt: https://help.zaptec.com/objects/sa-migration-assets/aaffa4be-5f88-4e9a-9a9e-c16298de05c7/4a6b2956d99d37549129f76bc5693830565c2642a4c149038b9cfb5156791d1a.pdf

FuR1u5 avatar Sep 04 '26 14:09 FuR1u5

Prima- und wissen wir was die Pro da meldet? Wenn wir davon ausgehen können, dass sie nicht Go meldet ist alles gut :)

andig avatar Sep 04 '26 15:09 andig

Prima- und wissen wir was die Pro da meldet? Wenn wir davon ausgehen können, dass sie nicht Go meldet ist alles gut :)

Das kann ich dir leider nicht sagen, aber da die "Pro" kein "Go" im Produktnamen hat, könnte das ja der Fall sein ;) Es steht zwar nichts im Datenblatt dazu aber auf der Produktseite von Zaptec steht eindeutig bei der Go2 und Pro, dass beide die automatische Phasenumschaltung unterstützen.

Image Image Image

Hilft dir das? https://docs.zaptec.com/docs/identify-device-types

FuR1u5 avatar Sep 04 '26 15:09 FuR1u5

Eine Frage habe ich noch: Du hast ja gestern eingebaut, dass man den Ladebereich auf z. B. 6–16 A einstellen kann. Warum verwendet Optimizer Automatic trotzdem weiterhin 1,38–16 A? Beachtet der Optimizer nur, ob automatische Phasenumschaltung unterstützt wird, und ignoriert die konfigurierten Ladegrenzen? Oder sollten die eingestellten Werte ebenfalls in den Optimizer übernommen werden?

FuR1u5 avatar Sep 04 '26 15:09 FuR1u5

1,38 ist ja 1p 6A. Deshalb muss die nicht vorhandene Umschaltung da raus.

andig avatar Sep 04 '26 15:09 andig

Stimmt, hab immer nur mit 3 Phasen gerechnet, da ich im Charger 3 phasig ausgewählt hab aber das ignoriert er wohl :/

Helfen dir die Infos die ich geschickt habe oder kannst du den fix damit noch nicht einbauen?

FuR1u5 avatar Sep 04 '26 15:09 FuR1u5

Aber wenn Du den fix auf 3p konfigurierst dann sollte der Optimizer das jetzt schon honorieren.

andig avatar Sep 04 '26 15:09 andig

Nö, macht er leider nicht, außer ich stelle es falsch ein?

Image

Request:

{ "batteries": [ { "c_max": 11040, "c_min": 1380, "charge_from_grid": true, "d_max": 0, "p_a": 0.0007566149, "s_initial": 63960, "s_max": 73800, "s_min": 0 }, { "c_max": 5000, "c_min": 0, "charge_from_grid": true, "d_max": 5000, "p_a": 0.0007566149, "s_capacity": 20480, "s_initial": 9011.2, "s_max": 20480, "s_min": 2048 } ], "eta_c": 0.9, "eta_d": 0.9, "grid": { "p_max_imp": 13800 }, "strategy": { "charging_strategy": "charge_before_export", "discharging_strategy": "discharge_before_import" }, "time_series": { "dt": [553, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900, 900], "ft": [83.7765, 118.58574, 99.541756, 79.21318, 63.369957, 51.100525, 38.831093, 26.561663, 18.271505, 13.960624, 9.649742, 5.338861, 2.8518138, 2.1886013, 1.5253888, 0.8621763, 0.46424878, 0.33160627, 0.19896376, 0.066321254, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3212438, 6.963732, 11.606219, 16.248707, 27.755444, 46.12643, 64.49742, 82.86841, 106.578255, 135.62697, 164.67567, 193.72438, 224.03319, 255.60211, 287.17102, 318.73993, 347.9213, 374.7151, 401.50885, 428.30264, 451.24982, 470.3503, 489.45084, 508.55136, 524.26953, 536.6053, 548.941, 561.27673, 570.86017, 577.6913, 584.52234, 591.35345, 592.5141, 588.0042, 583.4944, 578.98456, 569.9317, 556.3358, 542.74, 529.1441, 510.34204, 486.33374, 462.32544, 438.31717, 409.9648, 377.26843, 344.57208, 311.8757, 279.6104, 247.7762, 215.942, 184.1078, 155.65598, 130.58655, 105.51711, 80.44768, 61.844566, 49.70778, 37.57099, 25.4342, 17.309847, 13.197929, 9.086012, 4.974094, 2.6196895, 2.0227983, 1.4259069, 0.8290157, 0.4974094, 0.43108815, 0.3647669, 0.29844564, 0.23212439, 0.16580313, 0.09948188, 0.033160627], "gt": [191.72925, 293.74203, 294.627, 265.14188, 199.51385, 213.39935, 305.8985, 254.40504, 385.4737, 387.82114, 259.5266, 205.71056, 171.79048, 227.54124, 209.80833, 259.54028, 211.31819, 168.59216, 259.1955, 239.31754, 176.94687, 138.58612, 133.04498, 120.44344, 143.64392, 160.35817, 190.47377, 225.65414, 263.5194, 144.55066, 116.009315, 106.826385, 109.285805, 125.322845, 176.60875, 210.7493, 160.69986, 206.1565, 187.89537, 116.36332, 115.00252, 104.9643, 123.46864, 133.26707, 176.5198, 285.18375, 280.3866, 255.68916, 156.72614, 124.82473, 116.92566, 118.723045, 153.01527, 174.31915, 166.98985, 226.42677, 271.0642, 291.97366, 266.28116, 264.49414, 419.20444, 406.56732, 292.29535, 171.01358, 203.17976, 199.50807, 194.02974, 209.93068, 216.21329, 206.27016, 308.97397, 298.02753, 267.0479, 257.85324, 303.67123, 249.7742, 222.72943, 196.11317, 256.36227, 269.6976, 278.0097, 232.86275, 225.03142, 228.92957, 190.29959, 197.81712, 231.1374, 326.754, 362.88406, 260.54306, 263.03088, 197.96921, 168.98262, 149.36235, 138.62396, 171.83725, 151.15572, 238.85793, 277.2173, 249.51024, 199.51385, 213.39935, 305.8985, 254.40504, 385.4737, 387.82114, 259.5266, 205.71056, 171.79048, 227.54124, 209.80833, 259.54028, 211.31819, 168.59216, 259.1955, 239.31754, 176.94687, 138.58612, 133.04498, 120.44344], "p_E": [0.00080857, 0.00114242, 0.0012328, 0.00140534, 0.00120812, 0.00123725, 0.00138822, 0.00146026, 0.00146082, 0.00142235, 0.0012905, 0.0011701, 0.00143358, 0.0013681, 0.00123825, 0.00088439, 0.00126982, 0.00119489, 0.00112808, 0.00089784, 0.00100412, 0.00086627, 0.00056177, 0.00014877, 0.00043652, 0.00036165, 0.00022625, 0.00018648, 0.0004002, 0.00031833, 0.00026013, 0.00020426, 0.000317, 0.00029745, 0.00024547, 0.00018637, 0.00028956, 0.0002528, 0.0002298, 0.00018271, 0.00027324, 0.00023925, 0.00020592, 0.00016194, 0.00021303, 0.00021548, 0.00019915, 0.0001876, 0.00021403, 0.00021725, 0.00022603, 0.00022703, 0.00020226, 0.00021648, 0.00023036, 0.00024758, 0.00024991, 0.00022136, 0.00011651, 0.00011973, 0.00007707, 0.00008196, 0.00005075, 0.00004586, 0.00008574, 0.00007719, 0.00005208, 0.0000452, 0.00004342, 0.00003431, 0.00002565, 0.00002509, 0.00001487, 0.00001065, 0.00001487, 0.00000543, 0.00001409, 0.00000532, 0.00000632, 0.00000521, 0.00000243, 0.00000243, 0.00000487, 0, 0.00000987, 0.00001343, 0.00000843, 0.00000465, 0.00002876, 0.0000252, 0.0000442, 0.00008807, 0.00008307, 0.00010884, 0.00015105, 0.00019537, 0.00010484, 0.00012928, 0.00019393, 0.00036376, 0.00032633, 0.00031089, 0.00031667, 0.0003391, 0.00041575, 0.00035788, 0.00043041, 0.00034177, 0.00036987, 0.00039386, 0.00029334, 0.00016394, 0.00035199, 0.0002669, 0.00015361, 0.00011606, 0.00030389, 0.00019315, 0.00009596, 0.00007619], "p_N": [0.0018805875, 0.0022979, 0.002410875, 0.00262655, 0.002380025, 0.0024164375, 0.00260515, 0.0026952, 0.0026959, 0.0026478125, 0.002483, 0.0023325, 0.00266185, 0.00258, 0.0024176876, 0.0019753624, 0.00245715, 0.0023634876, 0.002279975, 0.001992175, 0.002125025, 0.0019527125, 0.0015720875, 0.0010558375, 0.001415525, 0.0013219375, 0.0011526875, 0.001102975, 0.001370125, 0.0012677875, 0.0011950375, 0.0011252, 0.001266125, 0.0012416875, 0.0011767125, 0.0011028375, 0.001231825, 0.001185875, 0.001157125, 0.0010982625, 0.001211425, 0.0011689375, 0.001127275, 0.0010723, 0.0011361626, 0.001139225, 0.0011188125, 0.001104375, 0.0011374125, 0.0011414374, 0.0011524125, 0.0011536625, 0.0011227, 0.001140475, 0.001157825, 0.00117935, 0.0011822626, 0.001146575, 0.0010155125, 0.0010195374, 0.0009662125, 0.000972325, 0.0009333125, 0.0009272, 0.00097705, 0.0009663625, 0.000934975, 0.000926375, 0.00092415, 0.0009127625, 0.0009019375, 0.0009012375, 0.0008884625, 0.0008831875, 0.0008884625, 0.0008766625, 0.0008874875, 0.000876525, 0.000877775, 0.0008763875, 0.0008729125, 0.0008729125, 0.0008759625, 0.000849175, 0.0008822125, 0.0008866625, 0.0008804125, 0.0008756875, 0.000905825, 0.000901375, 0.000925125, 0.0009799625, 0.0009737125, 0.001005925, 0.0010586875, 0.0011140875, 0.001000925, 0.001031475, 0.0011122875, 0.001324575, 0.0012777875, 0.0012584875, 0.0012657125, 0.00129375, 0.0013895625, 0.001317225, 0.0014078876, 0.0012970875, 0.0013322125, 0.0013622, 0.00123655, 0.0010748, 0.0013098625, 0.0012035, 0.0010618875, 0.00101495, 0.0012497375, 0.0011113125, 0.000989825, 0.0009651125] } }

FuR1u5 avatar Sep 04 '26 16:09 FuR1u5

Ist auf jeden Fall hier völlig OT! Und natürlich hast Du auch die richtige Version installiert.

andig avatar Sep 04 '26 16:09 andig

! Und natürlich hast Du auch die richtige Version installiert.

…und?

andig avatar Sep 04 '26 19:09 andig

@andig was meinst du? Ich hab aktuell die v0.316.0-dev.1788528774, soll ich eine andere testen?

Edit: In der nightly v0.316.0-dev.1788488880 zeigt der Optimizer bei der manuellen 3p Einstellung die richtigen kw an, dort geht aber ja die Optimizer Automatic nicht. Zieht ihr die Änderung auch noch in die Automatic Branch?

"batteries": [ { "c_max": 11040, "c_min": 4140, "charge_from_grid": true, "d_max": 0, "p_a": 0.0007566149, "s_initial": 0, "s_max": 82000, "s_min": 0 },

FuR1u5 avatar Sep 04 '26 19:09 FuR1u5

Test binaries for the fix in #33484 are ready to test:

github-actions[bot] avatar Sep 04 '26 19:09 github-actions[bot]