Skip to content

Commit

Permalink
0.7.3 - testing accim custom param analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanchez-garcia committed Apr 5, 2024
1 parent 20c0f8e commit 42cc721
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions accim/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ def modify_timesteps(idf_object, timesteps: int):
print(f'Number of Timesteps per Hour was previously set to '
f'{timestep_prev} days, and it has been modified to {timesteps} days.')

def modify_timesteps_path(idfpath, timesteps: int):
from besos.eppy_funcs import get_building
building = get_building(idfpath)
modify_timesteps(idf_object=building, timesteps=timesteps)
building.save()

def reduce_runtime(
idf_object,
minimal_shadowing: bool = True,
Expand Down

0 comments on commit 42cc721

Please # to comment.