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_name
strorPath 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_terminal
int Number of terminals in the
.sssfile.- location
listoffloat,optional Position on the X and Y axes.
- angle
float,optional Angle rotation in degrees. The default is
0.- port_names
list,optional Port names.
- page
int,optional Schematic page number. The default value is
1.
- model_name
- Returns:
ansys.aedt.core.modeler.circuits.object_3d_circuit.CircuitComponentCircuit 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)