@macumber was on the right track with a nil value being passed into the log message. The cause for this is that the AEDG measures (school and office) both have space type specific recommendations for lighting controls. Your two space types use "WholeBuilding - Sm Office" for the standards space type. As a result no lights are found that the measure can make a recommendation for. The measure should behave better and issue a not applicable warning, that no lights of the appropriate space types were found, and that the model wont' be altered, I'll file an issue to fix that. It will likely affect the lighting and equipment controls AEDG measures for schools and offices.
If you change the standards space types instead to "ClosedOffice" or "OpenOffice" the measure should run fine. Ideally if you break the building down by space type showing spaces such as corridors, lobbies, etc. you will get more specific recommendations.
The template SpaceTypes in OpenStudio are pre-popluated with the standard building type and space type names. You can add these to space types you make as well in the "Measure Tags" view of the space types grid-view. Shown below are the office standards space types from our templates.
I also noticed on the facility tab that the "Standard Building Type" for the building was blank. Some measure, in particular the AEDG exterior light measures will need to know that to function properly. It doesn't attempt to infer it from space types in the building which may include types from more than one building. As mentioned earlier, the whole building options don't work well for some of the AEDG measures (including lighting and equipment controls). I'll investigate if there are recommended values to use, and what other measures might have issues with whole building space types.
@MattStewart, do you mind sending the model to OpenStudio@NREL.gov. I'm not sure what the issue is but I should be able to duplicate the error and fix it.
If you look at line 187 of the measure you will see this line:
I'd bet existMax is empty and toNeatString doesn't handle nil being passed in. Since this line is just information about the initial model, I'd suggest you comment it out (add a '#' symbol before "runner") and try again.
Dan, Did not work. I tried what you suggested to no avail. Same error returned. Matt
Also, @MattStewart please use the naming convention for question tags by separating them into a discrete key word or words separated by
-
, not a long phrase separated by_
. Thanks.Got your model. I'll look at it this afternoon.