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 2024-04-28 21:50:19 -0600

Mike117's avatar

updated 2024-04-29 09:08:45 -0600

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

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2024-04-29 09:12:16 -0600

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.

edit flag offensive delete link more

Comments

Thank you! I did just that and it works.

Mike117's avatar Mike117  ( 2024-05-01 22:34:22 -0600 )edit

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: 2024-04-28 21:50:19 -0600

Seen: 169 times

Last updated: May 01