A wind turbine generator combined design selection system
By using MATLAB GUI graphical modules and iterative analytical methods, the problems of complex equation analysis and software engineering in wind turbine system design were solved. This enabled the rapid, accurate, and intuitive presentation of wind turbine parameter design, reducing development costs and simplifying the design cycle.
Patent Information
- Application Number
- CN202210359133.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-07
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2042-04-07
AI Technical Summary
In the design of wind turbine systems, existing technologies are unable to effectively solve the problems of complex equation analysis and software engineering, resulting in a large workload for parameter design and high analysis difficulty. The MATLAB compiler cannot simultaneously support the analysis of multivariate high-order complex equations and package them for release as application software.
The system is developed using a MATLAB-based GUI graphical module and combined with an iterative analytical method to transform complex equations into simpler ones. By combining the front-end and back-end of the GUI graphical module software, the system enables the design of wind turbine parameters, including modules for user login, function selection, calculation, and data display. It also establishes a mathematical model of the generator for optimization and iteration.
It enables rapid, accurate, and intuitive presentation of wind turbine parameter design, reduces development costs, simplifies the design cycle, improves system functionality and performance, and supports the analytical and software engineering applications of multivariate high-order complex equations.
Smart Images

Figure CN114970405B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The patent relates to the field of wind turbine generator design in wind power generation, and particularly relates to a wind turbine generator joint design selection system based on programmable simulation software. BACKGROUND
[0002] MATLAB is programmable simulation software, has a very powerful mathematical function library, has obvious advantages in complex numerical analysis, signal processing, algorithm development, data visualization, etc., also provides a powerful graphical user interface development template GUIDE, which makes module development simple; in addition, most engineering and technical developers are familiar with the MATLAB design platform, so when designing experimental simulation platform software that needs to perform various operations and processing on a large amount of data, using the MATLAB platform for system development has good convenience, operability and realizability.
[0003] In the design of a wind turbine generator system, many factors need to be considered, such as generator rated power, generator rated speed, generator rated frequency, generator rated voltage, generator no-load voltage, generator stator resistance, generator stator d-axis inductance, generator stator q-axis inductance, and generator rated current, and there are many mutual coupling relationships between the parameters, which brings great interference, huge workload and analysis difficulty to the parameter design work of the developers, so it is urgently needed to complete the wind turbine generator joint design selection system through a design system tool with operation capability.
[0004] In the development of GUI graphical modules based on MATLAB, the MATLAB compiler cannot well support the analysis and packaging of multiple high-order complex equations as application software engineering applications, which is an important reason why developers in the field of engineering applications rarely use MATLAB to develop GUI graphical modules. Therefore, in the joint design of a wind turbine generator, in addition to completing the wind turbine generator parameter selection algorithm, complex equation analysis and software engineering problems also need to be considered and solved, and in the patent, an iterative analysis method is proposed to convert the analysis of complex equations into the analysis of simple equations. SUMMARY
[0005] In order to facilitate research and development designers to simply, quickly and accurately design wind turbine generator parameters, the application provides a wind turbine generator joint design selection system.
[0006] A wind turbine generator joint design selection system includes a GUI graphical module software front end and a GUI graphical module software back end; the GUI graphical module software front end includes a user login module and a function selection module, and the function selection module includes three software function modules of a rated current calculation function module, a rated speed calculation function module and a no-load voltage calculation function module.
[0007] The user login module is used for the user to enter the service provided by the software system through an account and a password, and includes a user name sub-module, a password input sub-module, a running sub-module, and a quit sub-module.
[0008] Each software function module includes eight parameter input sub-modules, a calculation result sub-module, a reset sub-module, a clear sub-module, a calculation sub-module, and a quit sub-module.
[0009] Further, the software function module further includes a waveform display sub-module, a LOGO display sub-module, and a time display lamp sub-module.
[0010] Further, the eight parameter input sub-modules of the rated current calculation function module are a generator rated power input sub-module, a generator rated speed input sub-module, a generator rated frequency input sub-module, a generator rated voltage input sub-module, a generator no-load voltage input sub-module, a motor stator resistance input sub-module, a generator stator d-axis inductance input sub-module, and a generator stator q-axis inductance input sub-module, and the rated current and the power factor are calculated through input of the parameters corresponding to the above eight input sub-modules, and whether the input parameters are reasonable is displayed in a state display column.
[0011] Further, the eight parameter input sub-modules of the rated speed calculation function module are a generator rated power input sub-module, a generator rated current input sub-module, a generator rated frequency input sub-module, a generator rated voltage input sub-module, a generator no-load voltage input sub-module, a motor stator resistance input sub-module, a generator stator d-axis inductance input sub-module, and a generator stator q-axis inductance input sub-module, and the rated speed and the power factor are calculated through input of the parameters corresponding to the above eight input sub-modules, and whether the input parameters are reasonable is displayed in a state display column.
[0012] Further, the eight parameter input sub-modules of the no-load voltage calculation function module are a generator rated power input sub-module, a generator rated speed input sub-module, a generator rated frequency input sub-module, a generator rated voltage input sub-module, a generator rated current input sub-module, a motor stator resistance input sub-module, a generator stator d-axis inductance input sub-module, and a generator stator q-axis inductance input sub-module, and the no-load voltage and the power factor are calculated through input of the parameters corresponding to the above eight input sub-modules, and whether the input parameters are reasonable is displayed in a state display column.
[0013] Furthermore, the function selection module also includes the stator voltage model and electromagnetic torque mathematical model of the generator, which serve the various software function modules. Based on the analysis of the structure and principle of the wind power permanent magnet direct-drive synchronous generator, a general equivalent mathematical model of the generator is established, namely the phase voltage equations of the generator stator winding in a static symmetrical three-phase coordinate system. Through coordinate transformations such as Clarke transformation and Park transformation, and mathematical derivation, the mathematical model of the direct-drive permanent magnet synchronous generator is transformed from a static symmetrical three-phase coordinate system to a static symmetrical two-phase coordinate system, and then to a rotating two-phase symmetrical coordinate system. This transforms the abstract and complex variable coefficient differential equations into equivalent constant coefficient differential equations for solving the control problem.
[0014] Furthermore, the mathematical model for the stator voltage of a permanent magnet synchronous generator in the dq rotating coordinate system is as follows:
[0015] u sd =R s *i sd +L d *di sd / dt-ω*L q *i sq ;
[0016] u sq =R s *i sq +L q *di sq / dt+ω*L d *i sd +ω*Ψ ;
[0017] The mathematical model of electromagnetic torque in the dq rotating coordinate system is as follows:
[0018] T e =p*[Ψ*i sq +(L d -L q )*i sd *i sq ] ;
[0019] In the formula, u sd u sq These are the voltage components along the d and q axes of the stator, respectively; Rs is the stator resistance; i sd i sq These are the current components along the d and q axes of the stator, respectively; L d L q These are the self-inductances of the stator d and q axes, respectively; ω is the angular velocity of the rotor; Ψ is the maximum value of the permanent magnet flux linkage on the rotor; and p is the number of pole pairs of the motor.
[0020] Wherein, the login module: through the username and password authority information, login and use the software. The function selection module: can arbitrarily select the typical parameters of wind turbine such as rated current, rated speed, no-load voltage, etc. for optimization iteration; LOGO display submodule: display software brand logo picture and module background picture. Time display module: real-time display of time; Data graphical module: typical data of wind turbine such as current, voltage are displayed in waveform graph; Reset submodule: initialize all parameters; Clear submodule: clear all parameters. Calculation submodule: according to the existing parameters, give the optimal result; Exit submodule: end use, close the software.
[0021] Further, the GUI graphical module software backend includes callback function program module, time program module, data graphical program module, background display program module, algorithm program module; Callback function program module: realize the data communication between software front end and software backend; Time program module: realize the generation of real-time time; Data graphical program module: convert the typical data of wind turbine such as current, voltage into waveform graph; Algorithm program module: realize the optimization iteration of typical parameters of wind turbine such as rated current, rated speed, no-load voltage in function selection module.
[0022] Further,
[0023] Step one, initialization;
[0024] Initialize the parameters required for wind turbine joint design;
[0025] Generator rated power Pn_kw = a1 kw, generator rated speed OMEGA_rpm = a2 rpm, generator rated frequency fn = a3 Hz, generator rated voltage Un = a4 Vrms, generator no-load voltage U0 = a5 Vrms, generator stator resistance R_mOhm = a6 mOhm, generator stator d-axis inductance Ld_mH = a7 mH, generator stator q-axis inductance Lq_mH = a8 mH, generator rated current In = a9, generator rated power factor cosphi = a10, joint design result result;
[0026] Wherein, the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, the joint design result result, the variable names in the software program are edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, edit11 respectively;
[0027] Step two, read static variable parameters;
[0028] Through the parameter input box, the corresponding m file and callback function are associated and called, so that the static variable parameters edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, edit11 input in the front-end module are read and sequentially passed to the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, and the joint design result result.
[0029] Step three, mathematical model analysis;
[0030] A mathematical model operation is performed to solve, and the software judges whether the analysis result of this time is an optimal solution or no solution;
[0031] Step four, judge whether it is in the nominal current range;
[0032] The result obtained by the mathematical model is the rated current calculation value of the model under each iteration parameter, and the nominal rated current is the rated current theoretical value of the model under the optimal parameters, and the relationship between the two is the relationship between the theoretical value and the actual value. Whether the model result is within the nominal rated current range is determined by whether the absolute value of the model result and the theoretical value is less than the deviation range, i.e. 0.1 ampere.
[0033] Step five, judge whether the generator parameters are reasonable;
[0034] If the absolute value between the model result, i.e. the rated current calculation value of the wind turbine generator, and the rated current theoretical value is less than the deviation range, i.e. 0.1 ampere, and the model result is within the nominal current range, the generator parameters are reasonable; otherwise, they are not reasonable;
[0035] Step six, output analysis conclusion;
[0036] If the generator parameters are reasonable, the rated current calculation value is output in edit9, the output rated current calculation value is the value obtained by the model, the power factor is output in edit10, which is calculated by the mathematical model, and 'ok' is output in edit11; if the generator parameters are not reasonable, edit9 and edit10 are emptied, 'generator parameters are not reasonable' is output in edit11, and the analysis conclusion is intuitively presented in the GUI graphical module.
[0037] The core algorithm implementation basic flow logic implementation process steps of the rated speed calculation function are as follows:
[0038] Step one, initialization;
[0039] The GUI graphical module software initializes the parameters required for the joint design of the wind turbine generator in the software;
[0040] The generator rated power Pn_kw=a1 kw, the generator rated speed OMEGA_rpm=a2 rpm, the generator rated frequency fn=a3 Hz, the generator rated voltage Un=a4 Vrms, the generator no-load voltage U0=a5 Vrms, the generator stator resistance R_mOhm=a6 mOhm, the generator stator d-axis inductance Ld_mH=a7 mH, the generator stator q-axis inductance Lq_mH=a8 mH, the generator rated current In=a9, the generator rated power factor cosphi=a10, and the joint design result result;
[0041] Among them, the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, and the joint design result result are edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, and edit11 in the software program, respectively.
[0042] Step two, read static variable parameters;
[0043] Through the parameter input box, the corresponding m file and callback function are associated and called, so as to read the static variable parameters edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10 and edit11 input in the front-end module, and sequentially pass to the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi and the joint design result result.
[0044] Step three, iteration of dynamic parameters;
[0045] Firstly, the reasonable value range of the rated speed OMEGA_rpm is determined as (0, 15) and the iteration step is 0.1, OMEGA_rpm starts to be iteratively reduced from 15, the value of OMEGA_rpm is reduced by 0.1 each time, and an operation is performed to solve; if there is no solution for this operation, the unknown parameter OMEGA_rpm continues to be iteratively reduced until an optimal solution is obtained or the parameter OMEGA_rpm exceeds the value range.
[0046] Step four, iterative analysis of the mathematical model;
[0047] For each new value of the rated speed OMEGA_rpm, the software solves by performing a mathematical model operation, and the software judges whether the analysis result is an optimal solution or no solution.
[0048] Step five, judge whether it is in the nominal current range;
[0049] The result obtained by the mathematical model is the rated current calculation value of the model under each iteration parameter, the nominal rated current is the rated current theoretical value of the model under the optimal parameter, and the relationship between the two is the relationship between the theoretical value and the actual value; whether the absolute value of the model result and the theoretical value is less than the deviation range, i.e. 0.1 ampere, is used to judge whether it is in the nominal rated current range.
[0050] Step six, judge whether the generator parameters are reasonable;
[0051] If the absolute value between the model result, i.e. the rated current calculation value of the wind turbine generator, and the rated current theoretical value is less than the deviation range, i.e. 0.1 ampere, and the model result is in the nominal current range, the generator parameters are reasonable; otherwise, they are not reasonable.
[0052] Step seven, output the analysis conclusion;
[0053] If the generator parameters are reasonable, the rated current calculation value is output in edit9, the output rated current calculation value is the value obtained by the model, the power factor is output in edit10, which is calculated by the mathematical model, and 'ok' is output in edit11; if the generator parameters are not reasonable, edit9 and edit10 are emptied, 'generator parameters are not reasonable' is output in edit11, and the analysis conclusion is intuitively presented in the GUI graphical module.
[0054] The core algorithm implementation basic flow logic implementation process steps of the no-load voltage calculation function are as follows:
[0055] Step one, initialization;
[0056] The parameters required for joint design of the wind turbine are initialized;
[0057] The generator rated power Pn_kw=a1 kw, the generator rated speed OMEGA_rpm=a2 rpm, the generator rated frequency fn=a3 Hz, the generator rated voltage Un=a4 Vrms, the generator no-load voltage U0=a5 Vrms, the generator stator resistance R_mOhm=a6 mOhm, the generator stator d-axis inductance Ld_mH=a7 mH, the generator stator q-axis inductance Lq_mH=a8 mH, the generator rated current In=a9, the generator rated power factor cosphi=a10, and the joint design result result;
[0058] Among them, the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, and the joint design result result are edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, and edit11 in the software program, respectively.
[0059] Step two, read static variable parameters;
[0060] Through the parameter input box, the corresponding m file and callback function are called to read the static variable parameters edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, edit11 input in the front-end module, and are sequentially transmitted to the generator rated power Pn_kw, generator rated speed OMEGA_rpm, generator rated frequency fn, generator rated voltage Un, generator no-load voltage U0, generator stator resistance R_mOhm, generator stator d-axis inductance Ld_mH, generator stator q-axis inductance Lq_mH, generator rated current In, generator rated power factor cosphi, and joint design result result.
[0061] Step three, iteration of dynamic parameters;
[0062] Firstly, the reasonable value range of the no-load voltage U0 is determined as (0, 750), and the iteration step is 0.05. U0 starts from 0 and is continuously iteratively increased. The value of U0 is increased by 0.05 each time, and an operation is performed to solve; if there is no solution for this operation, the unknown parameter U0 continues to be iteratively increased until an optimal solution is obtained or the parameter U0 exceeds the value range.
[0063] Step four, iterative analysis of the mathematical model;
[0064] For each new value of the no-load voltage U0, a mathematical model operation is performed to solve, and the software judges whether the analysis result has an optimal solution or no solution.
[0065] Step five, judge whether it is in the nominal current range;
[0066] The result of the mathematical model is the rated current calculation value of the model under each iteration parameter, and the nominal rated current is the rated current theoretical value of the model under the optimal parameters. The relationship between the two is the relationship between the theoretical value and the actual value. Whether it is in the nominal rated current range is judged by whether the absolute value of the model result and the theoretical value is less than the deviation range, i.e. 0.1 ampere.
[0067] Step six, judge whether the generator parameters are reasonable;
[0068] If the absolute value between the model result, i.e. the rated current calculation value of the wind turbine generator, and the rated current theoretical value is less than the deviation range, i.e. 0.1 ampere, and the model result is in the nominal current range, the generator parameters are reasonable; otherwise, they are not.
[0069] Step seven, output the analysis conclusion;
[0070] If the generator parameters are reasonable, the rated current calculation value is output in edit9, the output rated current calculation value is the value obtained by the model, the power factor is output in edit10, the power factor is calculated by the mathematical model, and 'ok' is output in edit11; if the generator parameters are not reasonable, edit9 and edit10 are emptied, 'generator parameters are not reasonable' is output in edit11, and the analysis conclusion is intuitively presented in the GUI graphical module.
[0071] The present application has the following advantages:
[0072] 1. A wind turbine combined design selection system, which collects corresponding data of the wind turbine through human-computer interaction input, helps to realize the design of the overall solution of the wind power generator system and the parameter configuration of the system, and through fast operation iteration, intuitively presents the design effect, and completes the design of parameters such as rated current, rated speed, and no-load voltage.
[0073] 2. The present system integrates mathematical model operation, program design, and graphical user interface into a human-computer interaction working simulation design environment.
[0074] 3. The system is designed and developed based on the implementation method of the present system, which not only guarantees the functions and performance of the system, but also is easy to use, significantly shortens the design cycle, and greatly reduces the development cost.
[0075] 4. The specific algorithm, operation, analysis, and graphical user interface of the present system are developed independently; it is convenient to modify, supplement, and secondarily develop the functions and interfaces.
[0076] 5. The graphical user interface of the present system can very vividly present the design parameters, operation results, related data curves, and the like.
[0077] 6. The graphical user interface of the present system does not need to switch between parameter / oscilloscope / interface development environments, is simple to use, presents intuitively, and is convenient for research, analysis, and observation.
[0078] 7. The present system establishes the mathematical model of the wind turbine permanent magnet synchronous motor, i.e., the voltage balance equation and the torque balance equation of the motor, converts it into a program algorithm, realizes automatic operation of the system, and presents the graphical user interface.
[0079] 8. When the present system is realized by the method, the system has strong numerical and matrix operation processing capability, can realize fast iteration of the design effect, and quickly verifies the influence of the change of the wind turbine parameters on the system. BRIEF DESCRIPTION OF DRAWINGS
[0080] Figure 1 Flow chart for rated current calculation function of the system.
[0081] Figure 2 Flow chart for rated speed calculation function of the system.
[0082] Figure 3 Flow chart for no-load voltage calculation function of the system.
[0083] Figure 4 Login module schematic diagram of the system.
[0084] Figure 5 Function selection module schematic diagram of the system.
[0085] Figure 6 Rated current calculation function module schematic diagram of the system.
[0086] Figure 7 Rated speed calculation function module schematic diagram of the system.
[0087] Figure 8 No-load voltage calculation function module schematic diagram of the system. DETAILED DESCRIPTION
[0088] The embodiments of the present application will be described in detail below, which are implemented on the premise of the technical scheme of the present application, and detailed implementation manners and specific operation processes are given, but the protection scope of the present application is not limited to the following embodiments.
[0089] It should be noted that all the directional indications (such as two sides, edges, up, down, left, right, front, back, middle, top end, bottom end, tail, axial, radial, etc.) in the embodiments of the present application are only used to explain the relative position relationship, motion state, etc. between components in a certain specific posture (as shown in the drawings), and when the specific posture changes, the directional indications also change accordingly.
[0090] Embodiment 1
[0091] A wind turbine combined design and selection system comprises a GUI graphical module software front end and a GUI graphical module software back end; the GUI graphical module software front end comprises a user login module and a function selection module, the function selection module comprises three software function modules of a rated current calculation function module, a rated speed calculation function module and a no-load voltage calculation function module, and a partial effect picture of a wind turbine combined design and selection system is displayed.
[0092] The user login module is used for the user to enter the service provided by the software system through an account and a password, and includes a user name sub-module, a password input sub-module, a running sub-module, and a quit sub-module.
[0093] The rated current calculation module, the rated speed calculation function module, and the no-load voltage calculation module enter the corresponding software function module sub-modules.
[0094] Each software function module includes eight parameter input sub-modules, a calculation result sub-module, a reset sub-module, a clear sub-module, a calculation sub-module, and a quit sub-module.
[0095] The software function module further includes a waveform display sub-module, a LOGO display sub-module, and a time display lamp sub-module.
[0096] The eight parameter input sub-modules of the rated current calculation function module are a generator rated power input sub-module, a generator rated speed input sub-module, a generator rated frequency input sub-module, a generator rated voltage input sub-module, a generator no-load voltage input sub-module, a motor stator resistance input sub-module, a generator stator d-axis inductance input sub-module, and a generator stator q-axis inductance input sub-module, and the rated current and the power factor are calculated by inputting the corresponding parameters of the above eight input sub-modules, and whether the input parameters are reasonable is displayed in the state display bar.
[0097] The eight parameter input sub-modules of the rated speed calculation function module are a generator rated power input sub-module, a generator rated current input sub-module, a generator rated frequency input sub-module, a generator rated voltage input sub-module, a generator no-load voltage input sub-module, a motor stator resistance input sub-module, a generator stator d-axis inductance input sub-module, and a generator stator q-axis inductance input sub-module, and the rated speed and the power factor are calculated by inputting the corresponding parameters of the above eight input sub-modules, and whether the input parameters are reasonable is displayed in the state display bar.
[0098] The eight parameter input sub-modules of the no-load voltage calculation function module are a generator rated power input sub-module, a generator rated speed input sub-module, a generator rated frequency input sub-module, a generator rated voltage input sub-module, a generator rated current input sub-module, a motor stator resistance input sub-module, a generator stator d-axis inductance input sub-module, and a generator stator q-axis inductance input sub-module, and the no-load voltage and the power factor are calculated by inputting the corresponding parameters of the above eight input sub-modules, and whether the input parameters are reasonable is displayed in the state display bar.
[0099] The function selection module also includes the stator voltage model and electromagnetic torque mathematical model of the generator. These models serve the various software function modules. Based on the analysis of the structure and principle of the wind power permanent magnet direct-drive synchronous generator, a general equivalent mathematical model of the generator is established, namely the phase voltage equations of the generator stator winding in a static symmetrical three-phase coordinate system. Through coordinate transformations such as Clarke transformation and Park transformation, and mathematical derivation, the mathematical model of the direct-drive permanent magnet synchronous generator is transformed from a static symmetrical three-phase coordinate system to a static symmetrical two-phase coordinate system, and then to a rotating two-phase symmetrical coordinate system. This transforms the abstract and complex differential equations with variable coefficients into equivalent differential equations with constant coefficients for solving the control problem.
[0100] The mathematical model for the stator voltage of a permanent magnet synchronous generator in the dq rotating coordinate system is as follows:
[0101] u sd =R s *i sd +L d *di sd / dt-ω*L q *i sq ;
[0102] u sq =R s *i sq +L q *di sq / dt+ω*L d *i sd +ω*Ψ ;
[0103] The mathematical model of electromagnetic torque in the dq rotating coordinate system is as follows:
[0104] T e =p*[Ψ*i sq +(L d -L q )*i sd *i sq ] ;
[0105] In the formula, u sd u sq These are the voltage components along the d and q axes of the stator, respectively; Rs is the stator resistance; i sd i sq These are the current components along the d and q axes of the stator, respectively; L d L q These are the self-inductances of the stator d and q axes, respectively; ω is the angular velocity of the rotor; Ψ is the maximum value of the permanent magnet flux linkage on the rotor; and p is the number of pole pairs of the motor.
[0106] A wind turbine joint design selection system based on a programmable software platform, the mathematical model and algorithm development are realized in m file, the module function development is realized in fig file, the internal data communication of the software is realized through the internal function of the programmable software between m file and fig file.
[0107] Among them, the GUI graphical module software front end, the login module: through the username and password permission information, log in and use the software. Function selection module: can arbitrarily select typical parameters of wind turbine such as rated current, rated speed, no-load voltage for optimization iteration; LOGO display sub module: display software brand logo picture and module background picture. Time display module: real-time display of time; Data graphical module: typical data of wind turbine such as current, voltage are displayed in waveform graph; Reset sub module: initialize all parameters; Clear sub module: clear all parameters. Calculation sub module: according to the existing parameters, give the optimal result; Exit sub module: end use, close the software.
[0108] Among them, the GUI graphical module software back end includes callback function program module, time program module, data graphical program module, background display program module and algorithm program module; Callback function program module: realize the data communication between software front end and software back end; Time program module: realize real-time time; Data graphical program module: convert typical data of wind turbine such as current, voltage into waveform graph; Algorithm program module: realize the optimization iteration of typical parameters of wind turbine such as rated current, rated speed, no-load voltage in function selection module.
[0109] Example 2
[0110] A wind turbine joint design selection system, including GUI graphical module software front end and GUI graphical module software back end; The GUI graphical module software front end includes user login module and function selection module, the function selection module includes three software function modules of rated current calculation function module, rated speed calculation function module and no-load voltage calculation function module, a part of effect picture of wind turbine joint design selection system is shown.
[0111] The user login module is used for the user to enter the services provided by the software system through the account and password, which includes user name sub module, password input sub module, running sub module and exit sub module. Click the running sub module to verify the login information and enter the next level menu.
[0112] Click the rated current calculation module, rated speed calculation function module and no-load voltage calculation module to enter the corresponding software function module sub module.
[0113] Each software function module includes eight parameter input sub-modules, a calculation result sub-module, a reset sub-module, a clear sub-module, a calculation sub-module and an exit sub-module.
[0114] Further, the software function module further includes a waveform display sub-module, a LOGO display sub-module and a time display lamp sub-module.
[0115] Further, the eight parameter input sub-modules of the rated current calculation function module are a generator rated power input sub-module, a generator rated speed input sub-module, a generator rated frequency input sub-module, a generator rated voltage input sub-module, a generator no-load voltage input sub-module, a motor stator resistance input sub-module, a generator stator d-axis inductance input sub-module and a generator stator q-axis inductance input sub-module, and the rated current and power factor are calculated by inputting the parameters corresponding to the above eight input sub-modules, and whether the input parameters are reasonable is displayed in the state display column.
[0116] Further, the eight parameter input sub-modules of the rated speed calculation function module are a generator rated power input sub-module, a generator rated current input sub-module, a generator rated frequency input sub-module, a generator rated voltage input sub-module, a generator no-load voltage input sub-module, a motor stator resistance input sub-module, a generator stator d-axis inductance input sub-module and a generator stator q-axis inductance input sub-module, and the rated speed and power factor are calculated by inputting the parameters corresponding to the above eight input sub-modules, and whether the input parameters are reasonable is displayed in the state display column.
[0117] Further, the eight parameter input sub-modules of the no-load voltage calculation function module are a generator rated power input sub-module, a generator rated speed input sub-module, a generator rated frequency input sub-module, a generator rated voltage input sub-module, a generator rated current input sub-module, a motor stator resistance input sub-module, a generator stator d-axis inductance input sub-module and a generator stator q-axis inductance input sub-module, and the no-load voltage and power factor are calculated by inputting the parameters corresponding to the above eight input sub-modules, and whether the input parameters are reasonable is displayed in the state display column.
[0118] Further, the function selection module further comprises a stator voltage model and an electromagnetic torque mathematical model of the generator, which serve the software function modules; on the basis of analyzing the structure and principle of the wind power permanent magnet direct drive synchronous generator, a general equivalent mathematical model of the generator, i.e. the voltage equation of each phase of the stator winding of the generator in the stationary symmetrical three-phase coordinate system, is established; through coordinate conversion such as Clarke transformation and Park transformation and mathematical derivation, the mathematical model of the direct drive permanent magnet synchronous generator is transformed from the stationary symmetrical three-phase coordinate system to the stationary symmetrical two-phase coordinate system and then to the rotating two-phase symmetrical coordinate system, so as to transform the abstract and complex variable coefficient differential equation into an equivalent constant coefficient differential equation for solving the control.
[0119] Further, the mathematical model of the stator voltage of the permanent magnet synchronous generator in the dq rotating coordinate system is:
[0120] u sd =R s *i sd +L d *di sd / dt-ω*L q *i sq ;
[0121] u sq =R s *i sq +L q *di sq / dt+ω*L d *i sd +ω*Ψ ;
[0122] The mathematical model of the electromagnetic torque in the dq rotating coordinate system is:
[0123] T e =p*[Ψ*i sq +(L d -L q )*i sd *i sq ] ;
[0124] In the formula, u sd and u sq are the voltage components of the d and q axes of the stator; Rs is the stator resistance; i sd and i sq are the current components of the d and q axes of the stator; L d and L q are the self-inductances of the d and q axes of the stator; ω is the angular velocity of the rotor; Ψ is the maximum value of the magnetic flux linkage of the permanent magnet on the rotor; and p is the pole pair number of the motor.
[0125] A wind turbine combined design selection system based on a programmable software platform, a mathematical model and algorithm development are realized in an m file, a module function development is realized in a fig file, and internal data communication of the software is realized through internal functions of the programmable software between the m file and the fig file.
[0126] Among them, the GUI graphical module software front end, the login module: log in and use the software through the username and password permission information. The function selection module: can arbitrarily select typical parameters of the wind turbine such as rated current, rated speed, no-load voltage, etc. for optimization iteration. The LOGO display submodule: displays the software brand logo picture and module background picture. The time display module: displays the time in real time. The data graphical module: displays the typical data of the wind turbine such as current and voltage in waveform graph. The reset submodule: initializes all parameters. The clear submodule: clears all parameters. The calculation submodule: gives the optimal result according to the existing parameters. The exit submodule: ends the use and closes the software.
[0127] Further, the GUI graphical module software back end includes a callback function program module, a time program module, a data graphical program module, a background display program module, and an algorithm program module. The callback function program module realizes data communication between the software front end and the software back end. The time program module realizes real-time time generation. The data graphical program module converts the typical data of the wind turbine such as current and voltage into waveform graphs. The algorithm program module realizes the optimization iteration of the typical parameters of the wind turbine such as rated current, rated speed, and no-load voltage in the function selection module.
[0128] As shown in Figure 1 , the basic flow logic implementation process steps of the rated current calculation function core algorithm are as follows:
[0129] Step one, initialization;
[0130] The GUI graphical module software initializes the parameters required for the wind turbine combined design in the software;
[0131] Generator rated power Pn_kw = a1 kw, generator rated speed OMEGA_rpm = a2 rpm, generator rated frequency fn = a3 Hz, generator rated voltage Un = a4 Vrms, generator no-load voltage U0 = a5 Vrms, generator stator resistance R_mOhm = a6 mOhm, generator stator d-axis inductance Ld_mH = a7 mH, generator stator q-axis inductance Lq_mH = a8 mH, generator rated current In = a9, generator rated power factor cosphi = a10, combined design result result;
[0132] For example: the generator rated power Pn_kw = 2650 kw, the generator rated speed OMEGA_rpm = 12.8 rpm, the generator rated frequency fn = 8.533 Hz, the generator rated voltage Un = 690.0 Vrms, the generator no-load voltage U0 = 705.0 Vrms, the generator stator resistance R_mOhm = 9.3 mOhm, the generator stator d-axis inductance Ld_mH = 2.1914 mH, the generator stator q-axis inductance Lq_mH = 2.1766 mH, the generator rated current In = 2420.3519 A, the generator rated power factor cosphi = 0.91613.
[0133] Wherein, the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, the joint design result result, the variable name in the software program is edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, edit11 respectively;
[0134] Step two, read static variable parameters;
[0135] The GUI graphical module background software reads the static variable parameters edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, edit11 input in the front-end module through the parameter input box in the GUI graphical module front-end module, and then the software background reads the input parameters, calls the corresponding m file and callback function, and reads the input static variable parameters in the front-end module to the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, and the joint design result result, which are sequentially passed to the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, and the joint design result result.
[0136] Step three, mathematical model analysis;
[0137] The software solves by executing a number of mathematical model operations, and the software determines whether the analysis result is an optimal solution or no solution. This step involves parameter names and mathematical model formulas, which are conventional means and are not described in detail here.
[0138] Step four, determine whether in the nominal current range;
[0139] The result obtained by the mathematical model is the rated current calculation value of the model under each iteration parameter, and the nominal rated current is the theoretical value of the rated current under the optimal parameters of the model. The relationship between the two is the relationship between the theoretical value and the actual value. Whether it is in the nominal rated current range is determined by whether the absolute value of the model result and the theoretical value is less than the deviation range, i.e. 0.1 ampere. The result obtained by the model is the rated current calculation value.
[0140] Step five, determine whether the generator parameters are reasonable;
[0141] If the absolute value between the model result, i.e. the rated current calculation value of the wind turbine generator, and the rated current theoretical value is less than the deviation range, i.e. 0.1 ampere, and the model result is in the nominal current range, then the generator parameters are reasonable; otherwise, they are not reasonable.
[0142] Step six, output the analysis conclusion;
[0143] If the generator parameters are reasonable, the rated current calculation value is output in edit9, the output rated current calculation value is the value obtained by the model, the power factor is output in edit10, which is calculated by the mathematical model, and 'ok' is output in edit11. If the generator parameters are not reasonable, edit9 and edit10 are emptied, 'the generator parameters are not reasonable' is output in edit11, and the analysis conclusion is intuitively presented in the GUI graphical module.
[0144] As shown in Figure 2 The logic implementation process steps of the basic flow of the core algorithm implementation of the rated speed calculation function are as follows:
[0145] Step one, initialization;
[0146] The GUI graphical module software initializes the parameters required for the joint design of the wind turbine generator in the software.
[0147] Generator rated power Pn_kw = a1 kw, Generator rated speed OMEGA_rpm = a2 rpm, Generator rated frequency fn = a3 Hz, Generator rated voltage Un = a4 Vrms, Generator no-load voltage U0 = a5 Vrms, Generator stator resistance R_m Ohm = a6 mOhm, Generator stator d-axis inductance Ld_m H = a7 mH, Generator stator q-axis inductance Lq_m H = a8 mH, Generator rated current In = a9, Generator rated power factor cosphi = a10, Joint design result result;
[0148] For example: Generator rated power Pn_kw = 2650 kw, Generator rated speed OMEGA_rpm = 12.8 rpm, Generator rated frequency fn = 8.533 Hz, Generator rated voltage Un = 690.0 Vrms, Generator no-load voltage U0 = 705.0 Vrms, Generator stator resistance R_m Ohm = 9.3 mOhm, Generator stator d-axis inductance Ld_m H = 2.1914 mH, Generator stator q-axis inductance Lq_m H = 2.1766 mH, Generator rated current In = 2420.3519 A, Generator rated power factor cosphi = 0.91613.
[0149] Wherein, Generator rated power Pn_kw, Generator rated speed OMEGA_rpm, Generator rated frequency fn, Generator rated voltage Un, Generator no-load voltage U0, Generator stator resistance R_m Ohm, Generator stator d-axis inductance Ld_m H, Generator stator q-axis inductance Lq_m H, Generator rated current In, Generator rated power factor cosphi, Joint design result result, the variable names in the software program are edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, edit11 respectively;
[0150] Step two, read static variable parameters;
[0151] The GUI graphical module background software reads the static variable parameters edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, edit11 input in the front-end module in sequence and transmits them to the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, and the joint design result result in sequence by using the parameter input box in the GUI graphical module front-end module, which can be manually input by the user from the module, and then the software background reads the input parameters, associates and calls the corresponding m file and callback function, and associates and calls the corresponding m file and callback function, which is a conventional development method in the design, so that the static variable parameters edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, edit11 input in the front-end module are read and transmitted to the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, and the joint design result result in sequence.
[0152] Step three, iteration of dynamic parameters;
[0153] Firstly, the reasonable value range of the rated speed OMEGA_rpm is determined as (0, 15), and the iteration step is 0.1. OMEGA_rpm is iteratively reduced from 15, and the value of OMEGA_rpm is reduced by 0.1 each time, and the software performs an operation to solve once. If the software has no solution this time, the unknown parameter OMEGA_rpm continues to be iteratively reduced until the software obtains an optimal solution or the parameter OMEGA_rpm exceeds the value range.
[0154] Step four, iterative analysis of the mathematical model;
[0155] For each new value of the rated speed OMEGA_rpm, the software solves by performing a mathematical model operation. The software determines whether the analysis result this time has an optimal solution or no solution. The parameter name and mathematical model formula involved in this step are conventional means, which are not specifically described here.
[0156] Step five, determine whether it is within the nominal current range;
[0157] The result obtained by the mathematical model is the rated current calculation value of the model under each iteration parameter. The nominal rated current is the theoretical value of the rated current under the optimal parameters of the model. The relationship between the two is the relationship between the theoretical value and the actual value. Whether it is within the nominal rated current range is determined by whether the absolute value of the model result and the theoretical value is less than the deviation range, i.e. 0.1 ampere. The result obtained by the model is the rated current calculation value.
[0158] Step six, determine whether the generator parameters are reasonable;
[0159] If the absolute value between the model result, i.e. the rated current calculated value of the wind turbine generator, and the rated current theoretical value is less than the deviation range, i.e. 0.1 ampere, the model result is within the nominal current range, the generator parameters are reasonable; otherwise, the generator parameters are unreasonable.
[0160] Step seven, output analysis conclusion;
[0161] If the generator parameters are reasonable, output the rated current calculated value in edit9, the output rated current calculated value is the value obtained by the model, output the power factor in edit10, the power factor is calculated by the mathematical model, and output 'ok' in edit11; if the generator parameters are unreasonable, clear edit9 and edit10, output 'the generator parameters are unreasonable' in edit11, and intuitively present the analysis conclusion in the GUI graphical module.
[0162] As shown in Figure 3 The logic implementation process steps of the basic flow of the core algorithm implementation of the no-load voltage calculation function are as follows:
[0163] Step one, initialization;
[0164] The GUI graphical module software initializes the parameters required for the joint design of the wind turbine generator in the software;
[0165] The rated power of the generator Pn_kw=a1 kw, the rated speed of the generator OMEGA_rpm=a2 rpm, the rated frequency of the generator fn=a3 Hz, the rated voltage of the generator Un=a4 Vrms, the no-load voltage of the generator U0=a5 Vrms, the stator resistance of the generator R_mOhm=a6 mOhm, the d-axis inductance of the generator Ld_mH=a7 mH, the q-axis inductance of the generator Lq_mH=a8 mH, the rated current of the generator In=a9, the rated power factor of the generator cosphi=a10, and the joint design result result;
[0166] For example, the rated power of the generator Pn_kw=2650 kw, the rated speed of the generator OMEGA_rpm=12.8 rpm, the rated frequency of the generator fn=8.533 Hz, the rated voltage of the generator Un=690.0 Vrms, the no-load voltage of the generator U0=705.0 Vrms, the stator resistance of the generator R_mOhm=9.3 mOhm, the d-axis inductance of the generator Ld_mH=2.1914 mH, the q-axis inductance of the generator Lq_mH=2.1766 mH, the rated current of the generator In=2420.3519 A, and the rated power factor of the generator cosphi=0.91613.
[0167] Wherein, the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, the joint design result result, the variable names in the software program are edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, edit11 respectively;
[0168] Step two, read static variable parameters;
[0169] The GUI graphical module background software reads the static variable parameters edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, edit11 input in the front-end module through the parameter input box in the GUI graphical module front-end module, and then the software background reads the input parameters, calls the corresponding m file and callback function, and reads the static variable parameters input in the front-end module to the generator rated power Pn_kw, the generator rated speed OMEGA_rpm, the generator rated frequency fn, the generator rated voltage Un, the generator no-load voltage U0, the generator stator resistance R_mOhm, the generator stator d-axis inductance Ld_mH, the generator stator q-axis inductance Lq_mH, the generator rated current In, the generator rated power factor cosphi, and the joint design result result in sequence.
[0170] Step three, iteration of dynamic parameters;
[0171] Firstly, the reasonable value range of the no-load voltage U0 is determined as (0, 750), and the iteration step is 0.05. U0 starts from 0 and is continuously iterated and increased. The value of U0 is increased by 0.05 each time, and the software performs an operation to solve once. If there is no solution for this operation, the unknown parameter U0 continues to be iterated and increased until the software operation obtains an optimal solution or the parameter U0 exceeds the value range.
[0172] Step four, iterative analysis of mathematical model;
[0173] For each new value of the no-load voltage U0, the software solves by performing a mathematical model operation. The software judges whether the analysis result has an optimal solution or no solution. The parameter name and mathematical model formula involved in this step are conventional means, which are not described in detail here.
[0174] Step five, judge whether in the nominal current range;
[0175] The result of the mathematical model is the rated current calculation value of the model under each iteration parameter, the nominal rated current is the rated current theoretical value of the model under the optimal parameter, and the relationship between the two is the relationship between the theoretical value and the actual value; whether in the nominal rated current range is judged by whether the absolute value of the model result and the theoretical value is less than the deviation range, i.e. 0.1 ampere; wherein the result obtained by the model is the rated current calculation value.
[0176] Step six, judge whether the generator parameters are reasonable;
[0177] If the absolute value between the rated current calculation value of the wind turbine obtained by the model and the rated current theoretical value is less than the deviation range, i.e. 0.1 ampere, and the model result is in the nominal current range, the generator parameters are reasonable; otherwise, they are not.
[0178] Step seven, output the analysis conclusion;
[0179] If the generator parameters are reasonable, the rated current calculation value is output in edit9, the output rated current calculation value is the value obtained by the model, the power factor is output in edit10, the power factor is calculated by the mathematical model, and 'ok' is output in edit11; if the generator parameters are not reasonable, edit9 and edit10 are emptied, 'the generator parameters are not reasonable' is output in edit11, and the analysis conclusion is intuitively presented in the GUI graphical module.
Claims
1. A wind turbine joint design and selection system, comprising a GUI graphical module software front-end and a GUI graphical module software back-end, characterized in that: The GUI graphical module software front end includes a user login module and a function selection module. The function selection module includes three software function modules: rated current calculation module, rated speed calculation module, and no-load voltage calculation module. The user login module is used for users to access and use the services provided by the software system through an account and password. It includes a username submodule, a password input submodule, a run submodule, and an exit submodule. Each software function module includes eight sub-modules: parameter input, calculation result, reset, clear, calculation, and exit. The rated speed calculation function module has eight parameter input submodules: generator rated power input submodule, generator rated current input submodule, generator rated frequency input submodule, generator rated voltage input submodule, generator no-load voltage input submodule, generator stator resistance input submodule, generator stator d-axis inductance input submodule, and generator stator q-axis inductance input submodule. By inputting the parameters corresponding to the above eight input submodules, the rated speed and power factor are calculated, and the status display bar will show whether the input parameters are reasonable. The function selection module also includes the stator voltage model and electromagnetic torque mathematical model of the generator. These models serve the various software function modules. Based on the analysis of the structure and principle of the wind power permanent magnet direct-drive synchronous generator, a general equivalent mathematical model of the generator is established, namely the phase voltage equations of the generator stator winding under a static symmetrical three-phase coordinate system. Through Clarke transformation and Park transformation, coordinate transformation and mathematical derivation are performed to transform the mathematical model of the direct-drive permanent magnet synchronous generator from a static symmetrical three-phase coordinate system to a static symmetrical two-phase coordinate system and then to a rotating two-phase symmetrical coordinate system. This transforms the abstract and complex variable coefficient differential equations into equivalent constant coefficient differential equations for solving the control problem. The logical implementation steps of the rated speed calculation function module are as follows: Step 1, Initialization; Initialize the parameters required for the joint design of wind turbine units; Generator rated power Pn_kw=a1 kw, generator rated speed OMEGA_rpm=a2 rpm, generator rated frequency fn=a3 Hz, generator rated voltage Un=a4 Vrms, generator no-load voltage U0=a5 Vrms, generator stator resistance R_mOhm=a6 mOhm, generator stator d-axis inductance Ld_mH=a7 mH, generator stator q-axis inductance Lq_mH=a8 mH, generator rated current In=a9, generator rated power factor cosphi=a10, joint design result; Among them, the generator rated power Pn_kw, generator rated speed OMEGA_rpm, generator rated frequency fn, generator rated voltage Un, generator no-load voltage U0, generator stator resistance R_mOhm, generator stator d-axis inductance Ld_mH, generator stator q-axis inductance Lq_mH, generator rated current In, generator rated power factor cosphi, and joint design result result are respectively named edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, and edit11 in the software program; Step 2: Read the static variable parameters; By using the parameter input box, the corresponding m-file and callback function are associated and called, thereby reading the static variable parameters edit1, edit3, edit4, edit5, edit6, edit7, edit8, and edit9 input from the front-end module, and passing them sequentially to the generator rated power Pn_kw, generator rated frequency fn, generator rated voltage Un, generator no-load voltage U0, generator stator resistance R_mOhm, generator stator d-axis inductance Ld_mH, generator stator q-axis inductance Lq_mH, and generator rated current In; Step 3: Iterate through the dynamic parameters; First, the reasonable range of the rated speed OMEGA_rpm is determined to be (0,15) and the iteration step size is 0.
1. OMEGA_rpm is continuously decreased iteratively starting from 15, with each decrease of OMEGA_rpm by 0.1, and a calculation is performed. If there is no solution in this calculation, the unknown parameter OMEGA_rpm continues to decrease iteratively until an optimized solution is obtained or the parameter OMEGA_rpm exceeds the range. Step 4: Iterative analysis of the mathematical model; For each new value of the rated speed OMEGA_rpm in each iteration, the software performs a mathematical model calculation to solve the problem, and then determines whether the analysis result has an optimized solution or no solution. Step 5: Determine if it is within the nominal current range; The result obtained from the mathematical model is the calculated value of the rated current of the model under each iteration parameter. The nominal rated current is the theoretical value of the rated current under the optimal parameters of the model. The relationship between the two is the relationship between the theoretical value and the actual value. Whether it is within the nominal rated current range is determined by whether the absolute value of the difference between the model result and the theoretical value is less than the deviation range of 0.1 Amperes. Step six: Determine if the generator parameters are reasonable; If the absolute value of the difference between the calculated rated current and the theoretical rated current of the wind turbine is less than the deviation range of 0.1 amperes, and the model result is within the nominal current range, then the generator parameters are reasonable; otherwise, they are unreasonable. Step 7: Output the analysis conclusions; If the generator parameters are reasonable, the calculated value of the generator's rated speed will be output in edit2. The output value of the generator's rated speed is the value obtained from the model. The power factor will be output in edit10. The power factor is calculated by the mathematical model. 'ok' will be output in edit11. If the generator parameters are unreasonable, edit2 and edit10 will be cleared. 'Generator parameters are unreasonable' will be output in edit11. The analysis conclusion will be presented intuitively in the GUI graphical module.
2. The wind turbine joint design and selection system according to claim 1, characterized in that: The rated current calculation function module has eight parameter input submodules: generator rated power input submodule, generator rated speed input submodule, generator rated frequency input submodule, generator rated voltage input submodule, generator no-load voltage input submodule, generator stator resistance input submodule, generator stator d-axis inductance input submodule, and generator stator q-axis inductance input submodule. By inputting the parameters corresponding to the above eight input submodules, the rated current and power factor are calculated, and the status display bar will show whether the input parameters are reasonable.
3. The wind turbine joint design and selection system according to claim 1, characterized in that: The no-load voltage calculation function module has eight parameter input submodules: generator rated power input submodule, generator rated speed input submodule, generator rated frequency input submodule, generator rated voltage input submodule, generator rated current input submodule, generator stator resistance input submodule, generator stator d-axis inductance input submodule, and generator stator q-axis inductance input submodule. By inputting the parameters corresponding to the above eight input submodules, the no-load voltage and power factor are calculated, and the status display bar will show whether the input parameters are reasonable.
4. The wind turbine joint design and selection system according to claim 1, characterized in that: The mathematical model for the stator voltage of a permanent magnet synchronous generator in the dq rotating coordinate system is as follows: the sd =R s *i sd +L d *of sd / dt-ω*L q *i sq ; the sq =R s *i sq +L q *of sq / dt+ω*L d *i sd +ω*Ψ; The mathematical model of electromagnetic torque in the dq rotating coordinate system is as follows: T e =p*[Ψ*i sq +(L d -L q )*i sd *i sq ] ; In the formula, u sd u sq These are the voltage components along the d and q axes of the stator, respectively; Rs is the stator resistance. i sd i sq These are the current components along the d and q axes of the stator, respectively; L d L q These are the self-inductances of the stator d and q axes, respectively; ω is the angular velocity of the rotor; Ψ is the maximum value of the permanent magnet flux linkage on the rotor; and p is the number of pole pairs of the motor.
5. The wind turbine joint design and selection system according to claim 1, characterized in that: The GUI graphical module software backend includes a callback function program module, a time program module, a data graphics program module, a background display program module, and an algorithm program module. The callback function program module enables data communication between the software frontend and backend. The time program module generates real-time data. The data graphics program module converts the current and voltage data of typical wind turbines into waveform graphics. The algorithm program module optimizes and iterates the rated current, rated speed, and no-load voltage of typical wind turbine parameters in the function selection module.
6. The wind turbine joint design and selection system according to claim 3, characterized in that: The logical implementation steps of the no-load voltage calculation function module are as follows: Step 1, Initialization; Initialize the parameters required for the joint design of wind turbine units; Generator rated power Pn_kw=a1 kw, generator rated speed OMEGA_rpm=a2 rpm, generator rated frequency fn=a3 Hz, generator rated voltage Un=a4 Vrms, generator no-load voltage U0=a5 Vrms, generator stator resistance R_mOhm=a6 mOhm, generator stator d-axis inductance Ld_mH=a7 mH, generator stator q-axis inductance Lq_mH=a8 mH, generator rated current In=a9, generator rated power factor cosphi=a10, joint design result; Among them, the generator rated power Pn_kw, generator rated speed OMEGA_rpm, generator rated frequency fn, generator rated voltage Un, generator no-load voltage U0, generator stator resistance R_mOhm, generator stator d-axis inductance Ld_mH, generator stator q-axis inductance Lq_mH, generator rated current In, generator rated power factor cosphi, and joint design result result are respectively named edit1, edit2, edit3, edit4, edit5, edit6, edit7, edit8, edit9, edit10, and edit11 in the software program; Step 2: Read the static variable parameters; By using the parameter input box, the corresponding m-file and callback function are linked and called, thereby reading the static variable parameters edit1, edit2, edit3, edit4, edit6, edit7, edit8, and edit9 input from the front-end module, and passing them sequentially to the generator rated power Pn_kw, generator rated speed OMEGA_rpm, generator rated frequency fn, generator rated voltage Un, generator stator resistance R_mOhm, generator stator d-axis inductance Ld_mH, generator stator q-axis inductance Lq_mH, and generator rated current In; Step 3: Iterate through the dynamic parameters; First, determine the reasonable range of the no-load voltage U0 as (0, 750) and the iteration step size as 0.
05. U0 starts from 0 and increases iteratively. Each increase of U0 is 0.05, and an operation is performed to solve the problem. If there is no solution in this operation, the unknown parameter U0 continues to increase iteratively until an optimized solution is obtained or the parameter U0 exceeds the range. Step 4: Iterative analysis of the mathematical model; For each new value of the no-load voltage U0 in each iteration, the software performs a mathematical model calculation to solve the problem and determines whether the analysis result has an optimized solution or no solution. Step 5: Determine if it is within the nominal current range; The result obtained from the mathematical model is the calculated value of the rated current of the model under each iteration parameter. The nominal rated current is the theoretical value of the rated current under the optimal parameters of the model. The relationship between the two is the relationship between the theoretical value and the actual value. Whether it is within the nominal rated current range is determined by whether the absolute value of the difference between the model result and the theoretical value is less than the deviation range of 0.1 Amperes. Step six: Determine if the generator parameters are reasonable; If the absolute value of the difference between the calculated rated current and the theoretical rated current of the wind turbine is less than the deviation range of 0.1 amperes, and the model result is within the nominal current range, then the generator parameters are reasonable; otherwise, they are unreasonable. Step 7: Output the analysis conclusions; If the generator parameters are reasonable, the calculated no-load voltage value of the generator will be output in edit5. The output calculated no-load voltage value is the value obtained from the model. The power factor will be output in edit10. The power factor is calculated by the mathematical model. 'ok' will be output in edit11. If the generator parameters are unreasonable, edit5 and edit10 will be cleared. 'Generator parameters are unreasonable' will be output in edit11. The analysis conclusion will be presented intuitively in the GUI graphical module.