Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ssc 755 net to sales #1060

Merged
merged 2 commits into from Oct 4, 2023
Merged

Ssc 755 net to sales #1060

merged 2 commits into from Oct 4, 2023

Conversation

brtietz
Copy link
Collaborator

@brtietz brtietz commented Oct 2, 2023

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 self-assigned this Oct 2, 2023
@cpaulgilman
Copy link
Collaborator

cpaulgilman commented Oct 3, 2023

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.

Copy link
Collaborator

@sjanzou sjanzou left a comment

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
4 checks passed
@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