Creating a Multi-File State Space Model
Instead of referencing a single file, an state-space model can reference an array of files, using a project array variable. For more information, see Adding a Project Variable Array. Complete these steps to create a multi-file model using array variables.
- View the Component Libraries area, select the Symbols tab. Click Import Models.
- Select the SSS_Multi icon. This
opens the State Space multi file import window.

- Enter a number of ports (from 1 to 1000). The number of ports determines what files select.
- Enter a Name for the model if chosen.
- Select a type for the Reference node:
- Implied reference to ground: the global ground is the reference port for each N port connection. Its voltage is always 0V.
- Common reference port: an additional reference pin is added that is a common reference for the definition of port voltages. This reference can have any voltage and corresponds to the net for that extra pin.
- Add individual hidden reference pin per port: an additional reference pin is added for each port. These reference pins are hidden, set to 0V by default, and can each have their own reference voltage. You can connect each reference pin to its own net. Select this option if you do not want to see the reference pins.
- Add individual reference pin per port: an additional reference pin is added for each port. Every reference pin can have its own reference voltage and be connected to its own net.
Note:
See Reference Nodes on S-Parameter Elements in the S-parameter Technical Notes for how the Circuit solver handles reference node configurations.
- Click Add Files to browse and select multiple State Space (.sss) files to be added to the list box.
- Click OK. An instance of the state-space component is attached to the cursor, so drag and place it in the schematic. When instances of the component are placed, right-click and select Finish or press Esc on the keyboard to stop placing instances.
- The simulation can sweep the entries in the created Text Array Variable. In this case, $SSS_Files_Index is the variable to sweep.