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

OpenStudio-standards weather file input

I tried to create DOE prototype building with specified climate (included in Openstudio-standards weather folder) but It did not work - the output file use Chicago as in.epw for running instead epw_file argument. Anyone can show me how to make input ?
Code:

building_type = "SmallOffice"
template = '90.1-2013'
climate_zone = 'ASHRAE 169-2006-5A'
epw_file = "USA_NY_Buffalo.Niagara.Intl.AP.725280_TMY3.epw"
build_dir = "#{draft_folder}/standard_draft"
@debug = true
Dir.mkdir(build_dir) unless Dir.exist?(build_dir)
 # Set OSM folder
 osm_directory = build_dir
 Dir.mkdir(osm_directory) unless Dir.exist?(osm_directory)
 prototype_creator = Standard.build("#{template}_#{building_type}")
 model = prototype_creator.model_create_prototype_model(climate_zone, epw_file, osm_directory, @debug, model)

[openstudio.EpwFile] <0> Successive data points (1986-Jan-31 to 1977-Feb-01, ending on line 753) are greater than 1 day apart in EPW file '/Users/kcu/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/openstudio-standards-0.2.10/data/weather/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw'. Data will be treated as typical (TMY)
[openstudio.setFileExtension] <0> Path p, '/Users/kcu/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/openstudio-standards-0.2.10/data/weather/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.ddy', has an unexpected file extension. Was expecting 'idf'.
[openstudio.model.YearDescription] <1> 'UseWeatherFile' is not yet a supported option for YearDescription
[openstudio.model.YearDescription] <1> 'UseWeatherFile' is not yet a supported option for YearDescription
"/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio" run -w "/Users/kcu/Desktop/Scripting/NREL_Work/75F/Khanh_owned/ScoreCard/Draft/standard_draft/SR1/in.osw"
INFO: Model name is now -SmallOffice-ASHRAE 169-2006-5A created: 2020-01-13 12:37:09 -0800.

OpenStudio-standards weather file input

I tried to create DOE prototype building with specified climate (included in Openstudio-standards weather folder) but It did not work - the output file use Chicago uses Chicago as in.epw for running instead epw_file argument. Anyone can show me how to make input ?
Code:

building_type = "SmallOffice"
template = '90.1-2013'
climate_zone = 'ASHRAE 169-2006-5A'
epw_file = "USA_NY_Buffalo.Niagara.Intl.AP.725280_TMY3.epw"
build_dir = "#{draft_folder}/standard_draft"
@debug = true
Dir.mkdir(build_dir) unless Dir.exist?(build_dir)
 # Set OSM folder
 osm_directory = build_dir
 Dir.mkdir(osm_directory) unless Dir.exist?(osm_directory)
 prototype_creator = Standard.build("#{template}_#{building_type}")
 model = prototype_creator.model_create_prototype_model(climate_zone, epw_file, osm_directory, @debug, model)

[openstudio.EpwFile] <0> Successive data points (1986-Jan-31 to 1977-Feb-01, ending on line 753) are greater than 1 day apart in EPW file '/Users/kcu/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/openstudio-standards-0.2.10/data/weather/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw'. Data will be treated as typical (TMY)
[openstudio.setFileExtension] <0> Path p, '/Users/kcu/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/openstudio-standards-0.2.10/data/weather/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.ddy', has an unexpected file extension. Was expecting 'idf'.
[openstudio.model.YearDescription] <1> 'UseWeatherFile' is not yet a supported option for YearDescription
[openstudio.model.YearDescription] <1> 'UseWeatherFile' is not yet a supported option for YearDescription
"/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio" run -w "/Users/kcu/Desktop/Scripting/NREL_Work/75F/Khanh_owned/ScoreCard/Draft/standard_draft/SR1/in.osw"
INFO: Model name is now -SmallOffice-ASHRAE 169-2006-5A created: 2020-01-13 12:37:09 -0800.

OpenStudio-standards weather file input

I tried to create DOE prototype building with specified climate (included in Openstudio-standards weather folder) but It did not work - the output file uses Chicago as in.epw for running instead epw_file argument. Anyone can show me how to make input ?
Code:

building_type = "SmallOffice"
template = '90.1-2013'
climate_zone = 'ASHRAE 169-2006-5A'
epw_file = "USA_NY_Buffalo.Niagara.Intl.AP.725280_TMY3.epw"
build_dir = "#{draft_folder}/standard_draft"
@debug = true
Dir.mkdir(build_dir) unless Dir.exist?(build_dir)
 # Set OSM folder
 osm_directory = build_dir
 Dir.mkdir(osm_directory) unless Dir.exist?(osm_directory)
 prototype_creator = Standard.build("#{template}_#{building_type}")
 model = prototype_creator.model_create_prototype_model(climate_zone, epw_file, osm_directory, @debug, model)

[openstudio.EpwFile] <0> Successive data points (1986-Jan-31 to 1977-Feb-01, ending on line 753) are greater than 1 day apart in EPW file '/Users/kcu/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/openstudio-standards-0.2.10/data/weather/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw'. Data will be treated as typical (TMY)
[openstudio.setFileExtension] <0> Path p, '/Users/kcu/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/openstudio-standards-0.2.10/data/weather/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.ddy', has an unexpected file extension. Was expecting 'idf'.
[openstudio.model.YearDescription] <1> 'UseWeatherFile' is not yet a supported option for YearDescription
[openstudio.model.YearDescription] <1> 'UseWeatherFile' is not yet a supported option for YearDescription
"/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio" run -w "/Users/kcu/Desktop/Scripting/NREL_Work/75F/Khanh_owned/ScoreCard/Draft/standard_draft/SR1/in.osw"
"/Users/kcu/Desktop/Scripting/ScoreCard/Draft/standard_draft/SR1/in.osw"
INFO: Model name is now -SmallOffice-ASHRAE 169-2006-5A created: 2020-01-13 12:37:09 -0800.