Skip to content
Estimating Electricity Consumption from Household Surveys
Jupyter Notebook Python
Branch: master
Clone or download
svexican Update
Latest commit f3522b4 May 31, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
development_folder Added high variance projections and scatterplot of data Oct 11, 2016
ipc_microsim_tool Add new development folder for new sklearn modelling Oct 11, 2016
.gitignore Revising gitignore Feb 29, 2016
IPC.microsim.tool.pdf paper Mar 1, 2016
LICENSE Initial commit Feb 19, 2016 Update May 31, 2018

Electricity Consumption Surveys

Estimating the demand for electricity is a critical step in the design of a medium to long term energy plan. Frequently, estimates are based on time series with few observation points or on data from other countries or regions. Microsimulation models use household surveys to offer an alternative estimation route based on observed electricity demand by households with different incomes.

Getting Started

This repository contains a python module : IPCmicrosimTool that can be used to run micro-simulation. It contains 2 basic component :


  • Python 2.7 installed on your machine. Follow the installation instruction on their downloads page. If you are using brew on your OSX, run this command on your terminal :
$ brew install python
  • Required libraries installed on your machine. Run this command on your terminal :
$ pip install numpy
$ pip install scipy
$ pip install pandas
$ pip install matplotlib
$ pip install patsy
$ pip install statsmodel
  • (Optional) iPython installed on your machine
$ pip install ipython
$ pip install mpltools


  1. Clone this repository / download the zip file
  2. Navigate to ipc_microsim_tool folder

Method 1 : Using python CLI

  1. Run python by typing this command on your terminal
$ python
  1. Import the module
from ipc_microsim_tool import IPCmicrosimTool as imt

Method 2 : Using ipython

  1. Run ipython by typing this command on your terminal
$ ipython notebook
  1. Navigate to localhost:8888/tree on your browser
  2. Open ipc_microsim_tool.ipynb

Built With

  • python (2.7)
  • numpy
  • scipy
  • pandas
  • matplotlib
  • patsy
  • statsmodels


You can’t perform that action at this time.