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

[Bug]: Grid-Connected, Grid connection with derating due to power rationing #714

Closed
JohnMcLear opened this issue May 21, 2024 · 18 comments
Closed
Labels
bug Something isn't working

Comments

@JohnMcLear
Copy link
Contributor

JohnMcLear commented May 21, 2024

Describe the issue

When using FusionSolar & Dongle the Inverter works fine. When using this integration I am unable to effectively use my PV/battery storage due to:

Grid-Connected, Grid connection with derating due to power rationing

STR:

  1. Remove Dongle.
  2. Install and configure EW11
  3. Install This integration, reboot HA.
  4. In Devices > This integration > Connect via Network > ew11.lan port 8899 slaves 6,2,3
  5. Look in Devices > This Integration > Ensure all inverters/batteries/smart meter are visible (They are).

Screen shots:
all devices working
Working power meter
Working Inverters showing logs
Error on Inverter showing Derating due to power rationining
Battery Time Of Use periods is 1

I'm not sure if the battery abnormal is related, the battery functions fine and has no errors/faults when using FusionSolar..

I'm also not sure if I need to recommission each inverter to ensure it wont attempt to speak to Fusion Solar Management system, I'd guess at yes but don't want to make any changes w/ out some additional eyeballs..

Describe your Huawei Solar Setup

Inverter Type: 3x SUN2000-6KTL-L1 - See Daisy chaining documentation
Inverter Firmware version: V200R001C00SPC139
sDongle present: No, I'm using an EW11
Power meter present: single phase
Optimizers Present: No
Battery: 9x LUNA2000-SO 5kWh
Battery Firmware version: V100R002C00SPC127
Huawei Solar integration version: ???

How do you connect to the inverter?

Over serial, with a serial-to-WiFi stick

Upload your Diagnostics File

Drag & Drop your Diagnostics File here.
config_entry-huawei_solar-cf67b76e647d9c7bbd8e02d643932326.json

Upload your relevant debug logs

No errors in logs when doing debug and running command...


cat home-assistant_huawei_solar_2024-05-21T09-47-56.135Z.log | grep huawei


### Please confirm the following:

- [X] I'm running the latest release of Home Assistant.
- [X] I'm running the latest release of this integration.
- [X] I did not find an existing issue describing this problem.
- [X] I did upload the diagnostics-file that I could retrieve from  the 'Devices & Services Page'
- [X] I did upload the relevant debug logs (via 'Enable Debug Logging'-feature or by manually configuring HA logging)
@JohnMcLear JohnMcLear added the bug Something isn't working label May 21, 2024
@JohnMcLear
Copy link
Contributor Author

Update: I called the service huawei_solar.reset_maximum_feed_grid_power and it appears to have put the inverters back to normal on-grid mode.

I don't know why I needed to call that service: Ref: https://github.com/wlcrs/huawei_solar/wiki/Changing-Active-Power-Control

@Roving-Ronin
Copy link
Contributor

@JohnMcLear I've seen this before on a users plant (2 x 5kW L1's) where the installer had set the 'Grid Code' on the inverters to the newest version of said codes for Australian users (i.e. Australia-AS4777_<A/B/C>_LV230). These new codes are less tolerant than the settings the prior codes (AS4777-<NSW/QLD etc>) applied, so normal operation for the inverters always runs with this message. Battery operation was NOT affected by this message.

image

I note that your 'Device Status' for the inverter though has a message that IMHO I'd been looking more into (than the Inverter State) message. i.e. "Grid Connection: Power Limited".

@JohnMcLear
Copy link
Contributor Author

I have noticed that the batteries are NOT charging as they should be..

Despite having enough power input.

plenty of power input

The batteries are not charging as expected.

charging is weird

And instead the power is being fed to the grid.

this should be ~0 when the batteries are not 100% full

@JohnMcLear
Copy link
Contributor Author

I'm also seeing a lot of items in the Logbook that I wasn't experiencing in Fusion Solar..

logbook

@JohnMcLear
Copy link
Contributor Author

@JohnMcLear I've seen this before on a users plant (2 x 5kW L1's) where the installer had set the 'Grid Code' on the inverters to the newest version of said codes for Australian users (i.e. Australia-AS4777_<A/B/C>_LV230). These new codes are less tolerant than the settings the prior codes (AS4777-<NSW/QLD etc>) applied, so normal operation for the inverters always runs with this message. Battery operation was NOT affected by this message.

image

I note that your 'Device Status' for the inverter though has a message that IMHO I'd been looking more into (than the Inverter State) message. i.e. "Grid Connection: Power Limited".

I'm using the same Grid Code that was set when I was using Fusion Solar.

@JohnMcLear
Copy link
Contributor Author

JohnMcLear commented May 22, 2024

At midnight the inverters decided to stop discharging the batteries to help w/ load on the grid.

At 8am the inverters decided to send most of my energy storage to the grid.

image

image
image
image

Note the grid overvoltage error..

Also note that these issues seem to come w/ something related to "Locking status"

image

@wlcrs any idea why this behaviour might happen? It's as if there is some TOU config or something in the inverter that is causing the locking or so but that isn't shown in the integration and it can't becoming from FusionSolar as the inverter has no Dongle in..

@JohnMcLear
Copy link
Contributor Author

Note to self: I just updated all MBUS and Battery firmwares to latest 335 & 127 afaik. I also enabled local O&M in the hope it doesn't attempt to use remote...

@JohnMcLear
Copy link
Contributor Author

After updates still no progress. For some reason I get a battery abnormal when using this plugin but not fusion solar. I think my next step should be to do a full reset of all three inverters and setup from scratch..

I'm going to wait for wlcrs before I do that tho because I feel like other people could hit this issue when migrating.

@wlcrs
Copy link
Owner

wlcrs commented May 23, 2024

Other reports of users with "locking" inverters were mostly due to the grid voltage getting too high (due to too many solar panel installations in the neighbourhood) and the inverter scaling back or even stopping production due to that. So maybe check your grid voltage readings to see if that is also the cause for your case?

Possibly the SDongle does something to balance your 3 inverters to mitigate the risk of having to scale back due to "overproduction" ?

I've always tried to make sure that using this integration has as little as unintended side-effects as possible. I do not change any settings without user interaction. So if you don't change any values in HA yourself, the integration will not change anything on the inverters/batteries.

@JohnMcLear
Copy link
Contributor Author

For now I've switched back to FusionSolar.

I think this requires further time/effort and maybe @wlcrs needs equipment IE multiple inverters/batteries to replicate the issue?

@Roving-Ronin
Copy link
Contributor

@JohnMcLear
As Thijs mentioned, this is 100% to do with the grid settings that are applied by the settings within the inverter (and/or via FusionSolar).
I'd be checking g your grid settings first to confirm they have been correctly applied for the country / network your on.

@JohnMcLear
Copy link
Contributor Author

@Roving-Ronin With all due respect I'm not convinced you & Thijs are correct in this instance...

My reasoning; with exactly the same Grid settings if I use the inverters w/ FusionSolar they behave exactly as expected (expected charge/discharging with no erratic behaviour). I did check the grid settings and I am using the correct defaults/configuration and these are constant if I use FusionSolar OR this integration.

Also my country(UK) only has two options, only one of which applies to my configuration so it's very hard to get it wrong ;)

I'm happy to continue investigating but I feel like the lag on testing/feedback/bugfixes etc. is going to be too costly compared to just getting the correct equipment to @wlcrs

@Roving-Ronin
Copy link
Contributor

@JohnMcLear With 3 x LUNA and centrally seeing/managing them in HA, is there any chance you could reinstall WLCRS with the Beta option and choose version 1.4.0a3 ?

This should provide a 'Batteries' entity, and centralised configuration of them, like:

image
(Top entry for yours should be something like 15% though, not 80%... just set that way in case of outages due to storms).

@malakudi
Copy link

malakudi commented Jun 7, 2024

"Grid-Connected, Grid connection with derating due to power rationing" is not a problem,, it is an indication that inverter does not work at 100% because it either has limitations in grid export (zero export or other limits) or limits due to high voltage of the grid etc
2068: Battery Abnormal is a bug with firmware V200R001C00SPC138 and later when also using Dongle. I had the same issue I flashed again V200R001C00SPC136 and problem resolved. I haven't yet tried V200R001C00SPC141 if problem is fixed but I doubt it, I have reported issue to Huawei but they haven't responded yet, even though I told them issue is fixed when rolling back to older firmware.

@JohnMcLear
Copy link
Contributor Author

JohnMcLear commented Jun 10, 2024

Thanks all for your input

@malakudi I don't experience derating when using the dongle and FusionSolar

@malakudi 2068 was being experienced without the Dongle and I haven't seen it since I migrated back to FusionSolar.

@Roving-Ronin yeah I will re-try the integration and come back to you :) Thanks for that suggestion.

@malakudi
Copy link

Thanks all for your input

@malakudi I don't experience derating when using the dongle and FusionSolar

@malakudi 2068 was being experienced without the Dongle and I haven't seen it since I migrated back to FusionSolar.

You do experience it, fusionsolar might not show it but if you check what is reported through modbus, it is what this integration shows.
Error 2068 does not show without dongle. Error is generated on inverter reboot. Have you rebooted your inverters recentrly? With 139 firmware + dongle, you will get the error with or without the integration.

@wlcrs
Copy link
Owner

wlcrs commented Jun 15, 2024

I've added a link to this issue in the first section of https://github.com/wlcrs/huawei_solar/wiki/Connecting-to-the-inverter . I'm closing this issue as it is not a bug in the integration, but a limitation of the Huawei SUN2000 / LUNA2000 systems.

@wlcrs wlcrs closed this as completed Jun 15, 2024
@spacemanspiff2007
Copy link

@JohnMcLear
Can you try setting the inverter to a power limit (e.g. 70%) to the fusion solar app or portal and then back to unlimited?
It seems to show unlimited and only when setting to a limit and then back to unlimited the value is actually used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants