There are several other ways to parameterize and validate your model:
|On this page…|
One way to validate a parameterized SimElectronics® component is to compare its behavior to data from specialist circuit simulation tool that uses a manufacturer SPICE netlist of the device. If doing this, it is important to create a test harness for the component that exercises it over the relevant operating points and frequencies
If you have lab measurements of the device, or data from another simulation environment, you can use this to tune the parameters of the equivalent SimElectronics component. For an example of parameter tuning, see the example Solar Cell Parameter Extraction From Data.
In Example 3, parameterization from a SPICE netlist is relatively straightforward because the netlist defines a single device (the diode) plus corresponding model card (the parameters). Conversely, a netlist for an op-amp may have more than ten devices, plus supporting model cards. In principle it is possible to build your own equivalent model of a more complex device by making use of the SPICE-Compatible Components sublibrary, and connecting them together using the information in the netlist. Before embarking on this you should ensure that the SPICE-Compatible Components sublibrary has all of the component models that you need.
If the device models you wish to model are complex (hundreds of components), then cosimulation with an external circuit simulator may be a better approach.