{{Note | Multipart Network devices do not work with âLive Simulationâ or Transient Test as their models normally contain S-[[parameters]] at high frequencies only.}}
=== Defining S-Parameters ===
Each multiport network device has a property dialog where you can specify its S-[[parameters]] as a function of frequency. Each row of the S-parameter table in the property dialog represents a frequency sample. The complex-valued elements of the scattering matrix are listed column by column in each row of the table after the frequency value. For example, for a two-port, the format is as follows:
Besides entering the S-parameter values manually using in the parameter table, you can directly import these values from a text file with a ".TXT" file extension. For this purpose, click the button labeled "Load from File..." in the property dialog. This opens up the standard [[Windows]] Open dialog, with the file type set to text files. Browse your folders and select the text file to load the data from. The S-[[parameters]] you import to [[RF.Spice]] can come from manufacturer data sheets or they can be generated by electromagnetic simulation suites such as [[EM.Cube]]. For example, among [[EM.Cube]]'s computational modules, the FDTD, Planar MoM, Wire MoM and Surface MoM simulation engines all generate S-parameter text files for structures with port definitions. These files can directly be loaded into [[RF.Spice]].
[[File:twoport3.png|thumb|350px400px| The property dialog of the Complex Impedance device.]]
===The Complex Impedance Device===
In many RF circuit problems, you may need to define a fixed impedance element, e.g. as a load. Complex Impedance is a special one-port network device that is defined based on its z11 parameter. Therefore, the format of the parameter table for Complex Impedance is: