Dynamics of electron-trapping materials (ETMs) is investigated. Based on experimental observations, evolution of the ETM's luminescence is mathematically modeled by a nonlinear differential equation. This improved model can predict dynamics of ETM under blue light and near-infrared (NIR) exposures during charging, discharging, simultaneous illumination, and in the equilibrium state. The equilibrium-state luminescence of ETM is used to realize a highly nonlinear optical device with potential applications in nonlinear optical signal processing. Dynamics of electron-trapping materials (ETMs) is investigated. Based on experimental observations, evolution of the ETM's luminescence is mathematically modeled by a nonlinear differential equation. This improved model can predict dynamics of ETM under blue light and near-infrared (NIR) exposures during charging, discharging, simultaneous illumination, and in the equilibrium state. The equilibrium-state luminescence of ETM is used to realize a highly nonlinear optical device with potential applications in nonlinear optical signal processing.