Skip to content

Commit

Permalink
Merge pull request #234 from NREL/3.5.0-rc1
Browse files Browse the repository at this point in the history
updates for OS SDK 3.5.0-rc1
  • Loading branch information
tijcolem authored Oct 28, 2022
2 parents d36a2cd + 8a3a7a3 commit 2f0a0e3
Show file tree
Hide file tree
Showing 42 changed files with 75 additions and 75 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.14.0)
cmake_policy(SET CMP0048 NEW)

project(ParametricAnalysisTool VERSION 3.4.0)
project(ParametricAnalysisTool VERSION 3.5.0)

find_package(Git)

Expand Down
4 changes: 2 additions & 2 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"productName": "ParametricAnalysisTool",
"identifier": "gov.nrel.openstudio.pat",
"description": "OpenStudio Parametric Analysis Tool",
"version": "3.4.0",
"version": "3.5.0",
"author": "National Renewable Energy Laboratory",
"main": "background.js",
"dependencies": {
Expand Down
18 changes: 9 additions & 9 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"endpoint": "https://openstudio-resources.s3.amazonaws.com/pat-dependencies3/",
"energyplus": [{
"name": "EnergyPlus-22.1.0-win32.tar.gz",
"name": "EnergyPlus-22.2.0-win32.tar.gz",
"platform": "win32",
"arch": "x64",
"type": "energyplus"
}, {
"name": "EnergyPlus-22.1.0-darwin.tar.gz",
"name": "EnergyPlus-22.2.0-darwin.tar.gz",
"platform": "darwin",
"arch": "x64",
"type": "energyplus"
}, {
"name": "EnergyPlus-22.1.0-linux.tar.gz",
"name": "EnergyPlus-22.2.0-linux.tar.gz",
"platform": "linux",
"arch": "x64",
"type": "energyplus"
Expand Down Expand Up @@ -60,33 +60,33 @@
"type": "mongo"
}],
"openstudio": [{
"name": "OpenStudio-3.4.0-Windows.tar.gz",
"name": "OpenStudio-3.5.0-rc1-Windows.tar.gz",
"platform": "win32",
"arch": "x64",
"type": "openstudio"
}, {
"name": "OpenStudio-3.4.0-Darwin.tar.gz",
"name": "OpenStudio-3.5.0-rc1-Darwin.tar.gz",
"platform": "darwin",
"arch": "x64",
"type": "openstudio"
}, {
"name": "OpenStudio-3.4.0-Linux.tar.gz",
"name": "OpenStudio-3.5.0-rc1-Linux.tar.gz",
"platform": "linux",
"arch": "x64",
"type": "OpenStudio"
}],
"openstudioServer": [{
"name": "OpenStudio-server-88db5b902e-win32.tar.gz",
"name": "OpenStudio-server-a98b4b3dff-win32.tar.gz",
"platform": "win32",
"arch": "x64",
"type": "OpenStudio-server"
}, {
"name": "OpenStudio-server-88db5b902e-darwin.tar.gz",
"name": "OpenStudio-server-a98b4b3dff-darwin.tar.gz",
"platform": "darwin",
"arch": "x64",
"type": "OpenStudio-server"
}, {
"name": "OpenStudio-server-88db5b902e-linux.tar.gz",
"name": "OpenStudio-server-a98b4b3dff-linux.tar.gz",
"platform": "linux",
"arch": "x64",
"type": "OpenStudio-server"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openstudio-pat",
"version": "3.4.0",
"version": "3.5.0",
"devDependencies": {
"@babel/core": "~7.19.1",
"@babel/eslint-parser": "~7.19.1",
Expand Down
Binary file modified sample_projects/Office_HVAC/Office_HVAC.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,4 @@ def run(model, runner, user_arguments)
end #end the measure

#this allows the measure to be used by the application
AedgOfficeHvacRadiantDoas.new.registerWithApplication
AedgOfficeHvacRadiantDoas.new.registerWithApplication
Original file line number Diff line number Diff line change
Expand Up @@ -461,4 +461,4 @@ def OsLib_AedgMeasures.getSmMdOffTips

end #end of OsLib_AedgMeasures.getSmMdOffTips

end # end of module OsLib_AedgMeasures
end # end of module OsLib_AedgMeasures
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@ def OsLib_Constructions.getConstructionSRI(construction)
return result
end # end of OsLib_Constructions.getConstructionSRI

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ def OsLib_Geometry.lowerSurfaceZvalue(surfaceArray, zValueTarget)
end


end
end
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ def OsLib_HVAC.createPrimaryAirLoops(model, runner, options)
# create air loop fan
if options["primaryHVAC"]["fan"] == "Variable"
# create variable speed fan and set system sizing accordingly
sizing_system.setMinimumSystemAirFlowRatio(0.3) #DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) #DCV
# variable speed fan
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.69)
Expand All @@ -822,7 +822,7 @@ def OsLib_HVAC.createPrimaryAirLoops(model, runner, options)
fan.setMotorInAirstreamFraction(1.0)
air_loop_comps << fan
else
sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
# constant speed fan
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.6)
Expand Down Expand Up @@ -1078,13 +1078,13 @@ def OsLib_HVAC.createSecondaryAirLoops(model, runner, options)
sizing_system.setTypeofLoadtoSizeOn("Sensible") #PSZ
sizing_system.setAllOutdoorAirinCooling(false) #PSZ
sizing_system.setAllOutdoorAirinHeating(false) #PSZ
sizing_system.setMinimumSystemAirFlowRatio(1.0) #Constant volume fan
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) #Constant volume fan
air_loop_comps = []
# set availability schedule (HVAC operation schedule)
airloop_secondary.setAvailabilitySchedule(options["hvac_schedule"])
if options["secondaryHVAC"]["fan"] == "Variable"
# create variable speed fan and set system sizing accordingly
sizing_system.setMinimumSystemAirFlowRatio(0.3) #DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) #DCV
# variable speed fan
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.69)
Expand All @@ -1095,7 +1095,7 @@ def OsLib_HVAC.createSecondaryAirLoops(model, runner, options)
fan.setMotorInAirstreamFraction(1.0)
air_loop_comps << fan
else
sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
# constant speed fan
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.6)
Expand Down Expand Up @@ -1633,4 +1633,4 @@ def OsLib_HVAC.addDCV(model, runner, options)
end
end # end of def

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ def OsLib_HelperMethods.checkDoubleArguments(runner, min, max, argumentHash)
# OpenStudio has built in helper for unit conversion. That can be done using OpenStudio::convert() as shown below.
# OpenStudio::convert(double,"from unit string","to unit string").get

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ def OsLib_LightingAndEquipment.addExteriorLights(model,runner, options = {})

end #end of OsLib_LightingAndEquipment.addExteriorLights

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ def OsLib_Schedules.createComplexSchedule(model, options = {})

end #end of OsLib_Schedules.createComplexSchedule

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ def test_XcelEDATariffSelectionandModelSetup_good_model

end

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,4 @@ def run(model, runner, user_arguments)
end #end the measure

#this allows the measure to be used by the application
AedgOfficeHvacVavChW.new.registerWithApplication
AedgOfficeHvacVavChW.new.registerWithApplication
Original file line number Diff line number Diff line change
Expand Up @@ -461,4 +461,4 @@ def OsLib_AedgMeasures.getSmMdOffTips

end #end of OsLib_AedgMeasures.getSmMdOffTips

end # end of module OsLib_AedgMeasures
end # end of module OsLib_AedgMeasures
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@ def OsLib_Constructions.getConstructionSRI(construction)
return result
end # end of OsLib_Constructions.getConstructionSRI

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ def OsLib_Geometry.lowerSurfaceZvalue(surfaceArray, zValueTarget)
end


end
end
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ def OsLib_HVAC.createPrimaryAirLoops(model, runner, options)
# create air loop fan
if options["primaryHVAC"]["fan"] == "Variable"
# create variable speed fan and set system sizing accordingly
sizing_system.setMinimumSystemAirFlowRatio(0.3) #DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) #DCV
# variable speed fan
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.69)
Expand All @@ -822,7 +822,7 @@ def OsLib_HVAC.createPrimaryAirLoops(model, runner, options)
fan.setMotorInAirstreamFraction(1.0)
air_loop_comps << fan
else
sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
# constant speed fan
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.6)
Expand Down Expand Up @@ -1078,13 +1078,13 @@ def OsLib_HVAC.createSecondaryAirLoops(model, runner, options)
sizing_system.setTypeofLoadtoSizeOn("Sensible") #PSZ
sizing_system.setAllOutdoorAirinCooling(false) #PSZ
sizing_system.setAllOutdoorAirinHeating(false) #PSZ
sizing_system.setMinimumSystemAirFlowRatio(1.0) #Constant volume fan
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) #Constant volume fan
air_loop_comps = []
# set availability schedule (HVAC operation schedule)
airloop_secondary.setAvailabilitySchedule(options["hvac_schedule"])
if options["secondaryHVAC"]["fan"] == "Variable"
# create variable speed fan and set system sizing accordingly
sizing_system.setMinimumSystemAirFlowRatio(0.3) #DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) #DCV
# variable speed fan
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.69)
Expand All @@ -1095,7 +1095,7 @@ def OsLib_HVAC.createSecondaryAirLoops(model, runner, options)
fan.setMotorInAirstreamFraction(1.0)
air_loop_comps << fan
else
sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
# constant speed fan
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.6)
Expand Down Expand Up @@ -1633,4 +1633,4 @@ def OsLib_HVAC.addDCV(model, runner, options)
end
end # end of def

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ def OsLib_HelperMethods.checkDoubleArguments(runner, min, max, argumentHash)
# OpenStudio has built in helper for unit conversion. That can be done using OpenStudio::convert() as shown below.
# OpenStudio::convert(double,"from unit string","to unit string").get

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ def OsLib_LightingAndEquipment.addExteriorLights(model,runner, options = {})

end #end of OsLib_LightingAndEquipment.addExteriorLights

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ def OsLib_Schedules.createComplexSchedule(model, options = {})

end #end of OsLib_Schedules.createComplexSchedule

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,4 @@ def run(model, runner, user_arguments)
end #end the measure

#this allows the measure to be used by the application
AedgOfficeHvacVavDx.new.registerWithApplication
AedgOfficeHvacVavDx.new.registerWithApplication
Original file line number Diff line number Diff line change
Expand Up @@ -461,4 +461,4 @@ def OsLib_AedgMeasures.getSmMdOffTips

end #end of OsLib_AedgMeasures.getSmMdOffTips

end # end of module OsLib_AedgMeasures
end # end of module OsLib_AedgMeasures
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@ def OsLib_Constructions.getConstructionSRI(construction)
return result
end # end of OsLib_Constructions.getConstructionSRI

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ def OsLib_Geometry.lowerSurfaceZvalue(surfaceArray, zValueTarget)
end


end
end
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ def OsLib_HVAC.createPrimaryAirLoops(model, runner, options)
# create air loop fan
if options["primaryHVAC"]["fan"] == "Variable"
# create variable speed fan and set system sizing accordingly
sizing_system.setMinimumSystemAirFlowRatio(0.3) #DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) #DCV
# variable speed fan
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.69)
Expand All @@ -822,7 +822,7 @@ def OsLib_HVAC.createPrimaryAirLoops(model, runner, options)
fan.setMotorInAirstreamFraction(1.0)
air_loop_comps << fan
else
sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
# constant speed fan
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.6)
Expand Down Expand Up @@ -1078,13 +1078,13 @@ def OsLib_HVAC.createSecondaryAirLoops(model, runner, options)
sizing_system.setTypeofLoadtoSizeOn("Sensible") #PSZ
sizing_system.setAllOutdoorAirinCooling(false) #PSZ
sizing_system.setAllOutdoorAirinHeating(false) #PSZ
sizing_system.setMinimumSystemAirFlowRatio(1.0) #Constant volume fan
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) #Constant volume fan
air_loop_comps = []
# set availability schedule (HVAC operation schedule)
airloop_secondary.setAvailabilitySchedule(options["hvac_schedule"])
if options["secondaryHVAC"]["fan"] == "Variable"
# create variable speed fan and set system sizing accordingly
sizing_system.setMinimumSystemAirFlowRatio(0.3) #DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) #DCV
# variable speed fan
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.69)
Expand All @@ -1095,7 +1095,7 @@ def OsLib_HVAC.createSecondaryAirLoops(model, runner, options)
fan.setMotorInAirstreamFraction(1.0)
air_loop_comps << fan
else
sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
# constant speed fan
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule())
fan.setFanEfficiency(0.6)
Expand Down Expand Up @@ -1633,4 +1633,4 @@ def OsLib_HVAC.addDCV(model, runner, options)
end
end # end of def

end
end
Loading

0 comments on commit 2f0a0e3

Please sign in to comment.