CreateSeriesReactor Method
Declaration Description Parameters Method Result See Also Example

<< Click to Display Table of Contents >>

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

CreateSeriesReactor Method
Declaration Description Parameters Method Result See Also Example

Previous pageReturn to chapter overviewNext page

 

Section

Declaration

 

function CreateSeriesReactor(

const BranchName: WideString;

SectionID, Status: Integer;

const Name, Number, Descr: WideString;

Reactance, RatingA, RatingB: Double

): WideString;

Section

Description

Creates a Series Reactor onto a Branch with the parameters passed to the function.

Should there be a name conflict, it returns the actual name of the Series Reactor.

Section

Parameters

Parameter

Usage

BranchName

Branch Name the Series Reactor should be connected to.

SectionID

Id of the section of the Branch on which to place the reactor

Status

Status of the Series Reactor(1 - in service, 0 - out of service)

Name

Unique Name. If not unique, it will be changed and the new name returned by the method.

Number

Unique Number

Description

A Description for the Series Reactor if it is required.

Q

Reactance in Ohms

RatingA

Normal Rating (Amps)

RatingB

Overload Rating (Amps)

Section

Method Result

Unique Series Reactor Name.

Section

Example

NewName := PowaMasterObj.CreateSeriesReactor( BranchName, SectionID, Status, OldName, NumberStr, DescriptionStr, 2,100 110);
 

if CompareText(NewName, OldName) <> 0 then ShowMessage('The Name has been changed');

Section

See Also

CreateBus

CreateGenerator

CreateLoad

CreateMotor

CreateInductionMotor

CreateShuntCap

CreateCoGen

CreateHarmonicSource

CreateBranch

CreateBranchSection

CreateTrfrBranch

CreateProtectionDevice

CreateSeriesCap

Section