altdss.Topology#

Module Contents#

Classes#

ITopology

API#

class altdss.Topology.ITopology(api_util, prefer_lists=False)#

Bases: altdss.common.Base

property ActiveBranch: int#

Returns index of the active branch

Original COM help: https://opendss.epri.com/ActiveBranch.html

property ActiveLevel: int#

Topological depth of the active branch

Original COM help: https://opendss.epri.com/ActiveLevel.html

property AllIsolatedBranches: List[str]#

Array of all isolated branch names.

Original COM help: https://opendss.epri.com/AllIsolatedBranches.html

property AllIsolatedLoads: List[str]#

Array of all isolated load names.

Original COM help: https://opendss.epri.com/AllIsolatedLoads.html

property AllLoopedPairs: List[str]#

Array of all looped element names, by pairs.

Original COM help: https://opendss.epri.com/AllLoopedPairs.html

property BackwardBranch: int#

Move back toward the source, return index of new active branch, or 0 if no more.

Original COM help: https://opendss.epri.com/BackwardBranch.html

property BranchName: str#

Name of the active branch.

Original COM help: https://opendss.epri.com/BranchName.html

property BusName: str#

Set the active branch to one containing this bus, return index or 0 if not found

Original COM help: https://opendss.epri.com/BusName.html

property First: int#

Sets the first branch active, returns 0 if none.

Original COM help: https://opendss.epri.com/First19.html

property FirstLoad: int#

First load at the active branch, return index or 0 if none.

Original COM help: https://opendss.epri.com/FirstLoad.html

property ForwardBranch: int#

Move forward in the tree, return index of new active branch or 0 if no more

Original COM help: https://opendss.epri.com/ForwardBranch.html

property LoopedBranch: int#

Move to looped branch, return index or 0 if none.

Original COM help: https://opendss.epri.com/LoopedBranch.html

property Next: int#

Sets the next branch active, returns 0 if no more.

Original COM help: https://opendss.epri.com/Next18.html

property NextLoad: int#

Next load at the active branch, return index or 0 if no more.

Original COM help: https://opendss.epri.com/NextLoad.html

property NumIsolatedBranches: int#

Number of isolated branches (PD elements and capacitors).

Original COM help: https://opendss.epri.com/NumIsolatedBranches.html

property NumIsolatedLoads: int#

Number of isolated loads

Original COM help: https://opendss.epri.com/NumIsolatedLoads.html

property NumLoops: int#

Number of loops

Original COM help: https://opendss.epri.com/NumLoops.html

property ParallelBranch: int#

Move to directly parallel branch, return index or 0 if none.

Original COM help: https://opendss.epri.com/ParallelBranch.html

__init__(api_util, prefer_lists=False)#