First time here? Check out the Help page!
1 | initial version |
You probably did a bad copy paste from another measure. You should start fresh with a blank template (by click "Add New Measure" (the "+" sign) in the OS App on the Measures Tab).
Anyways, you probably copied from an EnergyPlus Measure (OpenStudio::Measure::EnergyPlusMeasure
), while this one is an OpenStudio Measure OpenStudio::Measure::ModelMeasure
The signature of your methods uses workspace
, that's why it can't find model
.
The standard form for an OpenStudio Measure is this:
def arguments(model)
def run(model, runner, user_arguments)
super(model, runner, user_arguments)