- refactored
- created TempSensorFactory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user