GetTrfrResults Method
Declaration Description Parameters Method Result See Also Example

<< Click to Display Table of Contents >>

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

GetTrfrResults Method
Declaration Description Parameters Method Result See Also Example

Previous pageReturn to chapter overviewNext page

 

Section

Declaration

 

function GetTrfrResults(

const FromBusName, ToBusName, Name: WideString;

out CurrentM, CurrentA, Loading: Double

): Integer;

Section

Description

Retrieves the Transformer's calculated results.

Section

Parameters

Input Parameter

Usage

FromBusName

From Bus Name of the Transformer.

ToBusName

To Bus Name of the Transformer.

Name

Unique Name of the Transformer.



Output Parameter

Usage

CurrentM

Current Flow Magnitude in Amperes

CurrentA

Current Flow Angle in Degrees

Loading

Transformer Loading in Percentage

Section

Method Result

0 - Not Successful

1 - Successful

Section

Example

Success := PowaMasterObj.GetTrfrResults( FromBusName, ToBusName, TrfrName, CurrentM, CurrentA, Loading);

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

Section

See Also

GetBranchResults

GetBusResults

Section