Disclosure of Invention
The invention mainly aims to improve the stability of an oil field power grid.
In order to achieve the purpose, the invention adopts the technical scheme that:
the invention discloses a method for adjusting a power grid of an oil pumping unit, which comprises the following steps:
s11, setting the working point of the adjusting type oil pumping unit at a non-optimal stroke frequency value; the non-optimal stroke frequency value is lower than the optimal stroke frequency value;
s12, acquiring output information data of a generator of a power grid in real time;
s13, when the power grid is judged to generate instantaneous fluctuation according to the output information data, generating a frequency control instruction of a frequency converter of the oil pumping unit of the adjusting type oil pumping unit according to a first preset algorithm; the first preset algorithm comprises:
generating a first corresponding relation between the rotating speed variation of the motor of the adjusting type oil pumping unit and the reverse power generation electric energy variation of the motor of the adjusting type oil pumping unit in advance;
calculating the current electric energy adjusting amplitude of the reverse power generation of the adjusting type oil pumping machine motor according to the current fluctuation amplitude of the instantaneous fluctuation of the power grid;
determining the current rotation speed variation of the motor according to the current electric energy adjusting amplitude and the first corresponding relation;
and generating the frequency control instruction according to the current motor rotating speed variation.
Preferably, in the present invention, the method further comprises:
s14, when the short-term fluctuation or the medium-term fluctuation of the power grid is judged according to the output information data, generating a rotating speed control instruction of a frequency converter of the oil pumping unit of the adjusting type oil pumping unit according to a second preset algorithm; the rotating speed control instruction is used for controlling the rotating speed of a motor of the regulating type oil pumping unit; the second preset algorithm comprises:
generating a second corresponding relation between the variable quantity of the oil pumping liquid quantity and the variable quantity of the consumed power of the regulating type oil pumping unit in advance;
calculating the current power regulation amplitude of the consumed power of the regulation type oil pumping unit according to the current fluctuation amplitude of the short-term fluctuation or the medium-term fluctuation of the power grid;
determining the current oil pumping quantity variable quantity of the regulating type oil pumping unit according to the current power regulating amplitude and the second corresponding relation;
and generating the rotating speed control instruction according to the current oil pumping liquid amount variable quantity.
Preferably, in the present invention, the adjustable pumping unit includes a plurality of adjustable pumping units, and the upper and lower strokes of the adjustable pumping units are identical.
Preferably, in the present invention, the frequency adjustment interval of the pumping unit frequency converter includes:
the frequency-power characteristic of the adjustable pumping unit is approximate to a linear region.
Preferably, in the present invention, the pumping unit frequency converter includes a four-quadrant frequency converter.
Preferably, in the present invention, the setting the operating point of the adjustable pumping unit at the non-optimal stroke frequency value includes:
the setting range of the non-optimal impulse times is 80% -90% of the optimal impulse times.
In another aspect of the present invention, there is also provided a regulating device for a power grid of a pumping unit, comprising:
the stroke frequency setting unit is used for setting the working point of the regulating type oil pumping unit at a non-optimal stroke frequency value; the non-optimal stroke frequency value is lower than the optimal stroke frequency value;
the implementation monitoring unit is used for acquiring the output information data of the generator of the power grid in real time;
the frequency instruction unit is used for generating a frequency control instruction of a frequency converter of the oil pumping unit of the adjusting type oil pumping unit according to a first preset algorithm when the instantaneous fluctuation of the power grid is judged according to the output information data; the first preset algorithm comprises:
generating a first corresponding relation between the rotating speed variation of the motor of the adjusting type oil pumping unit and the reverse power generation electric energy variation of the motor of the adjusting type oil pumping unit in advance;
calculating the current electric energy regulating amplitude of the reverse power generation of the regulating type oil pumping machine motor according to the current fluctuation amplitude of the instantaneous fluctuation of the power grid;
determining the current rotation speed variation of the motor according to the current electric energy adjusting amplitude and the first corresponding relation;
and generating the frequency control instruction according to the current motor rotating speed variation.
Preferably, in the present invention, the method further comprises:
the rotating speed instruction unit is used for generating a rotating speed control instruction of a pumping unit frequency converter of the regulating type pumping unit according to a second preset algorithm when the short-term fluctuation or the medium-term fluctuation of the power grid is judged according to the output information data; the rotating speed control instruction is used for controlling the rotating speed of a motor of the adjusting type oil pumping unit; the second preset algorithm comprises:
generating a second corresponding relation between the variable quantity of the oil pumping liquid quantity and the variable quantity of the consumed power of the regulating type oil pumping unit in advance;
calculating the current power regulation amplitude of the consumed power of the regulation type oil pumping unit according to the current fluctuation amplitude of the short-term fluctuation or the medium-term fluctuation of the power grid;
determining the current pumping unit quantity of change of the current pumping unit according to the current power regulation amplitude and the second corresponding relation;
and generating the rotating speed control instruction according to the current oil pumping liquid amount variable quantity.
In another aspect of the embodiments of the present invention, there is also provided a device for adjusting a power grid of a pumping unit, including:
a memory for storing a computer program;
a processor for invoking and executing the computer program for implementing the steps of the method for adjusting a power grid of a pumping unit as described in any one of the above.
In another aspect of the embodiments of the present invention, there is also provided a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the method for adjusting a power grid of a pumping unit as described in any one of the above.
Advantageous effects
When the output of the power grid generator is instantaneously reduced, the current frequency of the motor of the pumping unit is reduced through the frequency converter of the pumping unit, and the process of converting the gravitational potential energy of the pumping rod into electric energy can be accelerated, so that the instantaneous electric quantity generated by the motor in a reverse power generation mode is increased, and the effect of quickly supplementing the insufficient output of the power grid generator is achieved. When the output of the power grid generator is increased instantaneously, the current frequency of the pumping unit motor is increased through the pumping unit frequency converter, and the process of converting the gravitational potential energy of the pumping rod into electric energy can be slowed down, so that the instantaneous electric quantity generated by the motor in the reverse power generation is reduced, the aim of equivalently increasing the electric load is fulfilled, and the redundant generated energy is balanced.
In addition, the invention can also adjust the rotating speed of the motor of the adjustable pumping unit so as to eliminate short-term fluctuation or middle-term fluctuation by adjusting the pumping liquid amount of the adjustable pumping unit. If the rotating speed of a motor of the adjustable pumping unit is reduced, the amount of pumping liquid is reduced, so that the consumed power of the adjustable pumping unit is reduced, and the increased power can be equivalent to the increased power of a generator; if the rotating speed of the adjusting type oil pumping machine is increased, the oil pumping liquid amount is increased, so that the power consumption of the adjusting type oil pumping machine is increased, and the power consumption can be equivalently reduced for a generator. Therefore, the embodiment of the invention can achieve the purpose of power regulation by utilizing the speed regulation of the pumping unit, and is equivalent to the power regulation of a power generator of a power grid.
The foregoing description is only an overview of the technical solutions of the present application, and in order to make the technical means of the present application more clearly understood and to make the same based on the content of the description, one or more preferred embodiments are listed below and described in detail below with reference to the accompanying drawings in order to make the above and other objects, technical features, and advantages of the present application more comprehensible.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
In order to improve the stability of an oil field power grid, referring to fig. 1, an embodiment of the present invention provides a method for adjusting a power grid of a pumping unit, including:
s11, setting the working point of the adjusting type oil pumping unit at a non-optimal stroke frequency value; the non-optimal impulse times are lower than the optimal impulse times;
in the embodiment of the invention, the fluctuation of a power grid system is regulated by controlling the motor frequency of the regulating type oil pumping unit, and in order to keep a regulating margin, the working point of the regulating type oil pumping unit is required to be set to be lower than the optimal stroke frequency value; therefore, when the frequency of the motor of the adjusting type oil pumping unit needs to be increased, an adjusting margin is reserved.
In practical applications, the setting range of the non-optimal impulse ratio value may be determined according to the previous actual fluctuation amplitude of the power grid, and preferably, the optimal impulse ratio value may be 80% to 90% of the optimal impulse ratio value.
Preferably, in the embodiment of the present invention, the pumping unit frequency converter for controlling the motor frequency of the regulated pumping unit may be a four-quadrant frequency converter.
S12, acquiring output information data of a generator of the power grid in real time;
in the embodiment of the present invention, it is further necessary to obtain information such as whether the power grid fluctuates, the type of fluctuation, the amount of fluctuation, and the like in real time by acquiring the output information data of the generator of the power grid in real time.
In practical application, the output information data of the generator of the power grid can be obtained from the generator or collected power grid frequency information or a power grid dispatching system.
S13, when the power grid is judged to generate instantaneous fluctuation according to the output information data, generating a frequency control instruction of a pumping unit frequency converter of the regulating type pumping unit according to a first preset algorithm; the first preset algorithm comprises:
generating a first corresponding relation between the rotating speed variation of the motor of the adjusting type oil pumping unit and the reverse power generation electric energy variation of the motor of the adjusting type oil pumping unit in advance;
calculating the current electric energy adjusting amplitude of the reverse power generation of the adjusting type oil pumping machine motor according to the current fluctuation amplitude of the instantaneous fluctuation of the power grid;
determining the current rotation speed variation of the motor according to the current electric energy adjusting amplitude and the first corresponding relation;
and generating the frequency control instruction according to the current motor rotating speed variation.
In the prior art, the instantaneous fluctuation of the generator can adopt an inertia regulation mode; the inventive idea of the embodiment of the invention comprises:
when the adjusting type oil pumping machine is in the lower stroke, the oil pumping rod descends, the gravitational potential energy is converted into the kinetic energy of the balance block, and part of the kinetic energy is inverted to generate electricity to feed back to the power grid; at this moment, carry out the inertia control that frequency modulation can realize sucker rod and balancing piece through the motor of regulation type beam-pumping unit, like this, increase that just can be quick or reduce the electric energy that the motor generated electricity, and then realize the regulation to instantaneous fluctuation, specifically:
when the output of the power grid generator is instantaneously reduced, the current frequency of the pumping unit motor is reduced through the pumping unit frequency converter, and the process of converting the gravitational potential energy of the pumping rod into electric energy can be accelerated, so that the instantaneous electric quantity generated by the motor in a reverse power generation mode is increased, and the effect of quickly supplementing the insufficient output of the power grid generator is achieved.
When the output of the power grid generator is instantaneously increased, the current frequency of the pumping unit motor is improved through the pumping unit frequency converter, and the process of converting the gravitational potential energy of the pumping rod into electric energy can be slowed down, so that the instantaneous electric quantity generated by the motor in the reverse power generation process is reduced, the aim of equivalently increasing the electric power load is fulfilled, and the redundant generated energy is balanced.
Based on the above inventive concept, in the embodiment of the present invention, the specific working principle of the first preset algorithm for generating the frequency control instruction of the frequency converter of the pumping unit is as follows:
generating a first corresponding relation between the rotating speed variation of the motor of the adjusting type oil pumping unit and the reverse power generation electric energy variation of the motor of the adjusting type oil pumping unit in advance;
in practical applications, a corresponding relationship (i.e., a first corresponding relationship) between a rotational speed variation of a motor of the regulated pumping unit and a reverse power generation electric energy variation of the motor of the regulated pumping unit may be generated first by calculation or by a limited number of experiments according to parameters of the regulated pumping unit and the motor thereof.
It should be noted that the adjustable pumping units in the embodiments of the present invention may include a plurality of adjustable pumping units, and the working states of the upper and lower strokes of the plurality of adjustable pumping units need to be kept consistent; in this way, dynamic consistency of the power-frequency out-of-frequency characteristics may be ensured.
Calculating the current electric energy adjusting amplitude of the reverse power generation of the adjusting type oil pumping machine motor according to the current fluctuation amplitude of the instantaneous fluctuation of the power grid;
according to the output information data of the generator of the power grid obtained in real time, when the power grid is determined to generate instantaneous fluctuation, the electric energy required for eliminating the instantaneous fluctuation can be calculated according to the fluctuation amplitude of the instantaneous fluctuation of the power grid, and then the current electric energy regulation amplitude of the backward power generation of the motor of the regulation type oil pumping unit can be calculated.
Determining the current rotation speed variation of the motor according to the current electric energy adjusting amplitude and the first corresponding relation;
according to the first corresponding relation, the rotating speed variation quantity required by the motor corresponding to the current electric energy adjusting amplitude can be calculated or determined;
the frequency control instruction is generated according to the current motor rotating speed variation, and the frequency of the motor of the adjustable pumping unit can be adjusted, so that instantaneous fluctuation is eliminated through adjusting the electric quantity generated by the motor reversely. The current frequency of the motor of the pumping unit is reduced, the electric quantity of the motor generated by the reverse power generation can be increased, and the effect of quickly supplementing the insufficient output of the power grid generator is achieved. By improving the current frequency of the motor of the oil pumping unit, the electric quantity generated by the motor can be reduced, the aim of equivalently increasing the power load is fulfilled, and the redundant generated energy is balanced.
Preferably, in order to obtain better wave regulation effect, as shown in fig. 2, in the embodiment of the present invention, the frequency regulation interval of the frequency converter of the pumping unit can be set in a region where the frequency-power characteristic of the adjustable pumping unit is approximately linear.
In summary, in the embodiment of the invention, when the output of the power grid generator is instantaneously reduced, the current frequency of the motor of the pumping unit is reduced through the frequency converter of the pumping unit, and the process of converting the gravitational potential energy of the pumping rod into the electric energy can be accelerated, so that the instantaneous electric quantity generated by the motor in the reverse direction is increased, and the effect of quickly supplementing the insufficient output of the power grid generator is achieved. When the output of the power grid generator is increased instantaneously, the current frequency of the pumping unit motor is increased through the pumping unit frequency converter, and the process of converting the gravitational potential energy of the pumping rod into electric energy can be slowed down, so that the instantaneous electric quantity generated by the motor in the reverse power generation is reduced, the aim of equivalently increasing the electric load is fulfilled, and the redundant generated energy is balanced.
Example two
Referring to fig. 2, on the basis of the first embodiment, the embodiment of the present invention may further include the following steps:
s14, when the short-term fluctuation or the medium-term fluctuation of the power grid is judged according to the output information data, generating a rotating speed control instruction of a frequency converter of the oil pumping unit of the adjusting type oil pumping unit according to a second preset algorithm; the rotating speed control instruction is used for controlling the rotating speed of a motor of the adjusting type oil pumping unit; the second preset algorithm comprises:
generating a second corresponding relation between the variable quantity of the oil pumping liquid quantity and the variable quantity of the consumed power of the regulating type oil pumping unit in advance;
calculating the current power regulation amplitude of the consumed power of the regulation type oil pumping unit according to the current fluctuation amplitude of the short-term fluctuation or the medium-term fluctuation of the power grid;
determining the current oil pumping quantity variable quantity of the regulating type oil pumping unit according to the current power regulating amplitude and the second corresponding relation;
and generating the rotating speed control instruction according to the current oil pumping liquid amount variable quantity.
In the embodiment of the invention, on the basis of the technical scheme of eliminating the instantaneous fluctuation in the first embodiment, an additional technical scheme of eliminating the short-term fluctuation or the medium-term fluctuation of the power grid is added, and the specific inventive idea comprises the following steps:
the inventor finds out through research that the consumed power of the adjusting type oil pumping unit can be changed by adjusting the oil pumping amount of the adjusting type oil pumping unit, and further the consumed power of the adjusting type oil pumping unit can be equivalently adjusted with the load of a power grid motor, therefore, in the embodiment of the invention, when the power grid generates short-term fluctuation or middle-term fluctuation, the load adjustment of the power grid motor is realized by controlling the oil pumping amount of the adjusting type oil pumping unit, and further the short-term fluctuation or the middle-term fluctuation of the power grid is eliminated, in the embodiment of the invention, the control of the oil pumping amount is realized by adjusting the motor frequency of the adjusting type oil pumping unit, and the specific working principle comprises the following steps:
generating a second corresponding relation between the variable quantity of the oil pumping liquid quantity and the variable quantity of the consumed power of the regulating type oil pumping unit in advance;
in practical application, the corresponding relationship (i.e. the second corresponding relationship) between the pumping liquid amount variation and the consumed power variation of the adjustable pumping unit can be generated by calculation according to the parameters of the adjustable pumping unit and the motor thereof, or by a limited number of experiments.
The adjusting type oil pumping machine in the embodiment of the invention comprises a plurality of adjusting type oil pumping machines, wherein the working states of the upper stroke and the lower stroke of the adjusting type oil pumping machines are required to be kept consistent; in this way, dynamic consistency of the power-out-of-frequency characteristics may be ensured.
Calculating the current power regulation amplitude of the consumed power of the regulation type oil pumping unit according to the current fluctuation amplitude of the short-term fluctuation or the medium-term fluctuation of the power grid;
according to the output information data of the generator of the power grid obtained in real time, when the power grid is determined to have short-term fluctuation or medium-term fluctuation, the electric energy required for eliminating the short-term fluctuation or the medium-term fluctuation can be calculated according to the fluctuation amplitude of the short-term fluctuation or the medium-term fluctuation of the power grid, and then the current power regulation amplitude of the power consumption of the regulation type oil pumping unit can be calculated.
Determining the current oil pumping quantity variable quantity of the regulating type oil pumping unit according to the current power regulating amplitude and the second corresponding relation;
according to the second corresponding relation, the variable quantity of the oil pumping liquid quantity corresponding to the current power regulation amplitude can be calculated or determined.
Because the oil pumping liquid amount of the adjustable oil pumping unit can be controlled by the frequency of the motor of the adjustable oil pumping unit, a rotating speed control instruction can be generated according to the current oil pumping liquid amount variation; therefore, the rotating speed of the motor of the adjustable pumping unit can be adjusted, and short-term fluctuation or middle-term fluctuation is eliminated by adjusting the pumping liquid amount of the adjustable pumping unit. If the rotating speed of a motor of the adjustable pumping unit is reduced, the amount of pumping liquid is reduced, so that the consumed power of the adjustable pumping unit is reduced, and the increased power can be equivalent to the increased power of a generator; if the rotating speed of the adjusting type oil pumping machine is increased, the oil pumping liquid amount is increased, so that the power consumption of the adjusting type oil pumping machine is increased, and the power consumption can be equivalently reduced for a generator. Therefore, the embodiment of the invention can achieve the purpose of power regulation by utilizing the speed regulation of the pumping unit, and is equivalent to the power regulation of a power generator of a power grid.
In summary, in the embodiment of the present invention, the adjustable pumping unit operates at a non-optimal stroke frequency, which can increase the liquid amount and decrease the liquid amount, and the frequency converter is used to adjust the liquid amount, so that the speed of adjusting the liquid amount is relatively slow, and the flexible adjustment of the power load can be achieved, which is equivalent to the adjustable power output. In the embodiment of the invention, the frequency converter of the adjustable pumping unit adopts a four-quadrant frequency converter, changes the frequency setting according to the fluctuation of the power grid, and can participate in the bidirectional adjustment of the power grid frequency.
EXAMPLE III
In another aspect of the embodiment of the present invention, there is also provided a regulating device for a power grid of a pumping unit, and fig. 3 illustrates a schematic structural diagram of the regulating device for a power grid of a pumping unit according to the embodiment of the present invention, where the regulating device for a power grid of a pumping unit is a system corresponding to the regulating method for a power grid of a pumping unit in the embodiment corresponding to fig. 1 or fig. 2, that is, the regulating method for a power grid of a pumping unit in the embodiment corresponding to fig. 1 or fig. 2 is implemented by using a virtual device, and each virtual module constituting the regulating device for a power grid of a pumping unit may be executed by an electronic device, such as a network device, a terminal device, or a server. The adjusting device for the power grid of the oil pumping unit in the embodiment of the invention can realize the adjustment of the power grid of the oil pumping unit required by industrial control. Specifically, the adjusting device for the power grid of the pumping unit in the embodiment of the present invention includes:
the stroke frequency setting unit 01 is used for setting the working point of the adjusting type oil pumping unit at a non-optimal stroke frequency value; the non-optimal impulse times are lower than the optimal impulse times;
the implementation monitoring unit 02 is used for acquiring the output information data of the generator of the power grid in real time;
the frequency instruction unit 03 is used for generating a frequency control instruction of a frequency converter of the pumping unit of the adjusting type pumping unit according to a first preset algorithm when the instantaneous fluctuation of the power grid is judged according to the output information data; the first preset algorithm comprises:
generating a first corresponding relation between the rotating speed variation of the motor of the adjusting type oil pumping unit and the reverse power generation electric energy variation of the motor of the adjusting type oil pumping unit in advance;
calculating the current electric energy adjusting amplitude of the reverse power generation of the adjusting type oil pumping machine motor according to the current fluctuation amplitude of the instantaneous fluctuation of the power grid;
determining the current rotation speed variation of the motor according to the current electric energy adjusting amplitude and the first corresponding relation;
and generating the frequency control instruction according to the current motor rotating speed variation.
Preferably, as shown in fig. 4, in the embodiment of the present invention, the method may further include:
a rotating speed instruction unit 04, configured to generate a rotating speed control instruction of a pumping unit frequency converter of the regulated pumping unit according to a second preset algorithm when it is determined that the power grid fluctuates in a short period or a medium period according to the output information data; the second preset algorithm comprises:
generating a second corresponding relation between the variable quantity of the oil pumping liquid quantity and the variable quantity of the consumed power of the regulating type oil pumping unit in advance;
calculating the current power regulation amplitude of the consumed power of the regulation type oil pumping unit according to the current fluctuation amplitude of the short-term fluctuation or the medium-term fluctuation of the power grid;
determining the current oil pumping quantity variable quantity of the regulating type oil pumping unit according to the current power regulating amplitude and the second corresponding relation;
and generating the rotating speed control instruction according to the current oil pumping liquid amount variable quantity.
Since the working principle and the beneficial effects of the adjusting device for the power grid of the pumping unit in the embodiment of the present invention have been described and explained in the adjusting method for the power grid of the pumping unit corresponding to fig. 1, they may be referred to each other and are not described herein again.
Example four
Corresponding to the method embodiment, the application also provides a regulating device for the power grid of the oil pumping unit, such as a terminal, a server and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, big data and artificial intelligence platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.
An exemplary diagram of a hardware structure block diagram of a regulating device for a power grid of an oil pumping unit provided in an embodiment of the present invention is shown in fig. 5, and may include:
a processor 1, a communication interface 2, a memory 3 and a communication bus 4;
the processor 1, the communication interface 2 and the memory 3 complete mutual communication through a communication bus 4;
optionally, the communication interface 2 may be an interface of a communication module, such as an interface of a GSM module;
the processor 1 may be a central processing unit CPU or an Application Specific Integrated Circuit ASIC or one or more Integrated circuits configured to implement embodiments of the present invention.
The memory 3 may comprise a high-speed RAM memory and may also comprise a non-volatile memory, such as at least one disk memory.
The processor 1 is specifically configured to execute the computer program stored in the memory 3, so as to execute the following steps:
s11, setting the working point of the adjusting type oil pumping unit at a non-optimal stroke frequency value; the non-optimal stroke frequency value is lower than the optimal stroke frequency value;
s12, acquiring output information data of a generator of the power grid in real time;
s13, when the power grid is judged to generate instantaneous fluctuation according to the output information data, generating a frequency control instruction of a frequency converter of the oil pumping unit of the adjusting type oil pumping unit according to a first preset algorithm; the first preset algorithm comprises:
generating a first corresponding relation between the rotating speed variation of the motor of the adjusting type oil pumping unit and the reverse power generation electric energy variation of the motor of the adjusting type oil pumping unit in advance;
calculating the current electric energy adjusting amplitude of the reverse power generation of the adjusting type oil pumping machine motor according to the current fluctuation amplitude of the instantaneous fluctuation of the power grid;
determining the current rotation speed variation of the motor according to the current electric energy adjusting amplitude and the first corresponding relation;
and generating the frequency control instruction according to the current motor rotating speed variation.
Preferably, in the embodiment of the present invention, the method may further include:
s14, when the short-term fluctuation or the medium-term fluctuation of the power grid is judged according to the output information data, generating a rotating speed control instruction of a frequency converter of the oil pumping unit of the adjusting type oil pumping unit according to a second preset algorithm; the second preset algorithm comprises:
generating a second corresponding relation between the variable quantity of the oil pumping liquid and the variable quantity of the consumed power of the regulating type oil pumping unit in advance;
calculating the current power regulating amplitude of the consumed power of the regulating type oil pumping unit according to the current fluctuation amplitude of the short-term fluctuation or the medium-term fluctuation of the power grid;
determining the current oil pumping quantity variable quantity of the regulating type oil pumping unit according to the current power regulating amplitude and the second corresponding relation;
and generating the rotating speed control instruction according to the current oil pumping liquid amount variable quantity.
When the program instructions included in the computer program product of the adjusting apparatus for the power grid of the pumping unit in the embodiment of the present invention are executed by the computer, the computer can execute the adjusting method for the power grid of the pumping unit in the above aspects, and achieve the same technical effects.
EXAMPLE five
In an embodiment of the present invention, there is also provided a storage medium storing a program adapted to be executed by a processor, the program being configured to:
s11, setting the working point of the adjusting type oil pumping unit at a non-optimal stroke frequency value; the non-optimal stroke frequency value is lower than the optimal stroke frequency value;
s12, acquiring output information data of a generator of the power grid in real time;
s13, when the power grid is judged to generate instantaneous fluctuation according to the output information data, generating a frequency control instruction of a frequency converter of the oil pumping unit of the adjusting type oil pumping unit according to a first preset algorithm; the first preset algorithm comprises:
generating a first corresponding relation between the rotating speed variation of the motor of the adjusting type oil pumping unit and the reverse power generation electric energy variation of the motor of the adjusting type oil pumping unit in advance;
calculating the current electric energy adjusting amplitude of the reverse power generation of the adjusting type oil pumping machine motor according to the current fluctuation amplitude of the instantaneous fluctuation of the power grid;
determining the current rotation speed variation of the motor according to the current electric energy adjusting amplitude and the first corresponding relation;
and generating the frequency control instruction according to the current motor rotating speed variation.
Preferably, in the embodiment of the present invention, the method may further include:
s14, when the power grid is judged to have short-term fluctuation or medium-term fluctuation according to the output information data, generating a rotating speed control instruction of a pumping unit frequency converter of the regulating type pumping unit according to a second preset algorithm; the second preset algorithm comprises:
generating a second corresponding relation between the variable quantity of the oil pumping liquid quantity and the variable quantity of the consumed power of the regulating type oil pumping unit in advance;
calculating the current power regulation amplitude of the consumed power of the regulation type oil pumping unit according to the current fluctuation amplitude of the short-term fluctuation or the medium-term fluctuation of the power grid;
determining the current oil pumping quantity variable quantity of the regulating type oil pumping unit according to the current power regulating amplitude and the second corresponding relation;
and generating the rotating speed control instruction according to the current oil pumping liquid amount variable quantity.
Alternatively, the detailed function and the extended function of the program may be as described above.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
It should be understood that the technical problems can be solved by combining and combining the features of the embodiments from the claims.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.