Trouble setting baseline model in PAT
When attempting to select my baseline model in the Parametric Analysis Tool (PAT), I receive the following error:
Unhandled Exception
An unhandled exception has occurred.
boost::filesystem::copy_file: Acess is denied: "C:/Users...\test.osm", "C:/Users...\PATtest\seed\test.osm"
When I check the "seed" folder, however, I do see that the "test.osm" file has been copied over. Any suggestions would be greatly appreciated.
Sorry for the problems you are seeing. I have a few questions.
Thank you David,
I have tried to update the OS 1.7.0 models to OS 1.8.0 by opening OS, allowing the update to occur and saving the file, but the saved file remains OS 1.7.0.
Thanks David,
Unfortunately, that doesn't seem to help.
Best, Ethan
The error message "access denied" might be literal. Can you verify that the location of the PAT project is writable? Perhaps try creating a new PAT project on your desktop or some location that you can be 100% certain is writable.
I agree with Kyle, I suspect the issue is that the seed osm in the PAT project was set previously but then became locked. Can you delete the seed osm in your PAT project's directory?
Kyle and macumber, Thank you for your help. Unfortunately neither of those issues seem to help. So far, the only luck I've had is running .osm files that have been converted to OS 1.8.0 successfully. All the .osm files that remain OS 1.7.0 seem to have this issue. As such, is there a way to upgrade the old 1.7.0 files to 1.8.0?
Certainly. Just open the osm file in the OpenStudio app (1.8.0) and save it back out. OpenStudio App automatically does the version update when you open a file. PAT should be doing this too, but if you want to troubleshoot I'd start with upgrading the model with the OS App and going from there.
Kyle,
For some reason (and maybe this is an entirely different issue), when I try to save a 1.7.0 file as you suggested, it doesn't save over the old file. Even if I "Save as" a new filename altogether, the file remains 1.7.0. As a double check, when I check the file properties after saving, the "Date modified" doesn't change at all, leaving me to believe the changes are not actually getting saved. Additionally, after I save, close OS and open the file again, I receive the message that the file is updated to 1.8.0 all over again.