-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix battery optimisation algorithm (#153)
* Limit the discharge of storage to output capacity left On the second iteration through the dispatchables (price sensitive) max_load_at should be limited by the output capacity left, not just the output capacity * Use output effiency as a limiting factor of charging * Add index as second level attribute to sort_by method for quintel/etengine#1343 Mac OS and Linux handle Ruby sort method differntly, by also sorting on the index the same sorting is forced for both operating systems --------- Co-authored-by: Mathijs Bijkerk <mathijs.bijkerk@quintel.com>
- Loading branch information
Showing
3 changed files
with
137 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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