I'm running corner simulations for an LC-VCO. I have different S-parameter model files for the inductor and I would like to include these automatically. I'd be happy to specify the file to be used in the corner setup, but I'm currently using the n2port from analog lib to load the touchstone file. I could not get the data file field to accept the file as a parameter. What is the best approach to handle this? I think I could write my own model file with sections that I then include, just like for regular transistor corner simulations. How would I do that, especially how can I create a subcircuit that requires a model file and is skipped during netlisting?
Kind regards,
Patrick