SEEDS stands for Stakeholder-Based Environmentally-sustainable And Economically Doable Scenarios for the Energy Transition
In the SEEDS project a consortium of four European institutions is building an approach to integrate humans into energy transition scenario design, while accurately modelling the relevant technical, economic and environmental constraints. Doing so involves methodological development, software development and implementation, and experimentation with a pilot study in Portugal. This work is done in a focused consortium of four partners:
ETHZis a leading centre of high-resolution energy system modellingICTA-UABis a leading centre in the development of integrated sustainability assessment methodsTLUprovides expertise in participatory design of trustworthy interactive systemsFC.IDcontributes its unique expertise combining modelling with participatory action research.
The SEEDS repository has the following structure.
|
|____locale
|____db.sqlite3
|____register
|____static
|____scripts
|____seeds_bootstrap
|____requirement.txt
|____templates
|____manage.py
|____Expl.ipynb
localedirectory contains English-Portuguese translation files.db.sqlite3file is the database of the app using sqlite3.registerdirectory contains code that handles sign-in and sign-up functionalities.staticdirectory containscssandjsfiles.scriptsdirectory contains the script to populate seeds db.seeds_bootstrapdirectory contains the source code of the seeds app (e.g., views, models)templatesdirectory contains html template file for the app.Expl.ipynbis a jupyter notebook containing the preprocessing of SEEDS original dataset files.
The following steps offer guidelines on setting up & running SEEDS app on a local machine.
git clone https://github.com/centre-for-educational-technology/Seeds_bootstrap
cd Seeds_bootstrap
pip install -r ./requirement.txt
python3 manage.py makemigrations
python3 manage.py migrate --run-syncdb
The seeds dataset comprises multiple CSV files which were processed to store in the database. To populate the database with SEEDS data, we will use a script loadAll.py available in the scripts directory. The following command performs the loading of data into the SEEDS database.
Update the
basevariable in the script file accordingly if deploying in production.
python3 manage.py shell < ./scripts/loadAll.py
The following command creates an admin user account.
python3 manage.py createsuperuser
Everything is set now to run the server.
python3 manage.py runserver
MIT License
Copyright (c) 2024
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.