This repository contains a Django project to demonstrate the functionalities of several Django apps original developed at the Institute for Energy Efficient Buildings and Indoor Climate. Among these are the TEASER and uesgraph API, as well as a GIS-based interactive webpage.
This repository is currently mainted by the Institute for Digital Networking of Buildings, Energy Supply Systems and Users , if you have any questions don't hesitate to contact us.
We've set up this repository for testing and learning purposes. However, first you need to learn how to configure your databases and the Django settings.
In this Quick Guide we assume you already have the connection details (IP, Port, database name, username and password) for 3DCityDB (PostGIS) and InfluxDB. If not and you are an administrator you can follow the administrator guide using docker, otherwise you should ask your supervisor.
First you need to ensure that you have installed all dependencies, we provide two installation guides for:
In addition you need to configure you Django settings. You can use this guide to create your own settings.
Please use this database if you want to run the tests:
Now you can run the migrations and work with vDistrict:
Run to create and synchronize the models (after the first migrate
you will
get some errors, that the table building
already exists, please just ignore it)
$ python manage.py migrate
$ python manage.py migrate --fake-initial
After you followed the instructions above you can run your local Django server with:
$ ./vDistrict python manage.py runserver
This is version 0.1.0. In development phase we will not guarantee to use strict semantic versioning.
The actual main part of 'django-citydb' is developed for:
(1) Remmen, P. Automated Calibration of Non-Residential Urban Building Energy Modeling = Automatisierte Kalibrierung von Simulationsmodellen Für Nichtwohngebäude Im Städtischen Maßstab, 1. Auflage.; E.ON Energy Research Center, RWTH Aachen University: Aachen, 2022. [Link](https://publications.rwth-aachen.de/record/843586/files/843586.pdf)
Current status of the code will be updated continously. List of publications:
GityGML Import and Export for Dynamic Building Perfomance Simulation
Code is maintained by TU Berlin Institute for Digital Networking of Buildings, Energy Supply Systems and Users. Contact Us
django-citydb
has been developed within public funded projects
and with financial support by BMWK (Federal Ministry for Economics and Climate Action)