Skip to content

Ssc 535 fix tiers net billing#538

Merged
brtietz merged 2 commits into
patchfrom
ssc_535_fix_tiers_net_billing
Feb 19, 2021
Merged

Ssc 535 fix tiers net billing#538
brtietz merged 2 commits into
patchfrom
ssc_535_fix_tiers_net_billing

Conversation

@brtietz

@brtietz brtietz commented Feb 18, 2021

Copy link
Copy Markdown
Collaborator

Tracks the surplus and deficit tiers (they can be different) differently for net billing and buy all / sell all. This code will correctly allocate kWh to lower tiers before moving on to upper tiers.

Utility rate:

image

Behavior in 2020.11.29:

image

Behavior in this PR:

image

Test file available in #535

Brian Mirletz added 2 commits February 16, 2021 11:10
… sell all is a little wierd with the night-time losses, need to check with Steve on that

@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.

Hmmm... your breakdown and image provided for the tier breakdown are great! However, to get the full tier value at each bound, does it make sense that the breakdown is continuous rather than discrete at the timestep intervals as previously reported? That is, the first image in the 2020.11.29 release values...

@brtietz

brtietz commented Feb 18, 2021

Copy link
Copy Markdown
Collaborator Author

You can see the changes from the first tier in January to the second in the attached image
Screenshot 2021-02-18 090641
The tier transition occurs occurs at 11 am on the 5th. 2020.11.29 (left) allocates the entire hour to the higher tier, whereas this code (right) splits it between tiers 1 and 2, resulting in a lower energy charge in that hour.

I've never seen text from a utility that supports the discrete allocations, they always cut it off strictly at the tier kWh.

@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.

Okay, so the weather file is the measurement of time for the production but the analog meter is the unit of time for the utility bill - we should list that in help...

@brtietz brtietz merged commit 9d7a68b into patch Feb 19, 2021
@brtietz brtietz deleted the ssc_535_fix_tiers_net_billing branch March 2, 2021 21:25
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.

Utility Rate tiers split by hour, not by kWh

2 participants