set_component_rlc#
- Components.set_component_rlc(componentname, res_value=None, ind_value=None, cap_value=None, isparallel=False)[source]#
Update values for an RLC component.
- Parameters:
- componentname
Name of the RLC component.
- res_value
float
,optional
Resistance value. The default is
None
.- ind_value
float
,optional
Inductor value. The default is
None
.- cap_value
float
optional
Capacitor value. The default is
None
.- isparallelbool,
optional
Whether the RLC component is parallel. The default is
False
.
- Returns:
- bool
True
when successful,False
when failed.
Examples
>>> from pyedb import Edb >>> edbapp = Edb("myaedbfolder") >>> edbapp.components.set_component_rlc( ... "R1", res_value=50, ind_value=1e-9, cap_value=1e-12, isparallel=False ... )