A laser amplifier model for system optimization