lib/openstudio-standards/standards/Standards.Model.rb in openstudio-standards-0.1.9 vs lib/openstudio-standards/standards/Standards.Model.rb in openstudio-standards-0.1.10
- old
+ new
@@ -154,11 +154,11 @@
OpenStudio.logFree(OpenStudio::Info, 'openstudio.standards.Model', '*** Adding Daylighting Controls ***')
# Run a sizing run to calculate VLT for layer-by-layer windows.
# Only necessary for 90.1-2010 daylighting control determination.
if template == '90.1-2010'
- if runSizingRun("#{sizing_run_dir}/SizingRunVLT") == false
+ if runSizingRun("#{sizing_run_dir}/SRVLT") == false
return false
end
end
# Add daylighting controls to each space
@@ -247,11 +247,11 @@
# Set the heating and cooling sizing parameters
apply_prm_sizing_parameters
# Run sizing run with the HVAC equipment
- if runSizingRun("#{sizing_run_dir}/SizingRun1") == false
+ if runSizingRun("#{sizing_run_dir}/SR1") == false
return false
end
# If there are any multizone systems, reset damper positions
# to achieve a 60% ventilation effectiveness minimum for the system
@@ -284,11 +284,11 @@
plant_loop.apply_prm_number_of_cooling_towers(template)
end
# Run sizing run with the new chillers, boilers, and
# cooling towers to determine capacities
- if runSizingRun("#{sizing_run_dir}/SizingRun2") == false
+ if runSizingRun("#{sizing_run_dir}/SR2") == false
return false
end
# Set the pumping control strategy and power
# Must be done after sizing components
@@ -3897,10 +3897,10 @@
next unless surface.surfaceType == 'RoofCeiling'
# Subsurfaces in this surface
surface.subSurfaces.sort.each do |ss|
# Reduce the size of the subsurface
red = 1.0 - mult
- ss.reduce_area_by_percent_by_shrinking_x(red)
+ ss.reduce_area_by_percent_by_shrinking_toward_centroid(red)
end
end
end
else