Category: Planning

  • “location”

    If you are including solar panels, give your location to allow estimation of solar intensity. Follow the format in the example below:

    "location": {
      "coordinates": {
         "latitude_degrees": 51.5,
         "longitude_degrees": -1.24
      },
     "cloud_cover_months": {
       "#": "Cloud cover insolution factors by year fraction",
       "fractions": [0.0425, 0.123, 0.204, 0.288, 0.371, 0.455, 0.538, 0.623, 0.707, 0.79, 0.874, 0.958],
       "factors": [0.544, 0.554, 0.534, 0.58, 0.608, 0.585, 0.607, 0.608, 0.57, 0.533, 0.561, 0.57]
        },
       "time_correction_fraction": 0,
    "internal": {
          "temperature_target_celsius": 21.0,
          "temperature_half_life_days": 1.5,
          "target_hours": [8,9,10,11,12,13,14,15,16,17,18,19,20,21],
          "intolerance_gbp_per_deg_c_per_hour": 0.1,
          "thermal_compliance_factor": 2.0,
        }
      },

    Because of cloud cover only a proportion, the “insolation factor”, of usable solar radiation reaches your panels. Insolation varies according to your location. Get insolation factors here using these steps:

    • select your location on the map;
    • select MONTHLY DATA;
    • tick the “Global irradiation at angle” box and enter your panels’ average elevation angle in degrees;
    • tick “Diffuse global ratio”;
    • select “json” download icon;
    • look up the “Kd” value for each month.

    For each factor, give its time fractions into the year. In the example below the fractions are the midpoints of each month, i.e. January’s midpoint is 0.0425 = (31/2)/365, February’s is 0.123 = (31+14)/365 etc.

    Add a cloud cover coefficient to the “factors” array for each respective year fraction in “fractions”. For example, if January’s cloud cover is 54.4% and February’s is 55.4%, add “0.544, 0.554,” and so on.

    Otherwise, just use the “factors” values from the above example.

    Finally, a number of optional thermal parameters, especially useful for heat pumps, allow the simulator to run more accurately and recommend optimum heating set back temperatures:

    • “temperature_target_celsius”: target room temperature;
    • “target_hours” array: hours of the day (0 to 23) during which room temperature needs to be maintained at the target temperature;
    • “temperature_half_life_days”: time in days from switching heating off for room temperature to fall to midway between initial room temperature and outside temperature;
    • “intolerance_gbp_per_deg_c_per_hour”: degree of intolerance to room temperature deviation from target temperature during target hours, measured in cost per degree celsius per hour;
    • “thermal_compliance_factor” improves calculation of optimum setback setting. On heating houses after setbacks, houses heat at a greater rate than indicated by their heat capacity, due mainly to heating of air. For calculation purposes, it increases the rate of heating after setback periods.
  • “time”

    The simulator takes a series of time steps, each of “step_seconds” duration. At each step, it calculates how the house’s energy state changes, until it reaches the longest project duration “max_project_duration_years”.

    The smaller the step, the greater the accuracy but the larger the amount of calculation required.

      "time": {
        "step_seconds": 216,
        "max_project_duration_years": 25,
        "discount_rate_pa": 0.04
      },

    The simulator needs an assumption for the annual discount rate “discount_rate_pa” in order to calculate NPV (net present value). There is no universal “one-size-fits-all” value. An optimum value for you depends on:

    • whether you use real or nominal accounting to value future cashflow: either is OK provided you are consistent;
    • attitude to how risky the project will be: if you think there is something above averagely risky about it, it may be reasonable to increase the value;
    • expected post tax return from alternative investments.

    I prefer the real accounting approach and set “discount_rate_pa” to the post tax historic inflation adjusted S&P500 growth index rate.

  • “#” or “comment”

    It’s good to add notes and comments to your JSON house description. Add comments in the same way you add data, using a data name that does not conflict with the simulator’s reserved names. So, to be sure of avoiding conflicts, use “comment” or “#”. For example:

    "comment": "This is a comment",
    "#": "This is another comment",

  • “combine”

    It is important to consider multiple combinations of renewable components when planning in order to undertand and harness the NPV synergies between them.

    The effect on NPV from adding a component is not necessarily additive. Suppose a heat pump and solar PV improve the NPV by £HP and £PV respectively when installed alone. Implementing both, however, does not necessarily result in £(HP+PV). Sometimes there is a synergy, but sometimes there isn’t.

    In our case, batteries and heat pumps made virtually no financial sense together or on their own, but both can pay off if combined with sufficient solar pv. We were able oversize our solar install to the limit with 40 panels: these become a significant “free” source of electricity for the heat pump, even in winter: see graphs below. Your mileage may vary.

    For these reasons it is important to simulate renewables together: specify in “combine”1 up to four renewable components2 to combine by adding them the JSON description3.

    "combine": {
     "battery",
     "solar_pv",
     "heat_pump"
    },

    The above example tells the simulator to simulate each of the combinations of battery (B), solar_pv (PV) and heat pump (HP) as follows:

    • none: no components at all4;
    • PV: keep the boiler and just add solar PV panels;
    • HP: just replace the boiler with a heat pump;
    • HP, PV: replace the boiler with a heat pump and add solar PV;
    • B: keep the boiler and just add a battery;
    • B, PV: keep the boiler and add both a battery and solar PV;
    • B, HP: add a battery and replace the boiler with a heat pump;
    • B, HP, PV: add a battery, replace the boiler with a heat pump and add solar PV.

    Two plots of NPV vs project duration are displayed :

    • absolute NPV for each combination, including none;
    • NPV for each combination relative to none.

    Here’s are the absolute NPV for each combination for our house, including the NPV for “none” (staying with our 2 year old oil boiler):

    … and here are the NPVs compared to doing nothing for each combination:

    Note:

    1. If you omit “combine” or leave it empty, a single combination of the components marked for inclusion are simulated. ↩︎
    2. You can use up to four renewable components in “combine”: “battery”, “heat_pump”, “insulation”, “solar_pv” and “solar_thermal”. ↩︎
    3. When not added to “combine”, other renewable components are included in the simulation of the combinations if their component is marked to be included (i.e. “include”: true). ↩︎
    4. It’s always necessary to compare with the NPV if we do nothing, i.e. stay with our old boiler, insulation etc and continued with our existing energy consumption profile (e.g. oil and electricity). The simulator refers to this as the “none” project, where no renewable component is included. ↩︎
  • “boiler”

    The simulator always assumes that your existing central heating system has a conventional oil or gas boiler.

    To describe your boiler:

    • use the “include” flag to include it, otherwise the simulator assumes your house has no boiler and is heated with electricity;
    • include in “tariff” the name of the energy tariff it is using;
    • give the heating capacity of your boiler in “output_kw”;
    • give the boiler’s efficiency in “efficiency”;
    • in “cost” include only any additional costs that will be incurred when using in “install_gbp”: normally it is zero. Also include its annual maintenance cost in “maintenance_pa_gbp”.

  • Simulation steps

    I wrote a time series simulation program (“simulator”) to help make pick the best renewable combination. The simulator shows the options that make best financial sense by displaying their NPVs. After deciding project duration, one simply picks the combination with the highest NPV.

    The simulator runs as a web server and accept POST requests containing a JSON description of the project. After running the simulation, it gives a link to a graph of NPVs for each combination.

    The first step in creating the JSON is to decide the maximum duration you want to be committed to your investment and benefit from its returns. Commitments and returns are typically:

    • preparation costs, e.g. tearing out the old boiler, oil tanks and necessary buiding or electrical work prior to install;
    • installation costs;
    • periodic maintenance costs;
    • ongoing (hopefully greatly reduced) electricity costs;
    • income (if any) from exported electricity.

    Create the JSON description

    Describe your house and project in text description using JSON to allow the simulator to calculate your project’s future energy and financial performance.

    The text needs to quantify several parameters, as follows:

    Making a request

    Now you have your JSON, you need to forward it as a POST request to the simulator.

    If you’re developer with LAMP skills, you may want to pull the simulator from GitHub and mount it on your own server.

    Alternatively, you can submit a request to my server.

    Understanding the result

    A line with a zero slope implies a project with no overall running costs, and a line with a positive slope implies a project that is cash positive. But we should always prefer the permutation with the highest NPV depending on the duration we assume. Looking at the graph above, that meant we should stay with our old boiler (i.e. “none”) unless we could assume a duration longer than 5 years.

    Fitting a heat pump on its own (“HP” line) had the earliest duration at which any investment made sense. But note how this line still slopes downwards, just not as steeply as the “none” one.

    Perhaps surprisingly, the heat pump made sense before the solar PV only “PV” line did at 6 years. One might expect a synergy between heat pumps, which benefit from cheap electricity, and solar PV. But doing both (i.e. “HP, PV”) only makes sense when considering project durations of 11 years or more. This is because solar PV panels do not generate electricity when heat pump use it most, when it’s cold and dark outside.

    Thinking long term

    More extensive and costly projects tend to prove more attractive with longer project durations. We were not planning to move which, from a renewable planning perspective, made it possible to think in terms of augmenting a heat pump with solar PV and a battery.

    While solar PV alone does not reduce heat pump runnning costs, it does reduce overall energy consumption and greatly reduces the slope of the NPV line. Low running costs are good for NPVs in the long run. And indeed, we managed to improve the long run NPV even further by add adding a battery “B”.

    Fitting a battery on its own (“B”) is pretty much the worst investment decision one can make. While it is possible to store cheap electricity and scrape a profit by export it at peak times, these profits are so slim as to be not worthwhile unless one is prepared to wait around 17 years.

    But while expensive initially, batteries have great synergies with heat pumps and solar PV panels. They can import electricity from the grid at times when it is cheap and, conversely, can store solar energy for export at better peak times for exporting back to the grid, typically between 4pm and 7pm.

    If we planned to be in the house longer than 10 years (which we do), a heat pump on its own would be sub-optimal and it would instead make greater sense to install also solar PV and a battery.

    And in the very long term (25 years), there is a staggering near £60,000 long term cost from doing nothing – compared to fitting those renewable components today. That figure is all the more astonishing when one considers that it is a priced at the present day, not some figure discounted way into the future. In other words, our renewable project was financially equivalent to receiving a £60k cheque on the day we embarked on it … at least theoretically!

  • Finding the right components

    To find the best renewable system, you’re going to need to:

    • decide what system components to get
    • shop around for different types, brands and sizes of systems;
    • describe each system in terms of its specification;
    • make a few other assumptions;
    • simulate each system;
    • choose the system with the best NPV.

    Deciding on components

    There are many components out there: solar PV panels, thermal panels, heat pumps, energy storage and, of course, insulation.

    In many or most cases, adding a single component does not make optimal financial sense. For example, without adequate insulation, replacing a gas boiler with a heat pump could dramatically increase your heating costs.

    Also, heat pumps consume large amounts of electricity during the day and often benefit from a storage battery in order to access cheap night tariffs.

    The same is true for solar PV panels which earn more from solar electricity when it is exported at peak evening rates … requiring a battery.

    Solar PV is not the only form of renewable energy generation. Heat can also be generated from thermal panels and stored in water tanks. However, where a heat pump is to be installed, it is normally more economic to use heat water via a heat pump from solar PV generation.

    Solar PV is not the only kind of renewable generation. Wind turbines are an alternative. While they make great sense on industrial farms, mounted high on masts on hilltops and out to sea, they seldom make any economic sense in domestic situations – and are best ignored.

    The “holy quartet”

    For the foregoing reasons, and to keep things simple, we are going to focus on finding an optimum (i.e. most financially profitable) combination of up to four components:

    • insulation;
    • solar PV;
    • electrical storage battery;
    • heat pump