fixed NullPointerException at getEConsumed for Solar and Wind