Vestas ODBC
Purpose
This plugin will read from the Vestas Data Historian, which is a Microsoft SQL Server, via ODBC.
Configuration of the Ardexa Edge Device
Ensure you have read a copy of the manufacturer's operating and safety manual. Please review the manual for safety instructions. Ardexa uses the Vestas Historian to read live and historical data. The Historian uses a Microsoft SQL Server to store the data. It is available from TCP Port 1433 on the IP address for which the Vestas Historian server is located. Access to the data is via userid and password to a specific database. Ardexa needs access to the following four items of information:
Once the Ardexa edge device is installed on the plant's network, verify that it can "ping" the Vestas Historian using the following command in the REMOTE SHELL (replace the IP address with the IP address of the Historian Server):
Also, check that the TCP Port for the Vestas Historian is open. You can do this using the REMOTE SHELL, using the nmap command as follows.
Generally speaking, most firewalls are stateful. This means that once you allow outgoing connections, the firewall will recognise responses coming back from the Internet and let them pass despite the fact that there is no explicit rule to allow incoming data. Some older Vestas installations may require additional rules to allow the Ardexa machine to work correctly. So be aware that;
The firewall may not be stateful and therefore explicit incoming rules need to be created to allow replies to come back through the firewall (5671/tcp, 53/udp)
DNS uses UDP which is not a "connection orientated" protocol and while modern routers handle it just fine. Some Vestas sites might be old enough to require explicit rules to allow DNS.
Please don't forget to send to Ardexa:
Clear photographs of the installation
The IP address of the Vestas Historian
The userid of the Vestas Historian
The password of the Vestas Historian
The database name
The quantity and model numbers of all wind turbines at the park
Usage
The Linux driver to read the Microsoft SQL Server is automatically installed and configured when this plugin is installed. This Ardexa plugin will read the Vestas data, via the Historian, in real time, and send it to the Ardexa cloud. Vestas Historian data is recorded at no less than 10 minute intervals, and stored historically for (usually) the life of the system. Selected data is collected from the Historian. A single scenario should be setup up to read data at 5 minute intervals. Ardexa will only send data to the cloud if the timestamp of the last read has changed.
Run a discover
to see all the data. It will also show the data and time on SQL Server and compare it to the Ardexa device. Pay particular attention to these, since at times the Vestas Historian time may not be synced. All date and times are in UTC.
All data will be sent to the wind10m
and logbook
tables. Ardexa is able to send all historical data to the cloud, if required.
Arguments
Configuration YAML
A configuration YAML file must be included which can contain up to 6 items of information. An example of which is:
The
db_name
,driver
and/orport
maybe excluded and the default values will be used as follows:
Debug Commands
Running a discover
command with -vv
(debug data), will show the available tables and all available data in the database. Command is:
You can run a first
verb, which will show the table names, how many recordxs in each table, and the earliest data record. Command is:
It will return something like:
Last updated