Skip to content
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

chargingInstantaneousPower on Zoe50 #354

Open
kamahat opened this issue Aug 13, 2021 · 11 comments
Open

chargingInstantaneousPower on Zoe50 #354

kamahat opened this issue Aug 13, 2021 · 11 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kamahat
Copy link

kamahat commented Aug 13, 2021

the right values for chargingInstantaneousPower seems to be :
TrueChargingValue (W) : chargingInstantaneousPower * K * sqrt(2)

  • the 1/sqrt(2) is due to the mesurement of watt peak
  • K is a normalisation factor, for me the value is 240

with 120=2*12 *1000 *(5/362)]

  • 12 kW the power of my electrical counter
  • 72.4 kW=5/362 = max [chargingInstantaneousPower] value.

Does someone has the same value for K ?

@epenet
Copy link
Collaborator

epenet commented Aug 16, 2021

Thanks @kamahat

Do you want to provide a PR? It would be useful to have a new method like reports_charging_power_in_watt:

def reports_charging_power_in_watts(self) -> bool:
"""Return True if model reports chargingInstantaneousPower in watts."""
# Default to False for unknown vehicles
if self.model and self.model.code:
return VEHICLE_SPECIFICATIONS.get(self.model.code, {}).get(
"reports-in-watts", False
)
return False # pragma: no cover

@kamahat
Copy link
Author

kamahat commented Aug 18, 2021

I'm not able able to provide a PR since programing in python is not my cup of tea.

Thanks @kamahat

Do you want to provide a PR? It would be useful to have a new method like reports_charging_power_in_watt:

def reports_charging_power_in_watts(self) -> bool:
"""Return True if model reports chargingInstantaneousPower in watts."""
# Default to False for unknown vehicles
if self.model and self.model.code:
return VEHICLE_SPECIFICATIONS.get(self.model.code, {}).get(
"reports-in-watts", False
)
return False # pragma: no cover

I'm not able able to provide a PR since programming in python is not my cup of tea. But I hope someone would be able too do it with the good input :)

@kamahat
Copy link
Author

kamahat commented Sep 8, 2021

Can someone confirm that the unit is in kW ?

Personally I've got a Zoe5.0 connected to a Hagger Witty Charger on mono-phase so limited ot 7.4kW.
If I take the max value return by the request for me 24.2 and do some math : 24.2* 230V * sqrt(2) = 7840 W which close to 7.4kW.
And if considere a drop in voltage from 230V to 217V due to cables, it would be the exact value 24.2 * 217 * sqrt(2)=7.4kW

My conclusion is that de Charging Power unit is not in kW but in Amperes

@kamahat
Copy link
Author

kamahat commented Sep 8, 2021

And that would need a PR.

@epenet
Copy link
Collaborator

epenet commented Sep 8, 2021

Sadly, there is no "official" documentation on the Renault API.
I have a Zoe40, and in that case the charge power is in W (divided by 1000 to get kW).

There are related discussions:

For HomeAssistant, this would need to be a PR on the home assistant core.
For the RenaultAPI CLI, this would need to be a PR here, with corresponding documentation update.

@fabiopedrosa
Copy link

fabiopedrosa commented Oct 7, 2021

@kamahat sorry but those calculations don't seem right to me. I'm charging at 10A (would be 2300W@230V) and chargingInstantaneousPower report 24.5

@epenet
Copy link
Collaborator

epenet commented Oct 11, 2021

@fabiopedrosa do you propose a better calculation?

@jumpjack
Copy link

Just for the records: on my Captur PHEV this value looks completely invented, varying between 2.0 and 3.2 while charging using the 2.3kW/10A/230V home charger. It is != 0 even when no charging...

@Fixh1
Copy link

Fixh1 commented Sep 20, 2022

Hi,

I think (almost 100% sure) that this is the maximum allowed charge power. When at 100% soc this value reduces to e.g 3.5kW, and I can see that the consumed charge power also reduces to 3.5kW.
After 5 or 10 minutes the chargingInstantaneousPower drops to 2.3, and the consumed power also reduces to approximately this value.
So when you get values of 20 or 30 kW, it means the battery is not fully charged at all and can accept lots of power.
It might have some meaning for fast charging where the external fast charger controls the charge current.

@Fixh1
Copy link

Fixh1 commented Oct 9, 2022

Screenshot_20221009-125505_Chrome

Here is the last part of a charging session, as you can see, the instantaneous power drops to zero when the soc reaches 100%.

@slyoldfox
Copy link

Pretty new here since I bought a second hand Zoe R110 (Phase 2), these are my graphs, each charge happening on 10A, 220V. No idea why the charging peaks at 1800W instead of 2300W though ..

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants