Openstudio crashing: invalid weather file - all measures gone - simulation fails

asked 2018-08-18 07:11:57 -0500

updated 2018-08-23 12:15:00 -0500

I worked on my .osm file, gathered results.. everything was fine, and then when I reopened the .osm file (without changing anything) I had this message that popped up image description So I reloaded the weather file, and checked all the tabs to see if something else has changed, and realised that all the measures were not there anymore, so I reloaded the measures and ran it ... but it failed , I could though fix the error but I don't know why is this happening and affecting the work (by generating errors)

Does anyone know anything about that? and mostly how to avoid this kind of crashing ?

edit retag flag offensive close merge delete

Comments

@Raghda Derbel any chance that you saved the file using Save As instead of Save? Or maybe you copy the osm file to different location?

Avi's avatar Avi  ( 2018-08-20 02:40:22 -0500 )edit

I do that often, when I want to register a backup, but when this happened it was on the same last file I worked on (and ran it). But is it a problem if I use Save As, and also if I choose a different location? If so, what should I do when I want save a backup/copy of my work? Thanks :)

Raghda Derbel's avatar Raghda Derbel  ( 2018-08-20 03:29:13 -0500 )edit

@Raghda Derbel It is safe to save as. It iscnot safe to copy the osmbfile and paste it to a different location

Avi's avatar Avi  ( 2018-08-20 04:04:32 -0500 )edit

Ah okay! No I didn't copy and past it, It was always via 'save as'.

Raghda Derbel's avatar Raghda Derbel  ( 2018-08-20 04:17:29 -0500 )edit

@Raghda Derbel Could you duplicate that issue or was it one time thing?

Avi's avatar Avi  ( 2018-08-20 07:10:22 -0500 )edit

It happened to me two times (suddenly without changing anything in the parameters), the first time I just had to reload the weather file and the measures and it ran successfully, and the second time after reloading them, the simulation failed, so I had to fix the error so it could run.

Raghda Derbel's avatar Raghda Derbel  ( 2018-08-20 07:37:50 -0500 )edit
1

I have seen this error happen when I move the OSM file to another location without the associated folder. The folder with the same name as the OSM file holds the weather file and measure information, so make sure both of those are moved together, or they have the same names.

Ken Takahashi's avatar Ken Takahashi  ( 2018-08-21 20:54:13 -0500 )edit

@Raghda Derbel let me know if you have a way to reproduce this. Just out of interest are you working on a network drive, or a drive that is backed up to cloud service like Dropbox or Google Drive?

For some reason when you open the OSM it is acting like the directory of the same name as your osm isn't there. That would explain it not finding the weather file and the measures. I have not seen this before.

David Goldwasser's avatar David Goldwasser  ( 2018-09-13 11:59:27 -0500 )edit

@David Goldwasser, No I am not working from a drive, and it has not happened since. But I will certainly let you know if it happens again.

Raghda Derbel's avatar Raghda Derbel  ( 2018-09-14 03:39:11 -0500 )edit