plotCircuitLines

Plots the feeder circuit diagram

Contents

Syntax

plotCircuitLines(DSSCircObj);
plotCircuitLines(DSSCircObj, _'PropertyName'_ ,PropertyValue);
Handles = plotCircuitLines(DSSCircObj, _'PropertyName'_ ,PropertyValue);

Description

Function to plot the feeder circuit diagram. The coloring and line thickness plotting styles can be customized by the user through the function property inputs. If no properties are selected, the plotCircuitLinesOptions GUI window is displayed to assist the user is selecting plotting options. Clicking on objects in the figure will display the name of the object, and right clicking will give a menu for viewing properties of the object.

Inputs

Outputs

Notes

For the right-click visualizations, the AllowForms field of DSSCircObj must be set to 1, which is the default value. Currently, OpenDSS 7.6.3 (the current version as of this writing) does not allow for setting the AllowForms field back to 1 after setting it to 0.

Example

Examples of several different circuit plots that can be created

[DSSCircObj, DSSText, gridpvPath] = DSSStartup;
DSSText.command = ['Compile "' gridpvPath 'ExampleCircuit\master_Ckt24.dss"'];
DSSText.command = 'solve';
figure; plotCircuitLines(DSSCircObj,'CapacitorMarker','on','LoadMarker','on')
figure; plotCircuitLines(DSSCircObj,'Coloring','perPhase','Thickness',3,'MappingBackground','hybrid')
figure; plotCircuitLines(DSSCircObj,'Coloring','voltagePU','EndOfFeederMarker','on')
figure; plotCircuitLines(DSSCircObj,'Coloring','resistance')
figure; plotCircuitLines(DSSCircObj,'Coloring','faultCurrent1P')
figure; plotCircuitLines(DSSCircObj,'Coloring','lineLoading')
DSSText.command = ['Compile "' gridpvPath 'ExampleCircuit\Ckt24_PV_Central_7_5.dss"'];
DSSText.command = 'solve';
figure; plotCircuitLines(DSSCircObj,'Coloring','voltage120')
%