You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix possible incorrect value for system use, bug introduced in #1456. Adds error-checking to prevent this going forward. Some other minor misc cleanup.
cnt=model.getOtherEquipments.select{ |oe| oe.endUseSubcategory.start_with?Constants.ObjectNameMechanicalVentilationPreheating}.size# Ensure unique meter for each water heater
cnt=model.getOtherEquipments.select{ |oe| oe.endUseSubcategory.start_with?Constants.ObjectNameMechanicalVentilationPrecooling}.size# Ensure unique meter for each water heater
runner.registerWarning("Both '#{col_name}' schedule file and weekday fractions provided; the latter will be ignored.")if !fuel_load.weekday_fractions.nil?
88
-
runner.registerWarning("Both '#{col_name}' schedule file and weekend fractions provided; the latter will be ignored.")if !fuel_load.weekend_fractions.nil?
89
-
runner.registerWarning("Both '#{col_name}' schedule file and monthly multipliers provided; the latter will be ignored.")if !fuel_load.monthly_multipliers.nil?
runner.registerWarning("Both '#{col_name}' schedule file and weekday fractions provided; the latter will be ignored.")if !fuel_load.weekday_fractions.nil?
90
+
runner.registerWarning("Both '#{col_name}' schedule file and weekend fractions provided; the latter will be ignored.")if !fuel_load.weekend_fractions.nil?
91
+
runner.registerWarning("Both '#{col_name}' schedule file and monthly multipliers provided; the latter will be ignored.")if !fuel_load.monthly_multipliers.nil?
runner.registerWarning("Both '#{col_name}' schedule file and weekday fractions provided; the latter will be ignored.")if !pool_or_spa.heater_weekday_fractions.nil?
130
-
runner.registerWarning("Both '#{col_name}' schedule file and weekend fractions provided; the latter will be ignored.")if !pool_or_spa.heater_weekend_fractions.nil?
131
-
runner.registerWarning("Both '#{col_name}' schedule file and monthly multipliers provided; the latter will be ignored.")if !pool_or_spa.heater_monthly_multipliers.nil?
runner.registerWarning("Both '#{col_name}' schedule file and weekday fractions provided; the latter will be ignored.")if !pool_or_spa.heater_weekday_fractions.nil?
135
+
runner.registerWarning("Both '#{col_name}' schedule file and weekend fractions provided; the latter will be ignored.")if !pool_or_spa.heater_weekend_fractions.nil?
136
+
runner.registerWarning("Both '#{col_name}' schedule file and monthly multipliers provided; the latter will be ignored.")if !pool_or_spa.heater_monthly_multipliers.nil?
runner.registerWarning("Both '#{col_name}' schedule file and monthly multipliers provided; the latter will be ignored.")if !pool_or_spa.pump_monthly_multipliers.nil?
cnt=model.getOtherEquipments.select{ |oe| oe.endUseSubcategory.start_with?Constants.ObjectNameWaterHeaterAdjustment}.size# Ensure unique meter for each water heater
0 commit comments