- temperature from plant simulation is rounded

and now causes problems estimating heat rate
- create smoother at contruction time

git-svn-id: http://moon:8086/svn/projects/HendiControl@201 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-03-31 08:45:03 +00:00
parent f9fdf411db
commit 19d8294868
2 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -39,4 +39,4 @@ class Mass(APlant):
return self.P
def getTemperature(self):
return self.theta + self.theta_amb + self.kn*np.random.normal(0,1)/sqrt(12.0)
return round(self.theta + self.theta_amb + self.kn*np.random.normal(0,1)/sqrt(12.0), 1)