This repository contains a simulation model for Jamaica's energy system formulated as an arc-node network. Based on a given supply and demand curve, JEM solves for flows of electricity across the network using linear programming.
NOTE: The tool is currently under development and all code published here is part of an on-going project.
Project Lead: Aman Majid ([email protected]), University of Oxford
Principal Investigator: Professor Jim Hall, University of Oxford
Contributors and Collaborators:
Raghav Pant, University of Oxford
Tom Russell, University of Oxford
The model requires Gurobi and the associated GurobiPy library for the optimisation. In addition, standard scientific libraries in Python are needed such as pandas, numpy, matplotlib etc. Requirements for spatial network analysis include QGis, geopandas, and snkit.
Note: The Gurobi package requires a license for usage but this can be obtained freely for academic use.
-
Clone or download this repository.
-
Get a Gurobi license
-
Create project enviroment using the config file in this directory (only tested on macOS Big Sur):
mamba env update -n JEM --file environment.yml
conda activate ./env
or
conda env create --prefix ./env --file environment.yml
conda activate ./env
- See the demo notebook for a small demonstration.
This work is supported part of the Coalition for Climate Resilient Investment (CCRI) project on creating a platform for infrastructure risk assessment and resilient investment prioritisation in Jamaica and is funded by the UK Foreign, Commonwealth and Development Office (FCDO).
Copyright (C) 2020 Aman Majid. All versions released under the MIT License.