Confirm net means net#756
Merged
Merged
Conversation
added 2 commits
February 10, 2022 14:17
…s, respectively. This commit should create no changes in variables with units of $, but some variables with units of energy are now more consistent
Collaborator
Author
|
Test failures are segmentation faults on mac only and should be resolved once #749 is merged |
Collaborator
|
Here's an LK script I'm using to investigate: |
cpaulgilman
approved these changes
Feb 11, 2022
cpaulgilman
left a comment
Collaborator
There was a problem hiding this comment.
This is consistent with the energy variables I need for cash flow fixes in #927.
Merged
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.
Use consistent values for cf_energy_net throughout the code - this should always just be "sum of gen." The previous code used "positive numbers in gen" for about half the time and then switched it after the PPA calculation loop. Fixing this required updating some values of cf_energy_net to cf_energy_sales. This calculation change and the associated labels changes should address Steve's comments in NatLabRockies/SAM#927
The goal of this PR is that no numbers with units of $ should change at the end of the calculation. Changes in values with units of kWh for behind the meter systems are expected.
Note that there are some output names that need to be changed that aren't here. That seems out of scope for this PR, so I made a follow up issue: #755