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

Revision history [back]

click to hide/show revision 1
initial version

Measure error when loading into the OS GUI with Measure Internalization

Hello All,

I'm getting the following error in my measure.xml file when I open the measure in the OS GUI.

<error>wrong number of arguments (1 for 2)</error>

My all my tests in my test.rb pass without an issue. I started getting this error after I added Measure Internalization to check unit preference as described in the measure writing guide (https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#assertions). When I remove this code from my measure, it opens in the GUI just fine. Is this feature not supported in the GUI?

# I'm passing the runner into my arguments definition so i can check units preference
def arguments(model,runner)

Thank, Anna

Measure error when loading into the OS GUI with Measure Internalization

Hello All,

I'm getting the following error in my measure.xml file when I open the measure in the OS GUI.

<error>wrong number of arguments (1 for 2)</error>

My all my tests in my test.rb pass without an issue. I started getting this error after I added Measure Internalization to check unit preference as described in the measure writing guide (https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#assertions). When I remove this code from my measure, it opens in the GUI just fine. Is this feature not supported in the GUI?

# I'm passing the runner into my arguments definition so i can check units preference
def arguments(model,runner)

Thank, Thanks, Anna

Measure error when loading into the OS GUI with Measure Internalization

Hello All,

I'm getting the following error in my measure.xml file when I open the measure in the OS GUI.

<error>wrong number of arguments (1 for 2)</error>

My all my tests in my test.rb pass without an issue. I started getting this error after I added Measure Internalization to check unit preference as described in the measure writing guide (https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#assertions). When I remove this code from my measure, it opens in the GUI just fine. Is this feature not supported in the GUI?

# I'm passing the runner into my arguments definition so i can check units preference
def arguments(model,runner)

Thanks, Anna

Measure error when loading into the OS GUI with Measure Internalization

Hello All,

I'm getting the following error in my measure.xml measure.xml file when I open the measure in the OS GUI.

<error>wrong number of arguments (1 for 2)</error>

My all my tests in my test.rb test.rb pass without an issue. I started getting this error after I added Measure Internalization to check unit preference as described in the measure writing guide (https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#assertions). guide. When I remove this code from my measure, it opens in the GUI just fine. Is this feature not supported in the GUI?

# I'm passing the runner into my arguments definition so i can check units preference
def arguments(model,runner)

Thanks, Anna