code: def event_actions(self):
          
          system = self.system
          dae = system.dae
          if self.switch:
              system.Breaker.apply(self.t)
              for item in system.check_event(self.t):
                  system.__dict__[item].apply(self.t)
  
              dae.rebuild = True
              self.switch = False
docs: Take actions for timed events
  
          Returns
          -------
          None