Modeling of semiconductor lasers by circuit simulation method for fiber optics communication applications