Skip to content

Commit b7b3ad5

Browse files
authored
Merge pull request #50 from LimnoTech/wq-updates-tmr
Pull in WQ update from Todd into testing branch
2 parents ef0f70b + 57782ce commit b7b3ad5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HSP2/PLANK_Class.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)