Title: Automatic determination of large-and small-signal model parameters for the diode and transistor