This repository contains a Travelling-Wave-Model (TWM) simulation for a simple semiconductor laser. The laser consists of a gain section enclosed between two mirrors with reflectivities r1 and r2. The simulation follows the equation model proposed by A. Vladimirov et al. in the paper "Numerical Study of Dynamical Regimes in a Monolithic Passively Mode-Locked Semiconductor Laser", IEEE Journal of Quantum Electronics, Vol. 45, No. 5, May 2009.
The three differential equations given by Eq.(1) and Eq.(2) (Keep in mind that Eq.(1) consists of two differential equations - one describing E+ and one describing E-) have been solved using Forward Euler for the left-to-right travelling wave, and Backward Euler for the right-to-left traveling wave, and again Forward Euler for the carrier density N.
Key differences between the model proposed in the paper and the Python simulation are the absence of a saturable absorber and a passive section, as well as the absence of a thin spectral filter as described by Eq.(4). Instead of the thin spectral filter, the same boundary condition, described by Eq.(3), has been applied to both sides.
The simulation needs to be refined and updated to include all components as described in Vladimirov's paper.