Skip to content

Added extra search functionality for batteries and cas. #10#14

Open
Bendemeurichy wants to merge 8 commits intofacebookresearch:mainfrom
Bendemeurichy:main
Open

Added extra search functionality for batteries and cas. #10#14
Bendemeurichy wants to merge 8 commits intofacebookresearch:mainfrom
Bendemeurichy:main

Conversation

@Bendemeurichy
Copy link
Copy Markdown

Description

#10 I have implemented a binary and hybrid search for both the battery usage and carbon aware scheduling.
The hybrid search method tries exponential search to quickly define boundaries and executes a binary search after.
I needed to restructure the codebase to properly take this on and created modules for this.
There are a couple notebooks that compare the different methods in result and in execution time.

Results

Batteries

The two extra methods find better capacities for the second battery model. The methods didn't do well for areas with little renewable energy though.

image

There is not much improvement in execution time because the sequential method adaptively changes the capacity without needing to simulate the batteries like the binary and hybrid have to.

image

Carbon Aware Scheduling

Grid Mix

The carbon reduction achieved by the binary method is quite a bit better than that of the sequential method, this is because it uses a little different approach than the other two.

image

The two extra methods have a lot more success here in execution time.
image

24/7 Green Energy

The 2 extra searches don't really get to 100% coverage but do get really close and are a lot better in execution time than the original sequential search.
image

image

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 12, 2025
@Bendemeurichy
Copy link
Copy Markdown
Author

last commit necessary for compatibility with original notebook

@Bendemeurichy Bendemeurichy marked this pull request as ready for review May 12, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants