Measures/m_1_example_1_whole_building_average_zone_air_temperature/measure.rb
# define the arguments that the user will input
define the arguments that the user will input
define the arguments that the user will input
def arguments(model)
    args = OpenStudio::Measure::OSArgumentVector.new
	verbose_info_statements = OpenStudio::Ruleset::OSArgument::makeBoolArgument("verbose_info_statements", false)
	verbose_info_statements.setDisplayName("Check to allow measure to generate verbose runner.registerInfo statements.")
	verbose_info_statements.setDefaultValue(false)
	args << verbose_info_statements
    chs = OpenStudio::StringVector.new
    chs << 'None'
    chs << 'NotByUniqueNames'
    chs << 'Verbose'
    internal_VariableAvailabilityDictionaryReporting = OpenStudio::Measure::OSArgument.makeChoiceArgument('internal_VariableAvailabilityDictionaryReporting', chs, true)
    internal_VariableAvailabilityDictionaryReporting.setDisplayName('Level of output reporting related to the EMS internal variables that are available.')
    internal_VariableAvailabilityDictionaryReporting.setDefaultValue('None')
    args << internal_VariableAvailabilityDictionaryReporting
    chs = OpenStudio::StringVector.new
    chs << 'None'
    chs << 'ErrorsOnly'
    chs << 'Verbose'
    ems_RuntimeLanguageDebugOutputLevel = OpenStudio::Measure::OSArgument.makeChoiceArgument('ems_RuntimeLanguageDebugOutputLevel', chs, true)
    ems_RuntimeLanguageDebugOutputLevel.setDisplayName('Level of output reporting related to the execution of EnergyPlus Runtime Language, written to .edd file.')
    ems_RuntimeLanguageDebugOutputLevel.setDefaultValue('None')
    args << ems_RuntimeLanguageDebugOutputLevel
    chs = OpenStudio::StringVector.new
    chs << 'None'
    chs << 'NotByUniqueNames'
    chs << 'Verbose'
    actuator_AvailabilityDictionaryReporting = OpenStudio::Measure::OSArgument.makeChoiceArgument('actuator_AvailabilityDictionaryReporting', chs, true)
    actuator_AvailabilityDictionaryReporting.setDisplayName('Level of output reporting related to the EMS actuators that are available.')
    actuator_AvailabilityDictionaryReporting.setDefaultValue('None')
    args << actuator_AvailabilityDictionaryReporting
    return args
  end
def arguments ( model ) args = OpenStudio :: Measure :: OSArgumentVector . new verbose_info_statements = OpenStudio :: Ruleset :: OSArgument :: makeBoolArgument ( "verbose_info_statements" , false ) verbose_info_statements . setDisplayName ( "Check to allow measure to generate verbose runner.registerInfo statements." ) verbose_info_statements . setDefaultValue ( false ) args << verbose_info_statements chs = OpenStudio :: StringVector . new chs << 'None' chs << 'NotByUniqueNames' chs << 'Verbose' internal_VariableAvailabilityDictionaryReporting = OpenStudio :: Measure :: OSArgument . makeChoiceArgument ( 'internal_VariableAvailabilityDictionaryReporting' , chs , true ) internal_VariableAvailabilityDictionaryReporting . setDisplayName ( 'Level of output reporting related to the EMS internal variables that are available.' ) internal_VariableAvailabilityDictionaryReporting . setDefaultValue ( 'None' ) args << internal_VariableAvailabilityDictionaryReporting chs = OpenStudio :: StringVector . new chs << 'None' chs << 'ErrorsOnly' chs << 'Verbose' ems_RuntimeLanguageDebugOutputLevel = OpenStudio :: Measure :: OSArgument . makeChoiceArgument ( 'ems_RuntimeLanguageDebugOutputLevel' , chs , true ) ems_RuntimeLanguageDebugOutputLevel . setDisplayName ( 'Level of output reporting related to the execution of EnergyPlus Runtime Language, written to .edd file.' ) ems_RuntimeLanguageDebugOutputLevel . setDefaultValue ( 'None' ) args << ems_RuntimeLanguageDebugOutputLevel chs = OpenStudio :: StringVector . new chs << 'None' chs << 'NotByUniqueNames' chs << 'Verbose' actuator_AvailabilityDictionaryReporting = OpenStudio :: Measure :: OSArgument . makeChoiceArgument ( 'actuator_AvailabilityDictionaryReporting' , chs , true ) actuator_AvailabilityDictionaryReporting . setDisplayName ( 'Level of output reporting related to the EMS actuators that are available.' ) actuator_AvailabilityDictionaryReporting . setDefaultValue ( 'None' ) args << actuator_AvailabilityDictionaryReporting return args end
define the arguments that the user will input
define the arguments that the user will input
# Add a check box for specifying verbose info statements # make a choice argument for setting InternalVariableAvailabilityDictionaryReporting value # make a choice argument for setting EMSRuntimeLanguageDebugOutputLevel value # make a choice argument for setting ActuatorAvailabilityDictionaryReporting value
model
<not_specific>