Inverse optimization investigation for thermoelectric material from device level