dracoventions / TWCManager

Control power delivered by a Tesla Wall Charger using two wires screwed into its RS-485 terminals.
The Unlicense
182 stars 110 forks source link

phases not represented / calculated correctly #33

Closed Dustovsky closed 2 years ago

Dustovsky commented 2 years ago

something I observed today (1.2.4)

in the config.json, I edited the number of phases to "2" (because obviously, I have connected only two phases...) Nevertheless, on the homescreen top righthand "charging*, I see only the power of one phase, although lateron the voltage of both phases is stated...

What did I wrong?

simotronic commented 2 years ago

Well, technically you are only connecting 1 phase. The neutral isn't connected. So the AC voltage is between the two phases or a Neutral and a phase. Initially, the reaction is to see L1 and L2 and consider them two phases, which they are, except you aren't connecting a 3rd wire, the neutral. Therefore it's only one phase.. If you had a three phase supply, then the phasing between the three phases is part of the equation because the phases are 120 degrees out of phase with each other. Probably easier to look at an electrical diagram which explains the phasing! Also, those two phases from the transformer may well be in phase, or 180 degrees with respect to each other since the transformer on the pole or ground outside is only using one of the medium or high voltage phases from the utility. Be careful with what you are looking at. Simon

On Tue, Mar 1, 2022 at 8:39 AM Dustovsky @.***> wrote:

something I observed today (1.2.4)

in the config.json, I edited the number of phases to "2" (because obviously, I have connected only two phases...) Nevertheless, on the homescreen top righthand "charging*, I see only the power of one phase, although lateron the voltage of both phases is stated...

What did I wrong?

— Reply to this email directly, view it on GitHub https://github.com/dracoventions/TWCManager/issues/33, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYGU7DROQ6CQM5GXWTNR3TU5YTYZANCNFSM5PUHODCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- This email, and any attachment to it, may contain information that is proprietary, privileged or confidential or that may be otherwise legally exempt from disclosure and is intended only for the individual(s) or entity to which it is addressed. If you are not the named recipient, or the employee or agent responsible for delivering it to the intended recipient, you are not authorized to read, print, retain, copy, disclose or distribute this email or any part of it. If you have received this email in error, please return it immediately to the sender, delete it and all copies from your system, and destroy any hard copies of this communication.

Dustovsky commented 2 years ago

@simotronic

probably I was not clear enough (english is not my motherlanguage...)

In switzerland, we have regular 3 phase supply. in my case, I'm using 3x16A for the cars, 1x16A (max 3.6kw) for the Hyundai eKona and 2x16A for the Tesla (2x 3.6kW)

Everything works as designed, actually since years. Only the report/numbers on the TWCManager homepage are wrong and indicating only the power from one phase example: I set the power to 8A The car get's 2x8A = 3.7kW TWCManger prints only 1x8A = 1.85kW

furthermore, the TWCManager homepage shows me the correct voltage for L1 and L2 (230V), and as well correctly, 0V for L3

simotronic commented 2 years ago

I see your dilemma! If the code is corrected, it should match an actual measured power. Simon

On Tue, Mar 1, 2022, 1:53 PM Dustovsky @.***> wrote:

@simotronic https://github.com/simotronic

probably I was not clear enough (english is not my motherlanguage...)

In switzerland, we have regular 3 phase supply. in my case, I'm using 3x16A for the cars, 1x16A (max 3.6kw) for the Hyundai eKona and 2x16A for the Tesla (2x 3.6kW)

Everything works as designed, actually since years. Only the report/numbers on the TWCManager homepage are wrong and indicating only the power from one phase example: I'm charging @8a https://github.com/8a The car get's 2x8A = 3.7kW TWCManger prints only 1x8A = 1.85kW

— Reply to this email directly, view it on GitHub https://github.com/dracoventions/TWCManager/issues/33#issuecomment-1055802012, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYGU7CEMQRWTZO5DHEVBH3U5ZYVPANCNFSM5PUHODCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>