Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

How does "Save As" work in PAT 2.1?

asked 2017-07-13 09:42:00 -0600

mmiso gravatar image

updated 2017-08-20 14:54:06 -0600

I created more than 100 alternatives for one model to be calculated. The simulation succeeded.

Since I did not find appropriate measure, I had to change the model slightly and I had to repeat the calculation for the same amount of alternatives. Instead of repeating the procedure for the original model, of course I tried to Save project As...

After I changed the seed model to the updated one (not just in PAT GUI; I had to delete the original one in explorer too) I ran the new set of alternatives. Failure... :(

Can anyone advise? Thanks!

edit retag flag offensive close merge delete

Comments

What you did sounds right, so did you replace the seed model with another seed model of the same name? While I recommend using the GUI to addd multiple seeds and choose which you want to use, what you did should work. Can you provide more detail of what the error is? My guess is that whatever changed in the seed model exposed an error in one of the measures that your original sed model didn't hit.

David Goldwasser gravatar imageDavid Goldwasser ( 2017-07-13 10:01:47 -0600 )edit

As a general save as note, this can eat up hard drive space quickly since each copy saves simulation results from last run. When I do this, or when I use a version control repository, I delete the following directories from the older copies (clusters,data,localResults,logs, and the file named my_project.zip). All of these can be re-made by running the job again.

David Goldwasser gravatar imageDavid Goldwasser ( 2017-07-13 10:04:18 -0600 )edit

Thank you for the tips David,

The updated model had a different name. Originally I left both models in the seeds folder. The simulation would collapse before it even started. After I removed the original model, the server at least kicked in for a little while... the GUI gave me 0 warnings 0 errors for each alternative. Where do I locate an error log file?

mmiso gravatar imagemmiso ( 2017-07-13 10:18:02 -0600 )edit

@mmiso Please place your answer as an update to the question vs. as an answer. Looking at the measure instance with a period in the name "ph0.6" that might be problematic, try renaming it so there is no period. Did the job you sent that worked have a period in the measure instance name?

David Goldwasser gravatar imageDavid Goldwasser ( 2017-07-13 16:35:30 -0600 )edit

I was going to respond in the comment section, but could not figure out how to attach the screenshot...

I renamed the options and it still did not work. I noticed though, that when I started the simulation of the copied version, the localResults folder was not cleared (which was the case of the successful simulation). It just added sub-folders to already existing ones... seems like there is an error in "targeting". Would this be a hint? Seems to me like a minor change in one of those .json files...

Thank you very much!

mmiso gravatar imagemmiso ( 2017-07-14 08:45:56 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2017-07-13 10:40:01 -0600

@mmiso, based on your last comment, it sounds like you may have an EnergyPlus error, which I admit is represented a bit oddly in PAT. The screenshot below shows a design alternative with a status of "completed Fail", but there are no errors shown. In this case that is because the warnings and Errors for the EnergyPlus run don't bubble up to the summary row for the design alternative.

image description

To view EnergyPlus Errors and Warnings for a design alternative just click on "EnergyPlus Results" and scroll down past the warnings. As a note, this is also how you view warnings and errors and other messages on individual measures.

image description

You may consider re-naming to something like "Simulation didn't finish but no errors shown" instead of the saveAs. The saveAs I think is un-related to why your simulations are failing. Not sure why the server wasn't starting for you before you removed the extra file, next time add additional seeds via the GUI, it could have been an issue with an unexpected file.

edit flag offensive delete link more

Comments

@mmiso after more testing I field two issues related to SaveAs https://github.com/NREL/OpenStudio/is...https://github.com/NREL/OpenStudio/is...

Below are steps I have found should result in a clean SaveAs in OpenStudio 2.2.0

  1. Launch PAT and load Exiting Project
  2. Wait for Server to start
  3. SaveAs to new project
  4. Quit PAT
  5. Re-Launch PAT and load new Project (after launch, pat.json still has paths that refer to old project location)
  6. Click "Save" (this will update the paths to the measures within this project)
David Goldwasser gravatar imageDavid Goldwasser ( 2017-07-26 15:20:29 -0600 )edit
1

answered 2017-07-13 12:44:09 -0600

mmiso gravatar image

I am getting this:

image description

The energy plus icon is not grayed out, but clicking it does not give anything.

In the meantime I tried 2 smaller projects (3 alternatives and 9 alternatives using the same two models and the same measures). The first one worked, the second did not... Confusing. :)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2017-07-13 09:42:00 -0600

Seen: 43 times

Last updated: Jul 13