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

Grid current values #58

Open
cobratec opened this issue Dec 31, 2024 · 3 comments
Open

Grid current values #58

cobratec opened this issue Dec 31, 2024 · 3 comments
Assignees

Comments

@cobratec
Copy link

Hello,
first of all - thanks for this addon, I appreciate it.

I'm getting strange values for Grid Current:

image

Values don't make sense when I compare them with Grid Power (which seems to be OK)

Returned data are

{"SN":"XXXXXXXXXX","ver":"3.005.31","type":1,"Data":[0,0,23506,23993,23638,0,0,0,4,0,1,6,0,0,4483,0,65488,65227,60,63574,65355,65368,63225,0,19,0,0,12,0,0,0,0,0,5004,5004,4998,14878,258,6401,3,0,0,0,0,0,0,0,0,0,100,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,6660,7187,6400,0,0,2,1,0,0,120,1198,1000,64936,2],"Information":[22.000,1,"XXXXXXXXXX",1,1.07,1.01,0.00,0.00,0.00,1],"OCPPServer":"XXXX","OCPPChargerId":"charger"}

Values for current don't change too much but they are changing positive/negative numbers:

image

Could there be some problem with decoding current values?

@PatrikTrestik PatrikTrestik self-assigned this Jan 4, 2025
@PatrikTrestik
Copy link
Owner

I'll go through documents and also take a look on my own device.
To be honest, I'm not using these values from EVC because I have same from Inverter. There could be bug.

Few ideas what can explain this.

  1. Look for higher values. Currents under 0.5A are ussually not well measured.
  2. If small current fluctuates around 0A, it is normal. Inverter logic and even meter is not fast enough to regulate pure 0.
  3. I don't know how strong is your electroterchnic background. Sorry if I repeat known fact to you.
    It is 3 Phase system, not 3 times 1 Phase. It means that simple formula P1=U1*I1 does not work. It is "delta" connected, phase shifted AC circuit.
  4. All FV system mostly cares only about Power and so it is only one reliably measured.
    Currents are used only for overload limiting and other security, but all regulation is done based on power.

Let me know here if you still think it is incorrect.
I''ll check over weekend if I see bug there.

@cobratec
Copy link
Author

cobratec commented Jan 6, 2025

Thank you for your answer and suggestions. I understand them, but I still think the values I'm getting are - at least - suspicious. Since starting the plugin, I'm getting basically same value (different for each phase), only +/- sign changes.

image

The values for power seem correct - comparing to what inverter returns.

What I'm trying to do is comparing grid current values for single phases to circuit breaker limit (set up in the charger) - I'm curious what is the behavior, if the charger lowers power on all three phases when approaching the limit on any phase or if it does some kind of balancing (probably not).

I haven't found values for current on the inverter (using modbus api) so that's why I'm trying to use them from the charger API.

@PatrikTrestik
Copy link
Owner

@cobratec are you using CTs or do you have EVC connected to Inverter for Grid measuring?
In SolaX app >> EVC settings >> Advanced >> Grid Data Source

I checked mine and Current is perfectly aligned with Power as expected.
I have EVC connected to Inverter and it is definitely reliable source of data.

I'm not sure if while CTs are used there is currect measurement available.

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