findSubstationLocation

Locates the substation coordinates

Contents

Syntax

coordinates = findSubstationLocation(DSSCircObj);

Description

Function to find the coordinates of the substation. This is used for plotting the substation on circuit diagrams. The substation is located at the bus coordinate with the shortest "distance".

Inputs

Outputs

Example

Returns the substation location

[DSSCircObj, DSSText, gridpvPath] = DSSStartup;
DSSText.command = ['Compile "' gridpvPath 'ExampleCircuit\master_Ckt24.dss"'];
DSSText.command = 'solve';
coordinates = findSubstationLocation(DSSCircObj)
%
coordinates =

   31.6160  -80.9734