GetBranchResults Method
Declaration Description Parameters Method Result See Also Example

<< Click to Display Table of Contents >>

Navigation:  Additional Resources > OLE/COM Automation > Methods > Results >

GetBranchResults Method
Declaration Description Parameters Method Result See Also Example

Previous pageReturn to chapter overviewNext page

 

Section

Declaration

 

function GetBranchResults(

const FromBusName, ToBusName, Name: WideString;

out CurrentM, CurrentA, Loading: Double

): Integer;

Section

Description

Retrieves the Branch's calculated results.

Section

Parameters

Input Parameter

Usage

FromBusName

From Bus Name of the Branch.

ToBusName

To Bus Name of the Branch.

Name

Unique Name of the Branch.



Output Parameter

Usage

CurrentM

Current Flow Magnitude in Amperes

CurrentA

Current Flow Angle in Degrees

Loading

Conductor Loading in Percentage

Section

Method Result

0 - Not Successful

1 - Successful

Section

Example

Success := PowaMasterObj.GetBranchResults( FromBusName, ToBusName, BranchName, CurrentM, CurrentA, Loading);

if Success = 0 then ShowMessage('Error');

Section

See Also

GetTrfrResults

GetBusResults

Section