CN109002489B - Data storage method and data storage device of wind generating set - Google Patents

Data storage method and data storage device of wind generating set Download PDF

Info

Publication number
CN109002489B
CN109002489B CN201810670749.5A CN201810670749A CN109002489B CN 109002489 B CN109002489 B CN 109002489B CN 201810670749 A CN201810670749 A CN 201810670749A CN 109002489 B CN109002489 B CN 109002489B
Authority
CN
China
Prior art keywords
data
level
data storage
time
dilution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810670749.5A
Other languages
Chinese (zh)
Other versions
CN109002489A (en
Inventor
唐碧琴
王峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Goldwind Science and Creation Windpower Equipment Co Ltd
Original Assignee
Beijing Goldwind Science and Creation Windpower Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Goldwind Science and Creation Windpower Equipment Co Ltd filed Critical Beijing Goldwind Science and Creation Windpower Equipment Co Ltd
Priority to CN201810670749.5A priority Critical patent/CN109002489B/en
Publication of CN109002489A publication Critical patent/CN109002489A/en
Application granted granted Critical
Publication of CN109002489B publication Critical patent/CN109002489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data storage method and a data storage device of a wind generating set, wherein the data storage method comprises the following steps: acquiring at least one current operation data of the wind generating set; writing the acquired operation data into a real-time data storage file; when the real-time data storage file is fully written, a level 1 historical data storage file update operation is performed. According to the data storage method and the data storage device of the wind generating set, the inverted tree-shaped file structure is adopted to store the historical data, and the historical data of a larger time window can be stored under the condition of limited storage space.

Description

Data storage method and data storage device of wind generating set
Technical Field
The present invention relates generally to the field of wind power technology, and more particularly, to a data storage method and a data storage device for a wind turbine generator system.
Background
The wind generating set is a set capable of converting natural wind energy into electric energy. Currently, wind generating sets typically use sensors to collect various real-time data, such as: the real-time data of the wind speed, the wind direction, the rotating speed of the generator, the instantaneous power of the generator and the like at different moments play an important role in analyzing the current operation performance of the wind generating set, predicting the operation conditions of the wind generating set under different environmental conditions, evaluating the reliability of the wind generating set and the like.
However, under the condition of limited storage space, the wind turbine generator system usually stores a small amount of latest data in the real-time data as historical data, and the rest of the data is often covered or discarded, which easily causes the problem that the time period corresponding to the stored historical data amount is small, and the like, and needs to be improved.
Disclosure of Invention
The invention aims to provide a data storage method and a data storage device of a wind generating set, which can store historical data of a larger time window under the condition of limited storage space.
One aspect of the present invention provides a data storage method for a wind turbine generator system, including: acquiring at least one current operation data of the wind generating set; writing the acquired operation data into a real-time data storage file; when the real-time data storage file is fully written, executing a level 1 historical data storage file updating operation, wherein the level 1 historical data storage file updating operation comprises: determining the dilution amount of the 1 st-stage data; dividing the data in the real-time data storage file into at least one level 1 data group according to the sequence of the writing time of each operating data, wherein the quantity of each operating data in each level 1 data group is less than or equal to the level 1 data dilution quantity; taking the latest writing time of the operation data in each 1 st-level data group, the average value of each operation data in each 1 st-level data group and the 1 st-level data dilution amount as 1 st-level dilution data corresponding to each 1 st-level data group; and writing each level 1 dilution data into the level 1 historical data storage file according to the determined sequence of the latest writing time in each level 1 dilution data.
Optionally, the step of writing the acquired operation data into the real-time data storage file includes: when the real-time data storage file is not fully written, writing the current operation data and the writing time of the current operation data into the real-time data storage file as a piece of data; and when the real-time data storage file is fully written, taking the current operation data and the write-in time of the current operation data as a piece of data, and covering the piece of data with the earliest write-in time in the real-time data storage file.
Optionally, the step of determining the dilution amount of the level 1 data comprises: calculating the ratio of the write-in quantity of the running data when the real-time data storage file is fully written to the set historical data write-in quantity; if the ratio is an integer, determining the ratio as the 1 st level data dilution amount; and if the ratio is a non-integer, determining the smallest integer larger than the ratio as the 1 st stage data dilution amount.
Optionally, the performing of the level 1 historical data storage file update operation is initiated whenever the real-time data storage file is fully overwritten.
Optionally, the maximum number of the level 1 dilution data stored in each level 1 history data storage file is equal to the product of the level 1 data dilution amount and the set history data writing amount.
Optionally, the data storage method further includes: when a predetermined number of nth level history data storage files are all written to capacity, executing an (N + 1) th level history data storage file updating operation, wherein N is an integer greater than or equal to 1, wherein the (N + 1) th level history data storage file updating operation comprises: determining the dilution amount of the N +1 th-stage data; dividing the data in the nth level historical data storage file into at least one (N + 1) th level data group according to the sequence of the writing time of each nth level dilution data, wherein the quantity of each kind of operation data in each (N + 1) th level data group is less than or equal to the (N + 1) th level data dilution quantity; taking the latest writing time of the nth-level dilution data in each N + 1-level data group, the average value of each nth-level dilution data in each N + 1-level data group and the N + 1-level data dilution amount as the N + 1-level dilution data corresponding to each N + 1-level data group; and writing each (N + 1) th level of dilution data into the (N + 1) th level of historical data storage file according to the determined sequence of the latest writing time in each (N + 1) th level of dilution data.
Optionally, the data stored in the respective historical data storage files of the same stage indicate data of different time periods at the same sampling frequency; data stored in a plurality of i-th level history data storage files and data stored in one i + j-th level history data storage file represent data of the same time period under different sampling frequencies, wherein i is an integer greater than or equal to 1 and less than or equal to N, j is an integer greater than or equal to 1, and i + j is less than or equal to N.
Optionally, determining each type of operation data in a time period preset to correspond to each level of historical data storage file according to each level of historical data storage file and the real-time data storage file.
Another aspect of the present invention also provides a data storage device of a wind turbine generator system, the data storage device including: an acquisition unit configured to acquire at least one current operating data of the wind generating set; a real-time data storage unit configured to write the acquired operation data into a real-time data storage file; a history data storage unit configured to perform a level 1 history data storage file update operation when the real-time data storage file is fully written, wherein the history data storage unit is further configured to perform the level 1 history data storage file update operation by: determining the dilution amount of the 1 st-stage data; dividing the data in the real-time data storage file into at least one level 1 data group according to the sequence of the writing time of each operating data, wherein the quantity of each operating data in each level 1 data group is less than or equal to the level 1 data dilution quantity; taking the latest writing time of the operation data in each 1 st-level data group, the average value of each operation data in each 1 st-level data group and the 1 st-level data dilution amount as 1 st-level dilution data corresponding to each 1 st-level data group; and writing each level 1 dilution data into the level 1 historical data storage file according to the determined sequence of the latest writing time in each level 1 dilution data.
Optionally, the real-time data storage unit is further configured to: when the real-time data storage file is not fully written, writing the current operation data and the writing time of the current operation data into the real-time data storage file as a piece of data; and when the real-time data storage file is fully written, taking the current operation data and the write-in time of the current operation data as a piece of data, and covering the piece of data with the earliest write-in time in the real-time data storage file.
Optionally, the historical data storage unit is configured to determine the level 1 data dilution amount by: calculating the ratio of the write-in quantity of the running data when the real-time data storage file is fully written to the set historical data write-in quantity; if the ratio is an integer, determining the ratio as the 1 st level data dilution amount; and if the ratio is a non-integer, determining the smallest integer larger than the ratio as the 1 st stage data dilution amount.
Optionally, the historical data storage unit is further configured to: performing the level 1 historical data storage file update operation each time the real-time data storage file is fully overwritten.
Optionally, the history data storage unit is further configured to: performing an N +1 th-level history data storage file update operation when a predetermined number of nth-level history data storage files are all fully written, where N is an integer greater than or equal to 1, wherein the history data storage unit is further configured to perform the N +1 th-level history data storage file update operation by: determining the dilution amount of the N +1 th-stage data; dividing the data in the nth level historical data storage file into at least one (N + 1) th level data group according to the sequence of the writing time of each nth level dilution data, wherein the quantity of each kind of operation data in each (N + 1) th level data group is less than or equal to the (N + 1) th level data dilution quantity; taking the latest writing time of the nth-level dilution data in each N + 1-level data group, the average value of each nth-level dilution data in each N + 1-level data group and the N + 1-level data dilution amount as the N + 1-level dilution data corresponding to each N + 1-level data group; and writing each (N + 1) th level of dilution data into the (N + 1) th level of historical data storage file according to the determined sequence of the latest writing time in each (N + 1) th level of dilution data.
Another aspect of the present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the data storage method of a wind turbine generator set as described above.
Another aspect of the present invention also provides a computing apparatus, comprising: a processor; a memory for storing a computer program which, when executed by the processor, causes the processor to perform the data storage method of the wind park as described above.
The data storage method and the data storage device of the wind generating set can store real-time data and historical data, store the historical data by adopting an inverted tree file structure, and store the historical data of a larger time window under the condition of limited storage space. Further, using the dilution ratio in the history data storage process, it is possible to obtain the difference between data of different time periods at the same sampling frequency and the difference between data of the same time period at different sampling frequencies.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which:
fig. 1 shows a flow chart of a data storage method of a wind park according to an embodiment of the invention;
FIG. 2 illustrates a flow diagram of a level 1 historical data storage file update operation according to an embodiment of the invention;
FIG. 3 illustrates a flow diagram of an N +1 th level history data storage file update operation according to an embodiment of the present invention;
FIG. 4 illustrates an inverted tree file structure diagram of a historical data storage file, according to an embodiment of the invention;
fig. 5 shows a block diagram of a data storage of a wind park according to an embodiment of the invention.
Detailed Description
Various example embodiments will now be described more fully with reference to the accompanying drawings, in which some example embodiments are shown.
A data storage method and a data storage apparatus of a wind turbine generator set according to an embodiment of the present invention are described below with reference to fig. 1 to 5.
Fig. 1 shows a flow chart of a data storage method of a wind park according to an embodiment of the invention.
At step S10, at least one current operating data of the wind turbine is obtained.
By way of example, the operational data may include: wind speed, wind direction, generator speed, generator instantaneous power and the like at different moments.
In step S20, the acquired operation data is written to the real-time data storage file.
As an example, the real-time data storage file may be a file that can be read by a controller of the wind park, e.g. a data file.
It should be appreciated that the real-time data storage file has a maximum amount of stored data. For example, the real-time data storage file can store k pieces of data at most, that is, the write amount of the running data when the real-time data storage file is fully written is k pieces.
And when the data volume stored in the real-time data storage file does not reach the maximum storage data volume, namely the real-time data storage file is not fully written, writing the current operation data and the writing time of the current operation data into the real-time data storage file as a piece of data.
As an example, a piece of data written to a real-time data storage file may be a real number array, e.g., [ timestamp, num ], where timestamp may be a write time and num may be a current run data.
Table 1 shows an example of a single data organization form in a real-time data storage file according to an embodiment of the present invention. As shown in table 1, it is assumed that each piece of data includes m variables (i.e., m kinds of operation data are included, and m may be an integer greater than 1), the first variable of each piece of data is the write time of the piece of data, and the m variables thereafter are m kinds of current operation data.
Table 1: example of organization of a single piece of data in a real-time data storage file
Write time num 1 num 2 num m
2018-04-25 16:00:00:000 A1 B1 H1
And when the data volume stored in the real-time data storage file reaches the maximum storage data volume, namely the real-time data storage file is fully written, taking the current operation data and the write-in time of the current operation data as a piece of data, and covering the piece of data with the earliest write-in time in the real-time data storage file.
Table 2 shows an example of storage when a real-time data storage file is full according to an embodiment of the present invention. As shown in table 2, when the number of pieces of data stored in the real-time data storage file reaches k pieces (the maximum number of pieces of data that can be stored in the real-time data storage file), one piece of data to be stored is overwritten on the piece of data with the earliest write time in the predetermined file.
Table 2: storage examples when real-time data storage files are written full
Write time num 1 num 2 num m
2018-04-25 16:00:00:000 A1 B1 H1
2018-04-25 16:00:00:002 A2 B2 H2
2018-04-25 16:00:00:004 A3 B3 H3
2018-04-25 16:59:59:998 Ak Bk Hk
At step S30, when the real-time data storage file is fully written, a level 1 history data storage file update operation is performed.
Preferably, said level 1 history data storage file update operation is initiated whenever the real-time data storage file is fully overwritten.
The step of the "level 1 history data storage file update operation" is described in detail below in conjunction with FIG. 2.
FIG. 2 illustrates a flow diagram of a level 1 historical data storage file update operation according to an embodiment of the invention.
Referring to fig. 2, in step S301, a level 1 data dilution amount is determined.
In one embodiment of step S301, calculating a ratio of a write amount of the running data when the real-time data storage file is fully written to a set write amount of the historical data; if the ratio is an integer, determining the ratio as the 1 st level data dilution amount; and if the ratio is a non-integer, determining the smallest integer larger than the ratio as the 1 st stage data dilution amount.
As an example, the dilution amount of the level 1 data can be calculated by the following equation (1):
KP1=k/X1(1),
here, KP1Is the dilution of the 1 st data, X1The set amount of history data is written.
For example, when the maximum storage data amount k of the real-time data storage file is 10, the set historical data writing amount X1When the number of the test pieces is 5, the dilution amount K of the 1 st level dataP1Is 2.
For example, when the maximum storage data amount k of the real-time data storage file is 10, the set historical data writing amount X14 in number, the dilution K of the 1 st stage dataP1Is 3.
In step S302, the data in the real-time data storage file is divided into at least one level 1 data group according to the sequence of the writing time of each operation data.
Preferably, the amount of each operational data included in each level 1 data set is less than or equal to the level 1 data dilution amount.
Taking an example of storing an operation data in a real-time data storage file, when the maximum storage data amount k of the real-time data storage file is 10, the set historical data writing amount X is1In 4 pieces, the data in the real-time data storage file may be divided into 4 level 1 data groups. I.e. in real-time data storage filesThe data are recorded as A1, A2, … … and A10 according to the sequence of writing time, the first level-1 data group comprises three data A1, A2 and A3, the second level-1 data group comprises three data A4, A5 and A6, the third level-1 data group comprises three data A7, A8 and A9, and the fourth level-1 data group comprises one data A10.
In this example, the number of the operation data in the first 1 st level data group, the number of the operation data in the second 1 st level data group, and the number of the operation data in the third 1 st level data group are all the same as the level 1 data dilution amount, that is, all 3; the amount of operational data in the fourth level 1 data set is less than the level 1 data dilution amount.
In step S303, the latest writing time of the operation data in each of the 1 st-level data groups, the average value of each of the operation data in each of the 1 st-level data groups, and the 1 st-level data dilution amount are taken as the 1 st-level dilution data corresponding to each of the 1 st-level data groups.
Taking the first level 1 data group in the above example as an example, table 3 shows a first level 1 dilution data organization form example according to an embodiment of the present invention, and as shown in table 3, the first variable is the latest writing time of the operation data in the first level 1 data group, the second variable is the average of three data a1, a2, and A3 in the first level 1 data group, and the third variable is the level 1 data dilution amount.
Table 3: first level 1 dilution data organization
Latest writing time num 1 KP1
2018-04-25 16:00:00:004 (A1+A2+A3)/3 3
In step S304, writing each level 1 dilution data into the level 1 historical data storage file according to the determined sequence of the latest writing time in each level 1 dilution data.
Returning to the above example, table 4 shows an example of a level 1 historical data storage file organization according to an embodiment of the present invention.
Table 4: level 1 historical data storage file organization form example
Figure BDA0001708137240000071
Figure BDA0001708137240000081
Preferably, the maximum amount of level 1 dilution data stored in each level 1 historical data storage file is equal to the level 1 data dilution amount KP1And a set history data write amount X1The product of (a).
When the ratio is an integer, the 1 st level data dilution KP1And a set history data write amount X1The product of (1) is equal to the amount of run data stored when the real-time data storage file is full, that is, the maximum amount of level 1 dilution data stored in each level 1 historical data storage file is the same as the amount of run data stored when the real-time data storage file is full.
As an example, when the maximum storage data amount k of the real-time data storage file is 10, the set historical data writing amount X1When the number of the test pieces is 5, the dilution amount K of the 1 st level dataP1The number of the dilution data of the 1 st level stored in each 1 st level historical data storage file is an integer 2, in this case, the maximum number of the dilution data of the 1 st level stored in each 1 st level historical data storage file is 10, that is, each 1 st level historical data storage file can store up to a real-time data storage fileThe resulting level 1 diluted data is diluted twice (i.e., the level 1 historical data storage file update operation is performed twice).
When the ratio is a non-integer, the maximum number of the 1 st level dilution data stored in each 1 st level history data storage file is equal to the 1 st level data dilution KP1And a set history data write amount X1The product of (a).
As an example, when the maximum storage data amount k of the real-time data storage file is 10, the set historical data writing amount X14 in number, the dilution K of the 1 st stage dataP1In this case, the maximum number of the 1 st level dilution data stored in each 1 st level history data storage file is 12, that is, each 1 st level history data storage file can store the 1 st level dilution data obtained by diluting the real-time data storage file at most three times (that is, performing the 1 st level history data storage file updating operation three times).
In addition, the data storage method may further include: when a predetermined number of nth-level history data storage files are all written to capacity, an N + 1-level history data storage file update operation is performed, N being an integer greater than or equal to 1.
Here, the data stored in the respective history data storage files of the same stage indicate data of different time periods at the same sampling frequency, and the data stored in the respective history data storage files of different stages indicate data of the same time period at different acquisition frequencies. Further, data stored in a plurality of i-th level history data storage files and data stored in an i + j-th level history data storage file represent data of the same time period at different sampling frequencies, where i is an integer greater than or equal to 1 and less than or equal to N, j is an integer greater than or equal to 1, and i + j is less than or equal to N.
Further, the predetermined stage of historical data storage files and real-time data storage files in combination may indicate each operational data for a predetermined period of time.
The step of the "N +1 th level history data storage file update operation" is described in detail below with reference to fig. 3.
FIG. 3 illustrates a flow diagram of an N +1 th level history data storage file update operation according to an embodiment of the present invention.
Referring to fig. 3, in step S305, the N +1 th-stage data dilution amount is determined.
In one embodiment of step S305, a ratio of the maximum number of nth-level dilution data stored in the nth-level history data storage file to the set writing amount of the N + 1-level history data is calculated; if the calculated ratio is an integer, determining the calculated ratio as the (N + 1) th-level data dilution amount; and if the calculated ratio is a non-integer, determining the minimum integer larger than the calculated ratio as the N + 1-th-stage data dilution amount.
As an example, the N +1 th-stage data dilution amount may be calculated by the following equation (2):
KPN+1=KPN×XN/XN+1(2),
here, KPN+1Is the dilution of the N +1 th data, KPNIs the dilution of the Nth-stage data, XN+1For a set write amount of the N +1 th level history data, XNThe set nth level history data writing amount.
Taking the determination of the dilution amount of the 2 nd-level data as an example, the dilution amount of the 2 nd-level data; can be calculated by the following equation (3):
KP2=KP1×X1/X2(3)。
in step S306, the data in the nth level historical data storage file is divided into at least one (N + 1) th level data group according to the sequence of the writing time of each nth level dilution data.
Preferably, the number of each operation data included in each of the N +1 th-level data groups is less than or equal to the N +1 th-level data dilution amount.
In step S307, the latest writing time of the nth level dilution data in each of the N +1 th level data groups, the average value of each of the nth level dilution data in each of the N +1 th level data groups, and the N +1 th level data dilution amount KPN+1As the N +1 th-order dilution data corresponding to each of the N +1 th-order data groups.
In step S308, according to the determined sequence of the latest writing time in each N +1 th level dilution data, each N +1 th level dilution data is written into the N +1 th level history data storage file.
Specific examples of steps S306, S307 and S308 can be seen in the following "obtaining current wind speed data of a wind turbine generator set".
The data storage method of the wind turbine generator set according to the embodiment of the present invention is described in detail below with reference to specific examples.
FIG. 4 illustrates an inverted tree file structure diagram of a history data storage file, according to an embodiment of the present invention.
Taking the current wind speed (windspeed) data of the wind turbine generator system as an example, assuming that the real-time data storage file can store k pieces of real-time wind speed data of the last hour, the grid frequency is 50 hz, and the acquisition frequency (i.e., the sampling frequency) is 20 ms, k is 50 × 60 × 60 is 180000, i.e., the real-time data storage file can store 180000 pieces of real-time wind speed data of the last hour, table 5 shows the organization form of the wind speed data in the real-time data storage file according to the embodiment of the present invention.
Table 5: example of wind speed data organization form in real-time data storage file
timestamp windspeed
2018-04-25 16:00:00:000 windspeed1
2018-04-25 16:00:00:002 Windspeed2
2018-04-25 16:00:00:004 Windspeed3
2018-04-25 16:00:00:006 Windspeed4
2018-04-25 16:00:00:008 Windspeed5
2018-04-25 16:00:00:010 Windspeed6
2018-04-25 16:59:59:998 Windspeed180000
When the real-time data storage file is full (that is, the amount of stored wind speed data reaches 180000 pieces), that is, after the next hour begins, the current wind speed data and the write time of the current wind speed data form the cumulative Y-th data, and the cumulative Y-180000-th data are overwritten.
For example, 180001 th data overwrites the 1 st data, 180002 nd data overwrites the 2 nd data, 180003 th data overwrites the 3 rd data, and so on.
Referring to fig. 4, 01:00 data represents the first one hour of data, 02:00 data represents the second one hour of data, … …, and 24:00 data represents the twenty-fourth one hour of data, … …. Suppose that the set history data write amount X160000, the dilution K of the data at level 1p1Is 3.
For example, when the real-time data storage file is full of the first hour of data, every three wind speed data are divided into 1 st level data groups according to the sequence of writing time of each wind speed data, for example, the first 1 st level data group comprises a windspeed1, a windspeed2 and a windspeed3, the second 1 st level data group comprises a windspeed4, a windspeed5 and a windspeed6, … …, and the sixty 1 st level data group comprises a windspeed179998, a windspeed179999 and a windspeed 180000.
Table 6 shows an example of the first level 1 historical data storage file F11 organization of wind speed data according to an embodiment of the invention.
Table 6: first level 1 historical data storage file organization form example of wind speed data
Figure BDA0001708137240000111
The maximum amount of level 1 dilution data stored in each level 1 historical data storage file F11, F12, … …, F17, F18 is the same as the amount of run data stored when the real-time data storage file is full, i.e., 180000 pieces. Specifically, the first level 1 historical data storage file F11 may store level 1 dilution data obtained by diluting 01:00 data, level 1 dilution data obtained by diluting 02:00 data, and level 1 dilution data obtained by diluting 03:00 data, that is, the first level 1 historical data storage file F11 may store diluted wind speed historical data for the last 3 hours; the second level-1 history data storage file F12 may store level-1 dilution data obtained by diluting 04:00 data, level-1 dilution data obtained by diluting 05:00 data, and level-1 dilution data obtained by diluting 06:00 data, … …, and the eighth level-1 history data storage file F18 may store level-1 dilution data obtained by diluting 22:00 data, level-1 dilution data obtained by diluting 23:00 data, and level-1 dilution data obtained by diluting 24:00 data.
Assume that the set level 2 history data write amount X290000 pieces, the dilution K of the 2 nd level datap2Is 2.
When a predetermined number of level 1 historical data storage files are all written to capacity, taking the data in the first level 1 historical data storage file F11 as an example, every two level 1 dilution data are divided into a level 2 data group according to the sequence of the writing time of each level 1 dilution data. Taking the latest writing time of the 1 st-level dilution data in each 2 nd-level data group, the wind speed average value of the 1 st-level dilution data in each 2 nd-level data group and the 2 nd-level data dilution amount as the 2 nd-level dilution data corresponding to each 2 nd-level data group; the respective level 2 dilution data are written into the first level 2 history data storage file F21 in the order of the determined latest writing time in each level 2 dilution data. Similarly, a level 2 historical data storage file update operation may be performed on the data in the second level 1 historical data storage file F12, such that the resulting respective level 2 dilution data is also written to the first level 2 historical data storage file F21. That is, the first level 2 historical data storage file F21 may store diluted wind speed historical data for the past 6 hours.
By analogy, historical data of a predetermined time window can be stored as needed, for example, historical wind speed data after dilution for the past 12 hours, historical wind speed data after dilution for the past 24 hours, historical wind speed data after dilution for the past 1 month, historical wind speed data after dilution for the past 1 year, and the like.
As an example, a historical data storage file of past 3 hours of wind speed data may be combined with a real-time data storage file to indicate wind speed data over 4 hours. That is, the wind speed distribution within 4 hours can be made by combining the historical data storage file of the past 3 hours wind speed data with the real-time data storage file.
As an example, the data stored in the level 1 history data storage files F11, F12, … …, F17, F18 of different writing times indicate data of different time periods at the same sampling frequency; the data stored in the level 1 history data storage files F11 and F12 and the data stored in the level 2 history data storage file F21 indicate data of the same period of time at different acquisition frequencies.
A data storage device of a wind park according to an embodiment of the invention is described below with reference to fig. 5.
Fig. 5 shows a block diagram of a data storage of a wind park according to an embodiment of the invention.
Referring to fig. 5, a data storage device of a wind turbine generator set according to an embodiment of the present invention may include: the system comprises an acquisition unit 100, a real-time data storage unit 200 and a historical data storage unit 300.
The obtaining unit 100 obtains at least one current operation data of the wind turbine generator system.
By way of example, the operational data may include: wind speed, wind direction, generator speed, generator instantaneous power and the like at different moments.
The real-time data storage unit 200 writes the acquired operation data into a real-time data storage file.
As an example, the real-time data storage file may be a file that can be read by a controller of the wind park, e.g. a data file.
It should be appreciated that the real-time data storage file has a maximum amount of stored data.
When the data amount stored in the real-time data storage file does not reach the maximum storage data amount, that is, when the real-time data storage file is not fully written, the real-time data storage unit 200 writes the current operation data and the write time of the current operation data as one piece of data into the real-time data storage file.
As an example, a piece of data written into the real-time data storage file by the real-time data storage unit 200 may be a real number array.
When the data amount stored in the real-time data storage file reaches the maximum storage data amount, that is, when the real-time data storage file is fully written, the real-time data storage unit 200 uses the current operation data and the write time of the current operation data as one piece of data to cover the piece of data with the earliest write time in the real-time data storage file.
The history data storage unit 300 performs a level 1 history data storage file update operation when the real-time data storage file is fully written.
Preferably, the history data storage unit 300 starts to perform the level 1 history data storage file update operation whenever the real-time data storage file is completely overwritten.
In one embodiment, the history data storage unit 300 may perform the level 1 history data storage file update operation by: determining the dilution amount of the 1 st-stage data; dividing the data in the real-time data storage file into at least one level 1 data group according to the sequence of the writing time of each operation data; taking the latest writing time of the operation data in each 1 st-level data group, the average value of each operation data in each 1 st-level data group and the 1 st-level data dilution amount as 1 st-level dilution data corresponding to each 1 st-level data group; and writing each level 1 dilution data into the level 1 historical data storage file according to the determined sequence of the latest writing time in each level 1 dilution data.
As an example, the historical data storage unit 300 may determine the level 1 data dilution amount by: calculating the ratio of the write-in quantity of the running data when the real-time data storage file is fully written to the set historical data write-in quantity; if the ratio is an integer, determining the ratio as the 1 st level data dilution amount; and if the ratio is a non-integer, determining the smallest integer larger than the ratio as the 1 st stage data dilution amount.
For example, the history data storage unit 300 may calculate the level 1 data dilution amount by the above equation (1).
Preferably, the amount of each operational data included in each level 1 data set is less than or equal to the level 1 data dilution amount.
Preferably, the maximum number of the level 1 dilution data stored in each level 1 history data storage file is equal to the product of the level 1 data dilution amount and the set history data writing amount.
When the ratio is an integer, the product of the level 1 data dilution amount and the set historical data writing amount is equal to the number of the running data stored when the real-time data storage file is full, that is, the maximum number of the level 1 dilution data stored in each level 1 historical data storage file is the same as the number of the running data stored when the real-time data storage file is full.
When the ratio is a non-integer, the maximum number of the 1 st level dilution data stored in each 1 st level history data storage file is equal to the product of the 1 st level data dilution amount and the set history data writing amount.
Further, the history data storing unit 300 performs the (N + 1) th-level history data storing file updating operation when a predetermined number of nth-level history data storing files are all written full, N being an integer greater than or equal to 1.
The data stored in each historical data storage file of the same stage indicates data of different time periods under the same sampling frequency; data stored in a plurality of i-th level history data storage files and data stored in one i + j-th level history data storage file represent data of the same time period under different sampling frequencies, wherein i is an integer greater than or equal to 1 and less than or equal to N, j is an integer greater than or equal to 1, and i + j is less than or equal to N.
Further, the predetermined level historical data storage file and the real-time data storage file are combined to indicate each operational data within a predetermined time range.
In one embodiment, the history data storage unit 300 may perform the (N + 1) th level history data storage file update operation by: determining the dilution amount of the N +1 th-stage data; dividing the data in the nth level historical data storage file into at least one (N + 1) th level data group according to the sequence of the writing time of each nth level dilution data; taking the latest writing time of the nth-level dilution data in each (N + 1) -th-level data group, the average value of each nth-level dilution data in each (N + 1) -th-level data group and the (N + 1) -th-level data dilution amount as the (N + 1) -th-level dilution data corresponding to each (N + 1) -th-level data group; and writing each (N + 1) th level of dilution data into the (N + 1) th level of historical data storage file according to the determined sequence of the latest writing time in each (N + 1) th level of dilution data.
Preferably, the number of each operation data included in each of the N +1 th-level data groups is less than or equal to the N +1 th-level data dilution amount.
As an example, the history data storage unit 300 may calculate a ratio of the maximum number of nth-level dilution data stored in the nth-level history data storage file to the set (N + 1) th-level history data writing amount; if the calculated ratio is an integer, determining the calculated ratio as the (N + 1) th-level data dilution amount; and if the calculated ratio is a non-integer, determining the minimum integer larger than the calculated ratio as the (N + 1) th-level data dilution amount.
For example, the history data storage unit 300 may calculate the N +1 th level data dilution amount by the above equation (2).
Furthermore, there is also provided, according to an embodiment of the present invention, a computer-readable storage medium storing a computer program which, when executed by a processor, implements the data storage method of a wind turbine generator set as described above.
In addition, the embodiment of the invention also provides a computing device. The computing device may include: a processor and a memory; the memory is for storing a computer program which, when executed by the processor, causes the processor to perform the data storage method of the wind park as described above.
In addition, the data storage method and the data storage device of the wind generating set of the embodiment of the invention can store real-time data and historical data, and store the historical data by adopting an inverted tree file structure, so that the historical data of a larger time window can be stored under the condition of limited storage space. Further, using the dilution ratio in the history data storage process, it is possible to obtain the difference between data of different time periods at the same sampling frequency and the difference between data of the same time period at different sampling frequencies.
Furthermore, it should be understood that the respective units in the data storage of the wind park according to an exemplary embodiment of the present invention may be implemented as hardware components and/or software components. The individual units may be implemented, for example, using Field Programmable Gate Arrays (FPGAs) or Application Specific Integrated Circuits (ASICs), depending on the processing performed by the individual units as defined by the skilled person.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.

Claims (13)

1. A data storage method of a wind generating set is characterized by comprising the following steps:
acquiring at least one current operation data of the wind generating set;
writing the acquired operation data into a real-time data storage file;
performing a level 1 historical data storage file update operation when the real-time data storage file is full,
wherein the level 1 history data storage file update operation comprises:
determining the dilution amount of the 1 st-stage data;
dividing the data in the real-time data storage file into at least one level 1 data group according to the sequence of the writing time of each operating data, wherein the quantity of each operating data in each level 1 data group is less than or equal to the level 1 data dilution quantity;
taking the latest writing time of the operation data in each 1 st-level data group, the average value of each operation data in each 1 st-level data group and the 1 st-level data dilution amount as 1 st-level dilution data corresponding to each 1 st-level data group;
writing each level 1 dilution data into a level 1 historical data storage file according to the determined sequence of the latest writing time in each level 1 dilution data;
the step of determining the dilution amount of the data of the 1 st stage comprises the following steps:
calculating the ratio of the write-in quantity of the running data when the real-time data storage file is fully written to the set historical data write-in quantity;
if the ratio is an integer, determining the ratio as the 1 st level data dilution amount;
and if the ratio is a non-integer, determining the smallest integer larger than the ratio as the 1 st stage data dilution amount.
2. The data storage method of claim 1, wherein writing the retrieved operational data to a real-time data storage file comprises:
when the real-time data storage file is not fully written, writing the current operation data and the writing time of the current operation data into the real-time data storage file as a piece of data;
and when the real-time data storage file is fully written, taking the current operation data and the write-in time of the current operation data as a piece of data, and covering the piece of data with the earliest write-in time in the real-time data storage file.
3. The data storage method of claim 2,
and starting to execute the level 1 historical data storage file updating operation each time the real-time data storage file is completely covered.
4. The data storage method of claim 3 wherein the maximum amount of level 1 dilution data stored in each level 1 historical data storage file is equal to the product of the level 1 data dilution amount and the set historical data write amount.
5. The data storage method of claim 4, wherein the data storage method further comprises:
performing an N +1 th-level history data storage file update operation when a predetermined number of nth-level history data storage files are all written to capacity, where N is an integer greater than or equal to 1,
wherein the (N + 1) th level history data storage file update operation comprises:
determining the dilution amount of the N +1 th-stage data;
dividing the data in the nth level historical data storage file into at least one (N + 1) th level data group according to the sequence of the writing time of each nth level dilution data, wherein the quantity of each kind of operation data in each (N + 1) th level data group is less than or equal to the (N + 1) th level data dilution quantity;
taking the latest writing time of the nth-level dilution data in each N + 1-level data group, the average value of each nth-level dilution data in each N + 1-level data group and the N + 1-level data dilution amount as the N + 1-level dilution data corresponding to each N + 1-level data group;
and writing each (N + 1) th level of dilution data into the (N + 1) th level of historical data storage file according to the determined sequence of the latest writing time in each (N + 1) th level of dilution data.
6. The data storage method of claim 5,
the data stored in each historical data storage file of the same stage indicates data of different time periods under the same sampling frequency;
data stored in a plurality of i-th level history data storage files and data stored in one i + j-th level history data storage file represent data of the same time period under different sampling frequencies, wherein i is an integer greater than or equal to 1 and less than or equal to N, j is an integer greater than or equal to 1, and i + j is less than or equal to N.
7. The data storage method of claim 5,
and determining each kind of operation data in a time period which is preset to correspond to each grade of historical data storage file according to each grade of historical data storage file and the real-time data storage file.
8. A data storage device of a wind generating set, characterized in that the data storage device comprises:
an acquisition unit configured to acquire at least one current operating data of the wind generating set;
a real-time data storage unit configured to write the acquired operation data into a real-time data storage file;
a history data storage unit configured to perform a level 1 history data storage file update operation when the real-time data storage file is fully written,
wherein the history data storage unit is further configured to perform the level 1 history data storage file update operation by:
determining the dilution amount of the 1 st-stage data;
dividing the data in the real-time data storage file into at least one level 1 data group according to the sequence of the writing time of each operating data, wherein the quantity of each operating data in each level 1 data group is less than or equal to the level 1 data dilution quantity;
taking the latest writing time of the operation data in each 1 st-level data group, the average value of each operation data in each 1 st-level data group and the 1 st-level data dilution amount as 1 st-level dilution data corresponding to each 1 st-level data group;
writing each level 1 dilution data into a level 1 historical data storage file according to the determined sequence of the latest writing time in each level 1 dilution data;
the historical data storage unit is configured to determine a level 1 data dilution amount by:
calculating the ratio of the write-in quantity of the running data when the real-time data storage file is fully written to the set historical data write-in quantity;
if the ratio is an integer, determining the ratio as the 1 st level data dilution amount;
and if the ratio is a non-integer, determining the smallest integer larger than the ratio as the 1 st stage data dilution amount.
9. The data storage device of claim 8, wherein the real-time data storage unit is further configured to:
when the real-time data storage file is not fully written, writing the current operation data and the writing time of the current operation data into the real-time data storage file as a piece of data;
and when the real-time data storage file is fully written, taking the current operation data and the write-in time of the current operation data as a piece of data, and covering the piece of data with the earliest write-in time in the real-time data storage file.
10. The data storage device of claim 9, wherein the historical data storage unit is further configured to:
performing the level 1 historical data storage file update operation each time the real-time data storage file is fully overwritten.
11. The data storage device of claim 10, wherein the historical data storage unit is further configured to:
performing an N +1 th-level history data storage file update operation when a predetermined number of nth-level history data storage files are all written to capacity, where N is an integer greater than or equal to 1,
wherein the history data storage unit is further configured to perform the N +1 th level history data storage file update operation by:
determining the dilution amount of the N +1 th-stage data;
dividing the data in the nth level historical data storage file into at least one (N + 1) th level data group according to the sequence of the writing time of each nth level dilution data, wherein the quantity of each kind of operation data in each (N + 1) th level data group is less than or equal to the (N + 1) th level data dilution quantity;
taking the latest writing time of the nth-level dilution data in each N + 1-level data group, the average value of each nth-level dilution data in each N + 1-level data group and the N + 1-level data dilution amount as the N + 1-level dilution data corresponding to each N + 1-level data group;
and writing each (N + 1) th level of dilution data into the (N + 1) th level of historical data storage file according to the determined sequence of the latest writing time in each (N + 1) th level of dilution data.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out a method of data storage of a wind park according to any one of claims 1 to 7.
13. A computing device, comprising:
a processor;
a memory for storing a computer program which, when executed by the processor, causes the processor to carry out the data storage method of a wind park according to any one of claims 1 to 7.
CN201810670749.5A 2018-06-26 2018-06-26 Data storage method and data storage device of wind generating set Active CN109002489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810670749.5A CN109002489B (en) 2018-06-26 2018-06-26 Data storage method and data storage device of wind generating set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810670749.5A CN109002489B (en) 2018-06-26 2018-06-26 Data storage method and data storage device of wind generating set

Publications (2)

Publication Number Publication Date
CN109002489A CN109002489A (en) 2018-12-14
CN109002489B true CN109002489B (en) 2020-07-17

Family

ID=64600890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810670749.5A Active CN109002489B (en) 2018-06-26 2018-06-26 Data storage method and data storage device of wind generating set

Country Status (1)

Country Link
CN (1) CN109002489B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114323642A (en) * 2020-09-29 2022-04-12 北京金风慧能技术有限公司 Wind turbine generator vibration data processing system and data dilution method
CN117193668B (en) * 2023-11-02 2024-01-30 南京凯奥思数据技术有限公司 High-frequency vibration data dilution method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605734A (en) * 2013-11-19 2014-02-26 广东电网公司电力科学研究院 Characteristic vector based data transmission compression method and system
CN106250465A (en) * 2016-07-29 2016-12-21 沈阳华创风能有限公司 A kind of method and device improving database filing efficiency

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10180891B2 (en) * 2016-11-02 2019-01-15 Sap Se Monitoring processes running on a platform as a service architecture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605734A (en) * 2013-11-19 2014-02-26 广东电网公司电力科学研究院 Characteristic vector based data transmission compression method and system
CN106250465A (en) * 2016-07-29 2016-12-21 沈阳华创风能有限公司 A kind of method and device improving database filing efficiency

Also Published As

Publication number Publication date
CN109002489A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
US11501194B2 (en) Managing computational workloads of computing apparatuses powered by renewable resources
Chang Towards data analysis for weather cloud computing
JP4116026B2 (en) Engine operation modeling method
US10515083B2 (en) Event analysis apparatus, an event analysis system, an event analysis method, and an event analysis program
US8949677B1 (en) Detecting anomalies in time series data
CN109002489B (en) Data storage method and data storage device of wind generating set
CN110968495A (en) Container cloud platform performance evaluation method and device
CN113420009B (en) Electromagnetic data analysis device, system and method based on big data
CN106529700B (en) Wind power plant prediction model construction method and system based on space-time correlation
Poncelet et al. Selecting representative days for investment planning models
CN116544999B (en) Method, device, equipment and medium for determining installed capacity of energy storage system
US10353891B2 (en) Interpolating conformal input sets based on a target output
CN108681505B (en) Test case ordering method and device based on decision tree
CN114742234A (en) Fault diagnosis model training method, fault diagnosis method and related device
US10760549B2 (en) Method and system for configuring wind turbines
CN109815118A (en) Data base management method and device, electronic equipment and computer readable storage medium
US7487184B1 (en) Method, system, and computer program product for improved round robin for time series data
CN113902457B (en) Method and device for evaluating reliability of house source information, electronic equipment and storage medium
JP6346378B2 (en) Data management apparatus and data management method
CN112418305A (en) Training sample generation method and device, computer equipment and storage medium
CN110631810B (en) Method and equipment for detecting abnormal vibration of wind generating set and wind generating set
JP2003108909A (en) Short-term prediction system
CN115577573B (en) Method, device, equipment and storage medium for predicting output current of synchronous generator
CN114352485A (en) Wind speed prediction method and device for wind driven generator and computer equipment
WO2022118524A1 (en) Prediction system, prediction method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant