Smart Power factory