Skip to content

maqorbani/FacadeVisualComfort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FacadeVisualComfort

Annual Radiance HDR image renderings and analysis

This repository includes:

  • Python script to run Radiance software on a Linux-based machine to simulate annual (or a subset of) luminance-based images in a given Radiance scene and settings.
  • Python script to do a k-means clustering to find the required renderings based on the target's climate conditions, based on an enhanced version of this paper.
  • Python script to create tensor-based data sets out of the simulated images.
  • Python script for deep learning to predict annual luminance-based images (the unstimulated images in the annual data set).
  • Python script to analyze and evaluate the resulting images on the desirable parameters based on the luminance distribution of the images.
  • Python script to plot and save the results.

Please note that this repo is going to be updated, and a unified program to do the mentioned tasks will be published. So, stay tuned!

Climate Data folder includes the lighting and sky conditions of Tehran's climate.

K-meansClustering folder includes the k-means clustering-related script.

RadianceRendering folder includes the scripts for Radiance renderings.

analysis folder includes the scripts for the image analysis.

Procedure

Rendering

Rendering starts with designing the required 3D file in a 3D CAD software like Rhinoceros.

The sky descriptions of the climate are extracted from the EPW climate file of the city. Additionally, the climate's sky conditions data is also necessary for the following steps.

image

The rendering scripts and files are implemented on a Linux-based VPS, and the rendering process is initiated concurrently on each of the VPS's CPU cores. The rendering period could be annually or be a subset of the year. Moreover, using the K-means clustering method, annual representative hours could be selected to render and predict the remaining images using the deep learning model.

HDRs

After each image is rendered, the script automatically extracts them into a float32 NumPy array, ready for the deep learning step.

Analysis

The analysis script analyses the images based on the required criteria, e.g., max_luminance, average_luminance, DGP value, etc., and plots the annual heatmap for the desired extracted parameter.

Alt2_mean