Filformat

The following rules applies for the fileformat SVEF/24:

      Every file can contain one or several value-series.

      The values must be in timeorder for every 24 hour serie. However, the series does not need to be in timeorder between themselves.

      Every day must have 24 hours in the file.

      The unit is always MWh.

      One line in the file contains one hour value.

      Empty lines may occur.

      A line is a commentary line if it starts with // and is treated by the system as if it was an empty line.

      The first line of the file must have the following text.
SVEF/24:1/<timedate>
Where <timedate> is the date when the data was created, sampled or written to the file,. The date is needed because if the file is transferred using for example FTP, two files containing data on the same measurand, and date, (original values followed by updated values) might not come in correct order and thus resulting in incorrect information. The syntax of <timedate> is:
          YYYY-MM-DD HH:MI:SS
YYYY   the year with 4 digits (1980-2036)
MM     the month with 2 digits (1-12)
DD      the day with two digits (01-31)
HH      the hour with 2 digits (00-23)
MI      the minute with 2 digits (00-59)
SS      the second with 2 digits (00-59)

 

 

Every value-line should have the following format:

<measurand> <tab> <timedate> <tab> <status> <tab> <value>

<measurand>          the name of the measurand

<timedate>   syntax:         YYYY-MM-DD HH:MI
YYYY   the year with 4 digits (1980-2036)
MM     the month with 2 digits (1-12)
DD      the day with two digits (01-31)
HH      the hour with 2 digits (00-23)
MI      the minute with 2 digits, it must be 00
The values are stamped with the startdate.

<status>       the status is defined with the following numbers (0-9):
0        manually defined value
2        normal value
3        temporary value
5        estimated value
6        uncertain value
7        missing value
9        invalid value

<value>        this is a decimalnumber with 3 decimal digits, a comma ’,’ or a dot ’.’ should be used as a  decimal separator. Digit grouping symbol is not allowed.