Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rcqx/ep-to-timescaledb
EnergyPlus timeseries to timescaleDB
https://github.com/rcqx/ep-to-timescaledb
energyplus owl rdf rdflib timescaledb timeseries
Last synced: 12 days ago
JSON representation
EnergyPlus timeseries to timescaleDB
- Host: GitHub
- URL: https://github.com/rcqx/ep-to-timescaledb
- Owner: rcqx
- Created: 2021-07-09T21:58:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T17:49:13.000Z (over 1 year ago)
- Last Synced: 2024-12-07T13:42:22.673Z (15 days ago)
- Topics: energyplus, owl, rdf, rdflib, timescaledb, timeseries
- Language: Jupyter Notebook
- Homepage:
- Size: 27.7 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E+ timeseries to timescaleDB
![example](./img/cover.png)
Time series in [EnergyPlus](https://energyplus.net/) facilitate exchange and representation of energy simulations data points. However, in AECO industry, file-based approaches hinder the integration of these outputs within different actors. Semantic Web Technology (SWT) is gainining traction for improving data interoperability thru linked-data models (RDF, OWL, SPARQL, SKOS). Building Performance Simulation (BPS) community could take advantage of SWT for more efficient approaches to exchange BPS data among different AECO parties.
This repo is based on [brick's data retrieval demo](https://github.com/gtfierro/brick-data-retrieval-demo) by [gtfierro](https://github.com/gtfierro);
which uses BMS data, [brickschema](https://brickschema.org/) and jupyter/timescaledb docker images.In this demonstration:
* An [EnergyPlus](https://energyplus.net/) model of an single storey
office with 5 HVAC zones is simulated to report every zone temperature during the hottest day of the
year.
* An ``Output:Variable`` object report the timeseries corresponding to the temperatures of every zone in the model.
* Timeseries data allocated in .csv file is then post-process to report time, zone temperature and an id corresponding to the simulated zone.
* Then a semantic representation of the office is created using [bot](https://w3c-lbd-cg.github.io/bot/) schema for describing the office topology
* Timeseries ids corresponding to .csv files are mapped into the bot model.
* Time series data is loaded to timescaledb
* Semantic model and its relationships to timeseries data are retrieved, arrange and plotted.![example](./img/example.png)
More info on the energy model can be found on e+ "./ExampleFiles/BasicFiles/exercise2.idf" and
on the ["Getting Started"](https://energyplus.net/sites/default/files/pdfs_v8.3.0/GettingStarted.pdf) guide.To set up repo and access to the detailed example, first start docker containers:
```
# start docker containers
./scripts/start_docker_containers.sh
```Then load energyplus post-processed timeseries data
```
# load energyplus timeseries data
./scripts/setup.sh
```Once configured, you should be able to start the example locally and:
Performe queries
![query](./img/querying_model.png)Retrieve timeseries data from zones
![zones_timeseries_data](./img/zones_temp_values.png)
Access and plot timeseries data of each available zone
![east_zone](./img/east_zone_timeseries.png)Plot and compare data from all zones of the building model
![plot2](./img/plot.png)