New multiscale simulator for electronics and optoelectronics devices