Watt Price Driver (.Net)
The Watt Price Driver (.Net) provides access to daily electricity market results published at http://www.ote-cr.cz. Data is retrieved from the official SOAP API available at: https://www.ote-cr.cz/services/PublicDataService.
Driver Setup
- Add a PLC with a running .Net Server for Mervis RT to the project, see Installation / update guide for .Net Server for Mervis RT
- Enable .Net drivers in the PLC configuration: PLC\Configuration ⇒ Common\Enable .NET Drivers: true
- Add a Channel to the PLC, Protocol: Watt Price (.Net)
- Add a Library Device to the Channel: CzechRepublic\OTE\Watt Price 15-Minute Period (Array)
- The following parameters are preconfigured on the added device:
- Price API Type: SOAP
- Price API URI: https://www.ote-cr.cz/services/PublicDataService
- Price API Time Zone: Europe/Prague
- Date Shift Days: 0 (0 = today, -1 = yesterday, 1 = tomorrow, etc.)
- Data point mapping is done via `Variable Identifier`:
- PriceInQH_0xx (e.g. PriceInQH_001) – price for the specific quarter-hour
- PriceInQH – array of prices for the quarter-hours of the day
- QuarterHoursInDay – number of quarter-hours in the day
- PriceMinimum – minimum price
- PriceMaximum – maximum price
- PriceAverage – average price
- PriceCurrent – current price
- Variables can be created and linked manually, or by using the Set Autogen function