add thermo water config to water demand

Former-commit-id: cf5f3eff014538e27804882819520da55bbbf75c
This commit is contained in:
Michael T. Kelbaugh
2020-03-30 13:04:28 -04:00
parent c188c99685
commit f6de1fd6f8
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -24,8 +24,8 @@ class InnerWrapper(OuterWrapper):
self.rate = kwargs["rates"]
else:
logging.warning(f"incstep {self.incstep}: rates not found")
if "thermo_water" in kwargs.keys():
self.thermo_water = kwargs["thermo_water"]
if "2016_thermo_water" in kwargs.keys():
self.thermo_water = kwargs["2016_thermo_water"]
else:
logging.warning(f"incstep {self.incstep}: thermo_water not found")
self.thermo_water = {}