Hi Nguyen,
If you encounter error messages indicating that transient initialization has not converged or that a consistent set of initial conditions cannot be generated, there may be issues related to transient initialization.
Please refer to the URL below to help identify the source of any discontinuities, or try reducing the value of the [Consistency Tolerance] parameter in the Solver Configuration block to see if that resolves the problem.
Additionally, the N-Channel MOSFET block you are currently using is a nonlinear model, which makes these issues more likely to occur. I recommend first trying a simpler system configuration, such as replacing it with the MOSFET (Ideal, Switching) block.
You can also enable "Use local solver" in the Solver Configuration block to provide a more robust solver.

