correlation_of_sum_of_submeters_with_mains works.
Electric.correlation returns NaN if there are no samples.