Skip to content

WLC-Scenario-Explorer is a open source tool that enables selection, comparison, and analysis of various combinations of carbon reduction and/or removal strategies that could be applied across building stocks to affect whole life cycle impacts from buildings and construction.

License

Notifications You must be signed in to change notification settings

mroeck/wlc-scenario-explorer

Repository files navigation

Getting started

Introduction

🚀 Welcome to the WLC Scenario Explorer source code!

This tool allows exploration of different future scenarios for Whole Life Cycle greenhouse gas (GHG) emissions of buildings across Europe

THE GOAL: help policymakers and practitioners as well as researchers to explore the impact of various strategies on carbon footprints like:

  • Increase of circularity measures
  • Reduce space per capita
  • Reduce transport and construction emissions
  • Shift to low carbon and bio-based solutions
  • Reduce operational emissions
  • Increase use of improved materials

Users can view emissions for each building type, country, material, and more!

You can download the displayed data as an image or as a spreadsheet and visualize it with three type of graphs in the app.

The data comes from building LCAs and building stock modelling of KU Leuven and TU Graz developed as part of the ‘Analysis of Life-cycle Greenhouse Gas Emissions and Removals of EU Buildings and Construction’ study funded by the European Commission.

https://c.ramboll.com/life-cycle-emissions-of-eu-building-and-construction.

The app is accessible at https://ae-scenario-explorer.cloud.set.kuleuven.be and is hosted on the KU Leuven university infrastructure.

Disclaimer: The terminal commands in this documentation are for linux machines.

Installation

You need python ^3.12.6, node ^20.13.1, poetry ^1.8.3 and pnpm ^9.4.0 installed on your machine (or higher versions).

You don't need the following to start the app locally (click to see more)

  • clone the project through ssh and install the dependencies with this command:
git clone [email protected]:ae/sustainable-construction/dg-grow-eu-scenariotool/scenario-explorer.git &&
cd scenario-explorer/backend && poetry install &&
cd ../frontend && pnpm install &&
cd ../e2e && npm install &&
cd ../documentation && pnpm install

If needed see giltab documentation related to ssh



  • add the env files
cd ../backend && cp ./.env.example .env &
cd ../frontend && cp ./.env.example .env

  • Open the project in the root directory with your favorite code editor
code ../

  • Create the root/data/scenarios folder and generate the seeds
mkdir ../data/scenarios &&
pnpm dlx tsx ./scripts/generateSeeds.ts

Start the app

  • Start the dev servers from the root directory (one terminal for each):
cd backend && poetry run task dev
cd frontend && pnpm run dev
cd documentation && pnpm run start

The app should be running on localhost:3000 and the documentation on localhost:4000.

For more info: see the documentation. If somehow you can't run the documentation server, you can still access the doc in repo/documentation/docs


Example usage

Video:

Watch the video

API documentation

There is only one API endpoint. After starting the documentation server (see intallation) go to:

http://localhost:4000/docs/API/scenario

or open the file at:

./documentation/docs/API/scenario.md

There is also a bruno collection at:

./backend/bruno

Contacts

About

WLC-Scenario-Explorer is a open source tool that enables selection, comparison, and analysis of various combinations of carbon reduction and/or removal strategies that could be applied across building stocks to affect whole life cycle impacts from buildings and construction.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •