gradually provide V_source - V_diode = V_supplied
configure Resistor and Cap that are connected to the npn base in order to modify rise time.
EDIT (4/13/2025) - Changed the model to include a MOS instead of a BJT. Furthermore, I have a PWM signal controlling a motor now.