Time of use Periods

  • Gcfitzgerald
  • Topic Author
More
06 Feb 2014 16:30 #2144 by Gcfitzgerald
Time of use Periods was created by Gcfitzgerald
Hello guys,

I am building a custom rate structure using SamUl script and was wondering if and how i can use the setInput SamUL function to set the time of use periods. In the Input variables pull down menu I cannot locate any variables representing time of use periods.

essentially I want SamUl script to be able to read in a custom rate structure from an excel file where the user can set all parameters i.e.(buy and sell prices at each tier and for different time of use periods.



Thanks

Garrett Fitzgerald

Please Log in or Create an account to join the conversation.

  • pgilman
More
07 Feb 2014 10:42 #2145 by pgilman
Replied by pgilman on topic Time of use Periods
Dear Garrett,

The TOU periods are set using two 288x1 arrays: ur_ec_sched_weekday and ur_ec_sched_weekend. Valid values for each element of the array are the numbers 1-9, and letters A-C (for TOU periods 10, 11, and 12). You will have to experiment a bit to see how the hour-by-month table maps to the array: I think the first 24 elements of the array are the TOU periods for January, then elements 25-48 are for February, etc.

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum