Skip to content

An R version of the TPM impacts model supporting the 2020 decision on TPM guidelines

License

Notifications You must be signed in to change notification settings

CfSOtago/tpm-impacts-model

 
 

Repository files navigation

CfSOtago note

We have forked this repo to explore the model. This is not the master repo and is not managed by the EA. For the official repo see https://github.com/ElectricityAuthority/tpm-impacts-model

Any changes we have made can be reviewed via our commits

Otago users:

Please make a branch to run new scenarios & then create a pull request for review. Please make sure the output results has a new filename!

Model results:


Original text follows

Introduction

This repository includes the code for the Authority's TPM impacts model. An earlier Excel version of the model called '2019 Proposal impacts modelling', was originally originally released as part of the 2019 Issues Paper. The original Excel version of the model is available via EMI, along with the data files and vSPD version used to generate the inputs to the model. This version of the model includes further changes made from the February - March 2020 supplementary consultation. The changes from the original model are discussed in the additional documentation file.

Setup

This project uses R 3.6.1. renv manages the R dependencies of this project. To install the libraries needed to run this project, run the following from the project:

source('renv/activate.R')
renv::restore()

The data files used as inputs to the model are included in this repository, hence there is no setup required. These are also available from EMI.

Running the impacts model

the rprogs/main.R file is used to rerun the impacts model. Sourcing this file will regenerate the results files, found in the results directory. For more information on the options available in the main file and the calculations performed, see the additional documentation file

About

An R version of the TPM impacts model supporting the 2020 decision on TPM guidelines

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 91.2%
  • R 8.4%
  • CSS 0.4%