DefiniteTimeRelay
A definite-time relay with optional lockout. Each relay models one element.
Notes
Designed to measure a BranchBreakers terminal current, a bus voltage, or a frequency, and to drive a BranchBreakers
trip1ortrip2input.The element operates above \(M_\mathrm{pickup}\) if \(M_\mathrm{pickup} > M_\mathrm{ref}\) and below it otherwise.
With lockout, the relay commits to trip once \(x\) passes \(1/2\), so it may measure the current it interrupts.
Model Parameters
Symbol |
Units |
JSON |
Description |
Typical Value |
Note |
|---|---|---|---|---|---|
\(M_\mathrm{pickup}\) |
[p.u.] |
|
Pickup level |
Required |
|
\(M_\mathrm{ref}\) |
[p.u.] |
|
Reference level |
Required; 0 for current, 1 for voltage and frequency |
|
\(T_\mathrm{trip}\) |
[s] |
|
Trip time |
Required; time to \(x = 3/4\) for \(p = 1\) |
|
\(s_\mathrm{lock}\) |
[boolean] |
|
Lockout selector |
|
|
Parameter Validation
All real parameters must be finite.
Model Derived Parameters
Model Ports
Name |
Port |
Init |
Description |
|---|---|---|---|
|
Input |
Known |
Required measured quantity, real component |
|
Input |
Known |
Measured quantity, imaginary component |
|
Output |
Known |
Required trip command |
Unattached mi defaults to zero, so absolute frequency uses mr alone.
Model Variables
Internal Variables
Differential
Symbol |
Units |
Description |
Note |
|---|---|---|---|
\(x\) |
[-] |
Relay latch |
Algebraic
Symbol |
Units |
Description |
Note |
|---|---|---|---|
\(s\) |
[-] |
Trip command |
|
External Variables
Differential
None.
Algebraic
Symbol |
Units |
Description |
Note |
|---|---|---|---|
\(m_r\) |
[p.u.] |
Measured quantity, real component |
|
\(m_i\) |
[p.u.] |
Measured quantity, imaginary component |
|
Model Equations
Smooth functions: above,
latch,
logistic (\(\sigma\)).
For readability, define:
Internal Equations
Differential
Algebraic
External Equations
None.
Initialization
All internal derivatives initialize to zero.
Monitors
Monitor |
Units |
Description |
Note |
|---|---|---|---|
|
[p.u.] |
Measured quantity magnitude |
\(\sqrt{m_r^2 + m_i^2}\) |
|
[-] |
Relay latch |
\(x\) |
|
[-] |
Trip command |
\(s\) |