Skip to main content

The pLAtYpus model for engagement levels of stakeholders

Project description

pLAtYpus

This repository contains the pLAtYpus model.

Authors and contact

Carlos Montalvo Corral (carlos.montalvo@tno.nl) Omar Usmani (Omar.Usmani@TNO.nl)

Installation and use

Installation

Install the model via Pypi:

pip install pLAtYpus_TNO

(or copy the files in the src/pLAtYpus_TNO/ folder) You will also need a configuration file that can be found in the root folder of the Github repository}[https://https://github.com/TNO/pLAtYpus]

Use

Sources

Map data

The map boundaries are taken from eurostat/EuroGeoGraphics https://gisco-services.ec.europa.eu/distribution/v2/nuts/nuts-2021-files.html © EuroGeographics for the administrative boundaries You can download them there and put the into the input/map_data/ folder For running the whole model, you also need survey data in the input/survey_data/ folder Note that the survey data is not yet publically available. Contact the authors for more information. As such, you cannot run all the functions of the model. You can however use the ones in GRETA_tool, or you can use the following code to make the outputs (this code is in the make_all_outputs.py source file)


from ETS_CookBook import ETS_CookBook as cook

try:
    from pLAtYpus_TNO import solver
except ModuleNotFoundError:
    import solver

try:
    from pLAtYpus_TNO import maps
except ModuleNotFoundError:
    import maps


def make_all_outputs(parameters):
    solver.get_all_evolutions_and_plots(parameters)
    maps.make_long_term_average_tables(parameters)
    maps.make_area_maps(parameters)
   

if __name__ == '__main__':
    parameters_file_name = 'pLAtYpus.toml'
    parameters = cook.parameters_from_TOML(parameters_file_name)
    make_all_outputs(parameters)

You can however run the tool part with the provided pLAtYpus.sqlite3 (and its version containing only survey data, used for resets) that is in the output/ folder in the (Github repository}[https://https://github.com/TNO/pLAtYpus]

Licence

pLAtYpus is released under the Apache 2.0 licence. All accompanying documentation and manual are released under the Creative Commons BY-SA 4.0 license.

Libraries/dependencies

For the used libraries, see requirements.txt To create the right running environement, do the following:

  1. Create virtual environment: python -m venv your_environment_name
  2. your_environment_name/Scripts/activate.bat
  3. virtualenv --clear /your_environment_name
  4. Select interpreter (in help if using VS Codes) and choose the one in your_environment_name
  5. Kill terminal
  6. Start new terminal
  7. Install the requirements: pip install -r requirements.txt

Context, goals, and future developments

Driver

The primary driver for the publication and development of pLAtYpus in this repository is the participation in the GRETA project (funded from the European Union’s HORIZON 2020 Research and Innovation programme under grant agreement N°101022317.).

Goal

The main goal of providing this repository is transparency regarding the assumptions and computations of the pLAtYpus model.

Uses outside GRETA

Prior to GRETA

Change and Innovation
  1. https://www.inderscienceonline.com/doi/abs/10.1504/IJPP.2007.012274
  2. https://www.sciencedirect.com/science/article/pii/S0166497204001531
  3. https://openlibrary.org/books/OL12563883M/Environmental_Policy_and_Technological_Innovation
CODEC
  1. https://www.sciencedirect.com/science/article/pii/S2214629623000282
  2. https://publications.tno.nl/publication/34627599/zZ5Fcw/TNO-2018-P11304.pdf
  3. https://www.sciencedirect.com/science/article/pii/S0960148119313928

After/during GRETA

  1. https://projectgreta.eu/wp-content/uploads/2022/01/GRETA_D1_1_Energy-citizenship-emergence-framework_v1_0.pdf

Future

pLAtYpus will be used in other projects that will be listed here, if deemed relevant and apprpriate within the context of these projects.

Acknowledgments

 


EU emblem
EU emblem The pLAtYpus model orginally has been developped within [GRETA](https://projectgreta.eu/), which has received funding from the European Union’s HORIZON 2020 Research and Innovation programme under grant agreement N°101022317.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pLAtYpus_TNO-1.0.1.tar.gz (49.9 MB view hashes)

Uploaded Source

Built Distribution

pLAtYpus_TNO-1.0.1-py3-none-any.whl (29.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page