Skip to content

This is an openfisca extension for Peak Demand Reduction Scheme (PDRS) to openfisca_nsw_base country package

License

Notifications You must be signed in to change notification settings

energy-savings-scheme/openfisca_nsw_pdrs

Repository files navigation

Openfisca Extention: Peak Demand Reduction Scheme (PDRS)

This is an openfisca extension to openfisca_nsw_base package.

Initialising

You'll need to rename the openfisca_nsw_extension_template directory to the name of your extension. Also edit README.md, MANIFEST.in, setup.py & Makefile, and replace $EXT_NAME with the name of your extension. Replace $SHORT_NAME with a shortened name for it, for example openfisca-nsw-rules-kids-vouchers is shortened to "kids". This just makes it easier to switch to the virtual env.

Installing

We recommend that you use a virtualevn to install OpenFisca. If you don't, you may need to add --user at the end of all commands starting by pip.

python3 -m venv $SHORT_NAME
deactive
source $SHORT_NAME/bin/activate

To install your extension, run:

make install

Testing

You can make sure that everything is working by running the provided tests:

make test

To add your extension to the NSW API, update the openfisca-nsw-API repo's makefile with your extension's name, and add your extension as a dependency.

Learn more about tests.

Your extension package is now installed and ready!

About

This is an openfisca extension for Peak Demand Reduction Scheme (PDRS) to openfisca_nsw_base country package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •