Skip to content

Fix SSC 785 hourly variables#1097

Merged
sjanzou merged 1 commit into
developfrom
ssc_785_utility_rate_grid_outage
Nov 29, 2023
Merged

Fix SSC 785 hourly variables#1097
sjanzou merged 1 commit into
developfrom
ssc_785_utility_rate_grid_outage

Conversation

@brtietz

@brtietz brtietz commented Nov 28, 2023

Copy link
Copy Markdown
Collaborator

Fixes #785

Add grid_outage as an optional input to utility_rate 5. When there is a grid outage, set grid use to zero. While cmod_grid handled this effectively for the load, these additional changes are required to preserve the data in gen while not accumulating net metering credits during an outage.

To test:

  1. Open a PV+Battery behind the meter case
  2. Set up a full year grid outage (file with 8760 ones for testing) with any critical load percentage:
    _8760_ones.csv
  3. Run the case
  4. Hourly to/from grid variables should be zero, net metering credits should not be earned.

Testing other compensation methods would be good rigor.

@cpaulgilman cpaulgilman 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. I checked all excess generation compensation methods.

@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 test pass

@sjanzou sjanzou merged commit ebd9967 into develop Nov 29, 2023
@sjanzou sjanzou deleted the ssc_785_utility_rate_grid_outage branch November 29, 2023 05:34
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.

Electricity to/from grid (year 1) does not match lifetime

3 participants