This repository contains the source code for the modelling and simulation study inside the Connected Urban Twins project. It is made up of three parts:
- Survey App: A frontend containing a survey and a digital twin of the Lego model
- Survey Backend: A backend based on Postgres and an express server for various APIs
- QR-Code Generator: A python script to generate QR codes to send individual links to survey recipients
twin_small.mp4
Urban digital twins use urban data, digitally map our cities and enable what-if scenarios. In this context, this study by the City Science Lab addresses the question of which models and simulations are already finding their way into urban decision-making processes and which will be desired by different urban stakeholders in the future. Using an exemplary digital twin of a real Lego model, employees of the city administration can experiment with different models and simulations, formulate wishes and ideas, and enter into an exchange with each other. In addition to pure knowledge production, the goal is to communicate the possibilities of the new technology for integrated and sustainable urban development.
Each of the recipients receives an sensitization package that contains an information brochure, a real lego model and an individual QR Code to access the survey and the lego model's digital twin.
The repo contains a dockerized version of the app. To run it, simply clone the repository, make sure Docker is running and type docker-compose up
in your favorite CLI. You might have to tweak some settings, such as development addresses and exposed ports depending on your local setup. For further development, run a local instance with node and npm installed as described here.
A React-based webapp that contains
- A Welcome Page
- A Survey Page besed upon survey.js
- A "Digital Twin" Page that showcases the main idea of a digital twin with the help of a Lego model
More information on the app and videos that show its functionalities can be found here
A Postgres database that stores the survey answers, recipient comments and reactions and provides authorization to those who received an individual link. More information on the backend can be found here
A python script to generate QR codes to send individual links to survey recipients