TechRef Clock
TechRef Clock
PowerFactory 2018
I N T EG R AT E D P O W E R S Y S T EM A N A LY S I S S O F T WA R E F O R
T R A N S M I S S I O N / D I S T R I BU T I O N / I N D U S T RY / G EN E R AT I O N / I N T EG R AT I O N O F R EN E WA B L E S
Publisher:
DIgSILENT GmbH
Heinrich-Hertz-Straße 9
72810 Gomaringen / Germany
Tel.: +49 (0) 7072-9168-0
Fax: +49 (0) 7072-9168-88
[email protected]
December 4, 2017
PowerFactory 2018
Revision 1
Contents
Contents
1 General Description 1
2 Dynamic Simulation 1
3 Example Configuration 2
A Parameter Definitions 5
B Signal Definitions 5
List of Figures 6
List of Tables 7
1 General Description
The digital models need a clock input to trigger their calculations. The clock is a pulse generator
which provides this signal. The clock model creates a signal with a clock pulse of a given
duration and ratio Ton/Tp. Output signals are clock pulse and clock duration. The output for a
clock signal with Ton/Tp=0.5 looks like:
Ton
0
Tp
2 Dynamic Simulation
extfrq output
Used Clock Frequency The extfrq signal input can be used to set the clock frequency. This is
useful if the clock frequency is to be changed during simulation. If a signal is connected to extfrq
the clock frequency is set to extfrq, regardless of the frequency or period set in the dialog box.
If Use measurement Frequency is enabled the clock frequency is set by the Start Measurement
command which is used only for the input of measured signals with a data acquisition board.
In most configurations Use measurement Frequency is disabled, therefore the clock period (Tp)
is required. Both, clock period or clock frequency can be entered, the corresponding quantity is
calculated automatically.
Note: For proper functionality of the clock it is required that the simulation step size is smaller
than the clock period.
3 Example Configuration
The examples show two small configurations where the Fast Fourier Transformation model is
used to perform a FFT analysis on a signal.The analyzed signal is created with the Fourier
Source model. The clock signal for the FFT is generated by the digital clock.
In the example block diagram on the right the clock frequency is set by an external block.
DIgSILENT
Internal Clock:
output cl
Clock 0
ElmClock
yo input
Waveform A 1
ElmFsrc
DIgSILENT
External Clock:
extfrq output cl
ExtFrq Clock 0
* ElmClock
yo input
Waveform A 1
ElmFsrc
DIgSILENT
1.25
1.00
0.75
0.50
0.25
0.00
-0.25
0.00 0.10 0.20 0.30 [ms] 0.40
Clock 1ph: Output
A Parameter Definitions
B Signal Definitions
List of Figures
List of Tables