I´m using PSpice Capture 10.3
One of my simulations on a SMPS I´m using a BJT as a switch transistor
I would like to do a parametric sweep on the circuit with two different BJTs models (lets say the transistors are BC547 and 2N2222) to determine the optimum choice of transistor
My method sofar is to use two global values in the parametric sweep (1 and 2). Then in the position of the BJT there is a subcircuit with the two BJTs with both transistors in parallel with resistors on all connections
The value of the resistors is determined by an IF command, that when the parametric value is 1 one set of resistors is 1mOhm and the other set 1Meg and vice versa.
But this is a cumbersome method. The optimal would be that Pspice would allow the implementation name to change according to the needed model but that feature is not available
So the question, do any of you guys have a better method for this problem?