A Method of Analyzing Weather Effects on Electrical Power Consumption