Laser simulation with self-heating and power roll-off