- refactored

- created TempSensorFactory
This commit is contained in:
jens
2020-12-13 16:21:08 +01:00
parent c401885967
commit 0633e464ca
9 changed files with 29 additions and 15 deletions
+1 -3
View File
@@ -1,4 +1,3 @@
import numpy as np
from components.aplant import APlant
@@ -43,5 +42,4 @@ class Pot(APlant):
return round(self.power_actual, 1)
def getTemperature(self):
#return round(self.theta + self.theta_amb + self.kn * np.random.normal(0, 1) / np.sqrt(12.0), 1)
return self.temp
return self.temp