added wattsec and power calculation