The simple diode is a one port. It consists of the diode itself and an parallel ohmic resistance R. The diode formula is:
v/vt i = ids ( e - 1).
If the exponent v/vt reaches the limit maxex, the diode characteristic is linearly continued to avoid overflow.
Please note: In case of useHeatPort=true the temperature dependence of the electrical behavior is not modelled yet. The parameters are not temperature dependent.