11from PyDSS .pyControllers .pyControllerAbstract import ControllerAbstract
22import math
3- import abc
43from collections import namedtuple
54
65from PyDSS .pyControllers .pyControllerAbstract import ControllerAbstract
7- from PyDSS .utils .timing_utils import timer_stats_collector , track_timing
86
97
108VVarSettings = namedtuple ("VVarSettings" , ["VmeaMethod" , "uMin" , "uMax" , "uDbMin" , "uDbMax" , "kVBase" ])
@@ -115,7 +113,6 @@ def ControlledElement(self):
115113 def debugInfo (self ):
116114 return [self .__Settings ['Control{}' .format (i + 1 )] for i in range (3 )]
117115
118- @track_timing (timer_stats_collector )
119116 def Update (self , Priority , Time , Update ):
120117 self .TimeChange = self .Time != (Priority , Time )
121118 self .Time = (Priority , Time )
@@ -138,7 +135,6 @@ def Update(self, Priority, Time, Update):
138135 return 0
139136 return self .update [Priority ]()
140137
141- @track_timing (timer_stats_collector )
142138 def VWcontrol (self ):
143139 """Volt / Watt control implementation
144140 """
@@ -182,7 +178,6 @@ def VWcontrol(self):
182178 self .oldPcalc = Ppv
183179 return Error
184180
185- @track_timing (timer_stats_collector )
186181 def CutoffControl (self ):
187182 """Over voltage trip implementation
188183 """
@@ -205,7 +200,6 @@ def CutoffControl(self):
205200
206201 return 0
207202
208- @track_timing (timer_stats_collector )
209203 def CPFcontrol (self ):
210204 """Constant power factor implementation
211205 """
@@ -234,7 +228,6 @@ def CPFcontrol(self):
234228 self .__ControlledElm .SetParameter ('pf' , str (- PFset ))
235229 return Error
236230
237- @track_timing (timer_stats_collector )
238231 def VPFcontrol (self ):
239232 """Variable power factor control implementation
240233 """
@@ -271,7 +264,6 @@ def VPFcontrol(self):
271264
272265 return 0
273266
274- @track_timing (timer_stats_collector )
275267 def VVARcontrol (self ):
276268 """Volt / var control implementation
277269 """
0 commit comments