some reorganization of files to clarify the processes

This commit is contained in:
Pilar 2021-08-31 16:16:21 -04:00
parent 383a397719
commit 6488a6690d

View File

@ -21,9 +21,10 @@ class SimplifiedRadiosityAlgorithm:
"""
SimplifiedRadiosityAlgorithm factory class
"""
# todo: define executable as configurable parameter
# _executable = 'citysim_sra' # for linux
_executable = 'shortwave_integer' # for windows
if os.name == 'nt':
_executable = 'shortwave_integer' # for windows
elif os.name == 'posix':
_executable = 'citysim_sra' # for linux / mac
def __init__(self, city, sra_working_path, weather_file_name):
self._city = city