{% extends "base.html" %} {% block title %} » Scenario Runner {% endblock %} {% block nav %} » Scenario Runner {% endblock %} {% block content %}
Contract | Last Rate Script | |
---|---|---|
Start Date | Finish Date | |
{{contract.name}} | {{contract.finish_rate_script.start_date|hh_format}} | {{contract.finish_rate_script.finish_date|hh_format}} |
Consider a half-hour H, and a contract with rate scripts. The rate at H is determined by:
If H <= start_date, then the rate script at H is used without any change. If H > start_date, then the rate script at start_date is used to obtain the value of the rate at H by doing (rate_at_start_date * multiplier + constant).
{ "rates": "bsuos" : { "start_date": 2011-01-01T00:00:00Z, "multiplier": 1, "constant": 0}, "ccl": { "start_date": 2014-10-01T00:00:00Z, "multiplier": 1, "constant": 0}, "aahedc": { "start_date": 2012-04-01T00:00:00Z, "multiplier": 0, "constant": 0.00091361}}, "era_maps": { 2012-09-01T00:00:00Z: { "llfcs": { "20": { "409": "607", "090": "502"} "22": { "711": "003"}}}} "scenario_start": 2011-01-01T00:00:00Z, // Date or null for this month "scenario_duration": 1, // Number of months "resolution": "hh", // "hh" or "month" "kw_changes": // CSV format with the following columns // Site Code, Type ("used" or "generated") , Date (yyyy-mm-dd), Multiplier " CI005, used, 2011-01-01, 0.5 CI005, generated, 2011-01-01, 2 "}