Skip to content

Python apps to query energy data from the NREL ComStock and ResStock datasets.

Notifications You must be signed in to change notification settings

jpatacas/energy-queries-sbem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python apps to query energy data from the NREL ComStock and ResStock datasets.

energy.py

socket.io app to be used with the SBEM IFC.js app to provide data for the energy modelling panel (ResStock only).

  1. Add .parquet file to /energydata folder

  2. Run on Linux/WSL:

gunicorn -k eventlet -w 1 --reload energy:app

energy-unity.py

command line app to provide energy data for OSM buildings in JSON format (ComStock + ResStock)

  1. Add .parquet files to /energydata folder.
  1. Get geojson data for desired area from overpass API

  2. Run using:

py .\energy-unity.py 'weather file name (from comstock/resstock data)' 'geojson input path' 'json output path'

e.g.

py .\energy-unity.py 'USA_CO_Denver.Internationa.725650_2018.epw' 'geojson/data-denver-new.geojson' 'json_output/buildings-energy.json'

About

Python apps to query energy data from the NREL ComStock and ResStock datasets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages