Closed svandenb-dev closed 1 month ago
@svandenb-dev You should be using NPortComponentModel
from the module ansys.edb.core.definition.component_model
. SParameterModel
objects are supposed to be set on ComponentProperty
objects of ComponentGroup
objects. Switching the object to a NPortComponentModel
resolves the issue.
🔍 Before submitting the issue
🐞 Description of the bug
self.component_def.add_component_model(n_port_model)
📝 Steps to reproduce
NA
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
No response
🐍 Which Python version are you using?
3.11
📦 Installed packages