-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of generic storage equations (#190)
- Add mapping of time and period - Update data load for storage mappings - Update data load and parameter/sets def - Update model core - Add unit test and explanation - Add a document for illustration - Update and clean time mapping - Update data load - Update and clean model core - Clean sets and parameter definition text - Add to release notes - Clean up text in GAMS - Move storage init to core.py for use in all scenarios - Cleanup of test_storage - Remove commodity index from storage bounds and losses - Add relation_storage as an option (storage_equality removed) - Map storage_balance to map_tec_storage_level - Add inline documentation to model_core - Clean up GAMS files before rebasing - Small modifications after rebasing - Changes related to initialization of storage - Clean up notation and complete documentation - Improve tests to consider the initial value - Improve mapping of storage level for storage with no loss - Update asserts in test_reporting explicitly - Cleanup of documentation and GAMS core - Update test_legacy_version for changes in GAMS - Improve text of test and documentation - Consider lvl_temporal directly in parameter time_seq - Make the connection between the last and first time steps (storage cycle) - Remove second 'year' from index of time_period mapping - Move init_storage to models.MESSAGE.initialize - Minor code cleanup - Use ixmp.Model.initialize_items() - Update hard coded lengths in test_reporting and test_tutorials - Rename test_storage and move to tests folder - Accept and check an optional scheme kwarg to message_ix.Scenario - Cleanup after rebase - Code removed by 56f7bd5 - Code removed by 3bd21e5 - Restore line endings of period_parameter_assignment.gms - Simplify the mapping of charge-discharge technologies to storage - Remove map_time_period from include folder to data_load.gms - Correct the mapping of initial storage content - Change the sign of relation_storage and some text edits - Remove new bound definitions - Consider commodity in equations - Correct linter errors - Update period_parameter_assignment.gms - Rename and cleanup storage equivalence equation - Update reporting tests for new lengths - Update Scenario constructor per iiasa/ixmp#315 - Ensures storage-related parameters are added to any Scenario loaded; this allows test_legacy_scenario to pass. - Rename storage.PNG to storage.png, consistent with usage in docs - Correct ReST syntax for storage docs in model_core.gms - Reference label with '-' instead of spaces. - Underlines match heading length. - Space between paragraph text and '..'. - Correct relative path to figure storage.png. - Update coding style guide for docs, GAMS code - Update release notes with migration note; add storage items to docs - Add autosummary to model docs - Remove storage relations; to be modeled by existing parameters - Update reporting length numbers - References to message_ix in RELEASE_NOTES.rst - Add documentation of storage params - Change test assert values to pass CI - Add documentation of sets for storage - Edit nomenclature of storage equations - Correct typo in COMMODITY_BALANCE equation - Add one missing underline symbol in params section title - Update test_reporting.py - Edit text for parameters of storage - Address Sphinx warnings Co-authored-by: Matthew Gidden <[email protected]> Co-authored-by: Paul Natsuo Kishimoto <[email protected]> Co-authored-by: Francesco Lovat <[email protected]>
- Loading branch information
1 parent
f9e06f0
commit 882ffe2
Showing
16 changed files
with
555 additions
and
38 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Oops, something went wrong.