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

Merged
merged 6 commits into from
Dec 11, 2024

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 RichieB2B force-pushed the max-power branch 2 times, most recently from 6a4a8b1 to 9fad98b Compare May 21, 2023 14:35
@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
@RichieB2B
Copy link
Author

@ngardiner Since I installed a heat pump that is running 24x7 this code to limit power consumption is active every time I charge my car. It works flawlessly, please merge.

@ngardiner ngardiner merged commit 59da892 into ngardiner:main Dec 11, 2024
1 check passed
@RichieB2B RichieB2B deleted the max-power branch December 12, 2024 13:08
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.

2 participants