NREL / ssc

SAM Simulation Core (SSC) contains the underlying performance and financial models for SAM
BSD 3-Clause "New" or "Revised" License
78 stars 83 forks source link

Modify index to year 1 index to correctly utilize tou demand function #1152

Closed brtietz closed 3 months ago

brtietz commented 3 months ago

The TOU demand function changed in https://github.com/NREL/ssc/pull/1135/files expects the year 1 index. Correct this, and add a test that reproduces the issue by setting up a multi-year rate forecast object.

cpaulgilman commented 2 weeks ago

Issue reported in SAM forum: https://sam.nrel.gov/forum/forum-general/4659