Skip to content

urbanopt/geojson-modelica-translator-examples

Repository files navigation

GeoJSON to Modelica Translator Examples

https://github.com/urbanopt/geojson-modelica-translator-examples/actions/workflows/ci.yml/badge.svg?branch=develop https://coveralls.io/repos/github/urbanopt/geojson-modelica-translator-examples/badge.svg?branch=develop

Description

This project provides examples on how to use the GeoJSON to Modelica Translator. The examples that are being developed are shown in the matrix below with the appropriate definition of the loads, ETS model, network model, and the district plant.

Getting Started

This project depends on the GeoJSON to Modelica Translator (GMT) and Poetry. The GMT will be installed when calling poetry install; however, the Modelica Buildings Library (MBL) needs to be installed to build and run the Modelica-based projects. Follow the instructions in the GMT documentation on installing and configuring the MBL.

To install the dependencies run the following after checking out repository:

pip install poetry
poetry install

To run the tests in this project, run the following:

py.test

If the GMT dependency is a git checkout (which is not the default), then you may need to run the following command to update. In the case of using Poetry with git checkouts, the user may need to uninstall all Poetry packages and reinstall by calling poetry install:

pip install -U --upgrade-strategy eager -r requirements.txt

Matrix of Examples

ID Number of Buildings Building Loads ETS Model Network Model District Plant Status
4GDHC - 1 8 TEASER N/A N/A Infinite Heating and Cooling Complete
4GDHC - 2 2 Spawn N/A N/A Infinite Heating and Cooling Complete
4GDHC - 3 8 TEASER Indirect None Infinite Heating and Cooling In-progress
4GDHC - 4 2 Spawn Indirect None Infinite Heating and Cooling In-progress
4GDHC - 5 TBD Time Series Indirect 4-Pipe Chiller, Cooling Tower, and Boiler
4GDHC - 6 8 Mix Indirect 4-Pipe Chiller, Cooling Tower, and Boiler
5GDHC - 1 2 Time Series Indirect N/A Infinite Heating and Cooling Complete

Todos

  • Create TEASER to Indirect HX