findHighestImpedanceBus
Finds the highest impedance bus from the substation
Contents
Syntax
[highestImpedance highestImpedanceBus] = findHighestImpedanceBus(DSSCircObj, requiredLineRating); [highestImpedance highestImpedanceBus] = findHighestImpedanceBus(DSSCircObj, requiredLineRating, threePhase);
Description
Function to find highest impedance bus from the substation.
Inputs
- DSSCircObj - link to OpenDSS active circuit and command text (from DSSStartup)
- requiredLineRating - the minimum allowed conductor size (amps) line rating for PV placement. A larger plant requires a higher required line rating. To not restrict the search algorithm, set this to zero.
- threePhase - optional input, logical value for if the bus must be 3 phase. If the input is a logical true, only 3 phase buses will be returned.
Outputs
- highestImpedance - impedance rating between fromBus to toBus
- highestImpedanceBus - name of bus with highest impedance to the source bus
Example
Returns the bus names for the highest impedance bus in the circuit
[DSSCircObj, DSSText, gridpvPath] = DSSStartup; DSSText.command = ['Compile "' gridpvPath 'ExampleCircuit\master_Ckt24.dss"']; DSSText.command = 'solve'; [highestImpedance highestImpedanceBus] = findHighestImpedanceBus(DSSCircObj, 220) %
highestImpedance = 10.3675 highestImpedanceBus = 'N284454'