Blog
OpenEnergyMonitor

Modelling hourly demand and supply for renewable powered domestic electricity, heating with heatpumps and electric vehicles



Earlier this year I did some work with Philip James from the Centre for Alternative Technology and a researcher on the ZeroCarbonBritain project on creating an open source online zero carbon energy modelling tool based on the ZeroCarbonBritain energy model which is one of the Uk's leading energy scenarios outlining a positive, aspirational 100% renewable zero carbon energy future.

This first tool is available online here and blog post, using it it is possible to explore how its possible to supply energy demands such as space heating and electric vehicles from a variable renewable supply consisting of wind, solar, tide and wave power and a mix of storage technologies. The tool models supply and demand on an hourly basis which is a significant improvement over simpler annual approach.

Understanding its workings
I had been wanting to dig down deeper into the workings of the model and unpick the effect of the different components, the full model has so many different things going on that its hard to see how each component such as space heating demand from heatpumps, space heating profiles, electric vehicle charging profiles, water heating, or different generation technologies affects the bigger picture of the overall supply/demand balance and resulting storage requirements and so over the last month and a half I've spent some time looking into this in more detail.

Python and javascript example models
I started by writing a series of python models that modelled many of the key components in turn using the full 10 year hourly dataset used in the ZeroCarbonBritain spreadsheet model, exploring the level of supply/demand matching for each generation technology. As I started to model some of the more complex demands such as space heating from heatpumps, including the effect of solar and internal gains, I needed to be able to see what was going on in more detail so I converted the models to javascript and wrote a data viewer using flot.

Online visual tool
I've put all these model examples together into an online tool and added alongside each model a brief analysis and extended results of the many model run's I ran with different parameters. The tool also includes an introduction and overview of the uk energy context which is intended to help put the model examples which focus on domestic traditional electricity demand, space heating and electric transport in context. This tool is now available online here:


Launch online zero carbon energy system example models: http://openenergymonitor.org/energymodel

and its all open source with the code and full website on github here:
https://github.com/TrystanLea/zcem

The tool covers the following model examples and context pages:

    Introduction
    Energy Overview
    1. Variable supply
    2. Variable supply and flat demand
    3. Variable supply, traditional electricity demand and oversupply
    4. Mixed supply and flat demand
    5. Variable supply and space heating demand
    6. Electric Vehicles
    7. All
    Aggregation
    ZCB Dataset
    ZCB web model
    Python models

I have found it really interesting doing this work, but it also feels like a chapter early on in a large book. There is a lot more I'd like to understand in more detail and expand on which I hope to continue with over time.

To engage in discussion regarding this post, please post on our Community Forum.