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

Revision history [back]

The first two lines indicate that you are applying the AddOutputDiagnostics measure (EnergyPlus measure category) when you simulate, and that it's expecting a string or text input but received something else like a number or blank input.

[23:28:51.948620 ERROR] undefined method getString for nil:NilClass C:/Users/taskiran/AppData/Local/Temp/osmodel-1609194148-0/resources/measures/AddOutputDiagnostics/measure.rb:132:in `run'

This is strange because the measure that you can download from the Building Component Library (BCL) using the link above is set up to have the user select one input from a drop-down window, preventing errors like this (see below).

image description

A few items could be causing your issue:

  • You don't have the Add Output Diagnostics measure installed (you won't find it in the Library panel on the right while viewing the Measures tab from my screenshot)
  • You may have a customized version of this Add Output Diagnostics measure installed with code bugs (it is in the Library panel on the right, but with a My next to its name instead of a BCL next to its name)
  • You have specified a diagnostic option to report that doesn't apply to the model