1

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

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

image description

Mike117's avatar
105
Mike117
asked 2024-04-28 21:50:19 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2024-04-29 09:08:45 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

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.

ericringold's avatar
10.6k
ericringold
answered 2024-04-29 09:12:16 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you! I did just that and it works.

Mike117's avatar Mike117 (2024-05-01 22:34:22 -0500) edit
add a comment see more comments