|
<< Click to Display Table of Contents >> CreateInductionMotor Method
|
![]() ![]()
|
![]()
function CreateInductionMotor(
const BusName: WideString;
Status: Integer;
const Name, Number, Descr: WideString;
X, Y: Integer;
MotorDescr: WideString;
UseCalcSlip: Integer;
RunningSlip: Double
): WideString;
![]()
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.
![]()
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. |
![]()
Unique Load Name.
![]()
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');
![]()
![]()