• The following rules applies for the fileformat SVEF/XX:
• Every file can contain one or several value-series of different periodsize. SVEFXX handles the same timeperiods that the value dialog does.
• SVEFXX export the values in the unit that is entered in the Measurand dialog in the unit out field.
• The values must be in timeorder for every serie. However, the series does not need to be in timeorder between them selves.
• The values are represented with 3 decimal digits.
• 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/XX:1/<periodsize>/<timedate>/<unit>/<LocalTime(DST)>/<StartOrEndTime>
Where
<timedate> is the
date when the data was created, sampled or written to the file, and <unit> specifies which unit
all values throughout the file are represented in. 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 /<periodsize> is:
15, 30,
60, D, M and Y.
The syntax of <timedate>
is:
DD.MM.YY HH:MI:SS
DD the day
with two digits (01-31)
MM the month with 2 digits (1-12)
YY the
year with 2 digits (80-36)
HH the hour with 2 digits (00-23)
MI the
minute with 2 digits (00-59)
SS the second with 2 digits (00-59)
The syntax of <unit> is: kW, MW, kWh, MWh, kVAr, MVAr, kVArh, MVArh,
kVAr, MVAr, kVArh, MVArh, kVA, MVA, kVAh, MVAh
You can also
use “EUR/MWh”, “SEK/MWh” and so on, but then the unit must be inside ‘”’ signs.
Otherwise the / character is interpreted as a separator.
The syntax of <LocalTime(DST)> 0 |
1
0 = Normal time. All the values are in normal time
1 = Local time.
If the values are in the summertime period they will be moved one hour.
The
syntax of <StartOrEndTime>
is;
STARTTIME | ENDTIME
STARTTIME = The values are
stamped with the starttime.
ENDTIME = The values in the periodsize 15, 30 and
60 are stamped with the endtime.
Every value-line should have the following format:
<measurand> <tab> <timedate> <tab> <status> <tab> <value>
Where each field has the following meaning;
• <measurand> the name of the measurand
• <timedate>
syntax: DD.MM.YY HH:MI
DD the day with
two digits (01-31)
MM the month with 2 digits (1-12)
YY the year
with 2digits (80-36)
HH the hour with 2 digits (00-23)
MI the minute
with 2 digits, it must be one of the following values; 00, 15, 30, 45
The
values are stamped with the startdate.
•<status>
the status is defined with the following numbers (0-9):
0 manually defined
value
1 (reserved for future use, do not
use)
2 normal value
3 temporary
value
4 smeared value
5 estimated
value
6 uncertain value
7 missing
value
8 (reserved for future use, do not
use)
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.