sparam
S-Parameters element
![]()
Library
Spice/Analog/Basic
Description
This is a S-Parameter device in Spice.
Scattering parameters or S-parameters define the electrical behavior of linear electrical circuit when undergoing various steady state stimuli by electrical signals.

- Illustration of an S-Parameter block, with 2 inputs and 2 outputs.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
sp_HSSPARAM | HSSPARAM | String | ||
sp_nbiports | Input ports number | Number of inputs | Number | |
sp_nboports | Output ports number | Number of outputs | Number | |
sp_force_passivity | Forcing the passivity algorithm | Forcing the passivity algorithm: 1 (enable) or 0 (disable) | Scalar | |
sp_sparamfile | S-Parameter file definition (Name of the file to read) | S-parameter file name | String | |
sp_Spice | Additional Spice Parameters | For more details, see the section | String |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
Port 1 | implicit | Input port(s) | input | sp_nbiports |
Port 2 | implicit | input | sp_nboports |