Skip to content

zactuscactus/ucsdReductionCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ucsdReductionCode

This code repo runs the feeder reduction code developed in the IEEE transasction on power system article "Inversion reduction method for real and complex distribution feeder models". Main code is main/reducingFeeders_Final.m. Note the code currently only works for matlab 2014b and earlier. The rest of code will be described later.

The function has the form:

[circuit, circuit_orig, powerFlowFull, powerFlowReduced, pathToDss,voltDiff] = reducingFeeders_Final(pathToFile,criticalBuses,savePath,debug)

Input:
pathToFile - Full path to location of .dss file to be reduced.
criticalBuses - list (cell) of buses to be preserved during reduction.
savePath - Path desired to save intermediatte files.
debug - Run powerflow and see error caused by reduction.

Output:
circuit - matlab structure containing all elements of reduced circuit (leave blank (use ~,))
circuit_orig - matlab structure containing all elements of original circuit (leave blank (use ~,))
powerFlowFull - powerflow results for original circuit (empty if debug=0)
powerFlowReduced - powerflow results for reduced circuit (empty if debug=0)
pathToDss - Output .dss file for reduced circuit (the important output!)
voltDiff - Vector of voltage difference of each bus in reduced circuit from original circuit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published