This repository is part of Briana Davies-Morrell's honours thesis at the University of Western Australia.
It contains an implementation of the Brick ontology for a pump manufacturer's HVAC system. The data used in this repository is an example only, manufactured for the purposes of confidentiality. This data can be found in the csv_files folder: example_metadata.csv is an Excel spreadsheet containing extracted HVAC metadata, and example_timeseries.csv contains the corresponding timeseries data.
The dependencies for this project are listed in enviroment.yml. They can be installed by running:
conda env create -f environment.yml
conda activate env
Alternatively, you can set-up a virtual environment by:
- Create a venv:
python -m venv venv
- Activate the venv:
venv/scripts/activate
- Install the requirements:
pip install -r requirements.txt
python generate.py
- creates a Brick model based on example_metadata.csvpython compile.py
- performs reasoning on the Brick model- Navigate to Data_retrieval.ipynb - this jupyter notebook demonstrates the use of the Brick model for data retrieval
python server.py
- opens an interactive server through which the Brick model can be queriedpython extensions.py
- used to extend the original Brick ontology where there are missing classes