Skip to content

Conversation

@sam-watttime
Copy link
Contributor

Volunteers from Two Sigma built out a forecast scheduler / optimizer. The workstream is complete and now needs additional integration testing before releasing to users.

More details forthcoming...

@sam-watttime sam-watttime requested a review from xginn8 as a code owner January 9, 2025 19:40
@ssempervirens
Copy link
Contributor

This seems sophisticated and really well written! The code is clean with good separation of concerns, and the test coverage is solid for the core functionality and the documentation provides good examples.

A few small suggestions for potential improvements:

  1. Documentation:
  • Could expand device compatibility guide to clarify what types of devices/constraints are supported
  • Add examples for different device types beyond EVs
  • Document common usage patterns and limitations
  1. Testing:
  • Add more device-specific test scenarios (e.g. appliance cycles, batch processing)
  1. Code:
  • Some Pandas deprecation warnings to address in test_optimizer.py
  • We could add type hints?

I think the current implementation is ready to use as is, but I would be happy to contribute/make any of these improvements if you all think they would be additive.

sam-watttime and others added 2 commits April 23, 2025 15:05
* region set to CAISO_NORTH, remove assertion error

* tested TestRecalculatingOptimizer

* added parameter to limit print statements

* started requery refactor

* requery and simulator class

* event loop example

* requery functions in a testable state

* example type hints

* requery loop set up for review

* moved recalculator tests and updated readme

* adding recalculator tests - 2nd test fails

* basic recalculator tests running

* evalation classes

* evaluation, session generation scripts ready for review

* api, evaluator, utils updates

* optimizer subpackage

* synthetic notebook error corrected, other minor fixes

* interval to segment

* fit selection error fixed

* notebook and battery class updates

* Update Optimizer README.md

* graphs

* visuals cleanup

* example notebooks

* Update Optimizer README.md

* Rename datacenter_workload_1.ipynb to datacenter_workloads.ipynb

* requery bug fixed

* contigous analysis loop working with conversion to int

* all loops in working order

* Update Optimizer README.md

* Add files via upload

* Update Optimizer README.md

* Add files via upload

* Update Optimizer README.md

* Camille suggestions

* Main readme updates - explanation + permalink

* more permalinks
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.

4 participants