First time here? Check out the Help page!

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

Why do I get a SWIG director method error when I try to apply the Energyplus - Add output diagnostic measure?

asked Apr 29

Mike117's avatar

updated Apr 29

The following is the Starting State EnergyPlusMeasures section from the stdout file:

image description

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered Apr 29

The measure is trying to tell you that your model already has an OutputDiagnostics object with the selection you are trying to add again, but the line is trying to access a variable new_diagnostic that hasn't been created in that branch of the code, so it's value is nil thus the getString method is undefined.

It's a bug in the measure, but you can just remove the measure from your workflow becasue the output it's trying to add has already been added.

Preview: (hide)
link

Comments

Thank you! I did just that and it works.

Mike117's avatar Mike117  ( May 2 )

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: Apr 29

Seen: 190 times

Last updated: May 01 '24