plotKVARProfile

Plots the feeder profile for the kVAR power flow on the lines

Contents

Syntax

plotKVARProfile(DSSCircObj);
plotKVARProfile(DSSCircObj, _'PropertyName'_ ,PropertyValue);

Description

Function to plot the feeder profile for the kVAR power flow on the lines. This is the kVAR power vs. distance from the substation graph. 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 kVAR profile plot

[DSSCircObj, DSSText, gridpvPath] = DSSStartup;
DSSText.command = ['Compile "' gridpvPath 'ExampleCircuit\master_Ckt24.dss"'];
DSSText.command = 'solve';
figure; plotKVARProfile(DSSCircObj,'AveragePhase','addition','BusName','N300558');
figure; plotKVARProfile(DSSCircObj,'AveragePhase','on');
DSSText.command = ['Compile "' gridpvPath 'ExampleCircuit\Ckt24_PV_Central_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; plotKVARProfile(DSSCircObj,'BusName','N300558')
%