Generelized approach for calculating electrical losses in semiconductor devices | IEEE Conference Publication | IEEE Xplore