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

New feature that allows to limit the max power from the Grid #384

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

RichieB2B
Copy link

@RichieB2B RichieB2B commented Nov 7, 2021

This is a simple rebase of #220

Enable this new feature through policy configuration in the config.json file.

@RichieB2B
Copy link
Author

RichieB2B commented May 19, 2023

I have improved the load balancing by introducing the getConsumptionAmps() method for EMS modules. When an EMS module is capable of returning the actual amount of Amps being used it can now do so. The limiter will then use this instead of guesstimating it using self.convertWattsToAmps().

I have written a new EMS modules for the P1 port of smart meters in #509 that has getConsumptionAmps() support.

This works quite well as you can see in the screenshot below. When a single phase goes above maxAmpsAllowedFromGrid (25A in my case) the TWC is scaled back immediately. The algorithm is quite aggressive and results in under utilisation for a minute. I don't mind this because it is an error on the side of caution.

A303C91A-349E-4953-9902-199D23CB56D9_1_201_a

@RichieB2B
Copy link
Author

I have been using this code for 3 months now and it is very stable. It is ready to be merged.

@RichieB2B RichieB2B force-pushed the max-power branch 2 times, most recently from 9f072c0 to f984327 Compare January 1, 2024 22:45
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

Successfully merging this pull request may close these issues.

1 participant