First time here? Check our help page!
2

How to open early version from OpenStudio model

Can I do some change to open a OS model that was saved in a newer version of the OS?

I did not change in the model, only saved unintentionally in a newer version (1.12.6) and now I can not open in the most stable version (1.11).

Geraldo Pithon's avatar
1.3k
Geraldo Pithon
asked 2016-09-26 13:17:49 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2016-10-20 19:34:46 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

This is not at all supported, and is strongly discouraged, but if you open the "OSM" in a text editor you will see an "OS:Version" object. You can change the version to an older one and try to open it, but even if you didn't add any new objects, just the version translation to newer version of OpenStudio could have changed objects so that they won't open anymore in the older OpenStudio.

OS:Version,
{4804c508-91c8-4cc5-9813-cc5220711666}, !- Handle
1.12.1;                                 !- Version Identifier

If you get errors about specific objects when you try to open the back versioned file remove the offending objects with a text editor and try again. If you ever attempt editing an OSM with a text editor keep an un edited copy of the file so if the hand edited copy gets messed up you will still have a clean copy, even if it is with a newer version of OpenStudio than you want.

To avoid this in the future, saving multiple copies of your model as your design progresses is recommended. Some users even use a version control system.

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2016-09-26 14:19:47 -0500, updated 2016-09-26 14:42:54 -0500
edit flag offensive 0 remove flag delete link

Comments

"Strongly not discouraged" has one more negative than I think you meant. - Grammar Police.

ericringold's avatar ericringold (2016-09-26 14:24:32 -0500) edit

Thanks @Eric Ringold, I started with strongly not recommended, and then changed recommended to discouraged, and forgot to get rid of the 'not'.

David Goldwasser's avatar David Goldwasser (2016-09-26 14:43:44 -0500) edit

@David Goldwasser , thank you! I tryed this, but unfortunatly I won't can answer if it works, because when I saved the model in OS 1.12.6, immediately I go to the bug described here and still that I try to return the version to 1.11, the problem remains. Anyway, thank you very much.

Geraldo Pithon's avatar Geraldo Pithon (2016-09-27 14:46:00 -0500) edit
add a comment see more comments