A2019015 en E!c WagoAppPowerPlantControl
A2019015 en E!c WagoAppPowerPlantControl
e!COCKPIT
WagoAppPowerPlantControl
a2019015
1.0.1
Public
2 e!COCKPIT
a2019015 WagoAppPowerPlantControl
Hansastrasse 27
D-32423 Minden
Email: [email protected]
Online: www.wago.com
Technical Support
Email: [email protected]
Every conceivable measure has been taken to ensure the accuracy and
completeness of this documentation. However, as errors can never be fully
excluded, we always appreciate any information or suggestions for improving the
documentation.
Email: [email protected]
We wish to point out that the software and hardware names, as well as the
trademarks of companies used and/or mentioned in the present manual, are
generally protected by trademark or patent.
Anwendungshinweis
1.0.1
Public
e!COCKPIT Table of Contents 3
a2019015 WagoAppPowerPlantControl
Table of Contents
1 Notes about this Documentation ............................................................. 4
1.1 Copyright ................................................................................................ 4
1.2 Symbols ................................................................................................. 4
1.3 Number Notation .................................................................................... 6
1.4 Font Conventions ................................................................................... 6
1.5 Legal Bases............................................................................................ 7
1.5.1 Subject to Changes ............................................................................ 7
1.5.2 Personnel Qualification ...................................................................... 7
1.5.3 Limitation of Liability ........................................................................... 7
1.6 Revision History...................................................................................... 8
2 Application Examples ............................................................................... 9
2.1 WagoApp_v1.***_PowerPlantControl_Example_01 .............................. 10
2.1.1 Components Used ........................................................................... 11
2.1.2 Structure .......................................................................................... 11
2.1.3 Starting the Simulation ..................................................................... 12
2.1.3.1 Power Plant Control..................................................................... 13
2.2 WagoApp_v1.***_PowerPlantControl_Example_02 .............................. 15
2.2.1 Components Used ........................................................................... 15
2.2.2 Structure .......................................................................................... 16
2.2.3 Sample Program .............................................................................. 17
2.2.3.1 Application Overview ................................................................... 17
2.2.4 Grid Information ............................................................................... 18
2.2.4.1 prgWagoApp494 ......................................................................... 18
2.2.5 Telecontrol Interface: prgWagoAppRTU........................................... 18
2.2.6 18
2.2.7 Controller Function: prgPowerPlantControl ...................................... 19
2.2.8 The “FbPowerPlantControl” Function Block ..................................... 20
2.2.9 The Configuration Parameters ......................................................... 21
2.3 Visualization ......................................................................................... 22
2.3.1 Global Configuration ........................................................................ 22
2.3.2 Configuration of the Active Power Functions .................................... 23
2.3.3 Configuration of Reactive Power Functions...................................... 25
List of Figures .................................................................................................. 30
List of Tables .................................................................................................... 31
Anwendungshinweis
1.0.1
Public
4 Notes about this Documentation e!COCKPIT
a2019015 WagoAppPowerPlantControl
1.2 Symbols
Personal Injury!
Indicates a high-risk, imminently hazardous situation which, if not avoided, will
result in death or serious injury.
Personal Injury!
Indicates a moderate-risk, potentially hazardous situation which, if not avoided,
could result in death or serious injury.
Personal Injury!
Indicates a low-risk, potentially hazardous situation which, if not avoided, may
result in minor or moderate injury.
Damage to Property!
Indicates a potentially hazardous situation which, if not avoided, may result in
damage to property.
Anwendungshinweis
1.0.1
Public
e!COCKPIT Notes about this Documentation 5
a2019015 WagoAppPowerPlantControl
Important Note!
Indicates a potential malfunction which, if not avoided, however, will not result in
damage to property.
Additional Information:
Refers to additional information which is not an integral part of this
documentation (e.g., the Internet).
Anwendungshinweis
1.0.1
Public
6 Notes about this Documentation e!COCKPIT
a2019015 WagoAppPowerPlantControl
Anwendungshinweis
1.0.1
Public
e!COCKPIT Notes about this Documentation 7
a2019015 WagoAppPowerPlantControl
Moreover, the persons named here must also be familiar with all of the products
cited in this document, along with the operating instructions. They must also be
capable of correctly predicting any hazards which may not arise until the products
are combined.
WAGO GmbH & Co. KG assumes no liability resulting from improper action and
damage to WAGO products and third-party products due to non-observance of
the information contained in this document.
WAGO GmbH & Co. KG assumes no liability for the realization of these
concepts.
Anwendungshinweis
1.0.1
Public
8 Notes about this Documentation e!COCKPIT
a2019015 WagoAppPowerPlantControl
Anwendungshinweis
1.0.1
Public
e!COCKPIT Application Examples 9
a2019015 WagoAppPowerPlantControl
2 Application Examples
Note Installation of Sample Projects for e!COCKPIT
Anwendungshinweis
1.0.1
Public
10 Application Examples e!COCKPIT
a2019015 WagoAppPowerPlantControl
2.1 WagoApp_v1.***_PowerPlantControl_Example_01
This example is a minimal project that requires no hardware and is designed to
be simulated in the e!COCKPIT development environment.
During the simulation, the individual functions of the power plant controller
function block can be tested. To allow visualization of the controller behavior,
traces are prepared in which the signals (setpoint, actual value and controller)
are recorded.
Anwendungshinweis
1.0.1
Public
e!COCKPIT Application Examples 11
a2019015 WagoAppPowerPlantControl
The two traces are used to record and display the active1 and reactive2 power
control. This allows the behavior of the power plant controller to be verified for
different settings and situations.
You should now see that the symbolical representation of the controller and the
feedback symbol to the left of the prgPowerPlantControl program have changed
to green.
Anwendungshinweis
1.0.1
Public
e!COCKPIT Application Examples 13
a2019015 WagoAppPowerPlantControl
First, the power plant controller must be enabled. This is done by setting the
variable g_xPPC_Enable from the GVL to “TRUE.” Until this is enabled, the
controller performs no control functions.
If the functions to be tested are configured correctly in the PVL, the scenarios can
be executed by adjusting the corresponding parameters in the GVL. The result of
the parameter changes can be observed in the trace.
Anwendungshinweis
1.0.1
Public
14 Application Examples e!COCKPIT
a2019015 WagoAppPowerPlantControl
In the above trace, an active power setpoint change from 0.5 pu to 0.75 pu was
recorded.
The setpoint is shown in red, the actual values in blue and the controller value in
green. The blue value in the upper diagram is the time progression of the internal
setpoint. The blue value in the lower diagram represents the time progression of
the current active power.
Anwendungshinweis
1.0.1
Public
e!COCKPIT Application Examples 15
a2019015 WagoAppPowerPlantControl
2.2 WagoApp_v1.***_PowerPlantControl_Example_02
2.2.1 Components Used
Table 5: Required Devices, Materials and Libraries
Device/Material/Library Description
WagoAppPowerPlantControl Library with certified Power Plant Controller
2759-203 / 211-1000 License for using the
WagoAppPowerPlantControl library in an
application on a controller
750-8212 2nd Generation WAGO 2nd Generation PFC200 Controller
PFC200
750-402 4-Channel Digital Input; 24 VDC; 3 ms
750-555 4-Channel Analog Output; 4 … 20 mA
750-494/025-001 3-Phase Power Measurement Module; 480 VAC;
5A
750-600 End Module
2857-570/024-005 (optional) 3-Phase Power Measurement Module;
AC 3x400/690 5 A; Modbus RTU
e!COCKPIT Development environment
2759-101 / 1110-2002 Workstation license for the development
environment
Anwendungshinweis
1.0.1
Public
16 Application Examples e!COCKPIT
a2019015 WagoAppPowerPlantControl
2.2.2 Structure
The hardware used is a second generation PFC200 with telecontrol technology.
The grid information, such as voltage, frequency and active/reactive power, can
be acquired in different ways. The most common way is with the 3-phase
measurement module (750-494 or 750-495) or by coupling an external
measuring device, e.g. via Modbus.
The output setpoints from the Power Plant Control function block (power plant
controller) are output via an analog output module.
Anwendungshinweis
1.0.1
Public
e!COCKPIT Application Examples 17
a2019015 WagoAppPowerPlantControl
- Visualization
The four parts of the application are assigned to their own tasks, so they are
decoupled from each other. Parameters are passed between the individual parts
via globally defined variables.
The application contains a visualization, which serves as the HMI.3 It can be used
to parameterize the configuration, among other things.
3
HMI = Human Machine Interface: interface for users to display information, make
settings and/or control the application
Anwendungshinweis
1.0.1
Public
18 Application Examples e!COCKPIT
a2019015 WagoAppPowerPlantControl
2.2.4.1 prgWagoApp494
In this program, the required voltage and frequency parameters and the power
values are retrieved from the 3-phase measurement module. According to the
description in the module manual, this is done by a function block from the Wago
WagoAppPowerMeasurement library.
Anwendungshinweis
1.0.1
Public
e!COCKPIT Application Examples 19
a2019015 WagoAppPowerPlantControl
First the _updGridInfo() method is called. In this method, the grid information is
updated.
Then the Power Plant Control function block is executed to update the control on
the basis of the new values.
Finally, the outputs are set according to the setpoint specifications by calling the
_updOutput() method.
Anwendungshinweis
1.0.1
Public
20 Application Examples e!COCKPIT
a2019015 WagoAppPowerPlantControl
This function block is the certified function block that must be used as the basic
component for creating your own power plant controller application.
In addition to the current grid information such as voltage, frequency and active
and reactive power, as well as the setpoints, a configuration is also required. This
structure should always be created with a default configuration.
Anwendungshinweis
1.0.1
Public
e!COCKPIT Application Examples 21
a2019015 WagoAppPowerPlantControl
In the application example, the corresponding instance has been defined in the
persistent area to ensure a consistent configuration.
Anwendungshinweis
1.0.1
Public
22 Application Examples e!COCKPIT
a2019015 WagoAppPowerPlantControl
2.3 Visualization
The visualization in Application Note 02 mainly uses the visualization templates
provided in the “WagoAppPowerPlantControl” library.
Figure 14: Global Configuration of the Power Plant Control Function Block
Anwendungshinweis
1.0.1
Public
e!COCKPIT Application Examples 23
a2019015 WagoAppPowerPlantControl
Anwendungshinweis
1.0.1
Public
24 Application Examples e!COCKPIT
a2019015 WagoAppPowerPlantControl
Figure 18: Configuration of the Active Power Adjustment Based on Mains Frequency
Anwendungshinweis
1.0.1
Public
e!COCKPIT Application Examples 25
a2019015 WagoAppPowerPlantControl
Anwendungshinweis
1.0.1
Public
26 Application Examples e!COCKPIT
a2019015 WagoAppPowerPlantControl
Figure 21: Configuration of the Control According to Reactive Power/Active Power Characteristic
Figure 22: Configuration of the Control According to the Reactive Power/Voltage Characteristic with
Limiting Function
Anwendungshinweis
1.0.1
Public
e!COCKPIT Application Examples 27
a2019015 WagoAppPowerPlantControl
Anwendungshinweis
1.0.1
Public
28 Application Examples e!COCKPIT
a2019015 WagoAppPowerPlantControl
Figure 25: Configuration of the Slave Mode of the Reactive Power Control Function
Anwendungshinweis
1.0.1
Public
e!COCKPIT List of Figures 29
a2019015 WagoAppPowerPlantControl
Anwendungshinweis
1.0.1
Public
30 List of Figures e!COCKPIT
a2019015 WagoAppPowerPlantControl
List of Figures
Figure 1: e!COCKPIT Sample Projects ............................................................... 9
Figure 2: Power Plant Controller: Active Power Control Loop .............................10
Figure 3: Power Plant Controller: Reactive Power Control Loop .........................10
Figure 4: Example_01 Project Structure .............................................................11
Figure 5: “Simulate Application” Button ..............................................................12
Figure 6: Starting the Simulation ........................................................................12
Figure 7: Enabling the Power Plant Controller ....................................................13
Figure 8: Download Trace ..................................................................................13
Figure 9: Trace View ..........................................................................................14
Figure 10: Node Image.......................................................................................16
Figure 11: Example_02 Project Structure ...........................................................17
Figure 12: “prgPowerPlantControl” Program Structure .......................................19
Figure 13: “FbPowerPlantControl” Function Block ..............................................20
Figure 14: Global Configuration of the Power Plant Control Function Block .......22
Figure 15: Active Power PID Controller ..............................................................23
Figure 16: Active Power Setpoint Configuration .................................................23
Figure 17: Active Power Gradient Configuration after Voltage Recovery ............24
Figure 18: Configuration of the Active Power Adjustment Based on Mains
Frequency .................................................................................................24
Figure 19: Reactive Power Function and PID Controller Configuration ...............25
Figure 20: Configuration of the Control According to Reactive Power/Voltage
Characteristic ............................................................................................25
Figure 21: Configuration of the Control According to Reactive Power/Active
Power Characteristic .................................................................................26
Figure 22: Configuration of the Control According to the Reactive Power/Voltage
Characteristic with Limiting Function .........................................................26
Figure 23: Configuration of the cos(φ) Control....................................................27
Figure 24: Configuration of the Reactive Power Setpoint Specification ..............27
Figure 25: Configuration of the Slave Mode of the Reactive Power Control
Function ....................................................................................................28
Anwendungshinweis
1.0.1
Public
e!COCKPIT List of Tables 31
a2019015 WagoAppPowerPlantControl
List of Tables
Table 1: Number Notation ................................................................................... 6
Table 2: Font Conventions .................................................................................. 6
Table 3: Revision History .................................................................................... 8
Table 4: Required Devices, Materials and Libraries ...........................................11
Table 5: Required Devices, Materials and Libraries ...........................................15
Anwendungshinweis
1.0.1
Public
WAGO GmbH & Co. KG
Postfach 2880 • D-32385 Minden
Hansastraße 27 • D-32423 Minden
Phone: 0571/887 – 0
Fax: 0571/887 – 844169
Email: [email protected]
Internet: www.wago.com
Public