W2G modeling simulation method of wave energy converter based on UDP communication

Through the W2G modeling and simulation method based on UDP communication, combined with Fluent and MATLAB/Simulink software, the data interaction between the float movement and the power generation and grid connection process is realized, which solves the problem of inaccurate simulation in the existing technology and establishes a complete wave to The power grid model improves the accuracy of simulation results.

CN118569134APending Publication Date: 2024-08-30ANHUI UNIV OF SCI & TECH
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410714071.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing technology cannot simultaneously consider the viscosity effect of the fluid and the coupling problem between the float and the hydrodynamic force, resulting in inaccurate simulation of the power generation of the wave energy converter in waves.

Method used

The W2G modeling and simulation method based on UDP communication is used to simulate the motion process of the float in the waves through Fluent software, and the MATLAB/Simulink software is used to simulate the power generation and grid connection process to realize the data between the float CFD calculation model and the power generation grid connection system model. Interactively build a complete wave-to-grid model.

Benefits of technology

It overcomes the problem that a single software cannot perform accurate WEC wave-network modeling, and realizes a complete model simulation of the wave energy converter from waves to power grid, improving the accuracy and credibility of the simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569134A
    Figure CN118569134A
Patent Text Reader

Abstract

The invention provides a W2G modeling simulation method for a wave energy converter based on UDP communication. The method comprises the steps that a floater CFD calculation model and a power generation grid-connected system model of the wave energy converter are constructed respectively; simulating a movement process of a floater of the wave energy converter in ocean waves based on the floater CFD calculation model, and simulating an electric energy conversion grid-connected process of the wave energy converter based on the power generation grid-connected system model; in the simulation process, data layer interaction between the floater CFD calculation model and the power generation grid-connected system model is achieved based on UDP communication. Fluent software is adopted to accurately analyze hydrodynamic force information in the motion process, MATLAB / Simulink software is adopted to be used for simulation analysis and calculation of an electric power system, and the electric energy conversion and grid connection process is analyzed. The advantages of two pieces of software are comprehensively utilized in a joint simulation mode, and the problem that WEC wave-network accurate modeling cannot be conducted through single software is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wave energy power generation system simulation, and in particular to a W2G modeling and simulation method of a wave energy converter based on UDP communication. Background Art

[0002] When a wave energy converter (WEC) moves in waves, its operating state is a process in which the wave hydrodynamics and the PTO system are coupled to each other. When the float moves in waves, nonlinear factors such as the viscosity effect of the fluid also have a great influence. Therefore, a single mathematical model is difficult to accurately simulate the entire process of WEC moving in waves to generate electricity. Fluent can perform accurate CFD simulation on the float of the WEC device and simulate the movement of the float in the waves. MATLAB / Simulink is often used for simulation calculations of power systems and can build a mathematical simulation model of the WEC power generation system.

[0003] However, the single simulation method in the existing technology cannot simultaneously consider the viscosity effect of the fluid and the coupling problem between the float and the hydrodynamics, resulting in inaccurate simulation of the power generation of the WEC moving in the waves. Summary of the invention

[0004] In view of this, the present invention proposes a W2G modeling and simulation method of a wave energy converter based on UDP communication, which overcomes the problem that a single software cannot perform accurate WEC wave-network modeling through joint simulation.

[0005] To achieve the above object, the present invention proposes a W2G modeling and simulation method of a wave energy converter based on UDP communication, comprising the following steps:

[0006] Construct the CFD calculation model of the wave energy converter float and the power generation grid-connected system model respectively;

[0007] The movement process of the float of the wave energy converter in the ocean waves is simulated based on the float CFD calculation model, and the power conversion and grid connection process of the wave energy converter is simulated based on the power generation grid connection system model;

[0008] During the simulation process, data interaction between the float CFD calculation model and the power generation grid-connected system model is achieved based on UDP communication.

[0009] Optionally, the construction process of the float CFD calculation model includes:

[0010] Constructing a three-dimensional model of a float of a wave energy converter and a corresponding numerical wave tank calculation model in Fluent software, obtaining basic parameters and operation parameters of the three-dimensional model of the float according to the operation characteristics of the float, and setting the first initial operation parameters of the float CFD calculation model;

[0011] A UDF function is constructed, and the first initial operating parameter and the float motion data calculated by the numerical wave pool calculation model are written into the UDF function as data to be sent; and the Fluent software is run to obtain the Fluent software output data.

[0012] Optionally, the process of constructing a three-dimensional model of a float of a wave energy converter and a corresponding numerical wave tank calculation model in Fluent software includes:

[0013] Determine the size of the numerical wave pool calculation model according to the test technical specifications;

[0014] Constructing the numerical wave pool calculation model based on the size, and dividing the calculation domain grid based on ANSYS MESH;

[0015] Importing the three-dimensional model of the float into the numerical wave tank calculation model, establishing overlapping areas, and dividing the calculation domain grid based on ANSYSMESH;

[0016] The mesh of the free surface and the computational domain around the float is encrypted.

[0017] Optionally, in the process of constructing the numerical wave pool calculation model based on the size, grid independence verification and time step independence verification are performed on an empty numerical wave pool without a float, and then a wave height meter is set in the numerical wave pool calculation model to detect the height of the generated waves.

[0018] Optionally, the first initial operating parameters include:

[0019] Selection of the size of the computational domain; open channel wave generation method; selection of the turbulence model; setting of computational domain boundary conditions; setting of overlapping grids; six-degree-of-freedom motion restriction conditions; solver type and time parameters of the float CFD computational model.

[0020] Optionally, the Fluent software output data includes: movement speed, displacement and hydrodynamic force of the wave energy converter float in the waves.

[0021] Optionally, the process of constructing the power generation grid-connected system model includes:

[0022] In MATLAB / Simulink software, the PTO system model of the wave energy converter, the permanent magnet synchronous generator model, the PWM converter model, the MPPT controller model, the proportional resonant controller model, the transformer grid model, and the filter model are constructed.

[0023] The second initial operating parameters are set for each model, the MATLAB / Simulink software is run, and the output data of the MATLAB / Simulink software is obtained.

[0024] Optionally, the second initial operating parameters include:

[0025] Rated parameters of the permanent magnet synchronous generator; parameters of the machine-side converter and its controller; DC bus capacitance value and voltage; type and parameters of the filter; parameters of the grid-side converter and its controller; grid parameters; solver type and time parameters of the power generation grid-connected system model.

[0026] Optionally, the MATLAB / Simulink software output data includes:

[0027] PTO reaction force, magnetic screw rotor speed, generator output power, DC bus voltage, grid-connected active power and reactive power of the wave energy converter power generation system.

[0028] Optionally, the process of realizing data layer interaction between the float CFD calculation model and the power generation grid-connected system model based on UDP communication includes:

[0029] During the simulation of the float CFD calculation model, the UDP communication port is configured by writing code in the UDF function file of the Fluent software, the movement speed of the float in the waves is set as the data to be sent, and the UDP communication is run after each iteration through the DEFINE_EXECUTE_AT_END macro;

[0030] During the operation simulation of the power generation grid-connected system model, a UDP communication server is built in the MATLAB / Simulink software through the Instrument Control Toolbox, the PTO reaction force is set as the data to be sent, and the UDP Receive and UDP Send modules are used to receive and send data for UDP communication;

[0031] Set the time step in Fluent software to be consistent with the time step in MATLAB / Simulink software. During the software operation, the data to be sent are exchanged with each other to iterate.

[0032] Compared with the prior art, the beneficial effects of the present invention are:

[0033] The method of the present invention respectively establishes a WEC float CFD calculation model and a WEC power generation grid-connected system model in different square array simulation environments, and realizes data layer interaction through UDP communication mode, thereby establishing a complete model of WEC from waves to power grid. Fluent software is used for CFD simulation calculation, which can accurately simulate the movement process of the float in the ocean waves and analyze the fluid dynamic information during the movement process. MATLAB / Simulink software is used for power system simulation analysis and calculation, which can accurately establish models of generators, power electronic converters, controllers, etc., and analyze the process of power conversion and grid connection. By comprehensively utilizing the advantages of the two software through joint simulation, the problem that a single software cannot perform accurate WEC wave-grid modeling is overcome. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only used for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. In the accompanying drawings:

[0035] Figure 1 It is a flowchart of a W2G modeling and simulation method of a wave energy converter based on UDP communication in an embodiment of the present invention. DETAILED DESCRIPTION

[0036] Unless otherwise indicated, all technical and scientific terms used herein have the same meanings as those generally understood by those skilled in the art. Although the present invention describes only preferred methods and materials, any methods and materials similar or equivalent to those described herein may also be used in the implementation or testing of the present invention. All documents mentioned in this specification are incorporated by reference to disclose and describe the methods and / or materials associated with the documents. In the event of a conflict with any incorporated document, the content of this specification shall prevail.

[0037] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to be able to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0038] In the field of electrical engineering, MATLAB / Simulink software is usually used for simulation and calculation analysis. This software can not only conduct power system research and coordination analysis, but also design power system equipment and develop control algorithms, with powerful analytical and calculation capabilities. Fluent software is currently a popular commercial CFD software that can realize parameterized simulation processes and has great advantages in simulating multiphase flow. The two softwares are applied to different problems respectively and cannot replace each other in terms of function. User Datagram Protocol (UDP) is a set of connectionless transmission protocols supported by the Internet, allowing two applications to send encapsulated IP data packets without establishing a connection, providing a way for interaction between MATLAB / Simulink and Fluent. WEC is arranged in the ocean and generates electricity by the force generated by waves. However, the wave conditions in the ocean are not stable, and the seawater itself has a viscous effect, so the movement process of the WEC float in the waves cannot be accurately expressed by simple mathematical modeling. Therefore, in this application, the movement process of the WEC float in the waves is simulated using CFD tools, the WEC system power generation and grid-connected process is simulated using MATLAB / Simulink, and UDP communication is used to realize data interaction between the two software, finally completing the simulation of the entire process of WEC energy conversion from waves to the grid.

[0039] Embodiment 1

[0040] like Figure 1 As shown, a WEC wave-network modeling and simulation method based on UDP communication provided in this embodiment includes the following steps:

[0041] Step 1: Create a CFD-based numerical wave pool model in Fluent, including:

[0042] S1. Determine the size of the wave pool calculation domain according to the test technical specifications;

[0043] S2. Establish a three-dimensional pool model and divide the computational domain into grids using ANSYS MESH;

[0044] S3. Import the 3D float model, establish the overlapping area, and divide the computational domain grid using ANSYS MESH;

[0045] S4. Set the boundary conditions of the computational domain and encrypt the mesh of the computational domain around the free surface and the float;

[0046] S5. Import the grid file into the Fluent process, select the transient solver, use the multiphase flow mode, set the standard k-ε turbulence model, and set the open channel method for wave generation;

[0047] S6. Write a UDF program, set the float dynamic grid motion parameters in the DEFINE_SDOF_PROPERTIES macro, and set the communication service program in the DEFINE_EXECUTE_AT_END macro.

[0048] Step 2: Write a UDF file to obtain the speed and displacement of the WEC float, configure the UDP communication sending port in the UDF file, set the float speed as the data to be sent, and configure the communication port parameters;

[0049] Step 3: Compile the UDF program in Fluent;

[0050] Step4: Set the maximum number of iterations of the simulation calculation step;

[0051] Step 5: Initialize the Fluent process;

[0052] Step 6: Set the data to be printed out after each Fluent run, including:

[0053] The speed, displacement and hydrodynamic force of the WEC float in the waves;

[0054] Step 7: Create a wave energy converter power generation grid-connected system model in MATLAB / Simulink, including:

[0055] S1. Establish PTO system model;

[0056] S2. Establish a permanent magnet synchronous generator model;

[0057] S3. Establish a back-to-back PWM converter model;

[0058] S4. Establishing LCL filter model;

[0059] S6. Establish transformer and power grid models;

[0060] S5. Design a permanent magnet synchronous motor MPPT controller;

[0061] S6. Design a proportional resonant controller for grid-connected inverters;

[0062] S7. Setting model parameters and controller parameters;

[0063] S8. Set the solver and sampling time of the WEC power generation grid connection model;

[0064] Step8: Use the UDP Receive module in the MATLAB / Simulink library to configure the MATLAB / Simulink UDP receiving port parameters;

[0065] Step 9: Set the PTO reaction force in the WEC power generation system as the data to be sent and connect it to the UDP Send module;

[0066] Step 10: Set the UDP Send module as a trigger action, and set the trigger condition to act at every unit time step;

[0067] Step 11: Set the time step in Fluent software to be consistent with the time step in MATLAB / Simulink. During the software operation, exchange the operation data with each other to iterate the operation.

[0068] Step 12: Set the data output in the oscilloscope after each run of MATLAB / Simulink, including: the speed, d / q axis current, output power, PTO force, DC bus voltage, d / q axis current of the grid-side converter, three-phase grid voltage, current, grid active power and reactive power of the permanent magnet synchronous generator during the simulation of the WEC power generation grid-connected system.

[0069] Step 13: After the Fluent process and Simulink process are set up, start Simulink first to wait for the Fluent calculation data to be accessed, and then start the Fluent process to realize the wave-network modeling and simulation of WEC.

[0070] In order to improve the accuracy and credibility of the simulation system, it is necessary to first perform numerical verification on the empty numerical wave pool without floats, including grid independence verification and time step independence verification. Secondly, a wave height meter is set in the calculation domain to detect the height of the waves generated to ensure that the generated wave flow field meets the design objectives. Finally, the float model is placed in the calculation domain to complete the hydrodynamic calculation modeling.

[0071] The present invention uses UDP communication to realize data interaction between two simulation analysis software in different fields, MATLAB / Simulink and Fluent, so that MATLAB / Simulink can post-process the calculation results of the float hydrodynamic force calculated by Fluent. Compared with the existing WEC modeling and simulation method, the WEC wave-net modeling and simulation method provided by this patent can directly couple the hydrodynamic results calculated by the commercial software Fluent with the wave power generation system, making the simulation results more accurate. On this basis, more comprehensive WEC power generation system operation data can be obtained and the control of the power generation system can be realized.

[0072] Embodiment 2

[0073] This embodiment provides another implementation of a WEC wave-network modeling simulation method based on UDP communication, including:

[0074] S1. Establish a numerical wave tank based on CFD through Fluent software and create the CFD transient calculation process of the WEC float;

[0075] Before CFD calculation, a three-dimensional model of the float and a numerical wave tank calculation domain are established, WinSock is used to write a client program for UDP communication, DEFINE_SDOF_PROPERTIES macro is used to write a UDF function for float motion, DEFINE_EXECUTE_AT_END macro is used to obtain the reaction force of the power output device (PTO), and the basic data of the float motion (float motion speed, displacement, wave force) calculated by CFD is set as the data to be sent and written into the UDF function, and the initial conditions are set;

[0076] S2. Build a wave energy converter power generation grid-connected simulation model in MATLAB / Simulink;

[0077] Before the simulation is run, the PTO system model, permanent magnet synchronous generator model, and "back-to-back" PWM converter model of the WEC are established in MATLAB / Simulink. The UDP communication server is built using DSP SystemToolbox. UDPReceive receives data and UDP Send sends data. The PTO reaction force (F PTO ) is set as data to be sent;

[0078] S3, configure the communication port, establish a communication connection based on UDP, and transmit data alternately in sequence;

[0079] Before starting the Fluent software, you should first start the server program and wait for the connection, and then open the Fluent software to start the calculation.

[0080] As a preferred embodiment of the present application, the data output after each run of MATLAB / Simulink includes:

[0081] PTO reaction force of WEC power generation system (F PTO ), magnetic screw rotor speed n MLS , generator output power, DC bus voltage, grid-connected active power and reactive power;

[0082] Among them, PTO reaction force (F PTO ) is used to send data.

[0083] As a preferred implementation of the present application, the data output by Fluent after each run includes: the float movement speed, displacement, and hydrodynamic force during the CFD simulation process; wherein the float movement speed is the sent data.

[0084] As a preferred implementation of the present application, data interaction is achieved between MATLAB / Simulink and Fluent software through UDP network communication, and the data sent by both parties are the input data of the other party at the next moment.

[0085] As a preferred implementation of the present application, the operating parameters of the WEC power generation grid-connected model are set in MATLAB / Simulink, including:

[0086] Rated parameters of permanent magnet synchronous generator; parameters of machine-side converter and its controller; DC bus capacitance value and voltage; type and parameters of filter; parameters of grid-side converter and its controller; grid parameters; solver type and time parameters of the WEC power generation grid-connected model.

[0087] As a preferred embodiment of the present application, the operating parameters of the float CFD calculation model of the WEC are set in Fluent, including:

[0088] Selection of the size of the computational domain; open channel wave generation method; selection of the turbulence model; setting of computational domain boundary conditions; setting of overlapping grids; six-degree-of-freedom motion restriction conditions; solver type and time parameters for the float CFD calculation of the WEC.

[0089] As a preferred implementation of the present application, in Fluent, the UDP communication port is configured by writing code in a UDF file, and the UDP communication is run after each iteration through the DEFINE_EXECUTE_AT_END macro.

[0090] As a preferred implementation of the present application, the server side of UDP communication is built through Instrument Control Toolbox in MATLAB / Simulink, and UDP Receive and UDP Send modules are used to receive and send data for UDP communication.

[0091] As a preferred implementation of the present application, before step S1, the method further includes:

[0092] S0a, establishing a three-dimensional model of the float of the WEC to be simulated and the calculation domain of the numerical wave pool;

[0093] S0b. According to the operation characteristics of the float, the basic parameters and operation parameters of the float three-dimensional model are selected;

[0094] S0c. Setting the initial operating parameters in Fluent, and compiling the initial operating parameters into a UDF macro file that can be read when the float moves in Fluent.

[0095] As a preferred embodiment of the present application, the S0a includes:

[0096] Determine the size of the water pool and overlapping grids according to the CFD calculation requirements of marine engineering;

[0097] The computational domain is meshed using ANSYS MESH.

[0098] As a preferred embodiment of the present application, the grid is encrypted near the water surface of the pool and in the area near the overlapping grids.

[0099] As a preferred implementation of the present application, the machine-side converter adopts impedance matching to obtain maximum power, and the controller is designed accordingly. The grid-side converter adopts proportional resonance method to control grid-connected voltage and current.

[0100] As a preferred implementation of the present application, the grid-side converter uses a proportional resonance method to control the grid-connected voltage and current, and designs a controller based on this method.

[0101] The present invention uses Fluent software to create a numerical wave pool based on CFD to simulate the movement process of the float in the waves; uses MATLAB / Simulink to create a WEC power generation grid-connected model to simulate the power generation operation process; uses FluentUDF and Simulink modules to establish a communication connection based on the UDP protocol; the float motion data (float motion speed, displacement, wave force) calculated by CFD and the energy output device (PTO) reaction force calculated by MATLAB / Simulink are mutually transmitted through UDP communication, and take turns to provide data for the next step of calculation, thereby establishing a simulation model of the entire process of WEC from hydrodynamics to power generation grid-connected. The above simulation method takes into account the coupling influence of the PTO system and the hydrodynamic characteristics of the float, and at the same time takes into account the fluid viscosity effect, which can accurately simulate the entire process of wave energy power generation operation, and the result is more realistic and reliable.

[0102] Those skilled in the art will appreciate that embodiments of the present invention may be provided as systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0103] The present invention is described with reference to the flowcharts and / or block diagrams of computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as the combination of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0104] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0105] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0106] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or perform equivalent replacements on some of the technical features thereof; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. They should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A W2G modeling and simulation method for wave energy converter based on UDP communication, It is characterized in that The following steps are involved: Construct the CFD calculation model of the wave energy converter float and the power generation grid-connected system model respectively; The movement process of the float of the wave energy converter in the ocean waves is simulated based on the float CFD calculation model, and the power conversion and grid connection process of the wave energy converter is simulated based on the power generation grid connection system model; During the simulation process, data interaction between the float CFD calculation model and the power generation grid-connected system model is achieved based on UDP communication.

2. The W2G modeling and simulation method of the wave energy converter based on UDP communication according to claim 1, It is characterized in that The construction process of the float CFD calculation model includes: Constructing a three-dimensional model of a float of a wave energy converter and a corresponding numerical wave tank calculation model in Fluent software, obtaining basic parameters and operation parameters of the three-dimensional model of the float according to the operation characteristics of the float, and setting the first initial operation parameters of the float CFD calculation model; A UDF function is constructed, and the first initial operating parameter and the float motion data calculated by the numerical wave pool calculation model are written into the UDF function as data to be sent; and the Fluent software is run to obtain the Fluent software output data.

3. The W2G modeling and simulation method of the wave energy converter based on UDP communication according to claim 2, It is characterized in that The process of constructing the three-dimensional model of the float of the wave energy converter and the corresponding numerical wave tank calculation model in Fluent software includes: Determine the size of the numerical wave pool calculation model according to the test technical specifications; Constructing the numerical wave pool calculation model based on the size, and dividing the calculation domain grid based on ANSYS MESH; Importing the three-dimensional model of the float into the numerical wave tank calculation model, establishing overlapping areas, and dividing the calculation domain grid based on ANSYS MESH; The mesh of the free surface and the computational domain around the float is encrypted.

4. The W2G modeling and simulation method of the wave energy converter based on UDP communication according to claim 3, It is characterized in that In the process of constructing the numerical wave pool calculation model based on the size, grid independence verification and time step independence verification are performed on an empty numerical wave pool without a float, and then a wave height meter is set in the numerical wave pool calculation model to detect the height of the generated waves.

5. The W2G modeling and simulation method of the wave energy converter based on UDP communication according to claim 2, It is characterized in that The first initial operating parameters include: Selection of the size of the computational domain; open channel wave generation method; selection of the turbulence model; setting of computational domain boundary conditions; setting of overlapping grids; six-degree-of-freedom motion restriction conditions; solver type and time parameters of the float CFD computational model.

6. The W2G modeling and simulation method of the wave energy converter based on UDP communication according to claim 2, It is characterized in that The output data of the Fluent software include: the movement speed, displacement and hydrodynamic force of the wave energy converter float in the waves.

7. The W2G modeling and simulation method of the wave energy converter based on UDP communication according to claim 1, It is characterized in that The construction process of the power generation grid-connected system model includes: In MATLAB / Simulink software, the PTO system model of the wave energy converter, the permanent magnet synchronous generator model, the PWM converter model, the MPPT controller model, the proportional resonant controller model, the transformer grid model, and the filter model are constructed. The second initial operating parameters are set for each model, the MATLAB / Simulink software is run, and the output data of the MATLAB / Simulink software is obtained.

8. The W2G modeling and simulation method of the wave energy converter based on UDP communication according to claim 7, It is characterized in that The second initial operating parameters include: Rated parameters of the permanent magnet synchronous generator; parameters of the machine-side converter and its controller; DC bus capacitance value and voltage; type and parameters of the filter; parameters of the grid-side converter and its controller; grid parameters; solver type and time parameters of the power generation grid-connected system model.

9. The W2G modeling and simulation method of the wave energy converter based on UDP communication according to claim 7, It is characterized in that The MATLAB / Simulink software output data includes: PTO reaction force, magnetic screw rotor speed, generator output power, DC bus voltage, grid-connected active power and reactive power of the wave energy converter power generation system.

10. The W2G modeling and simulation method of the wave energy converter based on UDP communication according to claim 1, It is characterized in that The process of realizing data layer interaction between the float CFD calculation model and the power generation grid-connected system model based on UDP communication includes: During the simulation of the float CFD calculation model, the UDP communication port is configured by writing code in the UDF function file of the Fluent software, the movement speed of the float in the waves is set as the data to be sent, and the UDP communication is run after each iteration through the DEFINE_EXECUTE_AT_END macro; During the operation simulation of the power generation grid-connected system model, a UDP communication server is built in the MATLAB / Simulink software through the Instrument Control Toolbox, the PTO reaction force is set as the data to be sent, and the UDP Receive and UDP Send modules are used to receive and send data for UDP communication; Set the time step in Fluent software to be consistent with the time step in MATLAB / Simulink software. During the software operation, the data to be sent are exchanged with each other to iterate.

Citation Information

Cited By

  • Joint simulation method for calculating coupling dynamics of wave energy acquisition device

    CN119167828A

  • Wave energy floater model time domain simulation method and related device

    CN119249963A

  • Combustion device control method based on Simulink and Fluent cooperation

    CN119512256A