WIP: feedstock cost model and variable o&m#222
Closed
elenya-grant wants to merge 2 commits into
Closed
Conversation
Closed
Collaborator
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.
Feedstock Cost Model
Note: this depends on work done in PR #219 and will require further additions to work done in PR #218 before this can be finalized
Added feedstock cost model that is flexible to handle different types of cost profiles. Costs can be provided as:
plant_lifewhich means that costs are constant during a year but may change year-to-yearn_timestepswhich means that costs change per timestep.PR Checklist
CHANGELOG.mdhas been updated to describe the changes made in this PRdocs/files are up-to-date, or added when necessaryRelated issues
Impacted areas of the software
h2integrate/core/feedstocks.pyFeedstockCostConfig: configuration file for feedstock costsFeedstockCostModel: cost model for some generic feedstockh2integrate/core/model_baseclasses.py: addedVarOpExoutputh2integrate/core/test/test_feedstock.py: new file for testing feedstock component.Remaining to-dos
h2integrate/core/h2integrate_model.pyh2integrate/core/finances.pyto include variable o&m (this is waiting on profast refactor pull-request to be merged in)Additional supporting information
Test results, if applicable