code: def reset(self):
          
          for bus in self.buses:
              bus.reset()
          for branch in self.branches:
              branch.reset()
          for generator in self.generators:
              generator.reset()
docs: Resets the readonly variables for all of the case components.