CalculateHarmonics Method
Declaration Description Parameters Method Result See Also Example

<< Click to Display Table of Contents >>

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

CalculateHarmonics Method
Declaration Description Parameters Method Result See Also Example

Previous pageReturn to chapter overviewNext page

 

Section

Declaration

function CalculateHarmonics(Method: Integer; out Msg: WideString): Integer;

Section

Description

Performs a Network Harmonic Solve using the Selected Method.

Section

Parameters

Input Parameter

Usage

Method

Calculation Method

0 : Gauss-Seidel

1 : Full Newton-Rhapson

2 : Fast Decoupled Newton-Rhapson

Output Parameter

Usage

Msg

Error Message

 

Section

Method Result

0 - Successful

1 - Blown

2 - Couldn't Converge

Section

Example

Success := PowaMasterObj.Calculate(1, Msg);

if Success <> 0 then ShowMessage(Msg);

Section

See Also

Calculate

CalculateFault

Section