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
# Look for boiler assumptions (symbol or string keys)
1841
-
boiler_assumptions=
1842
-
assumptions_hash[:ExistingBoiler] ||
1843
-
assumptions_hash['ExistingBoiler']
1844
1835
1845
-
ifboiler_assumptions.nil?
1846
-
puts"[WARN] ExistingBoiler assumptions not found. Available keys: #{assumptions_hash.keys.inspect}"
1836
+
ifassumptions_hash.nil?
1837
+
puts"[WARN] Assumptions hash is nil."
1847
1838
else
1848
-
# Try to read fuel cost
1849
-
fuel_cost=
1850
-
boiler_assumptions[:fuel_cost_per_mmbtu] ||
1851
-
boiler_assumptions['fuel_cost_per_mmbtu']
1852
-
1853
-
iffuel_cost.nil?
1854
-
puts"WARNING: There is no 'ExistingBoiler.fuel_cost_per_mmbtu' value in the assumptions file."
1855
-
elsiffuel_cost == 11.5
1856
-
puts"WARNING: The 'fuel_cost_per_mmbtu' under 'ExistingBoiler' is still set to the default value of $11.5/MMBtu. Please update this value with a site-specific fuel cost."
1857
-
else
1858
-
puts"INFO: Using ExistingBoiler fuel cost of #{fuel_cost} $/MMBtu."
1859
-
end
1839
+
# Look for boiler assumptions (symbol or string keys)
1840
+
boiler_assumptions=
1841
+
assumptions_hash[:ExistingBoiler] ||
1842
+
assumptions_hash['ExistingBoiler']
1843
+
1844
+
ifboiler_assumptions.nil?
1845
+
puts"[WARN] ExistingBoiler assumptions not found. Available keys: #{assumptions_hash.keys.inspect}"
1846
+
else
1847
+
# Try to read fuel cost
1848
+
fuel_cost=
1849
+
boiler_assumptions[:fuel_cost_per_mmbtu] ||
1850
+
boiler_assumptions['fuel_cost_per_mmbtu']
1851
+
1852
+
iffuel_cost.nil?
1853
+
puts"WARNING: There is no 'ExistingBoiler.fuel_cost_per_mmbtu' value in the assumptions file."
1854
+
elsiffuel_cost == 11.5
1855
+
puts"WARNING: The 'fuel_cost_per_mmbtu' under 'ExistingBoiler' is still set to the default value of $11.5/MMBtu. Please update this value with a site-specific fuel cost."
1856
+
else
1857
+
puts"INFO: Using ExistingBoiler fuel cost of #{fuel_cost} $/MMBtu."
1858
+
end
1860
1859
1860
+
end
1861
1861
end
1862
-
end
1863
1862
1864
-
# Add timeseries data for fuel consumption to assumptions file, if present
1865
-
# read scenario csv report
1866
-
ifassumptions_hash.nil?
1867
-
puts"[WARN] Assumptions hash is nil."
1868
-
else
1869
-
# Look for boiler assumptions (symbol or string keys)
0 commit comments