plotVoltageProfile

Plots the voltage profile for the feeder (spider plot)

Contents

Syntax

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

Description

Function to plot the voltage profile for the feeder. This is the bus voltage vs. distance from the substation plot. Also called a spider plot. 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

Example of a feeder voltage profile plot

[DSSCircObj, DSSText, gridpvPath] = DSSStartup;
DSSText.command = ['Compile "' gridpvPath 'ExampleCircuit\master_Ckt24.dss"'];
DSSText.command = 'solve';
figure; plotVoltageProfile(DSSCircObj,'BusName','N292743','Downstream','on');
figure; plotVoltageProfile(DSSCircObj);
figure; plotVoltageProfile(DSSCircObj,'DistanceScale','ft','VoltScale','pu');
figure; plotVoltageProfile(DSSCircObj,'SecondarySystem','off','AveragePhase','addition','Only3Phase','on');
figure; plotVoltageProfile(DSSCircObj,'BackgroundShade','on','SecondarySystem','off');
DSSText.command = ['Compile "' gridpvPath 'ExampleCircuit\Ckt24_PV_Distributed_7_5.dss"'];
DSSText.command = 'Set mode=duty number=1  hour=12  h=1 sec=0';
DSSText.command = 'Set controlmode=static';
DSSText.command = 'solve';
figure; plotVoltageProfile(DSSCircObj);
%