samuelduchesne/archetypal

Same results are returned when `output_directory` is specified in run_eplus()

Closed this issue · 0 comments

When the output_directory attribute is specified in run_eplus and that multiple idfs are run sequentially, the first result is return for all runs.

eg.:

idfs = [
    Path("archetypes/NECB 2011/NECB 2011 - Retail Standalone.idf"),
    Path("archetypes/NECB 2011/NECB 2011 - Large Office.idf"),
    Path("archetypes/NECB 2011/NECB 2011 - MidRise Apartment.idf"),
]
res = {
  name.basename(): ar.run_eplus(
     eplus_file=name,
     weather_file=weather_file,
     output_directory=output,
     prep_outputs=True,
     design_day=True,
     output_report="htm",
  )
  for name in idfs
}

will produce de same values for each element of res