code: def getSensors(self):
          
          Pd = array([b.p_demand for b in self.case.buses if b.type == PQ])
          logger.info("State: %s" % list(Pd))
          return Pd
docs: Returns the currently visible state of the world as a numpy array
          of doubles.