CreateSeriesCap Method
Declaration Description Parameters Method Result See Also Example

<< Click to Display Table of Contents >>

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

CreateSeriesCap Method
Declaration Description Parameters Method Result See Also Example

Previous pageReturn to chapter overviewNext page

 

Section

Declaration

 

function CreateSeriesCap(

const BranchName: WideString;

SectionID, Status: Integer;

const Name, Number, Descr: WideString;

Reactance: Double;

Available, InService: Integer;

RatingA, RatingB: Double

): WideString;

Section

Description

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

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

Section

Parameters

Parameter

Usage

BranchName

Branch Name the Series Capacitor should be connected to.

Status

Status of the Series Capacitor(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 Capacitorif it is required.

Q

Capacitor Reactance in Ohms

Available

Number of available capacitor banks

InService

Capacitor banks in service

RatingA

Normal Rating (Amps)

RatingB

Overload Rating (Amps)

Section

Method Result

Unique Series Capacitor Name.

Section

Example

NewName := PowaMasterObj.CreateSeriesCap( BranchName, Status, OldName, NumberStr, DescriptionStr, 2, 3, 1, 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

CreateSeriesReactor

Section