plotAmpProfile

Plots the line currents profile and line rating vs. distance

Contents

Syntax

plotAmpProfile(DSSCircObj,BusName);
plotAmpProfile(DSSCircObj,BusName, _'PropertyName'_ ,PropertyValue);

Description

Function to plot line currents in in each between the selected bus and the substation. The line current and line rating is plotted vs. distance from the substation. 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 an Amp profile plot to a bus

[DSSCircObj, DSSText, gridpvPath] = DSSStartup;
DSSText.command = ['Compile "' gridpvPath 'ExampleCircuit\master_Ckt24.dss"'];
DSSText.command = 'solve';
figure; plotAmpProfile(DSSCircObj, 'G2101JK1400_N300995_sec_1','AveragePhase','addition')
ylim([0 1000])
%