parameters: (self, element, sumo,  attrsconfigs_cumulative, attrsconfigs_average)
docstring: element is "lane" or "edge" or "tripinfo"
          attrnames is a list of attribute names to read.
docstring_summary: element is "lane" or "edge" or "tripinfo"
          attrnames is a list of attribute names to read.
docstring_tokens: element is lane or edge or tripinfo attrnames is a list of attribute names to read .
function: def __init__(self, element, sumo,  attrsconfigs_cumulative, attrsconfigs_average):
          """
          element is "lane" or "edge" or "tripinfo"
          attrnames is a list of attribute names to read.
          """
          print 'ElectricalEnergyReader', element
          # print '  attrsconfigs_cumulative',attrsconfigs_cumulative
          # print '  attrsconfigs_average',attrsconfigs_average
          IntervalAvReader2.__init__(self, element, sumo,  attrsconfigs_cumulative, attrsconfigs_average)
          self.time_lastint = -1.0
  
          self.times = []
          self.energies = []
          self._energy_step = 0.0  # energy os all vehicles during last step
          self._consumptionsname = "consumptions"
function_tokens: def __init__ ( self , element , sumo , attrsconfigs_cumulative , attrsconfigs_average ) : print 'ElectricalEnergyReader' , element # print '  attrsconfigs_cumulative',attrsconfigs_cumulative # print '  attrsconfigs_average',attrsconfigs_average IntervalAvReader2 . __init__ ( self , element , sumo , attrsconfigs_cumulative , attrsconfigs_average ) self . time_lastint = - 1.0 self . times = [ ] self . energies = [ ] self . _energy_step = 0.0 # energy os all vehicles during last step self . _consumptionsname = "consumptions"