code: def timeseries_reactive(self):
          
          if self._timeseries_reactive is None:
              # if normalized reactive power time series are given, they are
              # scaled by the annual consumption; if none are given reactive
              # power time series are calculated timeseries getter using a given
              # power factor
              if self.grid.network.timeseries.load_reactive_power is not None:
                  self.power_factor = 'not_applicable'
                  self.reactive_power_mode = 'not_applicable'
                  ts_total = None
                  for sector in self.consumption.keys():
                      consumption = self.consumption[sector]
  
                      try:
                          ts = self.grid.network.timeseries.load_reactive_power[
                              sector].to_frame('q')
                      except KeyError:
                          logger.exception(
                              "No timeseries for load of type {} "
                              "given.".format(sector))
                          raise
                      ts = ts * consumption
                      if ts_total is None:
                          ts_total = ts
                      else:
                          ts_total.q += ts.q
                  return ts_total
              else:
                  return None
  
          else:
              return self._timeseries_reactive
docs: Reactive power time series in kvar.
  
          Parameters
          -----------
          timeseries_reactive : :pandas:`pandas.Seriese<series>`
              Series containing reactive power in kvar.
  
          Returns
          -------
          :pandas:`pandas.Series<series>` or None
              Series containing reactive power time series in kvar. If it is not
              set it is tried to be retrieved from `load_reactive_power`
              attribute of global TimeSeries object. If that is not possible
              None is returned.