I am trying to solve an equation using sympy's solve command but my output is an empty list [ ]. The only reason I think this could be happening is because there is no solution but I doubt that is the reason. Anyone know why I am not getting an answer? Thanks!
from sympy import *
class WaterModel:
def fp_requirement(self, Ws0, Wp0, Wg0):
greyW = 60.0
potW = 126.0
rainW = 17.05
self.Ws0 = Ws0
self.Wp0 = Wp0
self.Wg0 = Wg0
self.fp = var('fp')
filt_greyW = self.fp*greyW
dWg = self.Wg0 - greyW + (1 - self.fp)*greyW + rainW
dWp = self.Wp0 - potW + filt_greyW
F = self.Ws0 + dWp + dWg
self.fp = solve(F,self.fp)
return self.fp
a = WaterModel()
fp = a.fp_requirement(1500, 100, 100)
print(fp)