Index: wflow/wflow_routing.py =================================================================== diff -u -r82e046405e8d17790e9a4519ae3cb4e9174deefc -rce0286da9904de3134c149d4a7b7e84b9000bac0 --- wflow/wflow_routing.py (.../wflow_routing.py) (revision 82e046405e8d17790e9a4519ae3cb4e9174deefc) +++ wflow/wflow_routing.py (.../wflow_routing.py) (revision ce0286da9904de3134c149d4a7b7e84b9000bac0) @@ -804,7 +804,7 @@ # only run the reservoir module if needed if self.nrresSimple > 0: - self.ReservoirVolume, self.OutflowSR, self.ResPercFull, self.ResPrecipSR, self.ResEvapSR, self.DemandRelease = simplereservoir( + self.ReservoirVolume, self.OutflowSR, self.ResPercFull, self.DemandRelease = simplereservoir_routing( self.ReservoirVolume, self.SurfaceRunoff, self.ResSimpleArea, @@ -814,13 +814,11 @@ self.ResDemand, self.ResTargetMinFrac, self.ReserVoirSimpleLocs, - self.Precipitation, - self.PotenEvap, self.ReservoirSimpleAreas, timestepsecs=self.timestepsecs, ) self.OutflowDwn = pcr.upstream( - self.TopoLddOrg, pcr.cover(self.Outflow, pcr.scalar(0.0)) + self.TopoLddOrg, pcr.cover(self.OutflowSR, pcr.scalar(0.0)) ) self.Inflow = self.OutflowDwn + pcr.cover(self.Inflow, self.ZeroMap) else: