calculates transient power now but not sure if that is correct