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

Charger Voltage variable and its description is not the correct for its purpose #18

Open
PVi1 opened this issue May 26, 2024 · 3 comments

Comments

@PVi1
Copy link

PVi1 commented May 26, 2024

Hi @flashg1,

thank you for this blueprint, it had saved me a lot of time and motivated me to better understand HA automation!

In my case I am using it with Tesla Model S and Tesla Wall Connector gen 3 in the EU.

Issue:
Charger Voltage variable and its description is misleading.
Initially I have set it to 400V and found out that automation always overshoot and started to oscillate.
Screenshot 2024-05-26 at 22-36-43 History – Home Assistant

In the same time, this was the FVE output:
Screenshot 2024-05-26 at 22-38-02 History – Home Assistant

Based on the Tesla in the EU we have 400V Wye grid.

Based on the this post Tesla in the EU uses 230V built in/onboard car charger and even in case when Tesla Wall Connector is used, 230V is used to charge the car. On the other side the car is able to stack/combine the energy from phase1, phase2 and phase3 aka (L1, L2, L3). Moreover to balance the load between phases the same current is always used on each of three phases.

The long story short, even in case when 3 phases are available, the difference in power when charging current is increase by 1 amp is (3(230*1))=690W*
When only one phase is available the difference is 230*1=230W

Workaround:
After I have changed the value of Charger Voltage to 690V (230*3) the automation works fine:
Screenshot 2024-05-26 at 22-35-14 History – Home Assistant

This was the output from the FVE in the same time:
Screenshot 2024-05-26 at 22-58-57 History – Home Assistant

Proposal:

  1. Maybe it will be better if there is another input field:

Number of lines

Desc:
Number of lines provided by the EVSE aka Wallbox for the onboard charger?.
Eg: In the EU the Tesla Wall Connector and UMC gen 1 can utilize 3 phases, UMC gen2 utilizes single phase, only.

Then, the value that represent the minimal step should be computed as Charger Voltage * Number of lines

  1. Change the description of Charger Voltage, to smth like:
    The Line to N voltage.
@flashg1
Copy link
Owner

flashg1 commented May 27, 2024

Hi PVi1,

Thank you for the information. Glad you found the blueprint useful.

I've updated the description in the blueprint, ie.

  description: Specify charger voltage in Volt. In Australia, single phase is 230V, and three phase is 400V due to 120 degree phase angle between phases. This can differ between countries.

Interesting that your 3 phases are in sync. Which country is this in EU?

@PVi1
Copy link
Author

PVi1 commented May 27, 2024

Hi @flashg1,

I am from Slovakia.

Here you can find more info about voltages per country.

I am sure we have 120 degree phase angle between phases in Slovakia.

Tesla always measures voltage between Line and Neutral. That's the reason you cannot see 400V on tesla MCU. 400V is the voltage between Lines in 3phase wye(star) networks.

Today I started A/C while the car was still plugged to charger. I could see two phases were used at first and after few minutes the current on the second phase dropped to 0.
Screenshot 2024-05-27 at 23-04-13 History – Home Assistant
This means that car can selectively use one or more lines. But maybe that is not the case during the ac charging.

Check pages 7-9 in wall connector manual.

Then check page 10.There are power outputs based on the line type and current.

Here can be found more about how apparent and active power are computed in delta and wye networks.

Based on the facts above it looks like in 3 phases networks you cannot compute one_amp_watt_step via "car_charger_voltage * 1"

In case of 3 phase networks the formula is different and is more like this:
S = √3 × Vline × Iline

Regards,
Peter

@flashg1
Copy link
Owner

flashg1 commented May 31, 2024

Hi Peter,

Thank you for the detail information. I'll need time to digest this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants