Digsilent Powerfactory: Technical Reference Documentation
Digsilent Powerfactory: Technical Reference Documentation
Trigger
ElmTrigger
DIgSILENT GmbH
Heinrich-Hertz-Str. 9
72810 - Gomaringen
Germany
T: +49 7072 9168 0
F: +49 7072 9168 88
http://www.digsilent.de
info@digsilent.de
Version: 15.2
Edition: 1
Copyright 2014, DIgSILENT GmbH. Copyright of this document belongs to DIgSILENT GmbH.
No part of this document may be reproduced, copied, or transmitted in any form, by any means
electronic or mechanical, without the prior written permission of DIgSILENT GmbH.
Trigger (ElmTrigger)
Contents
Contents
1 General Description
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.3 Gradient . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Dynamic Simulation
3 Example Configuration
A Parameter Definitions
B Signal Definitions
List of Figures
List of Tables
10
Trigger (ElmTrigger)
General Description
General Description
1.1
Overview
The trigger model monitors the value of a signal. If certain trigger conditions are met the model
will start a trigger event. This will produce a message in the output window, and in case that it
is used in the PowerFactory monitoring system, force the triggered result files to store the data.
An input clock signal starts the calculation. The input signals are read and checked at every
rising edge of the signal connected to the clock input.
General
1.50
Upper Bound Y = 1.100
1.50
DIgSILENT
1.2.1
Trigger Conditions
1.20
0.90
0.60
1.20
0.90
0.60
0.30
0.30
0.00
0.00
-0.30
1.2
-0.30
0.00
2.00
Trigger: Input
4.00
6.00
[s]
8.00
0.00
2.00
Trigger: Input
4.00
6.00
[s]
8.00
6.00
[s]
8.00
1.20
1.25
0.90
1.00
0.60
0.75
0.50
G Y = 0.200
0.00
Gradient Y = 0.200
0.30
0.25
-G Y = -0.200
-0.30
0.00
-0.60
-0.25
0.00
2.00
Trigger: Input
4.00
6.00
[s]
8.00
0.00
2.00
Trigger: Input
4.00
Trigger: Gradient
Trigger: Gradient
General Description
1.2.2
These trigger conditions are violated if the measured signal exceeds (parameter valmax) or falls
below (parameter valmin) the given thresholds.
1.2.3
Gradient
This trigger condition is violated if the magnitude of the calculated gradient exceeds a given
threshold. Therefore there is only one threshold for rising or falling gradients. The time period
for calculation is given by the number of measurements.
2.0
1.0
0.0
0.1
0.2
Input Signal
Gradient (4 readings)
0.3
0.4
Clock
Tg = ng fc
Therefore the number of points results in:
Trigger (ElmTrigger)
General Description
ng =
Tg
fc
1.3
Usually the trigger is used to control result files for acquiring data. This option is enabled with the
setting Acquire Data on the Basic Data page of the dialog box. If a trigger condition is violated
(viol=1) the result file starts acquiring data for a given time period. Pre, Post and Maximum
Post-trigger times are defined in the results object.
The recording time results in:
Tr = Tpre + Tpost
The maximum recording time results in:
Tr = Tpre + Tmax
where:
Tr : Recording time in s
Tpre : Pre-trigger time in s
Tpost : Post-trigger time in s
Tmax : Maximum post-trigger time in s
1.3.1
Example
Figure 1.3 shows a curve with a single trigger event. The trigger condition is violated at t=0 s.
Data recording ends at:
t = 0s + 10s = 10s
Trigger (ElmTrigger)
Dynamic Simulation
s:viol
single trigger
retrigger
-5.0
0.0
5.0
10.0
15.0
20.0
pretrigger time
posttrigger time
max. posttrigger time
single trigger, recording time
retriggered, recording time
t = 8s + 10s = 18s
18 s exceeds the maximum post-trigger time of 15 s, therefore the recording ends at 15 s.
1.4
The PowerFactory Monitoring system (PFM) stores data in two different result objects. These
are the Instantaneous and the RMS results. The result objects are collecting data in a buffer
which is written to a file in case of a trigger event. The Instantaneous file is acquiring data at
every simulation step size. The RMS values file is controlled by several calculation models. The
trigger can be used to control the writing of the RMS file. The different options are:
Always the RMS file is acquiring data when the output ready is set
If trigger state changes the RMS file is acquiring data when the trigger output viol changes
(s : viol 1 => 0 or 0 => 1)
Never the trigger does not influence data acquisition of the RMS file.
Dynamic Simulation
Single Phase
Three Phase
in_A
in_B
in_C
viol
in
viol
ready
cl
ready
cl
Example Configuration
Example Configuration
DIgSILENT
The example is acquiring data using the PowerFactory monitor system. The interface to the data
acquisition system is realized with the block named Acquisition. The trigger (Trig) is monitoring
the signal y1 of the data acquisition interface. The clock is controlling the trigger.
Trigger:
output
cl
Clock
ElmClock
Trig
ElmTrigger
y1
Acquisition
ElmMeas
in
1
Trigger (ElmTrigger)
Signal Definitions
Parameter Definitions
Table A.1: Trigger Parameters
Parameter
Description
Unit
loc name
outserv
nphase
res
iopt res
sleep
i max
valmax
npickmax
ndropmax
i min
valmin
npickmin
ndropmin
i grd
valgrd
npickgrd
ndropgrd
npts
Name
Out of service
Number of phases
Acquire data
Writing of RMS results
Number of measured values after start until trigger gets active
Maximum, On
Maximum, Threshold
Maximum, Set after...
Maximum, Reset after...
Minimum, On
Minimum, Threshold
Minimum, Set after...
Minimum. Reset after...
Gradient On
Gradient Threshold
Gradient, Set after...
Gradient Reset after...
Number of points for calculation of gradient
Signal Definitions
Table B.1: Input/Output signals
Name
Description
in A
in B
in C
in
cl
viol
Input phase A
Input phase B
Input phase C
Input (single phase trigger only)
Clock input
Output of trigger state (! = 0 => any of the
trigger conditions violated)
Ready signal
ready
Trigger (ElmTrigger)
Unit
Type
Model
IN
IN
IN
IN
IN
OUT
RMS, EMT
RMS, EMT
RMS, EMT
RMS, EMT
RMS, EMT
RMS, EMT
OUT
RMS, EMT
List of Figures
List of Figures
1.1 Trigger Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Trigger (ElmTrigger)
List of Tables
List of Tables
A.1 Trigger Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Trigger (ElmTrigger)
10