|
<< Click to Display Table of Contents >> CreateSeriesCap Method
|
![]() ![]()
|
![]()
function CreateSeriesCap(
const BranchName: WideString;
SectionID, Status: Integer;
const Name, Number, Descr: WideString;
Reactance: Double;
Available, InService: Integer;
RatingA, RatingB: Double
): WideString;
![]()
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.
![]()
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) |
![]()
Unique Series Capacitor Name.
![]()
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');
![]()
![]()