Skip to content

Ssc 755 net to sales#1060

Merged
brtietz merged 2 commits into
developfrom
ssc_775_net_to_sales
Oct 4, 2023
Merged

Ssc 755 net to sales#1060
brtietz merged 2 commits into
developfrom
ssc_775_net_to_sales

Conversation

@brtietz

@brtietz brtietz commented Oct 2, 2023

Copy link
Copy Markdown
Collaborator

Finish the "net" to "sales" conversion we started back in the 2021 release. Closes #755, for additional context see #756.

I believe this is an SSC only PR. The only SAM dependencies I could find were in API. My impression is that updates to API are on hold while we work out the export config issues, but if you want me to run the export I can do so.

To test: ensure that the monthly and by TOD period outputs in the FOM financial models are still recording kWh to the grid correctly.

@brtietz brtietz added this to the SAM Fall 2023 Release milestone Oct 2, 2023
@brtietz brtietz requested review from cpaulgilman and sjanzou October 2, 2023 17:02
@brtietz brtietz self-assigned this Oct 2, 2023
@cpaulgilman

cpaulgilman commented Oct 3, 2023

Copy link
Copy Markdown
Collaborator

This changes all variables names beginning with "cf_energy_net_" to "cf_energy_sales". For example, cf_energy_net_jan changes to cf_energy_sales_jan.

These are all output variables, so should only affect PySAM and LK scripts that are using those output variables.

I searched all .lk scripts in https://github.com/NREL/SAM/tree/develop/samples and did not find any sample LK scripts that use these variables.

@sjanzou sjanzou left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and tests appear fine.

@brtietz brtietz merged commit 59d7ad2 into develop Oct 4, 2023
@sjanzou sjanzou deleted the ssc_775_net_to_sales branch October 5, 2023 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change cash flow dispatch variable names from "net" to "sales"

3 participants