add function powerData2powerr to change data in other format into powerr format