Method and device for automatically generating a wind power engineering project proposal based on persistent sharing
By using persistent shared state management and intelligent agent fusion processing, the problem of automating the generation of wind power project proposals has been solved, enabling parameter consistency and support for multiple rounds of modification, thereby improving the efficiency and quality of the proposal preparation.
Patent Information
- Application Number
- CN202611380804.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-07
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies cannot automatically generate the core parameters of wind power project proposals, resulting in low compilation efficiency and poor quality, failing to meet the requirements of long-cycle, multi-disciplinary, and strongly coupled compilation processes.
It adopts a persistent shared state management mechanism, performs multimodal fusion processing through chapter-based intelligent agents, generates structured engineering parameters, and uses fixed templates combined with large language models to generate report drafts, supporting multiple rounds of modification and version traceability.
It has enabled the automated generation of wind power project proposals, ensuring cross-chapter parameter consistency and cascading traceability, supporting multiple rounds of revisions and energy infrastructure audits, and improving the efficiency and quality of the preparation process.
Smart Images

Figure CN123139982A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automatic generation of wind power project proposals, and in particular to a method and apparatus for automatic generation of wind power project proposals based on persistent sharing. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] The project proposal for wind power projects is the core document for project approval, typically covering multiple chapters including site overview, wind energy resource assessment, engineering geology, wind turbine selection, electrical engineering, civil engineering, environmental impact assessment, investment estimation, and financial evaluation. Given the specialized nature of wind power project proposal preparation, existing technical solutions suffer from the following major shortcomings: Core parameters cannot be obtained through searching existing engineering documents, template filling, or knowledge graph matching. They must be derived from raw meteorological reanalysis data and the original site boundary coordinate set through a series of deterministic physical and numerical calculations, including vector synthesis, wind shear extrapolation, frequency distribution statistics, extreme value screening, and financial indicator calculation. Existing automated engineering document tools lack projection calculation and spatial integration capabilities for surface geometry, failing to meet the need for automatic generation of wind farm site parameters. Furthermore, existing multi-agent document generation systems typically destroy agent instances after each task, making them unsuitable for the long-term, multi-disciplinary, strongly coupled, and auditable collaborative preparation requirements of wind power project proposals.
[0004] Therefore, the aforementioned defects have led to long-standing problems in the preparation of wind power project proposals, such as the inability to automatically generate core parameters, the need for manual calculation of surface geometric parameters, and the lack of a mechanism to ensure the traceability of cross-chapter physical causal chains and multiple rounds of modifications, which seriously affect the efficiency of wind power project initiation and the quality of reports. Summary of the Invention
[0005] To address the aforementioned technical issues, this invention provides a method and apparatus for automatically generating wind power project proposals based on persistent sharing. This method establishes a persistent sharing state management mechanism to meet the needs of long-term, multi-disciplinary, strongly coupled, and auditable preparation of wind power proposals. It ensures the consistency and cascading traceability of parameters on the physical causal chain across chapters, and supports version tracing and energy infrastructure auditing for multiple rounds of modifications.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: The first aspect of the present invention provides a method for automatically generating wind power project proposals based on persistent sharing.
[0007] In one or more embodiments, a method for automatically generating wind power project proposals based on persistent sharing is provided, including: Initialize the corresponding persistently bound chapter smart agent for each chapter of the project proposal to be generated, and load the professional toolset specific to each chapter; at the same time, initialize a unique project-level shared state. The received engineering data is processed by the intelligent agents in each chapter to obtain structured engineering parameters. Structured engineering parameters are written to the project-level shared state, and field-level conflict detection is performed during the writing process. Upon receiving the report generation instruction, the chapter agent automatically reads the written engineering parameters from the project-level shared state before executing the inference task, and generates a structured chapter report draft using a hybrid strategy that combines fixed template rendering with a large language model. After user confirmation, the draft is frozen as the confirmed version. Assemble the content of all chapters in the confirmed version into a complete document according to the standard chapter structure and export it.
[0008] As one implementation method, each chapter corresponds one-to-one with a chapter agent. Each chapter agent independently maintains its corresponding dialogue-level state to store the message history and temporary calculation results of the corresponding chapter, and the chapters are completely isolated.
[0009] As one implementation method, the project-level shared state uniformly stores the engineering parameters that flow across chapters, and all chapter agents can read and write to it; the dialogue-level state of each chapter agent and the project-level shared state are both persistently stored. When a user re-enters any chapter at different times or in different sessions, the most recent dialogue history and intermediate calculation results of the corresponding chapter agent are automatically restored from the persistent storage, realizing breakpoint continuation. As one implementation method, when expanding, it is only necessary to define a new chapter agent for the new chapter and register the corresponding toolset.
[0010] As one implementation method, in the process of using the intelligent agents of each chapter to perform multimodal fusion processing on the received engineering data, each intelligent agent of the chapter adopts a reasoning-action loop mode, and by calling its respective professional toolset, it parses, calculates and transforms the received engineering data into structured engineering parameters.
[0011] As one implementation method, the process of performing field-level conflict detection during the write process is as follows: First, verify whether the writer has write permissions for the field; if not, refuse to write. If permissions are granted, read the current value of the field and its metadata. If the newly written value is inconsistent with the current value, generate a conflict record and push a conflict notification to the user containing a comparison of the old and new values, a comparison of the source chapters, and suggested resolution strategies. The user can choose to adopt the newly written value, retain the current value, or manually specify a value. After the user makes a decision, complete the final write and increment the version counter. Each field write also records metadata including the source chapter identifier, update time, and data source type. Conflict records are appended to the conflict log to provide a basis for subsequent auditing and tracing.
[0012] As one implementation method, when the upstream chapter agent modifies the written shared parameters, it automatically identifies all downstream chapters that reference the parameters by using the parameter dependencies between chapters recorded in the field registry. If the downstream chapter has already completed the calculation based on the old value or generated a report draft, an alarm label is inserted in the report content of the corresponding chapter to prompt the user that the upstream parameters on which the chapter depends have changed, and it is recommended to re-trigger the calculation or regenerate the report. The user decides whether to perform the update.
[0013] As one implementation method, in the process of generating chapter report drafts using a hybrid strategy that combines fixed template rendering with a large language model, for parametric content, structured data is directly rendered and generated according to a fixed format template; for narrative content, structured engineering parameters are used as input, and a large language model is called to generate professional narrative text that conforms to engineering report specifications; for uploaded engineering charts, they are embedded in the report by reference.
[0014] A second aspect of the present invention provides an automatic generation device for wind power engineering project proposals based on persistent sharing.
[0015] In one or more embodiments, an automatic generation device for wind power project proposals based on persistent sharing includes: The initialization module is used to initialize the corresponding persistently bound chapter smart agents for each chapter of the project proposal to be generated, and load the professional toolset specific to the corresponding chapter; at the same time, it initializes the unique project-level shared state. The multimodal processing module is used to perform multimodal fusion processing on the received engineering data using the intelligent agents in each chapter to obtain structured engineering parameters; The shared state writing module is used to write structured engineering parameters into the project-level shared state, and performs field-level conflict detection during the writing process. The report draft generation module is used to receive report generation instructions. Before executing the inference task, the chapter agent automatically reads the written engineering parameters from the project-level shared state and generates a structured chapter report draft using a hybrid strategy that combines fixed template rendering with a large language model. After user confirmation, it is frozen as the confirmed version. The complete report generation module is used to assemble the content of all chapters in the confirmed version into a complete document according to the standard chapter structure and export it.
[0016] A third aspect of the present invention provides a computer-readable storage medium.
[0017] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method for automatically generating wind power project proposals based on persistent sharing.
[0018] A fourth aspect of the present invention provides an electronic device.
[0019] An electronic device includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the program to implement the steps in the above-described method for automatically generating wind power project proposals based on persistent sharing.
[0020] Compared with the prior art, the beneficial effects of the present invention are: This invention utilizes persistently bound chapter agents and professional toolsets corresponding to each chapter to perform multimodal fusion processing on received engineering data, obtain structured engineering parameters, and write them into the project-level shared state. Before executing inference tasks, the chapter agents automatically read the written engineering parameters from the project-level shared state, and generate a structured chapter report draft using a hybrid strategy combining fixed template rendering and a large language model. After user confirmation, the draft is frozen as the confirmed version, assembled into a complete document according to the standard chapter structure, and exported. This invention can establish a persistent shared state management mechanism for the long-term, multi-disciplinary, strongly coupled, and auditable preparation requirements of wind power proposals, ensuring the consistency and cascading traceability of parameters on the cross-chapter physical causal chain, and supporting version traceability and energy infrastructure auditing for multiple rounds of modifications. Attached Figure Description
[0021] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0022] Figure 1 This is a flowchart of an embodiment of the present invention for an automatic generation method of wind power project proposals based on persistent sharing; Figure 2This is a schematic diagram of the structure of the automatic generation device for wind power engineering project proposals based on persistent sharing, according to an embodiment of the present invention. Figure 3 This is a schematic diagram of an electronic device according to an embodiment of the present invention; Figure 4 This is a schematic diagram of a two-layer state management architecture according to an embodiment of the present invention; Figure 5 This is a schematic diagram of a multimodal engineering data fusion pipeline according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the chapter-based intelligent agent inference loop according to an embodiment of the present invention; Figure 7 This is a schematic diagram of the report generation and merging workflow according to an embodiment of the present invention. Detailed Implementation
[0023] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0024] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0025] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0026] Figure 1 A schematic diagram of the automatic generation method for wind power engineering project proposals based on persistent sharing, according to an embodiment of the present invention, is provided. Figure 1 The method for automatically generating wind power project proposals based on persistent sharing in this embodiment may include the following steps S101 to S105.
[0027] The specific implementation process of steps S101 to S105 is as follows: Step S101: Initialize the corresponding persistently bound chapter smart agent for each chapter of the project proposal to be generated, and load the professional toolset exclusive to the corresponding chapter; at the same time, initialize the unique project-level shared state.
[0028] In this embodiment, each chapter corresponds one-to-one with a chapter agent. Each chapter agent is built based on the LangGraph multi-agent orchestration framework, organizes the reasoning-action loop (ReAct) using the LangGraph StateGraph mechanism, and supports the persistence of dialogue history and intermediate states through the LangGraph checkpoint interface (BaseCheckpointSaver).
[0029] The one-chapter-one-agent binding architecture allows each chapter's agent to independently maintain its own dialogue history and intermediate computation results, ensuring no interference between chapters and enabling parallel processing of each chapter. Each chapter's agent independently maintains its corresponding dialogue-level state to store the message history and temporary computation results of that chapter, achieving complete isolation between chapters.
[0030] The intelligent agents in each chapter can proceed in parallel, eliminating the bottleneck of manual transmission and coordination waiting, and compressing the work of processing key parameters and generating reports from weeks or months to days; adding a new chapter only requires defining a new chapter intelligent agent and registering the toolset, without modifying the existing framework, and can flexibly adapt to different project types such as onshore and offshore wind power.
[0031] In other embodiments, each chapter's intelligent agent is implemented as an independent microservice process, communicating asynchronously via message queues (such as Apache Kafka or RabbitMQ) without requiring a unified orchestration framework. Each chapter's intelligent agent microservice subscribes to its own message topic, receiving user input or trigger events from upstream chapters; after completing inference and parameter calculation for its chapter, it publishes engineering parameter result messages to downstream topics; the project-level shared state is a unified service that subscribes to and writes result messages from all chapters. In this architecture, the chapter's intelligent agents are completely decoupled, allowing for independent deployment and scaling, making it suitable for distributed deployment scenarios of large-scale concurrent projects.
[0032] In other alternative embodiments, parameter dependencies between chapters are pre-analyzed and explicitly defined (e.g., the wind turbine selection chapter depends on meteorological statistics from the wind energy resources chapter), and a chapter-dependent directed acyclic graph (DAG) is constructed. The scheduler automatically triggers the agents of each chapter according to the DAG topology order: when all predecessor chapters of a certain chapter have completed parameter writing, the scheduler automatically starts the inference task of that chapter, replacing the user-driven parallel collaboration mode with dependency-based automatic scheduling, which is suitable for system variants where batch processing is the primary use case.
[0033] The project-level shared state uses MongoDB as the persistent storage for the project-level shared state and checkpoints. Reading and writing are performed through a custom MongoDBCheckpointer implemented by inheriting the LangGraph checkpoint interface, which supports field version counting and concurrent optimistic locking control.
[0034] Project-level shared state is used to store and transfer engineering parameters across chapters, including but not limited to wind farm geographic coordinates, site area, meteorological statistics, wind turbine selection parameters, electrical design parameters, total installed capacity, total investment, and financial evaluation indicators. The project-level shared state uniformly stores engineering parameters flowing across chapters, which can be read and written by all chapter agents. The dialogue-level state of each chapter agent and the project-level shared state are both persistently stored. When a user re-enters any chapter at different times or in different sessions, the most recent dialogue history and intermediate calculation results of the corresponding chapter agent are automatically restored from persistent storage, enabling resume editing from where it left off. This meets the needs of asynchronous collaboration among multiple professional engineers during the drafting cycle of wind power project proposals, which spans several weeks to several months.
[0035] like Figure 4 As shown, this embodiment utilizes a two-layer state management architecture: a first-layer dialogue-level state and a second-layer project-level shared state. This two-layer separation design ensures that the agents in each chapter do not interfere with each other during inference, while centralizing the engineering parameters that need to flow across chapters under unified management in the second layer. The field registry, field-level conflict detection, version counter, and metadata recording mechanism described below all operate on the second-layer project-level shared state to solve the problems of permission control, consistency assurance, and audit traceability when multiple agents in different chapters concurrently read and write the same shared field.
[0036] This invention ensures the consistency of parameters across the physical causal chain of chapters through a two-layer state management architecture, field registry, field-level conflict detection and version control, and metadata recording mechanisms. When multiple chapter agents write different values to the same shared field (such as discrepancies in the total installed capacity writes between the wind turbine selection and investment estimation chapters), the system triggers conflict detection in real time during the writing process, pushes the old and new values to the user for comparison with the source, and closes the loop after the user's decision. When upstream parameters are subsequently corrected, the system automatically sends an alert to downstream chapters that have completed calculations based on the old values. In addition, the mechanism supports version tracing for multiple rounds of modifications and energy infrastructure audits, meeting the needs of wind power project proposals that span weeks to months and involve asynchronous collaboration among multiple professional engineers.
[0037] When expanding, you only need to define a new chapter agent for the new chapter and register the corresponding toolset; there is no need to modify the existing chapter agent or core framework.
[0038] In this embodiment, the toolset is as follows: geographic information coordinate parsing and site area calculation are implemented based on GeoPandas, Shapely, and PyProj; meteorological time series data (ERA5 format) is used for data access and statistical calculation through xarray, cfgrib, and cdsapi; and full-text recognition and structured extraction of engineering documents (PDF / Word format) are implemented based on MinerU API.
[0039] In some alternative embodiments, for coordinate files and engineering documents, the original file content (text or images) is directly submitted as multimodal input to a large language model that supports file understanding. The model is constrained by JSON Schema structured output to directly return key-value pairs of the target parameters, bypassing the dependency on dedicated OCR tool libraries. Tasks requiring precise numerical results, such as coordinate format conversion and site area calculation, still retain the use of specialized tools; end-to-end model extraction is used only for parameter semantic extraction tasks, and reliability is ensured through numerical range verification.
[0040] In other alternative embodiments, for common formats of industry standard engineering documents (such as geological survey reports and hydrological analysis reports), high-precision regular expression rules are defined in advance to cover typical expression patterns of parameter values (such as "foundation bearing capacity: XXX kPa"), and priority is given to quick extraction through rule matching; when the rule fails to match, semantic retrieval is used to locate the paragraph most likely to contain the target parameter (Top-K retrieval), and then the retrieval results are used as context to drive the large language model to perform fixed-point extraction, forming a hierarchical fusion strategy of rule priority and model fallback, which takes into account both extraction efficiency and accuracy.
[0041] This embodiment establishes a deterministic calculation pathway from raw physical observation data to wind power engineering parameters. This invention equips each chapter's intelligent agent with a wind power-specific toolset, enabling the system to perform deterministic physical calculations based on raw meteorological reanalysis data and site coordinate point sets (including vector synthesis, wind shear extrapolation, Weibull fitting, frequency distribution statistics, and financial indicator calculations). Core parameters are calculated from actual data using formulas, rather than being generated empirically from large language models, fundamentally avoiding the risk of misinterpretation and improving the professional accuracy of the generated content.
[0042] This embodiment integrates spatial calculation capabilities such as UTM projection, area integration, and administrative division matching into a dedicated toolset for the site-specific intelligent agent. Users only need to click to draw on the map or upload boundary coordinate files, and the system automatically completes all professional spatial calculations and writes the results to the project-level shared state for direct reading and use by downstream intelligent agents such as wind energy resources and wind turbine selection. Non-professional GIS personnel do not need to master professional knowledge of projection transformation, area integration, etc. to obtain site geometric parameters, while eliminating the manual steps and deviation risks of parameter transfer between external GIS tools and various chapters of the proposal.
[0043] Step S102: Use the intelligent agents of each chapter to perform multimodal fusion processing on the received engineering data to obtain structured engineering parameters.
[0044] Each chapter's intelligent agent receives engineering data input by the user. This engineering data includes at least one of the following: wind field boundary coordinates (obtained through map interaction or by uploading coordinate files), meteorological time-series data files, and engineering documents (PDF or Word format). For example... Figure 6 As shown, in the process of using the intelligent agents of each chapter to perform multimodal fusion processing on the received engineering data, each intelligent agent of the chapter adopts the reasoning-action loop mode. By calling the professional toolset of its respective chapter, it parses, calculates and transforms the received engineering data into structured engineering parameters.
[0045] The multimodal fusion processing here refers to the following: raw data of three different modalities—geographic coordinate data, meteorological time series data, and engineering document text—are processed into structured engineering parameters through their respective professional pipelines, and then uniformly written into the project-level shared state. In subsequent chapters, the intelligent agent jointly reads parameters from multiple modal sources from the shared state for inference and calculation (for example, the wind turbine selection chapter simultaneously depends on site area, wind energy resource parameters, and geological parameters), thereby achieving the fusion of multimodal heterogeneous data at the engineering parameter level.
[0046] like Figure 5 As shown, the multimodal engineering data fusion pipeline processes various types of data in the following ways: For wind field boundary coordinates, the system supports two input methods: The first is map interaction, where users define the wind field boundary by clicking and drawing or selecting on the front-end map interface, and the system directly extracts the decimal coordinates of each vertex; the second is file upload, where users upload a file containing the boundary point coordinates. The system first converts the degrees-minutes-seconds (DMS) format coordinates to decimal degrees (DD) format using the formula DD = D + M / 60 + S / 3600 (D, M, and S are the integer parts of degrees, minutes, and seconds, respectively), and then uses equal-area projection to convert the geographic coordinates to planar coordinates (x...). i , y iThe projection uses the Universal Transverse Mercator (UTM) projection coordinate system. The system first calculates the arithmetic mean of the latitude and longitude of the site vertices to obtain the site's centroid. Then, based on the centroid's latitude and longitude, it obtains the corresponding UTM projection coordinate system for the region and converts the latitude and longitude into planar coordinates. The Gaussian area method is used to calculate the area of the closed polygon of the site region after conversion to planar coordinates. This method first sorts the vertex coordinates of the closed polygon in a clockwise direction, and then calculates using the following formula:
[0047] in,( , )and( , ) represent the planar coordinates of two adjacent site vertices after sorting.
[0048] After obtaining the latitude and longitude of the site's centroid through the site's boundaries, the system calculates the pairwise distances from the site's centroid to the center points of each district and county in the administrative division database. The calculation uses the Haversine formula to calculate the spherical distance, and the formula is as follows:
[0049]
[0050]
[0051] Where d is the final calculated pairwise distance; Latitude; Longitude; The radius is the Earth's radius.
[0052] The calculated results are pushed to the front end for user confirmation, and the coordinate analysis, area and administrative division information are written into the shared state as structured engineering parameters.
[0053] For meteorological time-series data files, the system extracts hourly wind speed data at a specified height level according to wind field coordinates. The wind speed in the file is vector data in two orthogonal directions, u (east) and v (north). Therefore, the hourly wind speed and direction can be calculated using the following formula:
[0054]
[0055] in, Wind speed rate; The angle between the wind and due north is clockwise. The calculated hourly wind speed is used to calculate the annual average wind speed and the monthly average wind speed. The wind direction is converted into a 16-bit wind direction using the angle and its frequency is calculated. The 16-bit wind direction is defined in the following table:
[0056] Hourly wind energy density is calculated based on the corresponding wind speed, using the following formula:
[0057] in, air density; This represents the wind speed rate at the corresponding moment. Wind energy statistics also include the annual average power and monthly average power, as well as the frequency distribution of wind energy in different wind directions.
[0058] The wind speed at the turbine hub height can be estimated by measuring wind speed data at the height and combining it with the wind shear index. The calculation formula is as follows:
[0059] in, and The data measures wind speed and altitude at different altitudes. and Wind speed and height at the wheel hub height; The wind shear index.
[0060] Simultaneously, it provides frequency distribution statistics for wind speed and wind energy density. Using a wind speed interval of 1 m / s, the system statistically analyzes the frequency of wind speed and the proportion of wind energy density within different wind speed intervals, and displays the frequency distribution of wind speed and wind energy in a bar chart. The obtained parameters, along with the above statistical results, are written into the project-level shared state for use by the intelligent agent in the wind turbine selection section to calculate annual power generation.
[0061] For engineering documents, firstly, full-text recognition is performed on PDF or Word documents to output structured text containing the location information of text, tables, and graphics; then, a large language model is guided by professional domain prompts to extract key engineering parameters (including foundation bearing capacity, seismic intensity, design flood level, wave height, etc.) from the structured text. The extraction results also record the page number location information in the original document, supporting traceability and verification.
[0062] Step S103: Write the structured engineering parameters into the project-level shared state, and perform field-level conflict detection during the writing process.
[0063] A field registry is used to uniformly manage write permissions and conflict handling strategies for each field in the project-level shared state. The field registry pre-records the chapter to which each field belongs (i.e., the chapter agent with write permissions) and the readable scope of each chapter.
[0064] The process of performing field-level conflict detection during the write operation is as follows: First, the system verifies whether the writer has write permissions for the field; if not, the write operation is rejected. If permissions are granted, the current value of the field and its metadata are read. If the newly written value is inconsistent with the current value, a conflict record is generated, and a conflict notification containing a comparison of the old and new values, a comparison of the source chapters, and suggested resolution strategies is pushed to the user. The user can choose to adopt the newly written value, retain the current value, or manually specify a value. After the user makes a decision, the final write operation is completed, and a version counter (used for optimistic locking control of concurrent writes) is incremented. Each field write operation also records metadata including the source chapter identifier, update time, and data source type. Conflict records (including old and new values and source information) are appended to the conflict log to provide a basis for subsequent auditing and tracing.
[0065] The field metadata recording mechanism of this invention retains the complete write history of each project parameter (including source chapter, data source type, write time, etc.), and the conflict detection conflict log mechanism fully retains the old and new values and source information at the time of each conflict, meeting the auditing and traceability requirements of project documents. The audit query response time is reduced from several hours of manually reviewing documents to seconds.
[0066] In some optional embodiments, in addition to comparing the old and new values of the same field, a predefined cross-field engineering constraint rule base is used (e.g., total installed capacity = single unit capacity × number of units; annual power generation ≤ total installed capacity × 8760h × capacity coefficient). Whenever any engineering parameter field is written, it automatically checks whether all relevant constraints are simultaneously satisfied under the current shared state; when a constraint is violated, the user is shown the violated parameter combination and recommended correction suggestions, thus elevating conflict detection from single-field value comparison to multi-field joint consistency verification, which can discover cross-parameter logical contradictions that cannot be discovered by single-field comparison alone.
[0067] In some alternative embodiments, for non-numerical descriptive engineering parameters (such as geological condition descriptions, environmental impact conclusions, etc.), string equality comparison cannot effectively identify semantic conflicts. The old and new parameter values are converted into semantic vectors through an embedding model, and the cosine similarity of the vectors is calculated. When the similarity is lower than a preset threshold, it is considered a potential conflict, triggering a conflict notification and displaying a comparison of the two descriptions, thus extending the conflict detection capability to natural language descriptive parameters.
[0068] Step S104: Receive the report generation instruction. Before executing the inference task, the chapter agent automatically reads the written engineering parameters from the project-level shared state, and generates a structured chapter report draft using a hybrid strategy that combines fixed template rendering with a large language model. After user confirmation, it is frozen as the confirmed version.
[0069] Once the agent in the current chapter has written the engineering parameters into the project-level shared state, the agents in subsequent chapters will automatically read the required parameters from the shared state before executing inference tasks, without requiring the user to provide them again. This automatic cross-chapter data reuse mechanism not only avoids the tedious operation of users repeatedly entering the same parameters, but also ensures that the source of shared parameters used in each chapter is consistent, thus guaranteeing the consistency of cross-chapter data from a technical perspective.
[0070] When the upstream chapter agent modifies the written shared parameters, the system automatically identifies all downstream chapters that reference the parameter by using the parameter dependency relationship between chapters recorded in the field registry. If the downstream chapter has already completed the calculation based on the old value or generated a report draft, the system inserts an alarm label in the report content of the corresponding chapter to prompt the user that the upstream parameter on which the chapter depends has changed and suggests re-triggering the calculation or regenerating the report. The user then decides whether to perform the update.
[0071] As one implementation method, such as Figure 7 As shown, in the process of generating draft chapter reports using a hybrid strategy combining fixed template rendering and a large language model, for parametric content (such as wind turbine equipment parameter tables, investment item summary tables, etc.), structured data is directly rendered using a fixed format template; for narrative content (such as wind energy resource evaluation conclusions, regional overview descriptions, etc.), structured engineering parameters are used as input, and the large language model is called to generate professional narrative text that conforms to engineering report specifications; for uploaded engineering charts, they are embedded in the report by reference. After the draft is generated, the front end provides a document editor that allows users to directly modify and regenerate at the paragraph level; after user confirmation, the chapter report is frozen as the confirmed version.
[0072] The large language model connects to Alibaba's Qwen3 series large models through LangChain's OpenAI compatible interface. The tools can be configured to call the model and generate reports according to the business needs of each chapter. It also supports the access of DeepSeek and locally deployed models.
[0073] In some alternative embodiments, historical wind power project proposals are pre-collected and, after segmentation and vectorization, a professional corpus vector database is constructed. During report generation, the key engineering parameters of the current project are used as the retrieval query. Corresponding chapters of similar historical cases are retrieved from the corpus as reference context. The large language model then generates a draft report under the constraints of this reference context and the current project parameters. This alternative approach, by incorporating knowledge from historical engineering cases, enhances the professional standardization of the generated content in terms of industry terminology and logical argumentation, and can be used in combination with the template rendering mechanism of the main solution.
[0074] In some alternative embodiments, the report generation process is broken down into two stages: In the first stage, the large language model generates a structured outline (including a list of key arguments and necessary parameter references for each paragraph) based on engineering parameters; in the second stage, the outline is expanded paragraph by paragraph, with each expanded paragraph strictly referencing the pre-defined arguments and parameters in the outline to prevent content deviation. The outline allows users to confirm or modify each paragraph before triggering the corresponding paragraph expansion, providing a more granular user intervention point than paragraph-level regeneration.
[0075] Step S105: Assemble the contents of all chapters in the confirmed version into a complete document according to the standard chapter structure and export it.
[0076] After the draft reports for each chapter are confirmed by the user, the system enters the merging and exporting stage: following the standard chapter structure of a wind power project proposal, the system reads the confirmed report content of each chapter in sequence, inserts a cover, table of contents and appendix, assembles it into a complete proposal document, and exports it in PDF or editable Word format.
[0077] In this embodiment, the backend uses FastAPI to build an asynchronous Web API and accesses MongoDB through Motor asynchronous driver; the frontend uses Vue 3 to build the user interface and integrates the ECharts online document editor data visualization component.
[0078] like Figure 2 As shown, the automatic generation device for wind power project proposals based on persistent sharing provided in this embodiment of the invention can be implemented in software. The automatic generation device for wind power project proposals based on persistent sharing includes the following software modules: Initialization module 201 is used to initialize the corresponding persistently bound chapter smart agent for each chapter of the project proposal to be generated, and load the professional toolset exclusive to the corresponding chapter; at the same time, it initializes the unique project-level shared state. The multimodal processing module 202 is used to perform multimodal fusion processing on the received engineering data using the intelligent agents of each chapter to obtain structured engineering parameters; The shared state writing module 203 is used to write structured engineering parameters into the project-level shared state and perform field-level conflict detection during the writing process. The report draft generation module 204 is used to receive report generation instructions. Before executing the reasoning task, the chapter agent automatically reads the written engineering parameters from the project-level shared state and generates a structured chapter report draft using a hybrid strategy that combines fixed template rendering with a large language model. After user confirmation, it is frozen as the confirmed version. The complete report generation module 205 is used to assemble the content of all chapters in the confirmed version into a complete document according to the standard chapter structure and export it.
[0079] It should be noted that each module in the wind power project proposal automatic generation device based on persistent sharing in the embodiments of the present invention corresponds one-to-one with each step in the wind power project proposal automatic generation method based on persistent sharing in the above embodiments, and their specific implementation processes are the same, so they will not be repeated here.
[0080] The structure of the electronic device according to an embodiment of the present invention will be described in detail below. Figure 3 This is a schematic diagram of the composition structure of an electronic device provided in an embodiment of the present invention. It can be understood that... Figure 3 The diagram shows only an exemplary structure of the electronic device, not the entire structure. Some or all of the structures shown may be implemented as needed.
[0081] The electronic device provided in this embodiment of the invention includes: at least one processor 301, a memory 302, a user interface 303, and at least one network interface 304. The various components in the persistent sharing-based automatic generation device for wind power project proposals are coupled together via a bus system 305. It is understood that the bus system 305 is used to realize the connection and communication between these components. In addition to a data bus, the bus system 305 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 3 The general designated all buses as Bus System 305.
[0082] The user interface 303 may include a monitor, keyboard, mouse, trackball, click wheel, buttons, touchpad, or touch screen.
[0083] It is understood that memory 302 can be volatile memory or non-volatile memory, or both. In this embodiment of the invention, memory 302 is capable of storing data to support the operation of the terminal. Examples of this data include any computer programs used to operate on the terminal, such as operating systems and applications. The operating system includes various system programs, such as framework layers, core library layers, driver layers, etc., used to implement various basic services and handle hardware-based tasks. Applications can include various applications.
[0084] In some embodiments, the automatic generation device for wind power project proposals based on persistent sharing provided in this invention can be implemented using a combination of hardware and software. As an example, the automatic generation device for wind power project proposals based on persistent sharing provided in this invention can be a processor in the form of a hardware decoding processor, programmed to execute the automatic generation method for wind power project proposals based on persistent sharing provided in this invention. For example, the processor in the form of a hardware decoding processor can employ one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0085] As an example, processor 301 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., wherein the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0086] As an example of the hardware implementation of the wind power project proposal automatic generation device based on persistent sharing provided in this embodiment of the invention, the device provided in this embodiment of the invention can be directly executed by a processor 301 in the form of a hardware decoding processor. For example, it can be executed by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components to implement the wind power project proposal automatic generation method based on persistent sharing provided in this embodiment of the invention.
[0087] The memory 302 in this embodiment of the invention is used to store various types of data to support the operation of the wind power project proposal automatic generation device based on persistent sharing, or to store data for execution. Figure 1The program code for the method shown. Examples of this data include: any executable instructions for operation on the persistent sharing-based automatic wind power project proposal generation device, such as executable instructions that can be included in the executable instructions, implementing the persistent sharing-based automatic wind power project proposal generation method of this embodiment of the invention.
[0088] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including functions for executing... Figure 1 The program code for the method shown. In such an embodiment, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by the central processing unit, it performs the various functions defined in the apparatus of this application.
[0089] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations 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, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0090] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for automatically generating wind power project proposals based on persistent sharing, characterized in that, include: Initialize the corresponding persistently bound chapter smart agent for each chapter of the project proposal to be generated, and load the corresponding chapter-specific professional toolset; Simultaneously initialize a unique project-level shared state; The received engineering data is processed by the intelligent agents in each chapter to obtain structured engineering parameters. Structured engineering parameters are written to the project-level shared state, and field-level conflict detection is performed during the writing process. Upon receiving the report generation instruction, the chapter agent automatically reads the written engineering parameters from the project-level shared state before executing the inference task, and generates a structured chapter report draft using a hybrid strategy that combines fixed template rendering with a large language model. After user confirmation, the draft is frozen as the confirmed version. Assemble the content of all chapters in the confirmed version into a complete document according to the standard chapter structure and export it.
2. The method for automatically generating wind power project proposals based on persistent sharing as described in claim 1, characterized in that, Each chapter corresponds one-to-one with a chapter agent. Each chapter agent independently maintains its corresponding dialogue-level state to store the message history and temporary calculation results of the corresponding chapter, and the chapters are completely isolated from each other.
3. The method for automatically generating wind power project proposals based on persistent sharing as described in claim 2, characterized in that, The project-level shared state uniformly stores engineering parameters that flow across chapters, and all chapter agents can read and write to it; the dialogue-level state of each chapter agent and the project-level shared state are both persistently stored. When a user re-enters any chapter at different times or in different sessions, the most recent dialogue history and intermediate calculation results of the corresponding chapter agent are automatically restored from the persistent storage, enabling breakpoint continuation. Or / and when expanding, simply define a new chapter agent for the new chapter and register the corresponding toolset.
4. The method for automatically generating wind power project proposals based on persistent sharing as described in claim 1, characterized in that, In the process of using the intelligent agents of each chapter to perform multimodal fusion processing on the received engineering data, each intelligent agent of the chapter adopts the reasoning-action loop mode. By calling the professional toolset of its respective chapter, it parses, calculates and transforms the received engineering data into structured engineering parameters.
5. The method for automatically generating wind power project proposals based on persistent sharing as described in claim 1, characterized in that, The process of performing field-level conflict detection during the write operation is as follows: First, verify whether the writer has write permission for the field. If not, refuse to write. If the writer has permission, read the current value of the field and its metadata. If the new value is inconsistent with the current value, generate a conflict record and push a conflict notification to the user that includes a comparison of the old and new values, a comparison of the source chapters, and a suggested resolution strategy. The user can choose to use the new value, retain the current value, or manually specify a value. After the user makes a decision, the final write is completed, and the version counter is incremented. Each field write also records metadata including the source chapter identifier, update time and data source type. Conflict records are appended to the conflict log to provide a basis for subsequent auditing and tracing.
6. The method for automatically generating wind power project proposals based on persistent sharing as described in claim 1, characterized in that, When the upstream chapter agent corrects the written shared parameters, it automatically identifies all downstream chapters that reference the parameter by using the parameter dependency relationship between chapters recorded in the field registry. If the downstream chapter has already completed the calculation based on the old value or generated a report draft, an alarm label is inserted in the report content of the corresponding chapter to prompt the user that the upstream parameter on which the chapter depends has changed, and it is recommended to re-trigger the calculation or regenerate the report. The user decides whether to perform the update.
7. The method for automatically generating wind power project proposals based on persistent sharing as described in claim 1, characterized in that, In the process of generating chapter report drafts using a hybrid strategy that combines fixed template rendering with a large language model, for parametric content, structured data is directly rendered using a fixed format template; for narrative content, structured engineering parameters are used as input, and a large language model is called to generate professional narrative text that conforms to engineering report specifications; and for uploaded engineering charts, they are embedded in the report by reference.
8. An automatic generation device for wind power engineering project proposals based on persistent sharing, characterized in that, The method for automatically generating wind power project proposals based on persistent sharing, as described in any one of claims 1-7, includes: The initialization module is used to initialize the corresponding persistently bound chapter smart agents for each chapter of the project proposal to be generated, and load the professional toolset specific to each chapter; at the same time, it initializes the unique project-level shared state. The multimodal processing module is used to perform multimodal fusion processing on the received engineering data using the intelligent agents in each chapter to obtain structured engineering parameters; The shared state writing module is used to write structured engineering parameters into the project-level shared state, and performs field-level conflict detection during the writing process. The report draft generation module is used to receive report generation instructions. Before executing the inference task, the chapter agent automatically reads the written engineering parameters from the project-level shared state and generates a structured chapter report draft using a hybrid strategy that combines fixed template rendering with a large language model. After user confirmation, it is frozen as the confirmed version. The complete report generation module is used to assemble the content of all chapters in the confirmed version into a complete document according to the standard chapter structure and export it.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps in the method for automatically generating wind power project proposals based on persistent sharing as described in any one of claims 1-7.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the program, it implements the steps in the method for automatically generating wind power project proposals based on persistent sharing as described in any one of claims 1-7.
