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

dbus-fronius: Intermittent zero power values are logged that are not real #549

Closed
izak opened this issue Nov 29, 2019 · 2 comments
Closed
Assignees

Comments

@izak
Copy link
Collaborator

izak commented Nov 29, 2019

Selection_394

Reported by Simon Hackett.

Investigation shows that the data retrieved via modbus-TCP (SunSpec) contains spurious zero-frames. This happens for SunSpec models 101 and 103. The entire frame is zero except for the Operation State, which contains the value 7 (Fault). The fault clears almost immediately. The same zero-value is not shown on Fronius's solarweb platform.

Currently waiting for a response from Fronius.

@izak izak self-assigned this Nov 29, 2019
@mpvader
Copy link
Contributor

mpvader commented Dec 25, 2019

The response:

A Modbus response that contains only zeros except for the two registers “operating state” and “operating state vendor” is possible in case there is a Solar Net communication issue (Datamanager to inverter communication).
This can happen either because of a software bug but also for example in case the Solar Net communication is simply too busy (in case too many inverters per Datamanager, inverter updates running, too many Modbus queries, etc…) or simply in case of bad cabling.

In Izak’s case (one inverter with DM card inside, no cabling issues possible in that case) it was a software issue that was fixed with an early fro30xxx.upd firmware version (Izak's Primo had fro29390.upd installed).

In case of power commands, the Recerbo sometimes lost or did not reply to Solar Net queries because of waiting for a response of the power stack first to make sure the last power setpoint is stored correctly. This problem is fixed with the latest official firmware version (currently fro30381.upd).

As there are inverters out in the field that are never updated because the Datamanager is not in Solar.web but they are often online in VRM, and knowing this issue can happen again because of bad cabling for example, we recommend to discard these “bad” messages in software, meaning a response that holds “operating state” 7 (= fault) and “operating state vendor” 10 (and also the two additional Solar Net related values 9 & 11 could be considered here), like in the case Izak reported, and re-trigger a new query or use the next scheduled correct message instead.

The “operating state vendor” can hold the following values:
1: Off
2: Sleeping
3: Starting up
4: Tracking power point
5: Forced power reduction
6: Shutting down
7: Fault
8: Standby
9: No SolarNet communication – in case of bad Solar Net cabling this can happen more or less often
10: No communication with inverter – in case the inverter does not respond with correct values for any reason (like in this investigation)
11: Overcurrent on SolarNet plug – Solar Net is permanently down, no data transmission possible
12: Inverter is being updated
13: AFCI

The values 9, 10, 11 will always come with an additional "operating state" of 7.

@mpvader
Copy link
Contributor

mpvader commented Dec 25, 2019

For large systems (multiple three phase fronius inverters, all on one datamanager) we noticed that is quite likely for the datamanager to be overloaded and thus respond with thus 0 messages.

Solution is underway by Izak and currently being field tested.

izak added a commit to victronenergy/dbus-fronius that referenced this issue Sep 7, 2022
We're still occasionally seeing a report from the field where an
energy counter is impossibly high, pointing to the previous null-frame
issue still happening. Possibly with a different vendor error code than
10.

Therefore make this more generic. Ignore all null frames where the operating
state is fault, not just those due to Solar.Net timeouts.

victronenergy/venus#549
izak added a commit to victronenergy/dbus-fronius that referenced this issue Sep 7, 2022
To aid debugging, log the erroneous null frames.

victronenergy/venus#549
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