Professional Documents
Culture Documents
Tutorial - NEPLAN Simulator
Tutorial - NEPLAN Simulator
Introduction
In this section, you will learn how you may enter dynamic data like exciters
governors, regulators and control circuits (CCT). In NEPLAN you may enter
regulators and control circuit in many different ways. Below we show you how to
define and enter regulators like exciters and governors in different ways and what
are the advantages and disadvantages thereof:
Please note:
The preferred and easiest way to enter a regulator (like exciter, turbine and
governor) is using a predefined NEPLAN standard regulator (see below)!
1. Add an exciter graphically. You have to enter the standard regulator just like
any other element in the network. You find the regulator symbol in the
“Symbol Window -> FACTS/DC/Specials”.
2. Add a generator to the network.
3. You may assign an exciter to a generator in the dialog below with the button
“…”.
4. If the exciter is not yet in the network you may add and edit the exciter
directly in the synchronous machine dialog. The exciter will then not appear
on the single line diagram. You may also add the exciter first graphically
(see above).
Once again: if a predefined type is available you should use this standard type.
These predefined NEPLAN regulator types are optimized for the NEPLAN
simulator.
NEPLAN allows entering a user defined CCT in a very comfortable way with the
help of a function block editor. Normally you will design this CCT in a separate
NEPLAN diagram. A nested CCT element may be entered first. Then you may
with the right mouse button directly open the diagram through the popup menu
(popup menu item “Subsystem”).
3
2
Fig. 16.3 Insert CCT symbol and create diagram for CCT
Fig. 16.4 Create a CCT with the NEPLAN function block editor
Fig. 16.5 Accessing the CCT diagram directly with the popup-menu (right mouse
button)
NEPLAN offers a pre-built control circuit library which has been built up with
function blocks (note: the library is not available in the demo version).
You may make use of this library instead of building up the block diagram from
scratch (see above how to create a new CCT and an empty diagram).
This is not the preferred option to enter standard regulators like IEEE exciters.
The CCT library may help if you have to enter a new CCT which is not in the
standard library and therefore you have to define your own regulator. If you have
to use the structure of this user defined CCT many times in your networks (e.g. an
exciter structure which is used for many generators) you should build up this
regulator model with our NEPLAN component modeling tool in MATLAB and
generate a user defined DLL model. It is easier to add the regulators in NEPLAN
and the overall performance in NEPLAN is better.
Generating a CCT with function blocks is the preferred option, if that CCT is used
only a few times (about 1-5 times) within the network.
Fig. 16.7 Insert regulator symbol and insert user defined created C++ model (DLL File)
1. Insert a “CCT and Signal Block” from the menu item “Insert”.
2. In the “Port Selection” tab you may know define the input and output signals
(variables). You need to select a variable with the “Port Selection” button.
3. In the “Port/Signal Selection” list you should define which ports/signals are
input or output pins. You may also define a pin name, which will be
displayed on the single line diagram. Very important is to know if the signal
will be used in SI units or in per unit. If the signal will be used in per unit, is
very important to know in which per unit system the signal will be used.
Normally P, Q and I are used in the “system” per unit system (with 100 MVA
as base system). When defining regulators for elements (e.g. exciters) then
the corresponding element per unit system (with rated power of the element
as base) will be used within the regulator. If you define a master controller
with P, Q, I as input, then the “system” per unit system should be used.
Therefore NEPLAN provides the possibility to convert the signal to the
corresponding per unit system.
4. After you have defined the input/outputs of the element you may connect
the “Signal Block” elements with links, like any other element. In the
example below there is a “Signal Block” for the DFIG which connects its
output variables (P and Q) to the input of the PWM controller. The voltage
of the DC node is input to the second PWM controller.
Fig. 16.9 Defining ports/signals of the “CCT and Signal Block” element
1. Insert a “CCT and Signal Block” from the menu item “Insert”.
2. In the “Model Definition” you may add a predefined regulator or turbine.
After the selection of the regulator you must close the dialog.
3. Now re-open the dialog again. Then a new tab should be available for
defining the regulator or turbine data.
4. Now you may also define the signals (input/output ports) which will be
connected to other regulators/elements.
Fig. 16.10 Defining a standard regulator in the “CCT and Signal Block” element
Fig. 16.11 “CCT and Signal Block” dialog with added standard regulator
If you need a CCT which was build up with function blocks more than once (same
CCT structure only with different parameters), then you would need to make
another diagram with the same CCT and change the parameters of the function
blocks accordingly. To avoid making several diagrams with same CCT (with only
different function block parameters) you may make use of the “CCT and Signal
Block” element. The “CCT and Signal Block” element allows you using the same
CCT with block diagrams several times and the CCT diagram has to be building
up only once.
1. Insert a “CCT” element and create a new diagram. In this diagram you may
now design your CCT with function blocks (see above “Entering a CCT with
Function Blocks”.
2. If you need to have the same CCT again for another element, then insert a
“CCT and Signal Block” from the “Insert” menu (see above).
3. In the “Model Definition” you may select this CCT. After the selection of the
regulator you must close the dialog.
4. Now re-open the dialog again. Then a new tab “CCT Block-Model” should
be available for defining the parameters of the function blocks of the CCT.
5. With double click you may change the parameters of the function blocks.
6. Do not forget to assign the new input/outputs of the input, output and
network source function blocks.
Fig. 16.14 Defining the function block parameters in a “CCT and Signal Block” element
Before you can start the NEPLAN dynamic simulator you must define some
calculation parameters:
- Calculation parameters for the mathematical calculation engine. At leas you
should define the end time of the simulation. Normally you should not
change the other parameters. Use the assigned default values.
- Disturbances have to be defined. You normally need to define one or
several disturbances (e.g. short circuit) and the times at which the
disturbances happen.
- Signal (variables, e.g. P,Q, U, f, etc, ) which you want to display at run time
and the signals which should be stored for reporting purposes in the
NEPLAN chart manager should be defined.
The most important parameters for the calculation engine are the type of
simulation that should be executed and the simulation end time.
Defining disturbances
and X of the fault and the duration of the fault. The fault will be treated internally
like an element. It may be connected at certain time and disconnected after the
fault clearing time. With the “General Fault Element” any type of short circuit may
be defined (see below).
Before you start the simulation you need to now which results you want to display.
Per default no result will be saved. Since saving of all signals (variables) during
the simulation of a large network would decrease the overall performance, it is
necessary to define the signals (variables, e.g. P,Q, U, f, etc, ) which you want to
display at run time and the signals which should be stored for reporting purposes
in the NEPLAN chart manager. The “Pos” flag in the dialog below defines the
position of the curve in the run time chart. The “File” flag indicates that the signal
result will be saved and the curve might be displayed later in the NEPLAN chart
manager for reporting purposes. Since there is only one y-axis on the run time
charts, you should take care that the curves on the same chart (same “Pos” flag)
have about the same value ranges (e.g. p.u. values 1...0). Since all internal and
external variable of all models as well as some additional measurement variables
(I, P, Q, f) may be selected, NEPLAN offers the greatest possible access to the
results after the dynamic simulation.
Fig. 16.21 Screen plots: run time plot wind turbines (blade angles and power in pu)
Since the NEPLAN dynamic simulator is a very strong tool, allowing entering data
in many different ways, we have included many examples specifically for the
dynamic simulator module. Among many others we have included these IEEE
benchmark systems:
- IEEE 9-Bus,
- IEEE 14-Bus
- IEEE 39-Bus
- IEEE 68-Bus
Some examples are benchmark examples, where the input data and the
results are available from universities on the web. The results of the NEPLAN
simulator may be compared and validated with the corresponding benchmark
data.