create_nexxim_state_space_component#

NexximComponents.create_nexxim_state_space_component(model_name: str, num_terminal: int, location: list[float] = None, angle: int = 0, port_names: list[str] = None, page: int = 1) CircuitComponent#

Create a component from a touchstone model.

Parameters:
model_namestr or Path

Name of the Touchstone model or full path to the Touchstone file. If a full Touchstone path is provided, a new model is created.

num_terminalint

Number of terminals in the .sss file.

locationlist of float, optional

Position on the X and Y axes.

anglefloat, optional

Angle rotation in degrees. The default is 0.

port_nameslist, optional

Port names.

pageint, optional

Schematic page number. The default value is 1.

Returns:
ansys.aedt.core.modeler.circuits.object_3d_circuit.CircuitComponent

Circuit component object.

References

oModelManager.Add oComponentManager.Add oEditor.CreateComponent

Examples

>>> from ansys.aedt.core import Circuit
>>> aedtapp = Circuit()
>>> sch = aedtapp.modeler.schematic
>>> s_parameter_path = str(Path("your_path") / "s_param_file_name.s4p")
>>> model = sch.create_nexxim_state_space_component(s_parameter_path, 4)