Overview
The EEX import function (<importType>EEX</importType>) imports time series of an EEX data stream (transformed electricity rates time series; https://www.eex.com/en/).
The importer supports the following elements and attributes:
- timeZone: optionally parsed from the timeZone element. If not set, the default timezone is used.
- location id: is determined from the header stationName.
- parameter id: is determined from the header parameterId.
- observation time: The event attributes date and time are combined following the yyyy-mm-dd hh:mm:ss format.
- observation value: the value attribute of an event.
- flag: the flag value from the event.
Exactly one TimeSeries element is expected. There can be one or more series element.
Example
An example of the format is is shown next.
<?xml version="1.0" encoding="utf-8"?> <TimeSeries> <timeZone>0</timeZone> <series> <header> <stationName>Swissix</stationName> <parameterId>Prix</parameterId> </header> <event date="2013-09-30" flag="0" time="00:00:00" value="21.14" /> <event date="2013-09-30" flag="0" time="01:00:00" value="18.08" /> <event date="2013-09-30" flag="0" time="02:00:00" value="14.1" /> -------- <event date="2014-11-02" flag="0" time="23:00:00" value="37.13" /> </series> </TimeSeries>
Configuration
An example configuration of the import is shown next:
<?xml version="1.0" encoding="UTF-8"?> <timeSeriesImportRun xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/timeSeriesImportRun.xsd"> <import> <general> <importType>EEX</importType> <folder>$IMPORT_FOLDER$/eex</folder> <idMapId>eexMapId</idMapId> </general> <timeSeriesSet> <moduleInstanceId>ImportEEX</moduleInstanceId> <valueType>scalar</valueType> <parameterId>H.observed</parameterId> <locationId>Swissix</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="hour" multiplier="1"/> <relativeViewPeriod unit="hour" start="0" end="24"/> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> </import> </timeSeriesImportRun>