CreateInductionMotor Method
Declaration Description Parameters Method Result See Also Example

<< Click to Display Table of Contents >>

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

CreateInductionMotor Method
Declaration Description Parameters Method Result See Also Example

Previous pageReturn to chapter overviewNext page

 

Section

Declaration

 

function CreateInductionMotor(

const BusName: WideString;

Status: Integer;

const Name, Number, Descr: WideString;

X, Y: Integer;

MotorDescr: WideString;

UseCalcSlip: Integer;

RunningSlip: Double

): WideString;

Section

Description

Creates an Induction Motor onto a Bus Bar with the parameters passed to the function.

Should there be a name conflict, it returns the actual name of the Induction Motor.

Section

Parameters

 

Parameter

Usage

BusName

Bus Name the Induction Motor should be connected to.

Status

Status of the Induction Motor (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 Induction Motor.

X

X Co-ordinate of the Induction Motor(allows placement of the motor along the length of the bus)

Y

Y Co-ordinate of the Induction Motor

MotorDescr

The Motor Category that contains the specifications of this Induction Motor

UseCalcSlip

If enable the calculated running slip will be use, otherwise the running slip as entered will be used in the load flow calculations

RunningSlip

See previous parameter usage.

Section

Method Result

Unique Load Name.

Section

Example

NewName := PowaMasterObj.CreateInductionMotor( BusName1, 1,OldName, NumberStr, DescriptionStr, 10, 110, 'General', '10kW 11kV Motor', 1, 0.002);
 

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

Section

See Also

CreateBus

CreateGenerator

CreateLoad

CreateMotor

CreateShuntCap

CreateCoGen

CreateHarmonicSource

CreateBranch

CreateBranchSection

CreateTrfrBranch

CreateProtectionDevice

CreateSeriesCap

CreateSeriesReactor

Section