@@ -1122,7 +1122,7 @@ def baldth(nsfg,no3,tam,po4,paldh,naldh,aldl,aldh,mbal,dox,anaer,oxald,bal,depco
11221122
11231123 # use unit death rate to compute death rate; dthbal is expressed
11241124 # as umoles of phosphorus per liter per interval
1125- return (ald * bal ) + slof # dthbal
1125+ return (ald * bal ) + slof , bal # dthbal
11261126
11271127
11281128 def balrx (self , ballit ,tw ,talgrl ,talgrh ,talgrm ,malgr ,cmmp , cmmnp ,tamfg ,amrfg ,nsfg ,cmmn ,cmmlt ,delt60 ,
@@ -1162,7 +1162,7 @@ def balrx(self, ballit,tw,talgrl,talgrh,talgrm,malgr,cmmp, cmmnp,tamfg,amrfg,nsf
11621162 grobal = self .grochk (po4 ,no3 ,tam ,phfg ,decfg ,baco2 ,cvbpc ,cvbpn ,nsfg ,nmingr ,pmingr ,cmingr ,i0 ,grtotn ,grobal )
11631163
11641164 # calculate benthic algae death, baldth only called here
1165- dthbal = self .baldth (nsfg ,no3 ,tam ,po4 ,paldh ,naldh ,aldl ,aldh ,mbal ,dox ,anaer ,oxald ,bal ,depcor )
1165+ ( dthbal , bal ) = self .baldth (nsfg ,no3 ,tam ,po4 ,paldh ,naldh ,aldl ,aldh ,mbal ,dox ,anaer ,oxald ,bal ,depcor )
11661166
11671167 bal += grobal # determine the new benthic algae population
11681168
0 commit comments