PPA Assessment Tool repo for the RACE for 2030 - 24/7 TRUZERO project. The tool provides functionality for optimising a portfolio of renewable energy contracts, i.e. choosing what fraction of capacity to contract from set a generators in order to best match the combined generation profile with a load profile. Additionally, there is functionality for modelling battery operation, load flexibility, and calculating bills.
Create a Python new virtual environment and install the required dependencies, in the terminal:
cd /path/to/the/ppa_analysis/directory
python -m venv env
.\env\Scripts\activate
source env/bin/activate
pip install -r requirements.txt
The tools capability can be explored and utilised through interface.ipynb.
jupyter lab
. The notebook data_loading.ipynb
Add description of load data format required, and where to put data so the interface can find it.
Provided in docstrings in the core tool modules, which are listed here along with the functionality each module provides:
In example.ipynb a simple example using a single day of data demonstrates the tools functionality, similar to interface.ipynb, but without the input widgets so the user can see clearly how to use the tools through its Pyhton API.
The glossary provides definitions of key terms including contract types.
Files msat_replicator.py, ppa.py, replicate_test.py, residuals.py, scenario_runner.py and tariffs.py were originally written by Nick Gorman as part of the MSAT-PPA Tool here: https://github.com/nick-gorman/MSAT-PPA-Python/tree/e9bef99ff914a826446f24697e983b16c23ced18