Raising the IQ of the SmartGrid