altdss.ReduceCkt
#
Module Contents#
Classes#
Circuit Reduction interface |
API#
- class altdss.ReduceCkt.IReduceCkt(api_util, prefer_lists=False)#
Bases:
altdss.common.Base
Circuit Reduction interface
- Do1phLaterals()#
Remove all 1-phase laterals in the active EnergyMeter’s zone.
Loads and other shunt elements are moved to the parent 3-phase bus.
- DoBranchRemove()#
Remove (disable) all branches down-line from the active PDElement.
Circuit must have an EnergyMeter on this branch. If KeepLoad=Y (default), a new Load element is defined and kW, kvar are set to present power flow solution for the first element eliminated. The EditString is applied to each new Load element defined.
- DoDangling()#
Reduce Dangling Algorithm; branches with nothing connected
Original COM help: https://opendss.epri.com/DoDangling.html
- DoDefault()#
Do Default Reduction algorithm
Original COM help: https://opendss.epri.com/DoDefault.html
- DoLoopBreak()#
Break (disable) all the loops found in the active circuit.
Disables one of the Line objects at the head of a loop to force the circuit to be radial.
- DoParallelLines()#
Merge all parallel lines found in the circuit to facilitate its reduction.
- DoShortLines()#
Do ShortLines algorithm: Set Zmag first if you don’t want the default
Original COM help: https://opendss.epri.com/DoShortLines.html
- DoSwitches()#
Merge Line objects in which the IsSwitch property is true with the down-line Line object.
- property EditString: str#
Edit String for RemoveBranches functions
Original COM help: https://opendss.epri.com/EditString.html
- property EnergyMeter: str#
Name of EnergyMeter to use for reduction
Original COM help: https://opendss.epri.com/EnergyMeter1.html
- property KeepLoad: bool#
Keep load flag for Reduction options that remove branches
Original COM help: https://opendss.epri.com/KeepLoad.html
- SaveCircuit(CktName: AnyStr)#
Save present (reduced) circuit Filename is listed in the Text Result interface
- property StartPDElement: str#
Start element for Remove Branch function
Original COM help: https://opendss.epri.com/StartPDElement.html
- property Zmag: float#
Zmag (ohms) for Reduce Option for Z of short lines
Original COM help: https://opendss.epri.com/Zmag.html
- __init__(api_util, prefer_lists=False)#