Active power control method and device of inertia flywheel

By calculating the output power prediction value and optimizing the voltage vector, the problem of incomplete control strategy of inertia flywheel is solved, the system power response speed and stability are improved, and the effective control of inertia flywheel is achieved in practical applications.

CN119010123APending Publication Date: 2024-11-22TSINGHUA UNIVERSITY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410957714.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The application of inertia flywheel is limited in real life, and the control strategy is not yet perfect, so it cannot effectively solve the problems of grid frequency stability and inertia compensation.

Method used

By obtaining the voltage vector output from the coupled converter controller, the output power prediction value is calculated based on the preset inertia flywheel model, the cost function is determined to optimize the voltage vector, so that the output power response speed meets the preset conditions, improve the system power response speed and suppress power Oscillation.

Benefits of technology

The control strategy of the inertia flywheel has been improved, the system power response speed has been improved, the power oscillation has been suppressed, and a more reliable control method has been provided, so that the inertia flywheel can operate effectively in practical applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010123A_ABST
    Figure CN119010123A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of energy storage, in particular to an active control method and device for an inertia flywheel, and the method comprises the steps: obtaining a voltage vector outputted by a coupling variable-current controller; obtaining an output power predicted value corresponding to the voltage vector based on the voltage vector and a preset inertia flywheel model; and determining a cost function corresponding to the voltage vector according to the target value of the output power and the predicted value of the output power corresponding to the voltage vector, and finding the corresponding voltage vector based on the minimum value of the cost function, so that the response speed of the output power meets a certain condition. Therefore, the technical problems that in the related technology, the inertia flywheel is still in the theoretical stage, the corresponding control strategy is not perfect, and the inertia flywheel cannot be applied in the actual life are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of energy storage technology, and in particular to an active power control method and device for an inertial flywheel. Background Art

[0003] In the related technologies, in order to solve the challenges of power grid inertia loss and frequency stability caused by the access of new energy, inertia compensation devices such as inertia flywheels can be used to solve the problem. For example, the flywheel phase modulation system including flywheel, inertia transmission device and phase regulator can be used to solve the reactive power compensation problem and inertia response problem; the flywheel energy storage system including electric motor, flywheel rotor and asynchronous generator can also be used to increase the rotational inertia in the power grid and reduce the risk of large frequency deviation in the power grid.

[0004] However, in the related technology, the inertia flywheel is still in the theoretical stage, and the corresponding control strategy is not yet perfect and cannot be applied in real life, and it is in urgent need of improvement. Summary of the invention

[0005] The present application provides an active power control method and device for an inertial flywheel to solve the problems in the related technology that the inertial flywheel is still in the theoretical stage, the corresponding control strategy is not perfect, and it cannot be applied in real life.

[0006] The first aspect of the present application provides an active power control method for an inertial flywheel, the method comprising the following steps: obtaining a voltage vector output by a coupled current converter controller; obtaining an output power prediction value corresponding to the voltage vector based on the voltage vector and a preset inertia flywheel model; determining a cost function corresponding to the voltage vector according to a target value of the output power and the output power prediction value corresponding to the voltage vector, and finding the corresponding voltage vector based on the minimum value of the cost function so that the response speed of the output power meets a preset condition.

[0007] Optionally, in one embodiment of the present application, the preset inertia flywheel model includes at least one of a mathematical model of an electromagnetic coupler and a mathematical model of a synchronous motor, and in the preset inertia flywheel model, the electromagnetic coupler and the synchronous motor are coupled by torque.

[0008] Optionally, in one embodiment of the present application, the expression of the mathematical model of the electromagnetic coupler may be, but is not limited to,:

[0009]

[0010] Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, Δω is the slip between the flywheel rotor and the synchronous motor rotor, u d is the d-axis voltage, Rs is the winding resistance, i d is the d-axis current, L d is the d-axis inductance, L q is the q-axis inductance, i q is the q-axis current, u q is the q-axis voltage, ψ r is the magnetic linkage coefficient.

[0011] Optionally, in one embodiment of the present application, the mathematical model of the synchronous motor includes at least one of a rotor motion equation, an electrical equation and / or an output power equation.

[0012] Optionally, in one embodiment of the present application, the expression of the rotor motion equation may be, but is not limited to,:

[0013]

[0014] Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, ω is the speed of the synchronous motor, H is the inertia constant of the synchronous motor, T m is the mechanical input torque of the motor, E″ q is the subtransient potential of the q axis, i q is the current on the stator q axis, E″ d is the subtransient potential of the d-axis, i d is the current on the d-axis, X″ d is the d-axis transient reactance, X″ q is the q-axis subtransient reactance, and δ is the power angle.

[0015] The electrical equation may be expressed as, but not limited to:

[0016]

[0017] Among them, k represents the current moment, k+1 represents the next moment, T s Indicates the sampling period, E″ d is the subtransient potential of the d-axis, X q is the q-axis synchronous reactance, X″ q is the q-axis subtransient reactance, T″ q0 is the q-axis subtransient open-circuit time constant, i q is the current on the stator q axis, E′ q is the transient potential of the q axis, E″ q is the subtransient potential of the q axis, X d is the d-axis synchronous reactance, X′ d is the d-axis transient reactance, X″ d is the d-axis transient reactance, T′ d0is the d-axis transient open circuit time constant, T″ d0 is the d-axis subtransient open-circuit time constant, i d is the current on the d-axis, E f is the excitation voltage, R a is the stator resistance, δ is the power angle, and U is the stator voltage.

[0018] The expression of the output power equation may be, but is not limited to,:

[0019] P(k+1)=Ucosδ(k+1)i q (k+1)+Usinδ(k+1)i d (k+1),

[0020] Among them, k+1 represents the next moment, P is the output power of the synchronous motor, U is the stator voltage, δ is the power angle, and i d is the current on the d-axis, i q is the current on the stator q axis.

[0021] Optionally, in one embodiment of the present application, the expression of the cost function may be, but is not limited to,:

[0022] minJ=λ 1 (P ref -P(k+1)) 2 +λ 2 (P(k)-P(k+1)) 2 +(i dref -i d (k+1)) 2 ,

[0023] Among them, k represents the current moment, k+1 represents the next moment, and P ref is the target value of synchronous motor output power, P is the synchronous motor output power, i ref is the reference value of the d-axis current of the electromagnetic coupler, i d is the d-axis current of the electromagnetic coupler, λ 1 and λ 2 is the weight coefficient.

[0024] The second aspect of the embodiments of the present application provides an active power control device for an inertial flywheel, the device comprising: an acquisition module for acquiring a voltage vector output by a coupled current converter; a generation module for obtaining an output power prediction value corresponding to the voltage vector based on the voltage vector and a preset inertia flywheel model; a control module for determining a cost function corresponding to the voltage vector according to a target value of the output power and the output power prediction value corresponding to the voltage vector, and finding the corresponding voltage vector based on the minimum value of the cost function, so that the response speed of the output power meets a preset condition.

[0025] Optionally, in one embodiment of the present application, the preset inertia flywheel model includes at least one of a mathematical model of an electromagnetic coupler and a mathematical model of a synchronous motor, and in the preset inertia flywheel model, the electromagnetic coupler and the synchronous motor are coupled by torque.

[0026] Optionally, in one embodiment of the present application, the expression of the mathematical model of the electromagnetic coupler may be, but is not limited to,:

[0027]

[0028] Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, Δω is the slip between the flywheel rotor and the synchronous motor rotor, u d is the d-axis voltage, R s is the winding resistance, i d is the d-axis current, L d is the d-axis inductance, L q is the q-axis inductance, i q is the q-axis current, u q is the q-axis voltage, ψ r is the magnetic linkage coefficient.

[0029] Optionally, in one embodiment of the present application, the mathematical model of the synchronous motor includes at least one of a rotor motion equation, an electrical equation and / or an output power equation.

[0030] Optionally, in one embodiment of the present application, the expression of the rotor motion equation may be, but is not limited to,:

[0031]

[0032] Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, ω is the speed of the synchronous motor, H is the inertia constant of the synchronous motor, T m is the mechanical input torque of the motor, E″ q is the subtransient potential of the q axis, i q is the current on the stator q axis, E″ d is the subtransient potential of the d-axis, i d is the current on the d-axis, X″ d is the d-axis transient reactance, X″ q is the q-axis subtransient reactance, and δ is the power angle.

[0033] The electrical equation may be expressed as, but not limited to:

[0034]

[0035] Among them, k represents the current moment, k+1 represents the next moment, T s Indicates the sampling period, E″ d is the subtransient potential of the d-axis, X q is the q-axis synchronous reactance, X″ q is the q-axis subtransient reactance, T″ q0 is the q-axis subtransient open-circuit time constant, i q is the current on the stator q axis, E′ q is the transient potential of the q axis, E″ q is the subtransient potential of the q axis, X d is the d-axis synchronous reactance, X″ d is the d-axis transient reactance, X″ d is the d-axis transient reactance, T′ d0 is the d-axis transient open circuit time constant, T″ d0 is the d-axis subtransient open-circuit time constant, i d is the current on the d-axis, E f is the excitation voltage, R a is the stator resistance, δ is the power angle, and U is the stator voltage.

[0036] The expression of the output power equation may be, but is not limited to,:

[0037] P(k+1)=Ucosδ(k+1)i q (k+1)+Usinδ(k+1)i d (k+1),

[0038] Among them, k+1 represents the next moment, P is the output power of the synchronous motor, U is the stator voltage, δ is the power angle, and i d is the current on the d-axis, i q is the current on the stator q axis.

[0039] Optionally, in one embodiment of the present application, the expression of the cost function may be, but is not limited to,:

[0040] minJ=λ 1 (P ref -P(k+1)) 2 +λ 2 (P(k)-P(k+1)) 2 +(i dref -i d (k+1)) 2 ,

[0041] Among them, k represents the current moment, k+1 represents the next moment, and P refis the target value of synchronous motor output power, P is the synchronous motor output power, i ref is the reference value of the d-axis current of the electromagnetic coupler, d d is the d-axis current of the electromagnetic coupler, λ 1 and λ 2 is the weight coefficient.

[0042] A third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the active power control method of the inertial flywheel as described in the above embodiment.

[0043] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned active power control method of the inertial flywheel.

[0044] The fifth aspect of the present application provides a computer program product, including a computer program, which, when executed, implements the above-mentioned active power control method of the inertial flywheel.

[0045] The embodiment of the present application can obtain the output power prediction value corresponding to the voltage vector based on the output voltage vector of the coupled current converter controller and a certain inertia flywheel model, and calculate the minimum value of the cost function according to the target value of the output power and the output power prediction value corresponding to the voltage vector, so as to find the optimal voltage vector so that the response speed of the output power meets certain conditions, thereby improving the power response speed of the system, suppressing the power oscillation process of the system, improving the control strategy of the inertia flywheel, and providing a more reliable method for controlling the operation of the inertia flywheel. Thus, the technical problems in the related technology that the inertia flywheel is still in the theoretical stage, the corresponding control strategy is not perfect, and it cannot be applied in real life are solved.

[0046] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0048] Figure 1 A schematic diagram of the structure of an inertial flywheel provided according to an embodiment of the present application;

[0049] Figure 2 It is a flow chart of an active power control method of an inertial flywheel provided according to an embodiment of the present application;

[0050] Figure 3A block diagram of the working principle of an active power control method of an inertial flywheel provided according to an embodiment of the present application;

[0051] Figure 4 It is a block diagram of an active power control device of an inertial flywheel provided according to an embodiment of the present application;

[0052] Figure 5 It is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0053] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0054] The following describes the active power control method and device of the inertial flywheel of the embodiment of the present application with reference to the accompanying drawings. In view of the problem that the inertial flywheel mentioned in the above background technology is still in the theoretical stage, the corresponding control strategy is not perfect, and it cannot be applied in real life, the present application provides an active power control method of the inertial flywheel, in which the output power prediction value corresponding to the voltage vector can be obtained based on the output voltage vector of the coupled converter controller and a certain inertial flywheel model, and the minimum value of the cost function is calculated according to the target value of the output power and the output power prediction value corresponding to the voltage vector, so as to find the optimal voltage vector so that the response speed of the output power meets certain conditions, thereby improving the power response speed of the system, suppressing the power oscillation process of the system, improving the control strategy of the inertial flywheel, and providing a more reliable method for controlling the operation of the inertial flywheel. As a result, the technical problems such as the inertial flywheel is still in the theoretical stage, the corresponding control strategy is not perfect, and it cannot be applied in real life in the related technology are solved.

[0055] Before introducing the active power control method of the inertial flywheel proposed in the embodiment of the present application, the inertial flywheel proposed in the embodiment of the present application is first explained in detail.

[0056] Specifically, Figure 1 The figure is a schematic diagram of the structure of an inertial flywheel provided according to one embodiment of the present application.

[0057] like Figure 1 As shown, 101 is a flywheel rotor, 102 is a transmission shaft 1, 103 is an electromagnetic coupler, 104 is a transmission shaft 2, 105 is a synchronous motor, 106 is a coupler converter controller, and 107 is a power grid.

[0058] Specifically, the inertia flywheel of the embodiment of the present application can be, but is not limited to, composed of a flywheel rotor 101, a transmission shaft 1 102, an electromagnetic coupler 103, a transmission shaft 2 104, a synchronous motor 105, a coupler converter controller 106, etc.

[0059] The flywheel rotor 101 is connected to the inner rotor of the electromagnetic coupler 103 via a mechanical shaft, and is connected to the synchronous motor 105 via the electromagnetic coupler 103 .

[0060] The electromagnetic coupler 103 includes an outer rotor and an inner rotor. The outer rotor of the electromagnetic coupler 103 is connected with the rotor of the synchronous motor 105 via a mechanical shaft.

[0061] The speed of the rotor of the synchronous motor 105 is maintained at the industrial frequency speed, and the stator winding can be directly connected to the power grid 107.

[0062] The coupler converter controller 106 is used to control the electromagnetic coupler 103 so that the electromagnetic coupler 103 can achieve torque and inertia transmission between the flywheel rotor 101 and the synchronous motor 105 .

[0063] The power grid 107 can supply power to the electromagnetic coupler 103 via the coupler current controller 106 .

[0064] Specifically, Figure 2 The present invention is a flowchart of an active power control method of an inertial flywheel provided according to an embodiment of the present application.

[0065] like Figure 2 As shown, the active power control method of the inertial flywheel includes the following steps:

[0066] In step S201, a voltage vector output by a coupled current converter controller is obtained.

[0067] In some embodiments, the coupled current converter controller of the embodiment of the present application can output a voltage vector, and then all possible output voltage vectors of the coupled current converter controller can be obtained.

[0068] For example, Figure 3 As shown, the coupled current converter controller 106 in the embodiment of the present application can output 8 kinds of voltage vectors, including 2 zero vectors and 6 effective voltage vectors.

[0069] In step S102, an output power prediction value corresponding to the voltage vector is obtained based on the voltage vector and a preset inertia flywheel model.

[0070] It can be understood that the finite control set model predictive control in the embodiment of the present application predicts the future change trend of the system under each control action through a prediction model, and selects the control sequence that minimizes the cost function as the optimal control sequence of the system.

[0071] Among them, the prediction model in the finite control set model predictive control is a certain inertia flywheel model, wherein the certain inertia flywheel model can be but is not limited to including two parts: an electromagnetic coupler and a synchronous motor. It can be specifically set by technicians in this field according to actual conditions, and this application does not make any specific restrictions.

[0072] As a possible implementation method, the embodiment of the present application can obtain the output power prediction value corresponding to each voltage vector based on each voltage vector output by the coupled converter controller and a certain inertia flywheel model.

[0073] For example, Figure 3 As shown, the embodiment of the present application can obtain the output power prediction value P(k+1) based on each voltage vector output by the coupled converter controller 106 through the mathematical model of the electromagnetic coupler 103 and the mathematical model of the synchronous motor 105 in a certain inertia flywheel model.

[0074] Optionally, in one embodiment of the present application, the preset inertia flywheel model includes at least one of a mathematical model of an electromagnetic coupler and a mathematical model of a synchronous motor, and the electromagnetic coupler and the synchronous motor in the preset inertia flywheel model are coupled by torque. The expression of the mathematical model of the electromagnetic coupler may be, but is not limited to,:

[0075]

[0076] Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, Δω is the slip between the flywheel rotor and the synchronous motor rotor, u d is the d-axis voltage, R s is the winding resistance, i d is the d-axis current, L d is the d-axis inductance, L q is the q-axis inductance, i q is the q-axis current, u q is the q-axis voltage, ψ r is the magnetic linkage coefficient.

[0077] The mathematical model of the synchronous machine includes at least one of a rotor motion equation, an electrical equation and / or an output power equation.

[0078] The expression of the rotor motion equation can be, but is not limited to,:

[0079]

[0080] Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, ω is the speed of the synchronous motor, H is the inertia constant of the synchronous motor, T mis the mechanical input torque of the motor, E″ q is the subtransient potential of the q axis, i q is the current on the stator q axis, E″ d is the subtransient potential of the d-axis, i d is the current on the d-axis, X″ d is the d-axis transient reactance, X″ q is the q-axis subtransient reactance, and δ is the power angle.

[0081] The expressions of electrical equations can be, but are not limited to:

[0082]

[0083] Among them, k represents the current moment, k+1 represents the next moment, T s Indicates the sampling period, E″ d is the subtransient potential of the d-axis, X q is the q-axis synchronous reactance, X″ q is the q-axis subtransient reactance, T″ q0 is the q-axis subtransient open-circuit time constant, i q is the current on the stator q axis, E′ q is the transient potential of the q axis, E″ q is the subtransient potential of the q axis, X d is the d-axis synchronous reactance, X′ d is the d-axis transient reactance, X″ d is the d-axis transient reactance, T′ d0 is the d-axis transient open circuit time constant, T″ d0 is the d-axis subtransient open-circuit time constant, i d is the current on the d-axis, E f is the excitation voltage, R a is the stator resistance, δ is the power angle, and U is the stator voltage.

[0084] The expression of the output power equation can be, but is not limited to,:

[0085] P(k+1)=Ucosδ(k+1)i q (k+1)+Usinδ(k+1)i d (k+1),

[0086] Among them, k+1 represents the next moment, P is the output power of the synchronous motor, U is the stator voltage, δ is the power angle, and i d is the current on the d-axis, i q is the current on the stator q axis.

[0087] As a possible implementation method, the certain inertia flywheel model of the embodiment of the present application may include, but is not limited to, a mathematical model of an electromagnetic coupler and a mathematical model of a synchronous motor, etc., and the present application does not make specific restrictions. In the certain inertia flywheel model, the electromagnetic coupler and the synchronous motor are coupled by torque, and the mathematical model of the synchronous motor may include, but is not limited to, a rotor motion equation, an electrical equation, an output power equation, etc., and the present application does not make specific restrictions. Among them, the acquisition content of the mathematical model of the electromagnetic coupler and the mathematical model of the synchronous motor in the embodiment of the present application can be:

[0088] In some embodiments, the electromagnetic coupler of the present application can be regarded as a permanent magnet synchronous motor whose stator and rotor rotate simultaneously. Therefore, the mathematical model of the electromagnetic coupler of the present application can be similar to the mathematical model of the permanent magnet synchronous motor, wherein the expression of the mathematical model of the permanent magnet synchronous motor can be but is not limited to:

[0089]

[0090] Wherein, Δω is the slip between the inner and outer rotors of the electromagnetic coupler.

[0091] However, the embodiment of the present application requires that the mathematical model of the electromagnetic coupler predicts the current and electromagnetic torque at the next moment based on the current, voltage and slip at the current moment. Therefore, it is necessary to discretize equation (1) to obtain the mathematical model of the electromagnetic coupler, and its expression can be but is not limited to:

[0092]

[0093] Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, Δω is the slip between the flywheel rotor and the synchronous motor rotor, u f is the d-axis voltage, R s is the winding resistance, i d is the d-axis current, L d is the d-axis inductance, L q is the q-axis inductance, i q is the q-axis current, u q is the q-axis voltage, ψ r is the magnetic linkage coefficient.

[0094] Furthermore, the electromagnetic torque of the electromagnetic coupler in the embodiment of the present application is the input mechanical torque of the synchronous motor rotor. In order to complete the control of the output power of the synchronous motor, the embodiment of the present application can perform mathematical modeling on the synchronous motor, wherein, if the embodiment of the present application considers the zero-axis winding that is independent of the stator d-axis winding and the q-axis winding separately, then the synchronous motor is a seventh-order mathematical model when the electromagnetic transition process of the d, q, f, D, Q5 windings and the rotor mechanical transition process are taken into account. However, the high dimension of the mathematical model will bring great difficulties to the calculation and analysis. Therefore, in practical engineering problems, the mathematical model of the synchronous motor is often simplified to varying degrees. Among them, the fifth-order mathematical model of the synchronous generator takes into account more practical factors, the amount of calculation is moderate, the physical concept is clear, and the parameter preparation is relatively easy, so it has been widely used. The fifth-order mathematical model of the synchronous motor can include, but is not limited to, the mathematical model of the q-axis electrical, the mathematical model of the d-axis electrical, the rotor motion equation, etc., and this application does not make specific restrictions.

[0095] The expression of the mathematical model of the q-axis electrical system may be, but is not limited to,:

[0096]

[0097] Among them, E″ d is the subtransient potential of the d-axis.

[0098] The expression of the mathematical model of the d-axis electrical system can be, but is not limited to,:

[0099]

[0100] Among them, E′ q is the transient potential of the q axis, E″ q is the subtransient potential of the q axis, E f is the excitation voltage.

[0101] The expression of the rotor motion equation can be, but is not limited to,:

[0102]

[0103] Among them, T m The mechanical torque input to the synchronous motor is equal to the electromagnetic torque of the electromagnetic coupler, and δ is the angle between the q axis and the reference axis.

[0104] Similarly, the fifth-order mathematical model of the synchronous motor is discretized in the embodiment of the present application. Since the q-axis transient potential and the q-axis and d-axis sub-transient potential at the current moment in the embodiment of the present application cannot be directly measured, they need to be obtained by calculation, and the calculation formulas are shown in equations (6) and (7).

[0105] The calculation formula of the d-axis transient potential in the embodiment of the present application may be, but is not limited to,:

[0106] E″ d (k)=Usinδ(k)+R a i d (k)-X q ″i q (k), (6)

[0107] The calculation formula of q-axis transient potential and sub-transient potential can be but is not limited to:

[0108]

[0109] Among them, in equations (6) and (7), k-1 represents the previous moment, k represents the current moment, and U represents the amplitude of the motor stator port voltage, which is generally considered to be unchanged.

[0110] Furthermore, the embodiment of the present application can obtain a mathematical model of a discretized synchronous motor, wherein the mathematical model of the synchronous motor may include, but is not limited to, a rotor motion equation, an electrical equation, an output power equation, etc., and its expression may be:

[0111] The expression of the rotor motion equation can be, but is not limited to,:

[0112]

[0113] Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, ω is the speed of the synchronous motor, H is the inertia constant of the synchronous motor, T m is the mechanical input torque of the motor, E q "" is the subtransient potential of the q axis, i q is the current on the stator q axis, E″ d is the subtransient potential of the d-axis, i d is the current on the d-axis, X″ d is the d-axis transient reactance, X″ q is the q-axis subtransient reactance, and δ is the power angle.

[0114] The expressions of electrical equations can be, but are not limited to:

[0115]

[0116] Among them, k represents the current moment, k+1 represents the next moment, T s Indicates the sampling period, E″ d is the subtransient potential of the d-axis, X q is the q-axis synchronous reactance, X″ q is the q-axis subtransient reactance, T″ q0 is the q-axis subtransient open-circuit time constant, i qis the current on the stator q axis, E′ q is the transient potential of the q axis, E″ q is the subtransient potential of the q axis, X d is the d-axis synchronous reactance, X′ d is the d-axis transient reactance, X″ d is the d-axis transient reactance, T′ d0 is the d-axis transient open circuit time constant, T″ d0 is the d-axis subtransient open-circuit time constant, i d is the current on the d-axis, E f is the excitation voltage, R a is the stator resistance, δ is the power angle, and U is the stator voltage.

[0117] The expression of the output power equation can be, but is not limited to,:

[0118] P(k+1)=Ucosδ(k+1)i q (k+1)+Usinδ(k+1)i d (k+1), (10)

[0119] Among them, k+1 represents the next moment, P is the output power of the synchronous motor, U is the stator voltage, δ is the power angle, and i d is the current on the d-axis, i q is the current on the stator q axis.

[0120] Furthermore, according to the embodiment of the present application, from equations (6) to (10), it can be known that according to the i at the previous moment and the current moment d ,i q , E f ,δ, the current speed ω and input mechanical torque T m , the output power of the synchronous motor at the next moment can be calculated.

[0121] In step S103, the cost function corresponding to the voltage vector is determined according to the target value of the output power and the output power prediction value corresponding to the voltage vector, and the corresponding voltage vector is found based on the minimum value of the cost function so that the response speed of the output power meets the preset conditions. The expression of the cost function can be, but is not limited to,:

[0122] minJ=λ 1 (P ref -P(k+1)) 2 +λ 2 (P(k)-P(k+1)) 2 +(i dref -i d (k+1)) 2 ,

[0123] Among them, k represents the current moment, k+1 represents the next moment, and P ref is the target value of synchronous motor output power, P is the synchronous motor output power, i ref is the reference value of the d-axis current of the electromagnetic coupler, i d is the d-axis current of the electromagnetic coupler, λ 1 and λ 2 is the weight coefficient.

[0124] It can be understood by those skilled in the art that, in the embodiment of the present application, after determining the cost function corresponding to each voltage vector according to the target value of the output power and the output power prediction value corresponding to each voltage vector, the cost function can be calculated and the voltage vector corresponding to the minimum cost function can be found, so that the response speed of the output power meets certain conditions. Among them, the certain conditions can be set by those skilled in the art according to actual conditions, and this application does not impose specific restrictions.

[0125] In addition, the expression of the cost function in the embodiment of the present application can be but is not limited to:

[0126] minJ=λ 1 (P ref -P(k+1)) 2 +λ 2 (P(k)-P(k+1)) 2 +(i dref -i d (k+1)) 2 , (11)

[0127] Among them, k represents the current moment, k+1 represents the next moment, and P ref is the target value of the synchronous motor output power, P(k) and P(k+1) are the predicted values ​​of the synchronous motor output power at the current moment and the next moment, i ref is the reference value of the d-axis current of the electromagnetic coupler. In order to simplify the control, the embodiment of the present application selects 0, i d (+1) is the predicted value of the d-axis current of the electromagnetic coupler at time k+1, λ 1 and λ 2 is the weight coefficient.

[0128] Furthermore, in the embodiment of the present application, the first term of the cost function is the deviation term of the output power, the second term is the differential term of the output power, the first term and the second term are used to control the output torque of the electromagnetic coupler, and the third term is used to control the magnetic flux of the electromagnetic coupler. In the initial stage of the active power response of the inertial flywheel, the power deviation is large, so the power deviation term is dominant. At this time, the output torque of the electromagnetic coupler increases rapidly, causing the system output power to rise. When the output power of the inertial flywheel approaches the target value, the power deviation term becomes smaller, and the differential term is dominant. At this time, the system output power rises slowly to prevent overshoot.

[0129] For example, Figure 3 As shown, in the embodiment of the present application, the eight voltage vectors output by the coupler converter controller 106 can be combined with the measured values ​​of the parameters of the electromagnetic coupler 103 and the synchronous motor 105 and substituted into the mathematical model of the electromagnetic coupler 103 and the mathematical model of the synchronous motor 105 to calculate the output power prediction values ​​corresponding to the eight voltage vectors, and then the cost function is calculated to find the voltage vector corresponding to the minimum cost function, which is converted into a drive signal and input into the coupler converter controller 106.

[0130] The working principle of the active power control method of the inertial flywheel proposed in the embodiment of the present application is described in detail below in conjunction with a specific embodiment.

[0131] in, Figure 3 The figure is a block diagram of the working principle of the active power control method of the inertial flywheel provided according to one embodiment of the present application.

[0132] Embodiment 1:

[0133] The embodiment of the present application The coupled current controller 106 can output 8 kinds of voltage vectors, including 2 zero vectors and 6 effective voltage vectors. Then, the 8 voltage vectors output by the coupler current controller 106 can be combined with the measured values ​​of the parameters of the electromagnetic coupler 103 and the synchronous motor 105 and substituted into the mathematical model of the electromagnetic coupler 103 and the mathematical model of the synchronous motor 105 to calculate the output power prediction value P(k+1) corresponding to the 8 voltage vectors, and then the cost function is calculated to find the voltage vector corresponding to the minimum cost function, which is converted into a drive signal and input into the coupler current controller 106.

[0134] According to the active power control method of the inertial flywheel proposed in the embodiment of the present application, the output power prediction value corresponding to the voltage vector can be obtained based on the output voltage vector of the coupled converter controller and a certain inertia flywheel model, and the minimum value of the cost function is calculated according to the target value of the output power and the output power prediction value corresponding to the voltage vector, so as to find the optimal voltage vector so that the response speed of the output power meets certain conditions, thereby improving the power response speed of the system, suppressing the power oscillation process of the system, improving the control strategy of the inertial flywheel, and providing a more reliable method for controlling the operation of the inertial flywheel. Thus, the technical problems in the related technology that the inertial flywheel is still in the theoretical stage, the corresponding control strategy is not perfect, and it cannot be applied in real life are solved.

[0135] Next, the active power control device of the inertial flywheel proposed in the embodiment of the present application is described with reference to the accompanying drawings.

[0136] Figure 4 It is a block diagram of an active power control device of an inertial flywheel provided according to an embodiment of the present application.

[0137] like Figure 4 As shown, the active power control device 40 of the inertial flywheel includes: an acquisition module 401 , a generation module 402 and a control module 403 .

[0138] The acquisition module 401 is used to acquire the voltage vector output by the coupled current converter controller.

[0139] The generating module 402 is used to obtain the output power prediction value corresponding to the voltage vector based on the voltage vector and the preset inertia flywheel model.

[0140] The control module 403 is used to determine the cost function corresponding to the voltage vector according to the target value of the output power and the output power prediction value corresponding to the voltage vector, and find the corresponding voltage vector based on the minimum value of the cost function so that the response speed of the output power meets the preset conditions.

[0141] Optionally, in one embodiment of the present application, the preset inertia flywheel model includes at least one of a mathematical model of an electromagnetic coupler and a mathematical model of a synchronous motor, and in the preset inertia flywheel model, the electromagnetic coupler and the synchronous motor are coupled by torque.

[0142] Optionally, in one embodiment of the present application, the expression of the mathematical model of the electromagnetic coupler may be, but is not limited to,:

[0143]

[0144] Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, Δω is the slip between the flywheel rotor and the synchronous motor rotor, u dis the d-axis voltage, R s is the winding resistance, i d is the d-axis current, L d is the d-axis inductance, L q is the q-axis inductance, i q is the q-axis current, u q is the q-axis voltage, ψ r is the magnetic linkage coefficient.

[0145] Optionally, in one embodiment of the present application, the mathematical model of the synchronous motor includes at least one of a rotor motion equation, an electrical equation and / or an output power equation.

[0146] Optionally, in one embodiment of the present application, the expression of the rotor motion equation may be, but is not limited to,:

[0147]

[0148] Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, ω is the speed of the synchronous motor, H is the inertia constant of the synchronous motor, T m is the mechanical input torque of the motor, E″ q is the subtransient potential of the q axis, i q is the current on the stator q axis, E″ d is the subtransient potential of the d-axis, i d is the current on the d-axis, X″ d is the d-axis transient reactance, X″ q is the q-axis subtransient reactance, and δ is the power angle.

[0149] The expressions of electrical equations can be, but are not limited to:

[0150]

[0151] Among them, k represents the current moment, k+1 represents the next moment, T s Indicates the sampling period, E″ d is the subtransient potential of the d-axis, X q is the q-axis synchronous reactance, X″ q is the q-axis subtransient reactance, T″ q0 is the q-axis subtransient open-circuit time constant, i q is the current on the stator q axis, E′ q is the transient potential of the q axis, E″ q is the subtransient potential of the q axis, X d is the d-axis synchronous reactance, X′ d is the d-axis transient reactance, X″ d is the d-axis transient reactance, T′ d0is the d-axis transient open circuit time constant, T″ d0 is the d-axis subtransient open-circuit time constant, i d is the current on the d-axis, E f is the excitation voltage, R a is the stator resistance, δ is the power angle, and U is the stator voltage.

[0152] The expression of the output power equation can be, but is not limited to,:

[0153] P(k+1)=Ucosδ(k+1)i q (k+1)+Usinδ(k+1)i d (k+1),

[0154] Among them, k+1 represents the next moment, P is the output power of the synchronous motor, U is the stator voltage, δ is the power angle, and i d is the current on the d-axis, i q is the current on the stator q axis.

[0155] Optionally, in one embodiment of the present application, the expression of the cost function may be, but is not limited to,:

[0156] minJ=λ 1 (P ref -P(k+1)) 2 +λ 2 (P(k)-P(k+1)) 2 +(i dref -i d (k+1)) 2 ,

[0157] Among them, k represents the current moment, k+1 represents the next moment, and P ref is the target value of synchronous motor output power, P is the synchronous motor output power, i ref is the reference value of the d-axis current of the electromagnetic coupler, i d is the d-axis current of the electromagnetic coupler, λ 1 and λ 2 is the weight coefficient.

[0158] It should be noted that the above explanation of the embodiment of the active power control method of the inertial flywheel is also applicable to the active power control device of the inertial flywheel of this embodiment, which will not be described in detail here.

[0159] According to the active control device of the inertial flywheel proposed in the embodiment of the present application, the output power prediction value corresponding to the voltage vector can be obtained based on the output voltage vector of the coupled current converter controller and a certain inertial flywheel model, and the minimum value of the cost function can be calculated according to the target value of the output power and the output power prediction value corresponding to the voltage vector, so as to find the optimal voltage vector so that the response speed of the output power meets certain conditions, thereby improving the power response speed of the system, suppressing the power oscillation process of the system, improving the control strategy of the inertial flywheel, and providing a more reliable method for controlling the operation of the inertial flywheel. Thus, the technical problems in the related art that the inertial flywheel is still in the theoretical stage, the corresponding control strategy is not perfect, and it cannot be applied in real life are solved.

[0160] Figure 5 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. The electronic device may include:

[0161] A memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .

[0162] When the processor 502 executes the program, the active power control method of the inertial flywheel provided in the above embodiment is implemented.

[0163] Furthermore, the electronic device further comprises:

[0164] The communication interface 503 is used for communication between the memory 501 and the processor 502 .

[0165] The memory 501 is used to store computer programs that can be executed on the processor 502 .

[0166] The memory 501 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0167] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0168] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.

[0169] The processor 502 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0170] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned active power control method of the inertial flywheel is implemented.

[0171] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed, implements the above active power control method of the inertial flywheel.

[0172] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0173] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0174] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0175] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.

[0176] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of multiple of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0177] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0178] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0179] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for controlling active power of an inertial flywheel, It is characterized in that The method comprises the following steps: Obtaining a voltage vector output by a coupled current converter controller; Obtaining an output power prediction value corresponding to the voltage vector based on the voltage vector and a preset inertia flywheel model; A cost function corresponding to the voltage vector is determined according to the target value of the output power and the output power prediction value corresponding to the voltage vector, and the corresponding voltage vector is found based on the minimum value of the cost function so that the response speed of the output power meets a preset condition.

2. The active power control method of the inertial flywheel according to claim 1, It is characterized in that The preset inertia flywheel model includes at least one of a mathematical model of an electromagnetic coupler and a mathematical model of a synchronous motor, and in the preset inertia flywheel model, the electromagnetic coupler and the synchronous motor are coupled by torque.

3. The active power control method of the inertial flywheel according to claim 2, It is characterized in that The mathematical model of the electromagnetic coupler is expressed as: Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, Δω is the slip between the flywheel rotor and the synchronous motor rotor, u d is the d-axis voltage, R s is the winding resistance, i d is the d-axis current, L d is the d-axis inductance, L q is the q-axis inductance, i q is the q-axis current, u q is the q-axis voltage, ψ r is the magnetic linkage coefficient.

4. The active power control method of the inertial flywheel according to claim 2, It is characterized in that The mathematical model of the synchronous motor includes at least one of a rotor motion equation, an electrical equation and / or an output power equation.

5. The active power control method of the inertial flywheel according to claim 4, It is characterized in that in, The rotor motion equation is expressed as: Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, ω is the speed of the synchronous motor, H is the inertia constant of the synchronous motor, T m is the mechanical input torque of the motor, E″ q is the subtransient potential of the q axis, i q is the current on the stator q axis, E″ d is the subtransient potential of the d-axis, i d is the current on the d-axis, X″ d is the d-axis transient reactance, X″ q is the q-axis subtransient reactance, and δ is the power angle. The electrical equation is expressed as: Among them, k represents the current moment, k+1 represents the next moment, T s Indicates the sampling period, E" d is the subtransient potential of the d-axis, X q is the q-axis synchronous reactance, X″ q is the q-axis subtransient reactance, T″ q0 is the q-axis subtransient open-circuit time constant, i q is the current on the stator q axis, E′ q is the transient potential of the q axis, E″ q is the subtransient potential of the q axis, X d is the d-axis synchronous reactance, X′ d is the d-axis transient reactance, X″ d is the d-axis transient reactance, T′ d0 is the d-axis transient open circuit time constant, T″ d0 is the d-axis subtransient open-circuit time constant, i d is the current on the d-axis, E f is the excitation voltage, R a is the stator resistance, δ is the power angle, and U is the stator voltage. The expression of the output power equation is: P(k+1)=Ucosδ(k+1)i q (k+1)+Usinδ(k+1)i d (k+1), Among them, k+1 represents the next moment, P is the output power of the synchronous motor, U is the stator voltage, δ is the power angle, and i d is the current on the d-axis, i q is the current on the stator q axis.

6. The active power control method of the inertial flywheel according to claim 1, It is characterized in that The expression of the cost function is: min J=λ 1 (P ref -P(k+1)) 2 +λ 2 (P(k)-P(k+1)) 2 +(and dref -and d (k+1)) 2 , Among them, k represents the current moment, k+1 represents the next moment, and P ref is the target value of synchronous motor output power, P is the synchronous motor output power, i ref is the reference value of the d-axis current of the electromagnetic coupler, i d is the d-axis current of the electromagnetic coupler, λ 1 and λ 2 is the weight coefficient.

7. An active power control device for an inertial flywheel, It is characterized in that The device comprises: An acquisition module, used for acquiring a voltage vector output by a coupled current converter controller; A generating module, configured to obtain an output power prediction value corresponding to the voltage vector based on the voltage vector and a preset inertia flywheel model; A control module is used to determine a cost function corresponding to the voltage vector according to a target value of the output power and a predicted value of the output power corresponding to the voltage vector, and find the corresponding voltage vector based on a minimum value of the cost function so that a response speed of the output power meets a preset condition.

8. The active power control device of the inertial flywheel according to claim 7, It is characterized in that The preset inertia flywheel model includes at least one of a mathematical model of an electromagnetic coupler and a mathematical model of a synchronous motor, and in the preset inertia flywheel model, the electromagnetic coupler and the synchronous motor are coupled by torque.

9. The active power control device of the inertial flywheel according to claim 8, It is characterized in that The mathematical model of the electromagnetic coupler is expressed as: Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, Δω is the slip between the flywheel rotor and the synchronous motor rotor, u d is the d-axis voltage, R s is the winding resistance, i d is the d-axis current, L d is the d-axis inductance, L q is the q-axis inductance, i q is the q-axis current, u q is the q-axis voltage, ψ r is the magnetic linkage coefficient.

10. The active power control device of the inertial flywheel according to claim 8, It is characterized in that The mathematical model of the synchronous motor includes at least one of a rotor motion equation, an electrical equation and / or an output power equation.

11. The active power control device of the inertial flywheel according to claim 10, It is characterized in that in, The rotor motion equation is expressed as: Among them, k represents the current moment, k+1 represents the next moment, T s represents the sampling period, ω is the speed of the synchronous motor, H is the inertia constant of the synchronous motor, T m is the mechanical input torque of the motor, E″ q is the subtransient potential of the q axis, i q is the current on the stator q axis, E″ d is the subtransient potential of the d-axis, i d is the current on the d-axis, X″ d is the d-axis transient reactance, X″ q is the q-axis subtransient reactance, and δ is the power angle. The electrical equation is expressed as: Among them, k represents the current moment, k+1 represents the next moment, T s Indicates the sampling period, E″ d is the subtransient potential of the d-axis, X q is the q-axis synchronous reactance, X″ q is the q-axis subtransient reactance, T″ q0 is the q-axis subtransient open-circuit time constant, i q is the current on the stator q axis, E′ q is the transient potential of the q axis, E″ q is the subtransient potential of the q axis, X d is the d-axis synchronous reactance, X′ d is the d-axis transient reactance, X″ d is the d-axis transient reactance, T′ d0 is the d-axis transient open circuit time constant, T″ d0 is the d-axis subtransient open-circuit time constant, i d is the current on the d-axis, E f is the excitation voltage, R a is the stator resistance, δ is the power angle, and U is the stator voltage. The expression of the output power equation is: P(k+1)=Ucosδ(k+1)i q (k+1)+Usinδ(k+1)i d (k+1), Among them, k+1 represents the next moment, P is the output power of the synchronous motor, U is the stator voltage, δ is the power angle, and i d is the current on the d-axis, i q is the current on the stator q axis.

12. The active power control device of the inertial flywheel according to claim 7, It is characterized in that The expression of the cost function is: min J=λ 1 (P ref -P(k+1)) 2 +λ 2 (P(k)-P(k+1)) 2 +(and dref -and d (k+1)) 2 , Among them, k represents the current moment, k+1 represents the next moment, and P ref is the target value of synchronous motor output power, P is the synchronous motor output power, i ref is the reference value of the d-axis current of the electromagnetic coupler, i d is the d-axis current of the electromagnetic coupler, λ 1 and λ 2 is the weight coefficient.

13. An electronic device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the active power control method of the inertial flywheel as described in any one of claims 1 to 6.

14. A computer-readable storage medium having a computer program stored thereon, It is characterized in that The program is executed by a processor to implement the active power control method of the inertial flywheel as described in any one of claims 1-6.

15. A computer program product, It is characterized in that It comprises a computer program, which, when executed, is used to implement the active power control method of the inertial flywheel as claimed in any one of claims 1 to 6.