Added extra search functionality for batteries and cas. #10#14
Open
Bendemeurichy wants to merge 8 commits intofacebookresearch:mainfrom
Open
Added extra search functionality for batteries and cas. #10#14Bendemeurichy wants to merge 8 commits intofacebookresearch:mainfrom
Bendemeurichy wants to merge 8 commits intofacebookresearch:mainfrom
Conversation
Author
|
last commit necessary for compatibility with original notebook |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
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.
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.
The two extra methods have a lot more success here in execution time.

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.
