I provide fwd and ts_fwd constraint checkers.

Instance Variable IV_fwd_max Maximum forward-bias current and voltage to be considered.
Instance Variable R_lead Lead resistance (each).
Instance Variable Tj_min Minimum operating temperature (deg C).
Method fwd Forward-bias voltage as determined by the diode equation must be no less than 1/2 and no more than 2x what is expected at maximum specified current.
Method ts_fwd Denominator of current source expression simulating temp-sensitive Rs must be > 0 even at coldest rated temp of Tj_min:
IV_fwd_max =
Maximum forward-bias current and voltage to be considered.
R_lead =
Lead resistance (each).
Tj_min =
Minimum operating temperature (deg C).
def fwd(self, params):

Forward-bias voltage as determined by the diode equation must be no less than 1/2 and no more than 2x what is expected at maximum specified current.

def ts_fwd(self, params):

Denominator of current source expression simulating temp-sensitive Rs must be > 0 even at coldest rated temp of Tj_min:

V(if_hca)*(V(tj)-Tj_min)^2 + V(if_hcb)*V(tj) + V(d_rs)

API Documentation for pingspice, generated by pydoctor at 2021-09-18 08:41:11.