oaGroundedNode
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaGroundedNode 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaGroundedNode 当前在 oapy 中可用的 Python 接口。
详细说明
The oaGroundedNode class is used for nodes contained within an oaParasiticNetwork that include capacitance to an implicit ground。 Each grounded node has one value for each analysis point that the parasitic network represents。 Each value reflects the capacitance value applicable to the operating points associated with the corresponding analysis point。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.setValue(ap, value) |
| ✅ | obj.getValue(ap) |
| ✅ | _design.oaGroundedNode.create(network) |
| ✅ | _design.oaGroundedNode.create(network, id) |
方法说明
obj.setValue(ap, value)
绑定状态: 已绑定
Python 调用: obj.setValue(ap, value)
This function sets the capacitance value of this node for a particular analysis point。 OpenAccess assumes capacitance data is specified in Farads。
参数
ap: The reference analysis point for which the capacitance value needs to be set。value: The capacitance value in Farads。
Python 示例
from oapy._oa import _design
# assume obj is a oaGroundedNode
obj.setValue(ap, value)
obj.getValue(ap)
绑定状态: 已绑定
Python 调用: obj.getValue(ap)
This function gets the capacitance value of this node for a particular analysis point。 OpenAccess assumes capacitance data is specified in Farads。
参数
ap: The reference analysis point to use to obtain the capacitance value。
Python 示例
from oapy._oa import _design
# assume obj is a oaGroundedNode
obj.getValue(ap)
_design.oaGroundedNode.create(network)
绑定状态: 已绑定
Python 调用: _design.oaGroundedNode.create(network)
This function creates a grounded node belonging to the specified parasitic network。 An explicit unique node ID 'id' is required to be specified。 An exception will be thrown if the 'id' is the reserved oacInvalidNodeID value or if a node with the specified 'id' value already exists。 The hasId() function will return true for nodes created with these functions and the getId() function will return the user-specified node id。 从 oaNode 重新实现。
参数
network: The parasitic network to which the created node will belong。id: A unique ID to be associated with the node。
异常
oacNodeIdExists。oacInvalidNodeIdSpecified。
Python 示例
from oapy._oa import _design
_design.oaGroundedNode.create(network)
_design.oaGroundedNode.create(network, id)
绑定状态: 已绑定
Python 调用: _design.oaGroundedNode.create(network, id)
This function creates a grounded node belonging to the specified parasitic network。 The node created does not have an ID associated with it。 The hasId() function will return false for these nodes and the getId() function will return an oacInvalidNodeID value。 从 oaNode 重新实现。
参数
network: The parasitic network to which the created node will belong。
Python 示例
from oapy._oa import _design
_design.oaGroundedNode.create(network, id)