-
-
Notifications
You must be signed in to change notification settings - Fork 810
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
Account for a microinverter connected at the generator input of the deye hp3 inverter #19256
base: master
Are you sure you want to change the base?
Conversation
Added register 667 to total pv power to account for a microinverter connected at the generator input of the deye inverter.
Unsure if we should add this by default? Usage as diesel generator input should not be handled as solar production. |
Added an advanced parameter to consider the usage of the generator port. By default the power on the generator port won't be added to the total pv power now.
Added an advanced parameter to consider the usage of the generator port. Choices are derived from the generator port usage options in the manual of the inverter. |
@@ -30,6 +30,10 @@ params: | |||
default: 95 | |||
advanced: true | |||
- name: maxacpower | |||
- name: GenPortUse | |||
choice: ["Generator", "SmartLoad", "MicroInverter"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the options. Wouldn't "inlcude generator port" be better? Why doesn't this affect energy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, you could absolutely change this to a Boolean for its current usage.
My approach was to make it expandable for more settings in the future. The three options are taken from the inverter manual. One could say, if the GEN-Port is used in “Generator” mode it may be useful for example to add it to the grid power. Or in “smart load” it is more related to house consumption. And like I already implemented: In “MicroInverter” Mode, it should be added to PV power.
How it can be added to total pv energy however, I do not know. I haven’t found a register related to total generator port energy.
I only really need the Micro-Inverter feature and therefore I would be happy if I had an option for the power on the generator port to be added to the Total PV power in one way or another.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Johnny1206 will energy then be wrong since its only pv?
The datatype of the generator port power is signed because the power at this port can flow in both directions.
I have noticed that there is also a high word for the generator power with register address 671 but as my micro inverter power does not exceed 32 kW, I can not test the implementation. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@Johnny1206 Could you please attach the current register documentation this is based on? Thanks! |
At the moment i use the Deye.MODBUS.RTU.V104.pdf from dy-support.org (3497-Deye-MODBUS-RTU-V104.pdf). Unfortunately a lot of information in the document is in chinese, so searching the document via STRG+F is not always helpful. My current understanding is the following:
I am unsure on how to add together register 667 and 671. My guess would be to scale 671 by 2^16 and add it to 667 but i do not know if this works for signed values. |
@premultiply |
Ping @premultiply wie wäre es den downstream Port optional zu integrieren? Unabhängig von seinem Zweck, das würde ich dem Anwender überlassen? In jedem Fall sollten wir hie rzu einem Ergebnis kommen. |
Ja, gerne auch nur eine boolean Option ala "addiere gen port zu pv". Diese Möglichkeit zu haben wäre sehr hilfreich. Am besten natürlich für Leistung und Energie. Registerbeschreibungen dafür stehen weiter oben. |
ping @premultiply |
Added register 667 to total pv power to account for a microinverter connected at the generator input of the deye inverter.
Fix #19171, fix #20235