示例#1
0
 def simulation(self,x):
     #Here the model is actualy startet with one paramter combination
     data = hymod(self.Precip, self.PET, x[0], x[1], x[2], x[3], x[4])
     sim=[]
     for val in data:
         sim.append(val*self.Factor)
     #The first year of simulation data is ignored (warm-up)
     return sim[366:]
示例#2
0
 def simulation(self, x):
     data = hymod(self.Precip, self.PET, x[0], x[1], x[2], x[3], x[4])
     sim = []
     for val in data:
         sim.append(val * self.Factor)
     return sim[366:]