I have a question regarding the electron concentration expression in DEVSIM. In the provided examples like diode1d and bjt, the node model elec_i, which represents the electron concentration, is set as n_i * exp(Potential / V_t). However, I believe the expression should be n_i * exp((Potential - phi_n) / V_t), where phi_n represents the quasi-Fermi potential for electrons.
Could anyone clarify if my understanding is correct and why the difference exists?