This is a simple diode model based on the Shockley equation i = Ids*(exp(v/nVt) - 1).
i = Ids*(exp(v/nVt) - 1)