Reading SQL on RoomEnergyResult fails

Hi ( @chris ),
I want to read SQL simulation results from an existing SQL file. For that purpose I wrote a script that specifies the location of the file. Sadly this is the error I get in the HB_RoomEnergyResult:

Runtime error (AssertionException): C:\WorkingFolder\Courses\Simulations\TirgulSimulations\BUA\Simulation_No_Context\Buil_Res_0\openstudio\run\eplusout.sql is not an SQL file ending in .sql or .db.

line 44, in init, “C:\Program Files\ladybug_tools\python\Lib\site-packages\ladybug\”
line 169, in script

If I connect the very same file out of the RunOSW component it works just fine.

I assume, then, that there is some coding or similar issue that is not recognized when using non HB components.

Will appreciate your help here!!

Some update, see image:

Providing the sql path with the script fails but providing it searching for the path works fine.
You can see both paths are identical.
What am I missing?


1 Like

Found the error. I’ve left a space a t the end of the path.

1 Like