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

Revision history [back]

Create DOE Prototype Building measure run in CLI

I modify the compact.osw (shown in Figure) of the example in OpenStudio 2.1, and put the measure, "Create DOE Prototype Building" into the folder ("measure"). When I run CLI according to the instruction, I cannot get the results of simulation. Do I do the work incorrect? Could someone provide me a case that can be successful to modify the model into other prototype building models? image description

Create DOE Prototype Building measure run in CLI

I modify the compact.osw (shown in Figure) of the example in OpenStudio 2.1, and put the measure, "Create DOE Prototype Building" into the folder ("measure"). When I run CLI according to the instruction, I cannot get the results of simulation. Do I do the work incorrect? Could someone provide me a case that can be successful to modify the model into other prototype building models? image description

The error is pasted below: Error: 419: unexpected token at '{ "measure_dir_name": "CreateDOEPrototypeBuilding", "arguments": { "building_type": 'SmallOffice', "template_chs": '90.1-2004', "climate_zone": 'ASHRAE 169-2006-5A' } } ] } ' Backtrace: :/ruby/2.2.0/json/common.rb:155:in parse' :/ruby/2.2.0/json/common.rb:155:inparse' :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/adapters/input/local.rb:32:in initialize' :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:119:innew' :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:119:in initialize' :/openstudio_cli.rb:799:innew' :/openstudio_cli.rb:799:in execute' :/openstudio_cli.rb:620:inexecute' :/openstudio_cli.rb:1515:in <main>' eval:85:ineval' eval:85:in require_embedded_absolute' eval:70:inblock in require' eval:64:in each' eval:64:inrequire' eval:2:in `<main>' Exception: 419: unexpected token at '{ "measure_dir_name": "CreateDOEPrototypeBuilding", "arguments": { "building_type": 'SmallOffice', "template_chs": '90.1-2004', "climate_zone": 'ASHRAE 169-2006-5A' } } ] } ' <main>: unexpected return

Create DOE Prototype Building measure run in CLI

I modify the compact.osw (shown in Figure) of the example in OpenStudio 2.1, and put the measure, "Create DOE Prototype Building" into the folder ("measure"). When I run CLI according to the instruction, I cannot get the results of simulation. Do I do the work incorrect? Could someone provide me a case that can be successful to modify the model into other prototype building models? image description

The error is pasted below: Error: 419: unexpected token at '{ "measure_dir_name": "CreateDOEPrototypeBuilding", "arguments": { "building_type": 'SmallOffice', "template_chs": '90.1-2004', "climate_zone": 'ASHRAE 169-2006-5A' } } ] } ' Backtrace: :/ruby/2.2.0/json/common.rb:155:in parse' :/ruby/2.2.0/json/common.rb:155:inparse' :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/adapters/input/local.rb:32:in initialize' :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:119:innew' :/ruby/2.2.0/gems/openstudio-workflow-1.2.1/lib/openstudio/workflow/run.rb:119:in initialize' :/openstudio_cli.rb:799:innew' :/openstudio_cli.rb:799:in execute' :/openstudio_cli.rb:620:inexecute' :/openstudio_cli.rb:1515:in <main>' eval:85:ineval' eval:85:in require_embedded_absolute' eval:70:inblock in require' eval:64:in each' eval:64:inrequire' eval:2:in `<main>' Exception: 419: unexpected token at '{ "measure_dir_name": "CreateDOEPrototypeBuilding", "arguments": { "building_type": 'SmallOffice', "template_chs": '90.1-2004', "climate_zone": 'ASHRAE 169-2006-5A' } } ] } ' <main>: unexpected returnimage description

Create DOE Prototype Building measure run in CLI

I modify the compact.osw (shown in Figure) of the example in OpenStudio 2.1, and put the measure, "Create DOE Prototype Building" into the folder ("measure"). When I run CLI according to the instruction, I cannot get the results of simulation. Do I do the work incorrect? Could someone provide me a case that can be successful to modify the model into other prototype building models? image descriptionimage description

The error is pasted below: image descriptionimage description