NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SOLWEIG-GPU: GPU-Accelerated Thermal Comfort Modeling Framework

Harsh Kamath, Naveen Sudharsan, Singh, Manmeet, Nils Wallenberg, Fredrik Lindberg, Dev NiyogiZenodo (CERN European Organization for Nuclear Research) 2026 · OpenAlex

Abstract

This is an outdated version. Please use the latest version Please check the GitHub repository the the latest version of the software: GitHub Read the detailed documentation: Documentation -- Model installation: conda create -n solweig python=3.10 conda activate solweig conda install -c conda-forge gdal cudnn pytorch timezonefinder matplotlib pyqt=5 sip pip install solweig-gpu -- The 'Input_raster' folder contains 3 files required by SOLWEIG-GPU: 1. Building_DSM.tif2. DEM.tif3. Trees.tif4. Landcover.tif (optional) -- SOLWEIG-GPU can be meteorologically forced in 3 ways: 1. Using own meteorological (.txt) file2. ERA-5 reanalysis3. Weather Research and Forecasting (WRF) output files. Make sure that the filenames are formatted as wrfout_d0x_yyyy-mm-dd_hh_mm_ss or wrfout_d0x_yyyy-mm-dd_hh:mm:ss or wrfout_d0x_yyyy-mm-dd_hh. Preferred filename is wrfout_d0x_yyyy-mm-dd_hh_mm_ss as this works across operating systems. -- The 'Forcing_data' folder contains sample data for all forcing methods. Below are the examples to run the model with the sample data provided Example 1: WRF from solweig_gpu import thermal_comfort thermal_comfort( base_path='/path/to/input', selected_date_str='2020-08-13', building_dsm_filename='Building_DSM.tif', dem_filename='DEM.tif', trees_filename='Trees.tif', landcover_filename = None, tile_size =1000, overlap = 100, use_own_met=False, own_met_file='/path/to/met.txt', #Placeholfer as use_own_met = False start_time='2020-08-13 06:00:00', end_time= '2020-08-14 05:00:00', data_source_type ='wrfout', data_folder='/path/to/era5_or_wrfout', save_tmrt=False, #True if you want to save TMRT, likewise below save_svf=False, save_kup=False, save_kdown=False, save_lup=False, save_ldown=False, save_shadow=False) ** The model simulation date is 2020-08-13** The start and end dates provided to the model are 2020-08-13 06:00:00 UTC and 2020-08-14 05:00:00 UTC, respectively. These are start and end time of wrfout in UTC. In local time it is 2020-08-13 01:00:00 to 2020-08-13 23:00:00 (Austin, TX). UTC to local time conversion will be done internally. ** The tile_size depends on the RAM of the GPU but can be set to 1000 in the example. ** overlap is set to 100 pixels meaning the raster size will be 1100*1100 pixels. The additional 100 pixels are for shadow transfer between the tiles. Example 2: ERA5 ** For the ERA-5, the sample data provided is from 2020-08-13 06:00:00 UTC to 2020-08-13 23:00:00 UTC. So the simulation will run from 2020-08-13 01:00:00to 2020-08-13 18:00:00 local time (Austin, TX) from solweig_gpu import thermal_comfort thermal_comfort( base_path='/path/to/input', selected_date_str='2020-08-13', building_dsm_filename='Building_DSM.tif', dem_filename='DEM.tif', trees_filename='Trees.tif', landcover_filename = None, tile_size =1000, overlap = 100, use_own_met=False, own_met_file='/path/to/met.txt', #Placeholder as use_own_met=False start_time='2020-08-13 06:00:00', end_time= '2020-08-13 23:00:00', data_source_type='ERA5', data_folder='/path/to/era5_or_wrfout', save_tmrt=False, #True if you want to save TMRT, likewise below save_svf=False, save_kup=False, save_kdown=False, save_lup=False, save_ldown=False, save_shadow=False) Example 3: own met file from solweig_gpu import thermal_comfort thermal_comfort( base_path='/path/to/input', selected_date_str='2020-08-13', building_dsm_filename='Building_DSM.tif', dem_filename='DEM.tif', trees_filename='Trees.tif', landcover_filename = None, tile_size =1000, overlap = 100, use_own_met= True, own_met_file='/path/to/met.txt', start_time='2020-08-13 06:00:00', # Placeholder end_time= '2020-08-13 23:00:00', # Placeholder data_source_type='ERA5', # Placeholder data_folder='/path/to/era5_or_wrfout', # Placeholder save_tmrt=False, #True if you want to save TMRT, likewise below save_svf=False, save_kup=False, save_kdown=False, save_lup=False, save_ldown=False, save_shadow=False)
BibTeX
@inproceedings{kamath2026solweig,
  author = {Harsh Kamath and Naveen Sudharsan and Singh, Manmeet and Nils Wallenberg and Fredrik Lindberg and Dev Niyogi},
  title = {{SOLWEIG-GPU: GPU-Accelerated Thermal Comfort Modeling Framework}},
  booktitle = {Zenodo (CERN European Organization for Nuclear Research)},
  year = {2026},
  doi = {10.5281/zenodo.18283037},
}

Loading related content...

Figure