evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.35k stars 613 forks source link

Batterieunterstütztes Laden mit maximaler Ladungleistung #7994

Closed fabiank88 closed 1 year ago

fabiank88 commented 1 year ago

Describe the bug

Ich habe einen Sonnencharger, PV und Batterie. Das Starten der Ladung klappt, auch wenn nicht genug PV da ist. Nach einiger Zeit wird aber einfach auf die Maximale Ladeleistung gewechselt und diese wird auch nicht mehr runtergeregelt

Bildschirm­foto 2023-05-14 um 13 19 17

Steps to reproduce

  1. Sonnencharger mit Min+PV => 10kW

oder

  1. Sonnencharger im PV Modus, 3.5kw aus PV und Batterie genug um das Laden zu unterstützen ein wenig warten => 10kW

Configuration details

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

interval: 10s # control cycle interval

# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: false

meters:
- type: template
  template: sonnenbatterie 
  usage: grid  
  host: 172.16.5.29  
  port: 8080  
  name: grid1
- type: template
  template: sonnenbatterie 
  usage: pv  
  host: 172.16.5.29  
  port: 8080  
  name: pv2
- type: template
  template: sonnenbatterie 
  usage: battery  
  host: 172.16.5.29  
  port: 8080  
  name: battery3
- type: custom
  power:
    source: js
    script: |
      var res = 0;
      res;
  name: auxbattery

chargers:
- type: template
  template: etrel 
  host: 172.16.5.40
  port: 502  
  name: wallbox6

vehicles:
- type: template
  template: porsche 
  title: Taycan 4s  
  user: xxx  
  password: xxx 
  vin: xxx  
  capacity: 93  
  name: ev4
- type: template
  template: bmw 
  title: iX50  
  user: xxx
  password: xxx  
  vin: xxx  
  capacity: 105  
  name: ev5

loadpoints:
- title: Garage
  charger: wallbox6
  mode: pv
  phases: 3
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true

site:
  title: Haus
  meters:
    grid: grid1
    pv:
    - pv2
    battery:
    - battery3
    aux: auxbattery
  #prioritySoc: 90
  bufferStartSoc: 95
  bufferSoc: 70
  residualPower: 100

tariffs:
  currency: EUR # (default EUR)
  grid:
    type: fixed
    price: 0.42 # [currency]/kWh
  feedin:
    type: fixed
    price: 0.00 # [currency]/kWh

Log details

[lp-1  ] DEBUG 2023/05/14 13:36:23 charge power: 3776W
[site  ] DEBUG 2023/05/14 13:36:23 pv power: 1497W
[site  ] DEBUG 2023/05/14 13:36:23 battery soc: 72%
[site  ] DEBUG 2023/05/14 13:36:23 battery power: 2629W
[site  ] DEBUG 2023/05/14 13:36:23 grid power: 33W
[site  ] DEBUG 2023/05/14 13:36:23 aux power 1: 0W
[site  ] DEBUG 2023/05/14 13:36:23 aux power: 0W
[site  ] DEBUG 2023/05/14 13:36:23 site power: 2762W
[lp-1  ] DEBUG 2023/05/14 13:36:23 charge currents: [5.74 5.82 5.57]A
[lp-1  ] DEBUG 2023/05/14 13:36:23 detected active phases: 3p
[lp-1  ] DEBUG 2023/05/14 13:36:23 charger status: C
[lp-1  ] DEBUG 2023/05/14 13:36:23 soc estimated: 55.10% (vehicle: 55.00%)
[lp-1  ] DEBUG 2023/05/14 13:36:23 vehicle soc: 55%
[lp-1  ] DEBUG 2023/05/14 13:36:23 vehicle range: 217km
[lp-1  ] DEBUG 2023/05/14 13:36:23 pv charge current: 2A = 6A + -4A (2762W @ 3p)
[site  ] DEBUG 2023/05/14 13:36:33 ----
[lp-1  ] DEBUG 2023/05/14 13:36:33 charge power: 10048W
[site  ] DEBUG 2023/05/14 13:36:33 pv power: 1492W
[site  ] DEBUG 2023/05/14 13:36:33 battery soc: 72%
[site  ] DEBUG 2023/05/14 13:36:33 battery power: 4301W
[site  ] DEBUG 2023/05/14 13:36:33 grid power: 5686W
[site  ] DEBUG 2023/05/14 13:36:33 aux power 1: 0W
[site  ] DEBUG 2023/05/14 13:36:33 aux power: 0W
[site  ] DEBUG 2023/05/14 13:36:33 site power: 10087W
[lp-1  ] DEBUG 2023/05/14 13:36:33 charge currents: [15.1 15.3 15]A
[lp-1  ] DEBUG 2023/05/14 13:36:33 detected active phases: 3p
[lp-1  ] DEBUG 2023/05/14 13:36:33 charger status: C
[lp-1  ] DEBUG 2023/05/14 13:36:33 soc estimated: 55.13% (vehicle: 55.00%)
[lp-1  ] DEBUG 2023/05/14 13:36:33 vehicle soc: 55%
[lp-1  ] DEBUG 2023/05/14 13:36:33 vehicle range: 217km
[lp-1  ] DEBUG 2023/05/14 13:36:33 pv charge current: 0A = 6A + -14.6A (10087W @ 3p)

What type of operating system are you running?

Linux

Version

No response

horst789github commented 1 year ago

das erste was ich vermute ist das du hier was falsch eingestellt hast: grafik meine einstellung: grafik

andig commented 1 year ago

Ohne Logfile nicht zu beantworten.

fabiank88 commented 1 year ago

Anbei das Logfile mit trace auf den Loadpoint - reicht das, oder brauchst du noch mehr?

Irgendwann springt der einfach auf volle Leistung und kommt nicht mehr runter.

charger.log

andig commented 1 year ago

Irgendwann springt der einfach auf volle Leistung und kommt nicht mehr runter.

Wo? Was passiert vorher? Die paar Zeilen reichen nicht.

fabiank88 commented 1 year ago

Ich stelle eigentlich nur auf Min+PV und warte ein bisschen und mache nichts. In dem Logfile ist der Zeitpunkt drin, in dem er dann von 3,8 auf 10kw springt, ohne dass ich irgendetwas mache.

Was bräuchtest du noch an logfile? Davor lädt er stetig mit dem Minimum 3,8kw.

Hatte nochmal eine neue Issue aufgemacht, dachte, dass closed, closed ist.

andig commented 1 year ago

evcc ist der Meinung, das abgeschaltet werden sollte (was auch richtig ist):

pv charge current: 0A = 6A + -11.1A (7646W @ 3p)

Warum das nicht passiert erklärt sich nicht.

fabiank88 commented 1 year ago

Wie kann ich am besten helfen das zu debuggen?

andig commented 1 year ago

Aussagekräftiges Logfile

fabiank88 commented 1 year ago

Also alles auf trace und länger laufen lassen oder noch etwas anderes?