Example to use the ReplaceOpenstudioModel measure
Hey everyone, I've been running into a brick wall trying to get this measure to run inside of the Openstudio-analysis-spreadsheet in concert with the Openstudio-server. Has anyone run it successfully using this approach/approach, specifically setting it up on the spreadsheet and then passing it to the OpenStudio-server?
The server never likes the path that I am providing to it in the pivot array (I have a discrete set of strings that define the path to each seed model). I've provided the attachment of what my setup looks like in the spreadsheet.
Comments
Are you trying to use a recent 2.x AMI or 1.x?
great question @ljbrackney. Not sure I know the answer to that. I provision my OpenStudio-server linux machine using the dockerize workflow, using the dockerfile and docker-compose script on git. I'm not sure, is that an official AMI?
It sounds like you may be using 2.x code. One thought is that the measure may need to have its XML updated to 2.x. I haven't played with that measure since I use PAT to generate my JSONs and it handles multiple seeds a bit differently. I'll ping David or Brian to see if they have thoughts.
Thanks, that would be great! I'll ask to see what the correlation is between the dockerize branch and official AMI releases
The 2.x AMIs are built from the dockerize branch. I believe SOME of the later 1.x AMIs may have been built from it as well though.