The record for a distance phase relay is shown below. The first line must have the words DS PHASE RELAY, starting at column 1. The remaining data starts on the next line and can occupy one or more lines. The record ends with a blank line.
DS PHASE RELAY
BUS_NO1; BUS1; KV1; BUS_NO2; BUS2; KV2; CKT; BTYP;
RELAY_ID; CTR; PTR; TYPE; MTYP; MINI;
PICKUP; TD; OCTYP; NPARAMS;
PINDEX1; PVALUE1;
......
PINDEXn; PVALUEn;
BLANK; BLANK; CTRATIO; PTRATIO; MEMO; Z1DELAY; VTBUSNAME; VTBUSKV;
OCLIBNAME; STARTZ2; SGLZONE; TAG; ASSETID; FLAG;
ONDATE; OFFDATE; PKGB;
UDF;
RELAY_ID: An identifier for the relay. The relay ID can have up to 20 characters enclosed in quotation marks. The ID must be unique among all the distance relays in the same relay group.
CTR: CT ratio expressed as a single number, e.g., set CTR to 120 for a 600A:5A CT.
PTR: PT ratio expressed as a single number.
TYPE: Relay type enclosed by quotation marks. The relay type can have at most 18 characters. It must match exactly an available distance phase relay type in the Distance Relay Library referenced by the .DRL file.
MTYP: Manufacturer's type designation enclosed by quotation marks. It can have most 12 characters. The manufacturer's type is used for informational purposes only.
MINI: The minimum phase current, in secondary amps, that must be exceeded in order for relay to operate.
PICKUP: This value is ignored if the zone 2 has a fixed time delay; otherwise it is the pickup in secondary amps for the overcurrent relay.
TD: This value is ignored if the zone 2 has a fixed time delay; otherwise it is the time dial of the overcurrent relay.
OCTYP: The zone-2 timer type enclosed by quotation marks. Set this value to '__Fixed' if zone 2 has a fixed time delay; otherwise specify a relay type. The relay type can have at most 12 characters. It must match exactly an available relay type in the program OC Relay Library.
NPARAMS: Total number of distance relay parameters
PINDEX1, ...... PINDEXn: Index for each parameter of the relay type.
PVALUE1, ...... PVALUEn: Value for each parameter of the relay type.
BLANK: Unused field. Enter blank space in quotation marks.
BLANK: Unused field. Enter blank space in quotation marks.
CTRATIO: CT ratio as string in one of the following format X, X:Y or X/Y. Can have up to 12 characters enclosed in quotation marks.
PTRATIO: PT ratio as string in one of the following format X, X:Y or X/Y. Can have up to 12 characters enclosed in quotation marks.
MEMO: Memo with to 512 characters enclosed in quotation marks.
Z1DELAY: Zone 1 delay in seconds.
VTBUSNAME: PT bus name.
VTBUSKV: PT bus nominal kV.
OCLIBNAME: Name of OC relay library file containing the zone-2 TOC timer.
STARTZ2: Start zone 2 timer on zone 3 and 4 pickup flag. Enter 1 to enable. 0 – disable;
SGLZONE: Signal only zone. Enter an integer number with all the bits at positions that correspond to signal only zones set. The rest of the bits are reset; For example to indicate zone 3 and 4 as signal only, enter 12 (3rd and 4th bits are set).
TAG: Tag string with a maximum of 512 characters. Tags in string are separated by semicolon. Any alpha-numeric characters can be used, except for the string delimiter (single or double quotation mark). The tag string is enclosed in quotation marks.
ASSETID: Asset ID string with a maximum of 128 characters enclosed in quotation marks.
FLAG: Device on/off- line flag. Set flag to 1 for on-line device; 2 for off-line device.
ONDATE: In-service date. Set to 0 if not available. Otherwise enter an unsigned 32-bit integer that stores the year/month/date information given by the CTime object in the Microsoft Foundation Class.
OFFDATE: Out-of-service date. Set to 0 if not available. Otherwise enter an unsigned 32-bit integer that stores the year/month/date information given by the CTime object in the Microsoft Foundation Class.
PKGB: Protection package B flag. Enter 1 if true. Otherwise, enter 0.
UDF: User-defined data fields. Enter the list of user defined field values as a tab delimited text string enclosed in single quotes.