{% extends "base.html" %} {% block title %} » Scenario Runner {% endblock %} {% block nav %} » Scenario Runner {% endblock %} {% block content %}

Scenarios

{% for scenario in scenarios %} {% set props = scenario.make_properties() %} {% endfor %}
Scenario Run View Edit scenario_start scenario_duration
{{scenario.name}} Run View [edit] {{props.scenario_start}} {{props.scenario_duration}}

Rates

{% for contract in db_contracts %} {% endfor %}
Pass-through Contract Rates
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}}

Template Scenario Properties

{
  "scenario_start": 2011-01-01T00:00:00Z,  /* Date or null for this month */
  "scenario_duration": 1,  /* Number of months */


  // Industry rates - those you can't edit in Chellow

  "industry_rates": {
    "ccl" : {
      "start_date": 2014-10-01T00:00:00Z,
      "finish_date": 2015-05-01T00:00:00Z,
      "script": {
        "ccl_gbp_per_msp_kwh": 0.00568}},

    "aahedc": {
      "start_date": 2015-01-01T00:00:00Z,
      "finish_date": 2016-09-04T00:00:00Z,
      "script": {
        "aahedc_gbp_per_gsp_kwh": 0.00023116}}},


  // Local rates - those that you can edit in Chellow

  "local_rates": {
    46: {
      "start_date": 2014-10-01T00:00:00Z,
      "finish_date": 2015-05-01T00:00:00Z,
      "script": {
        "gbp_per_msp_kwh": 0.667}},

    3: {
      "start_date": 2015-01-01T00:00:00Z,
      "finish_date": 2015-03-01T00:00:00Z,
      "script": {
        "gbp_per_gsp_kwh": 5.77}}},


  "era_maps": {
    2012-09-01T00:00:00Z: {
      "llfcs": {
        "20": {
          "409": "607",
          "090": "502"},
        "22": {
          "711": "003"}},
      "pcs": {
        "03": "00",
        "04": "00"},
			"cops": {
        "6c": "5"},
      "supplier_contracts": {
        74: 3,
        9: 51}}},


  "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
    "}
{% endblock %}