A power grid disaster prevention scheme evaluation method and device based on marginal utility fitting
By constructing a disaster prevention cost prediction model based on the LightGBM model and a joint probability distribution model of the Copula function, the problem of low data processing efficiency in the evaluation of power grid disaster prevention schemes is solved, and efficient and accurate evaluation of power grid disaster prevention schemes and selection of the optimal scheme are realized.
Patent Information
- Application Number
- CN202611220508.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-12
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies are unable to accurately quantify the marginal utility of disaster prevention investment in power grid projects, and cannot effectively capture the nonlinear step characteristics of construction costs and process high-dimensional sparse data, resulting in low efficiency in evaluating power grid disaster prevention schemes.
A disaster prevention cost prediction model based on the LightGBM model is adopted. Data processing is carried out by combining the mutually exclusive feature binding algorithm and the depth-limited Leaf-wise strategy. A virtual simulation dataset is constructed and the marginal utility curve is calculated. The joint probability of disaster is modeled by the Copula function, and the comprehensive efficiency is evaluated by the SBM model.
It improves the accuracy and efficiency of power grid disaster prevention scheme assessment, can scientifically quantify the risks of complex disasters, provide accurate incremental cost basis and full life cycle cost analysis, and support the selection of the optimal disaster prevention scheme.
Smart Images

Figure CN123159882A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of disaster prevention and mitigation technology in power grid engineering, and in particular to a method and apparatus for evaluating power grid disaster prevention schemes based on marginal utility fitting. Background Technology
[0002] With the intensification of global climate change, extreme natural disasters such as typhoons, ice storms, and floods are becoming more frequent, posing a severe challenge to the safe operation of power grid facilities. While raising the disaster prevention and mitigation construction standards of power grid projects can effectively enhance the system's disaster resilience, it inevitably leads to a non-linear increase in project costs. Therefore, how to accurately quantify the marginal utility of disaster prevention investment while ensuring the inherent safety of the power grid, and thus seek the optimal defense scheme, has become a core problem that urgently needs to be solved in the lean management of power grid project costs. However, when conducting such assessments, existing technologies mostly use traditional statistical methods such as least squares or multinomial regression to fit the relationship curve between defense level and project cost. This modeling method based on the smoothing assumption is difficult to adapt to the complex characteristics of power grid projects.
[0003] The limitations of existing technologies are mainly reflected in their insufficient ability to capture the nonlinear step characteristics of construction costs and their low efficiency in processing high-dimensional sparse data. The relationship between power grid engineering costs and disaster prevention capabilities is not a simple linear one, but rather exhibits significant physical step characteristics. In addition, power grid engineering involves thousands of bills of materials and complex geographical environments, resulting in extremely high-dimensional and sparsely distributed data features. Traditional neural networks or support vector machines often face bottlenecks such as low training efficiency, high memory consumption, and overfitting when processing this type of tabular data, making it difficult to discover robust cost mapping patterns from limited engineering samples. Summary of the Invention
[0004] This invention provides a method and apparatus for evaluating power grid disaster prevention schemes based on marginal utility fitting, which can improve the accuracy and efficiency of power grid disaster prevention scheme evaluation.
[0005] This invention provides a method for evaluating power grid disaster prevention schemes based on marginal utility fitting, comprising: The environmental characteristic data of the target engineering sample is obtained, and the environmental characteristic data is combined with the values of each disaster prevention standard in the preset disaster prevention standard parameter sequence to obtain a virtual simulation dataset. The virtual simulation dataset is input into a pre-trained disaster prevention cost prediction model for prediction, resulting in a predicted incremental cost sequence. The first derivative is calculated based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence to obtain the marginal utility curve. The predicted incremental cost of each scheme to be evaluated relative to the target project sample is then extracted from the marginal utility curve. The disaster prevention cost prediction model is a LightGBM model trained based on the historical project feature matrix. For any proposed solution to be evaluated, based on historical disaster data and engineering design standards, the joint failure probability of the proposed solution is calculated and the comprehensive loss is quantified. The joint failure probability and the comprehensive loss are input into a pre-built life-cycle cost model for calculation to obtain the expected present value of the risk cost of the proposed solution. The expected present value of the risk cost is then added to the present value of the initial construction cost and operation and maintenance cost of the proposed solution to obtain the expected life-cycle cost of the proposed solution. Using the predicted incremental cost and the expected total life cycle cost as input vectors, and the power supply reliability index, disaster prevention utility value and environmental protection index as output vectors, the input vectors and output vectors of each of the proposed schemes to be evaluated are respectively input into the pre-built SBM model for evaluation, so as to obtain the comprehensive efficiency value of each of the proposed schemes to be evaluated. The evaluation results of the power grid disaster prevention schemes are generated by ranking the schemes to be evaluated based on the comprehensive efficiency value.
[0006] This invention, through the construction of a virtual simulation dataset and the use of a pre-trained LightGBM model to analyze marginal utility curves, can efficiently process historical engineering data while depicting the nonlinear step-like characteristics of power grid engineering costs as disaster prevention standards improve, providing accurate incremental cost basis for scheme comparison. By introducing a joint failure probability and full life cycle risk cost quantification model, it can transform compound disaster risks and economic losses into comparable risk costs. By constructing an evaluation system with incremental cost and full life cycle cost as inputs and multi-dimensional efficiency indicators as outputs, and using the SBM model for solution, it can quantitatively evaluate all alternative schemes from the perspective of comprehensive input-output efficiency. Compared to existing technologies that are difficult to adapt to the complex characteristics of power grid engineering, this application can improve the accuracy and efficiency of power grid disaster prevention scheme evaluation.
[0007] Furthermore, the acquisition of environmental characteristic data of the target engineering sample includes: Historical engineering data of power grid projects are acquired, and feature engineering processing is performed on the historical engineering data to obtain a historical engineering feature matrix; wherein, the historical engineering data includes historical cost data, engineering attribute parameters, and disaster prevention construction standard parameters; Select target project samples from the historical project feature matrix and extract the environmental feature data of the target project samples.
[0008] The embodiments of the present invention ensure that marginal utility analysis is based on a representative engineering environment by selecting typical engineering samples from historical data as a benchmark.
[0009] Furthermore, before inputting the virtual simulation dataset into the pre-trained disaster prevention cost prediction model for prediction, the method further includes: The high-dimensional sparse category features in the historical engineering feature matrix are reduced in dimensionality using a mutually exclusive feature binding algorithm. The historical engineering feature matrix after dimensionality reduction is used as training data. The initial LightGBM model is iteratively trained using a depth-limited Leaf-wise strategy until the LightGBM model reaches the preset convergence condition. The converged LightGBM model is then used as the disaster prevention cost prediction model.
[0010] This invention employs a mutually exclusive feature binding algorithm to process high-dimensional sparse data and applies a depth-limited Leaf-wise strategy to train the LightGBM model. This improves the model's processing efficiency and fitting accuracy for data structures unique to power grid engineering and effectively captures the patterns of sudden cost changes.
[0011] Further, the step of calculating the first derivative based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence to obtain the marginal utility curve includes: Based on the disaster prevention standard parameter sequence and the predicted incremental cost sequence, a cubic spline interpolation function is constructed. The first derivative of the cubic spline interpolation function is used as the marginal utility curve.
[0012] The embodiments of the present invention can transform discrete model prediction results into continuous marginal utility curves by constructing a cubic spline interpolation function based on the prediction sequence and taking its derivative, thereby supporting accurate marginal analysis.
[0013] Furthermore, for any proposed solution to be evaluated, the calculation of the joint failure probability of the proposed solution based on historical disaster data and engineering design standards includes: Based on historical disaster data of the region where the proposed solution is located, the marginal cumulative distribution function of each individual disaster variable is fitted, and based on the marginal cumulative distribution function, a joint probability distribution model of multidimensional disaster variables is constructed using the Copula function; The engineering defense standard of the scheme to be evaluated is input into the joint probability distribution model to calculate the joint failure probability of any one disaster intensity exceeding the engineering defense standard or multiple disaster intensities simultaneously exceeding the engineering defense standard.
[0014] This invention employs a Copula function to construct a multidimensional disaster joint probability distribution model to calculate the joint failure probability. This scientifically quantifies the correlation risk between compound disasters, avoids the underestimation of probability caused by the independent assumption, and makes the risk assessment more realistic.
[0015] Further, the step of inputting the joint failure probability and the comprehensive loss into a pre-constructed life-cycle cost model for calculation to obtain the expected present value of the risk cost of the scheme to be evaluated includes: The product of the joint failure probability and the comprehensive loss of the proposed scheme in each year of the entire life cycle of the project is taken as the expected risk cost for each year. Based on the preset discount rate, the expected risk costs of each item are discounted to the base year and accumulated to obtain the present value of the expected risk costs.
[0016] The embodiments of the present invention, by discounting and accumulating the product of the combined failure probability and the comprehensive loss year by year, can scientifically convert uncertain future disaster risks into current economic costs, providing data support for full life-cycle economic evaluation.
[0017] Further, the step of inputting the input vector and output vector of each of the proposed solutions to be evaluated into a pre-built SBM model for evaluation, and obtaining the comprehensive efficiency value of each of the proposed solutions to be evaluated, includes: The proposed solution to be evaluated is taken as the decision-making unit, and the input vector and output vector of the proposed solution to be evaluated are taken as the input data and output data of the decision-making unit, respectively. The overall efficiency value of each decision unit relative to the efficient frontier is calculated by solving a linear programming problem that aims to minimize input slack variables and output slack variables.
[0018] By treating each scheme as a decision-making unit and solving a linear programming problem that minimizes slack variables, this invention can objectively calculate the comprehensive efficiency value of each scheme relative to the efficient frontier, and realize a quantitative comparison of the relative efficiency between schemes.
[0019] Furthermore, after ranking the various schemes to be evaluated according to the comprehensive efficiency value and generating the power grid disaster prevention scheme evaluation results, the method further includes: The proposed solutions with a comprehensive efficiency value less than 1 are identified as ineffective solutions. The projection points of the inefficient solutions onto the efficient frontier are analyzed, and the inefficient solutions are optimized based on the projection points.
[0020] By identifying ineffective solutions and analyzing their projection points, this invention provides a specific quantitative improvement path for solution optimization.
[0021] Another embodiment of the present invention provides a power grid disaster prevention scheme evaluation device based on marginal utility fitting, including: a virtual simulation dataset module, a predicted incremental cost module, an expected total life cycle cost module, a comprehensive efficiency value module, and a power grid disaster prevention scheme evaluation result module; The virtual simulation dataset module is used to acquire environmental feature data of the target engineering sample, and combine the environmental feature data with the values of each disaster prevention standard in the preset disaster prevention standard parameter sequence to obtain the virtual simulation dataset. The incremental cost prediction module is used to input the virtual simulation dataset into a pre-trained disaster prevention cost prediction model for prediction, obtain a predicted incremental cost sequence, calculate the first derivative based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence, obtain a marginal utility curve, and extract the predicted incremental cost of each scheme to be evaluated relative to the target project sample from the marginal utility curve; wherein, the disaster prevention cost prediction model is a LightGBM model trained based on the historical project feature matrix; The expected life-cycle cost module is used to calculate the joint failure probability and quantify the comprehensive loss of any proposed solution based on historical disaster data and engineering design standards. The joint failure probability and the comprehensive loss are input into a pre-built life-cycle cost model for calculation to obtain the expected present value of the risk cost of the proposed solution. The expected present value of the risk cost is then added to the present value of the initial construction cost and operation and maintenance cost of the proposed solution to obtain the expected life-cycle cost of the proposed solution. The comprehensive efficiency value module is used to input the predicted incremental cost and the expected life cycle cost as input vectors, and the power supply reliability index, disaster prevention utility value and environmental protection index as output vectors, respectively into the pre-built SBM model for evaluation, so as to obtain the comprehensive efficiency value of each of the schemes to be evaluated. The power grid disaster prevention scheme evaluation result module is used to sort each of the schemes to be evaluated according to the comprehensive efficiency value and generate power grid disaster prevention scheme evaluation results.
[0022] Furthermore, before the incremental cost prediction module, there are also: a feature dimensionality reduction submodule and a model training submodule; The feature dimensionality reduction submodule is used to perform dimensionality reduction processing on high-dimensional sparse category features in the historical engineering feature matrix using a mutually exclusive feature binding algorithm. The model training submodule is used to use the dimensionality-reduced historical engineering feature matrix as training data and to iteratively train the initial LightGBM model using a depth-limited Leaf-wise strategy until the LightGBM model reaches the preset convergence condition. The converged LightGBM model is then used as the disaster prevention cost prediction model.
[0023] This invention employs a mutually exclusive feature binding algorithm to process high-dimensional sparse data and applies a depth-limited Leaf-wise strategy to train the LightGBM model. This improves the model's processing efficiency and fitting accuracy for data structures unique to power grid engineering and effectively captures the patterns of sudden cost changes.
[0024] Furthermore, the incremental cost prediction module includes: a cubic spline interpolation function submodule and a marginal utility curve submodule; The cubic spline interpolation function submodule is used to construct a cubic spline interpolation function based on the disaster prevention standard parameter sequence and the predicted incremental cost sequence. The marginal utility curve submodule is used to take the first derivative of the cubic spline interpolation function as the marginal utility curve.
[0025] The embodiments of the present invention can transform discrete model prediction results into continuous marginal utility curves by constructing a cubic spline interpolation function based on the prediction sequence and taking its derivative, thereby supporting accurate marginal analysis.
[0026] Furthermore, the expected lifecycle cost module includes: a joint probability distribution model submodule and a joint failure probability submodule; The joint probability distribution model submodule is used to fit the marginal cumulative distribution function of each individual disaster variable based on the historical disaster data of the area where the scheme to be evaluated is located, and to construct a joint probability distribution model of multidimensional disaster variables using the Copula function based on the marginal cumulative distribution function. The joint failure probability submodule is used to input the engineering defense standard of the scheme to be evaluated into the joint probability distribution model to calculate the joint failure probability of any one disaster intensity exceeding the engineering defense standard or multiple disaster intensities simultaneously exceeding the engineering defense standard.
[0027] This invention employs a Copula function to construct a multidimensional disaster joint probability distribution model to calculate the joint failure probability. This scientifically quantifies the correlation risk between compound disasters, avoids the underestimation of probability caused by the independent assumption, and makes the risk assessment more realistic.
[0028] Furthermore, the expected lifecycle cost module also includes: an expected risk cost submodule and an expected risk cost present value submodule; The expected risk cost submodule is used to take the product of the joint failure probability and the comprehensive loss of the scheme to be evaluated in each year of the entire life cycle of the project as the expected risk cost for each year. The expected risk cost present value submodule is used to discount each expected risk cost to a base year and accumulate them according to a preset discount rate to obtain the expected risk cost present value.
[0029] The embodiments of the present invention, by discounting and accumulating the product of the combined failure probability and the comprehensive loss year by year, can scientifically convert uncertain future disaster risks into current economic costs, providing data support for full life-cycle economic evaluation.
[0030] Furthermore, the comprehensive efficiency value module includes: a decision-making unit submodule and a comprehensive efficiency value submodule; The decision unit submodule is used to take the scheme to be evaluated as a decision unit, and to take the input vector and output vector of the scheme to be evaluated as the input data and output data of the decision unit, respectively. The comprehensive efficiency value submodule is used to calculate the comprehensive efficiency value of each decision unit relative to the efficient frontier by solving a linear programming problem with the objective of minimizing input slack variables and output slack variables.
[0031] By treating each scheme as a decision-making unit and solving a linear programming problem that minimizes slack variables, this invention can objectively calculate the comprehensive efficiency value of each scheme relative to the efficient frontier, and realize a quantitative comparison of the relative efficiency between schemes.
[0032] Another embodiment of the present invention provides a terminal device, including: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the steps of the power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in the present invention.
[0033] Another embodiment of the present invention provides a computer-readable storage medium item, including: a stored computer program, which, when the computer program is running, controls the device where the computer-readable storage medium is located to perform the steps of a power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in the present invention. Attached Figure Description
[0034] Figure 1 This is a flowchart illustrating an embodiment of the power grid disaster prevention scheme evaluation method based on marginal utility fitting provided by the present invention. Figure 2 A schematic flowchart of an embodiment of the marginal utility curve generation method provided by the present invention; Figure 3A flowchart illustrating one embodiment of the expected lifecycle cost calculation method provided by the present invention; Figure 4 A flowchart illustrating one embodiment of the power grid disaster prevention scheme comparison and selection method provided by the present invention; Figure 5 This is a flowchart illustrating another embodiment of the power grid disaster prevention scheme evaluation method based on marginal utility fitting provided by the present invention. Figure 6 This is a schematic diagram of an embodiment of the power grid disaster prevention scheme evaluation device based on marginal utility fitting provided by the present invention. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0036] Unless otherwise defined, 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 application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.
[0037] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.
[0038] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0039] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0040] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).
[0041] See Figure 1 To address the problem that existing technologies are ill-suited to the complex characteristics of power grid engineering, an embodiment of the present invention provides a power grid disaster prevention scheme evaluation method based on marginal utility fitting, including steps S101 to S105: Step S101: Obtain environmental feature data of the target engineering sample, and combine the environmental feature data with the values of each disaster prevention standard in the preset disaster prevention standard parameter sequence to obtain a virtual simulation dataset.
[0042] It should be noted that obtaining environmental characteristic data of the target engineering sample and combining this data with the values of various disaster prevention standards in a preset disaster prevention standard parameter sequence to obtain a virtual simulation dataset involves: selecting a representative typical engineering sample from historical engineering data as a benchmark, keeping its environmental characteristic data such as terrain, geology, and voltage level unchanged, and simultaneously setting a disaster prevention standard value sequence that gradually increases from low to high. The locked environmental characteristic data is then recombined with each disaster prevention standard value in this sequence to generate multiple sets of virtual engineering data. All of these virtual engineering data together constitute the virtual simulation dataset. This virtual simulation dataset is subsequently input into a disaster prevention cost prediction model to analyze the cost response pattern caused solely by changes in disaster prevention standards under the same engineering environment.
[0043] Preferably, the acquisition of environmental characteristic data of the target engineering sample includes: Historical engineering data of power grid projects are acquired, and feature engineering processing is performed on the historical engineering data to obtain a historical engineering feature matrix; wherein, the historical engineering data includes historical cost data, engineering attribute parameters, and disaster prevention construction standard parameters; Select target project samples from the historical project feature matrix and extract the environmental feature data of the target project samples.
[0044] In one embodiment, the feature engineering process steps are as follows: Figure 2As shown in 1.1 and 1.2, specifically: historical cost data, engineering attribute parameters, and disaster prevention construction standard parameters of power grid projects are obtained as historical engineering data, and feature cleaning and classification operations are performed on the historical engineering data to classify it into numerical features (such as design wind speed). Or the thickness of the ice layer (etc.) and category-type characteristics (such as voltage level) or geological features (etc.). Normalization is performed on numerical features to eliminate dimensional differences, and encoding is performed on categorical features to achieve digital mapping.
[0045] In one embodiment, the steps for constructing the virtual simulation dataset are as follows: Figure 2 As shown in section 3.1, specifically: a representative target project sample is selected from the historical project feature matrix. Lock in the environmental feature data of this sample. (For factors such as terrain, geology, and voltage levels) Keep the values unchanged, while setting a disaster prevention standard parameter sequence that covers the disaster prevention capability definition domain. (For example, the design wind speed is set at a preset step size from 20m / s) Gradually increase to 60 m / s). Lock environmental characteristic data. With disaster prevention standard parameter sequence Each disaster prevention standard value in the data is recombined to generate... The feature vectors of the virtual engineering projects are aggregated to form a virtual simulation dataset for analyzing cost trends. .
[0046] Step S102: Input the virtual simulation dataset into the pre-trained disaster prevention cost prediction model for prediction to obtain the predicted incremental cost sequence. Calculate the first derivative based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence to obtain the marginal utility curve. Extract the predicted incremental cost of each scheme to be evaluated relative to the target project sample from the marginal utility curve. The disaster prevention cost prediction model is a LightGBM model trained based on the historical project feature matrix.
[0047] It should be noted that inputting the virtual simulation dataset into a pre-trained disaster prevention cost prediction model to obtain the predicted incremental cost sequence means: Each set of virtual project feature vectors from the virtual simulation dataset is sequentially input into the trained and converged disaster prevention cost prediction model, which outputs the predicted total project cost corresponding to each set of virtual project feature vectors; the difference between each predicted total project cost and the predicted total cost of the benchmark scheme is calculated to obtain the incremental cost relative to the benchmark scheme under that disaster prevention standard; the incremental costs corresponding to all disaster prevention standard values together constitute the predicted incremental cost sequence. This sequence reflects the trajectory of project cost increase as disaster prevention standards rise in a fixed engineering environment.
[0048] Preferably, before inputting the virtual simulation dataset into the pre-trained disaster prevention cost prediction model for prediction, the method further includes: The high-dimensional sparse category features in the historical engineering feature matrix are reduced in dimensionality using a mutually exclusive feature binding algorithm. The historical engineering feature matrix after dimensionality reduction is used as training data. The initial LightGBM model is iteratively trained using a depth-limited Leaf-wise strategy until the LightGBM model reaches the preset convergence condition. The converged LightGBM model is then used as the disaster prevention cost prediction model.
[0049] In one embodiment, the feature dimensionality reduction steps are as follows: Figure 2 As shown in sections 1.3 and 1.4, specifically: for high-dimensional sparse material selection features (such as discrete (category) data of specific equipment, material specifications, models, and technical parameters in engineering projects, such as tower structure or conductor cross-sectional area), the mutually exclusive feature binding algorithm (EFB) is used to bind mutually exclusive non-zero value features into a single dense feature. The processed feature vector is then matched with the corresponding actual incremental cost label. By performing correlation, a historical project feature matrix containing complete project information is generated. .
[0050] In one embodiment, the model training steps are as follows: Figure 2 As shown in 2.1, 2.2, and 2.3, specifically, the historical engineering feature matrix is... Using the input data, a LightGBM gradient boosting regression model is constructed. The goal of model training is to find an approximate function. To minimize the objective function In the first In this iteration, for a given sample The objective function is approximated by a second-order Taylor expansion as follows: ; in, and Loss functions Regarding the first and second gradients of the current predicted value. For a regression task, using the mean squared error (MSE) as the loss function, the gradient is defined as: .
[0051] Furthermore, a gradient-based one-sided sampling algorithm (GOSS) is used for sample sampling. During model training iterations, high-error samples with absolute gradient values greater than a preset threshold are retained. These high-error samples correspond to engineering cases with large cost prediction deviations. Low-error samples with absolute gradient values less than the preset threshold are randomly downsampled. When calculating the gain, low-error samples are given amplification weights to reduce computational load while ensuring the model's sensitivity to cost abrupt changes.
[0052] Furthermore, a depth-constrained leaf-wise growth strategy is employed for iterative tree splitting. At each split, all current leaf nodes are traversed, and the split gain is calculated. Always choose The largest node is split. The calculation logic for its node split gain follows the following formula: ; in, and These represent the sample index sets of the left and right child nodes after the split, respectively; This represents the set of parent node sample indices before the split; and They represent the loss function with respect to the th The first-order gradient statistic and the second-order gradient statistic for each sample; Represents the regularization parameter; This represents the minimum gain threshold for node splitting. The model is trained iteratively until it converges, outputting the disaster prevention cost prediction model. .
[0053] It should be noted that calculating the first derivative based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence to obtain the marginal utility curve, and extracting the predicted incremental cost of each scheme to be evaluated relative to the target project sample from the marginal utility curve, means: constructing a discrete mapping relationship reflecting the change of project cost with the improvement of disaster prevention standards, with the disaster prevention standard parameter sequence as the abscissa and the predicted incremental cost sequence as the ordinate; to solve the problem of non-differentiability of the tree model output, cubic spline interpolation is performed on the discrete point set to obtain a continuously differentiable cost-standard function; the first derivative of this function is obtained to obtain a marginal utility curve reflecting the instantaneous rate of change of cost caused by the unit improvement of disaster prevention standards; for any scheme to be evaluated, according to its set disaster prevention standard value, the total cost prediction value corresponding to the disaster prevention standard value is read from the original function corresponding to the marginal utility curve, and the total cost prediction value of the benchmark scheme is subtracted. The difference between the two is the predicted incremental cost of the scheme to be evaluated.
[0054] Preferably, the step of calculating the first derivative based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence to obtain the marginal utility curve includes: Based on the disaster prevention standard parameter sequence and the predicted incremental cost sequence, a cubic spline interpolation function is constructed. The first derivative of the cubic spline interpolation function is used as the marginal utility curve.
[0055] In one embodiment, the steps for generating the marginal utility curve are as follows: Figure 2 As shown in sections 3.2 and 3.3, specifically: the virtual simulation dataset is input in batches into the disaster prevention cost prediction model for prediction. Since the disaster prevention standards in the virtual dataset increase in very small increments (e.g., 0.1 m / s), the model outputs a high-density sequence of predicted incremental costs. At this point, these discrete point sets It accurately reflects the step-like trajectory of cost changes with disaster prevention standards learned by the LightGBM model.
[0056] Furthermore, to address the issue of non-differentiable (step-like) output from tree models, instead of employing smoothing filters that destroy data features, a method based on discrete point sets is used. Constructing a cubic spline interpolation function The cubic spline interpolation function in each adjacent data interval The above is defined as a cubic polynomial, ensuring that the curve passes through every predicted point and that the first and second derivatives are continuous at the connection points. Interval The function expression on is: ; in, , , and To ensure that the coefficients obtained by solving the tridiagonal matrix equations are... and This step transforms the discrete predictions from machine learning into mathematically analytical continuous functions.
[0057] Furthermore, based on the reconstructed cubic spline interpolation function Marginal utility can be calculated directly through analytical differentiation. Marginal utility curve. Defined as the first derivative of the cost function with respect to the disaster prevention standard: .
[0058] Step S103: For any scheme to be evaluated, based on historical disaster data and engineering design standards, calculate the joint failure probability of the scheme to be evaluated and quantify the comprehensive loss. Input the joint failure probability and the comprehensive loss into a pre-built life cycle cost model for calculation to obtain the expected present value of the risk cost of the scheme to be evaluated. Add the expected present value of the risk cost to the present value of the initial construction cost and operation and maintenance cost of the scheme to be evaluated to obtain the expected life cycle cost of the scheme to be evaluated.
[0059] It should be noted that, for any proposed solution, calculating the joint failure probability and quantifying the comprehensive loss based on historical disaster data and engineering design standards involves: acquiring historical observation data on multiple types of disasters such as wind speed, rainfall, and icing for the region where the proposed solution is located, and fitting marginal probability distribution functions for each individual disaster variable; constructing a joint probability distribution model among multiple disaster variables using a Copula function to characterize the correlation structure between different disasters; inputting the engineering design standards of the proposed solution as a threshold into the joint probability distribution model to calculate the probability of a composite event where the intensity of any single disaster exceeds the design standard or the intensity of multiple disasters simultaneously exceeds the design standard, which is the joint failure probability; simultaneously, based on the engineering attributes and market price information of the proposed solution, assessing the direct repair or replacement cost required for equipment damage caused by the disaster as the direct engineering loss; and calculating the indirect socio-economic loss caused by power outage through a user power outage loss function based on the affected load, power outage duration, and unit power outage loss coefficient; and adding the direct engineering loss and the indirect socio-economic loss to obtain the comprehensive loss under a single disaster event.
[0060] Preferably, for any scheme to be evaluated, calculating the joint failure probability of the scheme to be evaluated based on historical disaster data and engineering design standards includes: Based on historical disaster data of the region where the proposed solution is located, the marginal cumulative distribution function of each individual disaster variable is fitted, and based on the marginal cumulative distribution function, a joint probability distribution model of multidimensional disaster variables is constructed using the Copula function; The engineering defense standard of the scheme to be evaluated is input into the joint probability distribution model to calculate the joint failure probability of any one disaster intensity exceeding the engineering defense standard or multiple disaster intensities simultaneously exceeding the engineering defense standard.
[0061] In one embodiment, the steps for calculating the joint failure probability are as follows: Figure 3 As shown in sections 1.1, 1.2, and 1.3, the specific steps are as follows: Obtain historical disaster data of various types for the area where the proposed assessment is located as the basic input data, including long-term series observations of key disaster intensities such as wind speed, icing thickness, and rainfall. Considering that extreme value data of natural disasters typically exhibit significant "heavy tails," it is assumed that each individual disaster variable follows a generalized extreme value distribution (GEV), and the location parameters are calculated from the historical data using the maximum likelihood estimation method. Scale parameters and shape parameters Thus, the marginal cumulative distribution function of a single disaster variable is fitted. : .
[0062] Furthermore, given the complex nonlinear correlations often existing between different types of disasters (e.g., extreme winds are often accompanied by extreme rainfall), simply superimposing marginal probabilities can lead to assessment biases. Therefore, this invention, based on Sklar's theorem, introduces the Gumbel-Hougaard Copula function from the Archimedesian Copula family to construct a joint distribution model of multidimensional disaster variables. This function has a good ability to capture correlations and can accurately describe the probability structure of the simultaneous occurrence of multiple disasters. Its function expression is: ; in, and The value of the marginal distribution function; The relevant parameters characterize the degree of coupling between disasters and can be estimated using the Kendall rank correlation coefficient.
[0063] Furthermore, the project's fortification standard thresholds (such as design wind speed) will be set. And design ice thickness Substitute these values into the joint distribution model. Based on the inclusion-exclusion principle in probability theory, calculate the joint failure probability of any single hazard intensity exceeding the engineering design standard, or of multiple hazard intensities simultaneously exceeding the engineering design standard. : .
[0064] In one embodiment, the steps of comprehensive loss quantization are as follows: Figure 3 As shown in sections 2.1, 2.2, and 2.3, specifically: based on project attribute data (such as tower type, conductor specifications, and foundation type) and market price information, the cost of repairing or rebuilding the project after disaster damage is estimated using the quota method or replacement cost method, i.e., the direct loss ( Based on socioeconomic data (such as regional load characteristics, user types, and output value per unit of electricity), assess the cascading impacts of power supply interruptions caused by engineering failures on users and the socioeconomic situation, i.e., indirect losses. This invention calculates the total indirect loss based on a user power outage loss function, the formula of which is as follows: ; in, For the first The load on affected users; For the first The average duration of power outage for affected users; For the first Value coefficient of unit power loss (or estimated value of power outage loss) for affected users. This represents the total number of affected user categories. The total loss for a single risk event is obtained by adding direct and indirect losses. .
[0065] It should be noted that the expected life-cycle cost of the proposed scheme is calculated by inputting the combined failure probability and the comprehensive loss into a pre-built life-cycle cost model. The present value of the expected risk cost is then added to the present value of the initial construction cost and operation and maintenance cost of the proposed scheme. The expected life-cycle cost of the proposed scheme is calculated as follows: the product of the combined failure probability and the comprehensive loss for each year within the project's life-cycle is used as the expected risk cost for that year; the expected risk cost for each year is discounted to the project's base year using a preset social benchmark discount rate; the present value of the expected risk cost for each year is accumulated across all years within the life-cycle to obtain the present value of the proposed scheme's expected risk cost; this present value is then added to the initial construction cost of the proposed scheme and the present value of the operation and maintenance cost obtained by discounting the operation and maintenance costs for each year within the life-cycle at the same discount rate. The sum of these three values is the expected life-cycle cost of the proposed scheme.
[0066] Preferably, the step of inputting the joint failure probability and the comprehensive loss into a pre-constructed life-cycle cost model for calculation to obtain the expected present value of the risk cost of the scheme to be evaluated includes: The product of the joint failure probability and the comprehensive loss of the proposed scheme in each year of the entire life cycle of the project is taken as the expected risk cost for each year. Based on the preset discount rate, the expected risk costs of each item are discounted to the base year and accumulated to obtain the present value of the expected risk costs.
[0067] In one embodiment, the steps for calculating the total lifecycle cost are expected to be as follows: Figure 3 As shown in sections 3.1, 3.2, and 3.3, specifically: the concept of life-cycle cost (LCC) is introduced, comprehensively considering the time value of money. This is combined with the project's pre-set service life. (Year) and Social Benchmark Discount Rate The expected risk costs for each year during the project's operation period are discounted to the base year (usually the initial year of project construction) to obtain the present value of the expected risk costs. The calculation formula is as follows: ; Among them, considering factors such as engineering aging and climate change, the combined failure probability and comprehensive losses It may exhibit dynamic changes during the lifespan of the project.
[0068] Furthermore, based on the life-cycle cost integration model, various economic indicators of the engineering project are integrated to obtain the initial construction cost of different defense schemes. And the estimated operating and maintenance costs during the project's operation period. Also using the discount rate. The annual operating and maintenance costs are discounted to the present value of the operating and maintenance costs. ): ; in, For the first The annual operation and maintenance costs. Finally, the initial construction cost, the present value of operation and maintenance costs, and the present value of expected risk costs are summarized to calculate the expected life-cycle cost of the project. As a core indicator for measuring the long-term economic viability of a project, its expression is: .
[0069] Step S104: Using the predicted incremental cost and the expected total life cycle cost as input vectors, and the power supply reliability index, disaster prevention utility value and environmental protection index as output vectors, the input vectors and output vectors of each of the schemes to be evaluated are respectively input into the pre-built SBM model for evaluation, so as to obtain the comprehensive efficiency value of each of the schemes to be evaluated.
[0070] It should be noted that, using the predicted incremental cost and the expected life-cycle cost as input vectors, and the power supply reliability index, disaster prevention utility value, and environmental protection index as output vectors, the input and output vectors of each of the proposed schemes to be evaluated are input into a pre-built SBM model for evaluation. The resulting comprehensive efficiency value for each proposed scheme is obtained by defining each scheme as a decision-making unit, with the predicted incremental cost and expected life-cycle cost of the scheme forming its input vector, and the power supply reliability index, disaster prevention utility value, and environmental protection index forming its output vector. The input and output vectors of all decision-making units are then input into the pre-built super-efficiency SBM (Slacks-Based). In the Measure model, the model constructs and solves a linear programming problem with the goal of minimizing input slack variables and output slack variables. It calculates the distance of each decision unit relative to the efficient frontier formed by all decision units. The reciprocal of this distance is the comprehensive efficiency value of each scheme to be evaluated. This efficiency value reflects the relative level of the multidimensional comprehensive benefits that the scheme can achieve under a given economic input. The higher the efficiency value, the better the technical and economic comprehensive effectiveness of the scheme.
[0071] Preferably, the step of inputting the input vector and output vector of each of the proposed solutions to be evaluated into a pre-constructed SBM model for evaluation to obtain the comprehensive efficiency value of each proposed solution includes: The proposed solution to be evaluated is taken as the decision-making unit, and the input vector and output vector of the proposed solution to be evaluated are taken as the input data and output data of the decision-making unit, respectively. The overall efficiency value of each decision unit relative to the efficient frontier is calculated by solving a linear programming problem that aims to minimize input slack variables and output slack variables.
[0072] In one embodiment, the steps for calculating the overall efficiency value are as follows: Figure 4 As shown in 1.1, 1.2, 1.3, 2.1, and 2.2, specifically: for the scheme to be evaluated... Its predicted incremental construction cost is denoted as Its expected total lifecycle cost is denoted as The predicted incremental cost and expected life-cycle cost are combined into an input vector. .
[0073] Furthermore, regarding the scheme to be evaluated Its power supply reliability index is marked as This indicator is the combined failure probability. The closer the complement of the solution is to 1, the stronger the system's survivability under extreme disaster conditions. Its disaster mitigation utility value is denoted as... This indicator, expressed as an integral marginal utility curve or directly output from the LightGBM model, quantifies the actual disaster prevention effectiveness gain brought about by the improvement of defense standards. Its environmental friendliness is indicated by... This indicator, "carbon emission reduction per unit investment," assesses the carbon dioxide emission reduction effect brought about by the adoption of green technologies such as high-strength steel and prefabricated foundations, and normalizes it to the unit cost input. Based on the above three types of indicators, the proposed scheme... The output vector is defined as .
[0074] Furthermore, this invention employs a non-radial, non-angular hyperefficiency SBM model, which directly introduces input slack variables. - and output slack variables It directly measures the "distance" between the decision unit (DMU, i.e., each scheme to be evaluated) and the efficient frontier, and can calculate the super-efficiency value when the efficiency value is greater than 1, thereby achieving a complete ranking of all schemes to be evaluated. For the th The first scheme to be evaluated (i.e., the first...) (one DMU), its superefficiency value This is obtained by solving the following linear programming problem: ; in, and These represent the number of types of inputs and outputs, respectively. and The proposed solutions are as follows: The Item input vector and the first Item output vector; For weight variables; and Let be the slack variables to be solved, representing the redundancy of inputs and the insufficiency of outputs, respectively. The solution obtained... That is, the plan to be evaluated The overall efficiency value, This indicates that the scheme is effective for Data Envelopment Analysis (DEA), and the larger the value, the higher the relative efficiency. This indicates that the solution is not effective under DEA and there is room for improvement.
[0075] Step S105: Sort the various schemes to be evaluated according to the comprehensive efficiency value to generate the power grid disaster prevention scheme evaluation results.
[0076] It should be noted that ranking the proposed schemes based on their comprehensive efficiency values to generate the power grid disaster prevention scheme evaluation results means: arranging the calculated comprehensive efficiency values of all proposed schemes in descending order of value, with the scheme having the highest comprehensive efficiency value being the optimal disaster prevention scheme under the current input-output evaluation system; outputting the ranking results as the power grid disaster prevention scheme evaluation results to guide engineering decisions; for ineffective schemes with a comprehensive efficiency value less than 1, the ranking results can be used to identify the performance gap with the optimal scheme, providing directional basis for subsequent scheme optimization.
[0077] Preferably, after ranking the various schemes to be evaluated according to the comprehensive efficiency value and generating the power grid disaster prevention scheme evaluation results, the method further includes: The proposed solutions with a comprehensive efficiency value less than 1 are identified as ineffective solutions. The projection points of the inefficient solutions onto the efficient frontier are analyzed, and the inefficient solutions are optimized based on the projection points.
[0078] In one embodiment, the steps for generating the power grid disaster prevention scheme evaluation results are as follows: Figure 4 As shown in 2.3, 3.1, 3.2, and 3.3, specifically: after calculating the overall efficiency value of all the schemes to be evaluated... Then, they are sorted from largest to smallest according to their values. The top-ranked solution, which achieves the best overall benefit with the given input, is identified as the best technically and economically designed solution and is recommended for final decision-making.
[0079] Furthermore, for schemes that are not DEA efficient ( The slack variables calculated by it and It has a clear physical meaning. Through projection analysis, the projection point of this scheme on the effective frontier can be found ( Its coordinates are determined by the following formula: ; This projection point provides a precise and quantifiable improvement path for scheme optimization. For example, the analysis results might show: "Scheme A currently has too high an investment. To reach the efficient frontier, its incremental cost can be reduced while maintaining the current safety and utility output." Tens of thousands of yuan may reduce the total life cycle cost. Ten thousand yuan".
[0080] This invention, through the construction of a virtual simulation dataset and the use of a pre-trained LightGBM model to analyze marginal utility curves, can efficiently process historical engineering data while depicting the nonlinear step-like characteristics of power grid engineering costs as disaster prevention standards improve, providing accurate incremental cost basis for scheme comparison. By introducing a joint failure probability and full life cycle risk cost quantification model, it can transform compound disaster risks and economic losses into comparable risk costs. By constructing an evaluation system with incremental cost and full life cycle cost as inputs and multi-dimensional efficiency indicators as outputs, and using the SBM model for solution, it can quantitatively evaluate all alternative schemes from the perspective of comprehensive input-output efficiency. Compared to existing technologies that are difficult to adapt to the complex characteristics of power grid engineering, this application can improve the accuracy and efficiency of power grid disaster prevention scheme evaluation.
[0081] Optionally, in this embodiment of the invention, obtaining the environmental feature data of the target engineering sample includes: Historical engineering data of power grid projects are acquired, and feature engineering processing is performed on the historical engineering data to obtain a historical engineering feature matrix; wherein, the historical engineering data includes historical cost data, engineering attribute parameters, and disaster prevention construction standard parameters; Select target project samples from the historical project feature matrix and extract the environmental feature data of the target project samples.
[0082] The embodiments of the present invention ensure that marginal utility analysis is based on a representative engineering environment by selecting typical engineering samples from historical data as a benchmark.
[0083] Optionally, in this embodiment of the invention, before inputting the virtual simulation dataset into the pre-trained disaster prevention cost prediction model for prediction, the method further includes: The high-dimensional sparse category features in the historical engineering feature matrix are reduced in dimensionality using a mutually exclusive feature binding algorithm. The historical engineering feature matrix after dimensionality reduction is used as training data. The initial LightGBM model is iteratively trained using a depth-limited Leaf-wise strategy until the LightGBM model reaches the preset convergence condition. The converged LightGBM model is then used as the disaster prevention cost prediction model.
[0084] This invention employs a mutually exclusive feature binding algorithm to process high-dimensional sparse data and applies a depth-limited Leaf-wise strategy to train the LightGBM model. This improves the model's processing efficiency and fitting accuracy for data structures unique to power grid engineering and effectively captures the patterns of sudden cost changes.
[0085] Optionally, in this embodiment of the invention, the step of calculating the first derivative based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence to obtain the marginal utility curve includes: Based on the disaster prevention standard parameter sequence and the predicted incremental cost sequence, a cubic spline interpolation function is constructed. The first derivative of the cubic spline interpolation function is used as the marginal utility curve.
[0086] The embodiments of the present invention can transform discrete model prediction results into continuous marginal utility curves by constructing a cubic spline interpolation function based on the prediction sequence and taking its derivative, thereby supporting accurate marginal analysis.
[0087] Optionally, in this embodiment of the invention, calculating the joint failure probability of any proposed solution based on historical disaster data and engineering design standards includes: Based on historical disaster data of the region where the proposed solution is located, the marginal cumulative distribution function of each individual disaster variable is fitted, and based on the marginal cumulative distribution function, a joint probability distribution model of multidimensional disaster variables is constructed using the Copula function; The engineering defense standard of the scheme to be evaluated is input into the joint probability distribution model to calculate the joint failure probability of any one disaster intensity exceeding the engineering defense standard or multiple disaster intensities simultaneously exceeding the engineering defense standard.
[0088] This invention employs a Copula function to construct a multidimensional disaster joint probability distribution model to calculate the joint failure probability. This scientifically quantifies the correlation risk between compound disasters, avoids the underestimation of probability caused by the independent assumption, and makes the risk assessment more realistic.
[0089] Optionally, in this embodiment of the invention, the step of inputting the joint failure probability and the comprehensive loss into a pre-constructed life-cycle cost model for calculation to obtain the expected present value of the risk cost of the scheme to be evaluated includes: The product of the joint failure probability and the comprehensive loss of the proposed scheme in each year of the entire life cycle of the project is taken as the expected risk cost for each year. Based on the preset discount rate, the expected risk costs of each item are discounted to the base year and accumulated to obtain the present value of the expected risk costs.
[0090] The embodiments of the present invention, by discounting and accumulating the product of the combined failure probability and the comprehensive loss year by year, can scientifically convert uncertain future disaster risks into current economic costs, providing data support for full life-cycle economic evaluation.
[0091] Optionally, in this embodiment of the invention, the step of inputting the input vector and output vector of each of the proposed solutions to be evaluated into a pre-built SBM model for evaluation to obtain the comprehensive efficiency value of each of the proposed solutions to be evaluated includes: The proposed solution to be evaluated is used as a decision-making unit, and the input vector and output vector of the proposed solution to be evaluated are used as the input data and output data of the decision-making unit, respectively. The overall efficiency value of each decision unit relative to the efficient frontier is calculated by solving a linear programming problem that aims to minimize input slack variables and output slack variables.
[0092] By treating each scheme as a decision-making unit and solving a linear programming problem that minimizes slack variables, this invention can objectively calculate the comprehensive efficiency value of each scheme relative to the efficient frontier, and realize a quantitative comparison of the relative efficiency between schemes.
[0093] Optionally, in this embodiment of the invention, after sorting the various schemes to be evaluated according to the comprehensive efficiency value and generating the power grid disaster prevention scheme evaluation result, the method further includes: The proposed solutions with a comprehensive efficiency value less than 1 are identified as ineffective solutions. The projection points of the inefficient solutions onto the efficient frontier are analyzed, and the inefficient solutions are optimized based on the projection points.
[0094] By identifying ineffective solutions and analyzing their projection points, this invention provides a specific quantitative improvement path for solution optimization.
[0095] like Figure 5 As shown, based on the above-mentioned method embodiments, another embodiment of the power grid disaster prevention scheme evaluation method based on marginal utility fitting is provided, including: steps S1 to S3; Step S1 involves collecting historical cost data and disaster prevention parameters for power grid projects. Addressing the high-dimensional sparse characteristics of material selection in the data, a mutually exclusive feature binding algorithm is used for dimensionality reduction to construct a dense multi-dimensional feature matrix. A LightGBM gradient boosting decision tree model is then built, using a histogram algorithm to discretize continuous features and employing a depth-limited leaf-growth strategy for iterative training to accurately capture the nonlinear step-like characteristics of cost increases with disaster prevention standards. Based on the trained model, a virtual simulation dataset is constructed. Through controlled variable simulation and spline function reconstruction, the marginal utility curve of disaster prevention capability versus incremental cost is analyzed, and the techno-economic critical inflection point is identified. Specifically, executing step S1 is equivalent to executing steps S101 and S102.
[0096] Step S2 involves introducing a Copula function to construct a joint distribution model of multidimensional disaster variables for scenarios involving combined disasters such as wind, rain, and ice. This model calculates the joint failure probability where the disaster intensity simultaneously exceeds the engineering design standard. A generalized risk loss assessment system is then constructed, incorporating direct engineering repair costs and indirect social power outage losses. Combining this with life-cycle cost theory, the joint failure probability and comprehensive loss are integrated and discounted to calculate the expected life-cycle risk cost for each option. Specifically, executing step S2 is equivalent to executing step S103.
[0097] Step S3 involves constructing a multi-dimensional evaluation index system based on an "input-output" efficiency evaluation perspective. The incremental cost marginal utility characteristics obtained from Step S1 and the expected risk cost calculated in Step S2 are used as input indicators, while power supply reliability improvement, disaster prevention utility, and environmental performance are used as output indicators. A super-efficient SBM model considering undesirable outputs is employed to comprehensively calculate and rank the efficiency of each alternative scheme. Based on efficiency values and slack variable analysis, the optimal disaster prevention and mitigation scheme that balances economy and safety is selected. Specifically, executing Step S3 is equivalent to executing Steps S104 and S105.
[0098] This invention, through the construction of a virtual simulation dataset and the use of a pre-trained LightGBM model to analyze marginal utility curves, can efficiently process historical engineering data while depicting the nonlinear step-like characteristics of power grid engineering costs as disaster prevention standards improve, providing accurate incremental cost basis for scheme comparison. By introducing a joint failure probability and full life cycle risk cost quantification model, it can transform compound disaster risks and economic losses into comparable risk costs. By constructing an evaluation system with incremental cost and full life cycle cost as inputs and multi-dimensional efficiency indicators as outputs, and using the SBM model for solution, it can quantitatively evaluate all alternative schemes from the perspective of comprehensive input-output efficiency. Compared to existing technologies that are difficult to adapt to the complex characteristics of power grid engineering, this application can improve the accuracy and efficiency of power grid disaster prevention scheme evaluation.
[0099] like Figure 6 As shown, based on the above method embodiments, corresponding apparatus embodiments are provided; An embodiment of the present invention provides a power grid disaster prevention scheme evaluation device based on marginal utility fitting, including: a virtual simulation dataset module 601, a predicted incremental cost module 602, an expected total life cycle cost module 603, a comprehensive efficiency value module 604, and a power grid disaster prevention scheme evaluation result module 605. The virtual simulation dataset module 601 is used to acquire environmental feature data of the target engineering sample, and combine the environmental feature data with the values of each disaster prevention standard in the preset disaster prevention standard parameter sequence to obtain the virtual simulation dataset. The incremental cost prediction module 602 is used to input the virtual simulation dataset into a pre-trained disaster prevention cost prediction model for prediction, obtain a predicted incremental cost sequence, calculate the first derivative based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence, obtain a marginal utility curve, and extract the predicted incremental cost of each scheme to be evaluated relative to the target project sample from the marginal utility curve; wherein, the disaster prevention cost prediction model is a LightGBM model trained based on the historical project feature matrix; The expected life cycle cost module 603 is used to calculate the joint failure probability and quantify the comprehensive loss of any scheme to be evaluated based on historical disaster data and engineering design standards. The joint failure probability and the comprehensive loss are input into a pre-built life cycle cost model for calculation to obtain the expected risk cost present value of the scheme to be evaluated. The expected risk cost present value is added to the initial construction cost and operation and maintenance cost present value of the scheme to be evaluated to obtain the expected life cycle cost of the scheme to be evaluated. The comprehensive efficiency value module 604 is used to input the input vector and output vector of each of the proposed schemes to be evaluated into a pre-built SBM model for evaluation, using the predicted incremental cost and the expected total life cycle cost as input vectors, and the power supply reliability index, disaster prevention utility value and environmental protection index as output vectors, to obtain the comprehensive efficiency value of each of the proposed schemes to be evaluated. The power grid disaster prevention scheme evaluation result module 605 is used to sort each of the schemes to be evaluated according to the comprehensive efficiency value and generate power grid disaster prevention scheme evaluation results.
[0100] Optionally, in this embodiment of the invention, the virtual simulation dataset module 601 includes: a feature engineering submodule and a target engineering sample submodule; The feature engineering submodule is used to acquire historical engineering data of power grid projects and perform feature engineering processing on the historical engineering data to obtain a historical engineering feature matrix; wherein, the historical engineering data includes historical cost data, engineering attribute parameters and disaster prevention construction standard parameters; The target project sample submodule is used to select target project samples from the historical project feature matrix and extract environmental feature data of the target project samples.
[0101] The embodiments of the present invention ensure that marginal utility analysis is based on a representative engineering environment by selecting typical engineering samples from historical data as a benchmark.
[0102] Optionally, in this embodiment of the invention, before the predicted incremental cost module 602, there are further: a feature dimensionality reduction submodule and a model training submodule; The feature dimensionality reduction submodule is used to perform dimensionality reduction processing on the high-dimensional sparse category features in the historical project feature matrix using a mutually exclusive feature binding algorithm. The model training submodule is used to use the dimensionality-reduced historical engineering feature matrix as training data and to iteratively train the initial LightGBM model using a depth-limited Leaf-wise strategy until the LightGBM model reaches the preset convergence condition. The converged LightGBM model is then used as the disaster prevention cost prediction model.
[0103] This invention employs a mutually exclusive feature binding algorithm to process high-dimensional sparse data and applies a depth-limited Leaf-wise strategy to train the LightGBM model. This improves the model's processing efficiency and fitting accuracy for data structures unique to power grid engineering and effectively captures the patterns of sudden cost changes.
[0104] Optionally, in this embodiment of the invention, the predicted incremental cost module 602 includes: a cubic spline interpolation function submodule and a marginal utility curve submodule; The cubic spline interpolation function submodule is used to construct a cubic spline interpolation function based on the disaster prevention standard parameter sequence and the predicted incremental cost sequence. The marginal utility curve submodule is used to take the first derivative of the cubic spline interpolation function as the marginal utility curve.
[0105] The embodiments of the present invention can transform discrete model prediction results into continuous marginal utility curves by constructing a cubic spline interpolation function based on the prediction sequence and taking its derivative, thereby supporting accurate marginal analysis.
[0106] Optionally, in this embodiment of the invention, the expected total lifecycle cost module 603 includes: a joint probability distribution model submodule and a joint failure probability submodule; The joint probability distribution model submodule is used to fit the marginal cumulative distribution function of each individual disaster variable based on the historical disaster data of the area where the scheme to be evaluated is located, and to construct a joint probability distribution model of multidimensional disaster variables using the Copula function based on the marginal cumulative distribution function. The joint failure probability submodule is used to input the engineering defense standard of the scheme to be evaluated into the joint probability distribution model to calculate the joint failure probability of any one disaster intensity exceeding the engineering defense standard or multiple disaster intensities simultaneously exceeding the engineering defense standard.
[0107] This invention employs a Copula function to construct a multidimensional disaster joint probability distribution model to calculate the joint failure probability. This scientifically quantifies the correlation risk between compound disasters, avoids the underestimation of probability caused by the independent assumption, and makes the risk assessment more realistic.
[0108] Optionally, in this embodiment of the invention, the expected total lifecycle cost module 603 further includes: an expected risk cost submodule and an expected risk cost present value submodule; The expected risk cost submodule is used to take the product of the joint failure probability and the comprehensive loss of the scheme to be evaluated in each year of the entire life cycle of the project as the expected risk cost for each year. The expected risk cost present value submodule is used to discount each expected risk cost to a base year and accumulate them according to a preset discount rate to obtain the expected risk cost present value.
[0109] The embodiments of the present invention, by discounting and accumulating the product of the combined failure probability and the comprehensive loss year by year, can scientifically convert uncertain future disaster risks into current economic costs, providing data support for full life-cycle economic evaluation.
[0110] Optionally, in this embodiment of the invention, the comprehensive efficiency value module 604 includes: a decision unit submodule and a comprehensive efficiency value submodule; The decision unit submodule is used to take the scheme to be evaluated as a decision unit, and to take the input vector and output vector of the scheme to be evaluated as the input data and output data of the decision unit, respectively. The comprehensive efficiency value submodule is used to calculate the comprehensive efficiency value of each decision unit relative to the efficient frontier by solving a linear programming problem with the objective of minimizing input slack variables and output slack variables.
[0111] By treating each scheme as a decision-making unit and solving a linear programming problem that minimizes slack variables, this invention can objectively calculate the comprehensive efficiency value of each scheme relative to the efficient frontier, and realize a quantitative comparison of the relative efficiency between schemes.
[0112] Optionally, in this embodiment of the invention, after the power grid disaster prevention scheme evaluation result module 605, there are further: an ineffective scheme sub-module and a scheme optimization sub-module; The inefficient solution submodule is used to identify solutions to be evaluated with a comprehensive efficiency value of less than 1 as inefficient solutions. The scheme optimization submodule is used to analyze the projection points of the inefficient schemes on the effective frontier and optimize the inefficient schemes based on the projection points.
[0113] By identifying ineffective solutions and analyzing their projection points, this invention provides a specific quantitative improvement path for solution optimization.
[0114] It is understood that the above-described device embodiments correspond to the method embodiments of the present invention, and can implement the power grid disaster prevention scheme evaluation method based on marginal utility fitting provided by any of the above-described method embodiments of the present invention.
[0115] This invention constructs a virtual simulation dataset through a virtual simulation dataset module 601 and a predicted incremental cost module 602, and uses a pre-trained LightGBM model to analyze the marginal utility curve. This enables efficient processing of historical engineering data while depicting the nonlinear step-like characteristics of power grid engineering costs as disaster prevention standards improve, providing accurate incremental cost basis for scheme comparison. The expected life-cycle cost module 603 introduces a quantitative model of joint failure probability and life-cycle risk cost, transforming compound disaster risks and economic losses into comparable risk costs. The comprehensive efficiency value module 604 constructs an evaluation system with incremental cost and life-cycle cost as inputs and multi-dimensional efficiency indicators as outputs, and uses an SBM model for solution, enabling quantitative evaluation of all alternative schemes from the perspective of comprehensive input-output efficiency. Compared to existing technologies that struggle to adapt to the complex characteristics of power grid engineering, this application improves the accuracy and efficiency of power grid disaster prevention scheme evaluation.
[0116] It should be noted that the device embodiments described above are merely illustrative, and some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can specifically be implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0117] Based on the above embodiment of a power grid disaster prevention scheme evaluation method based on marginal utility fitting, another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a power grid disaster prevention scheme evaluation method based on marginal utility fitting according to any embodiment of the present invention.
[0118] For example, in this embodiment, the computer program can be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the terminal device.
[0119] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0120] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.
[0121] Based on the above-described method embodiments, another embodiment of the present invention provides a computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to execute the power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in any of the above-described method embodiments of the present invention.
[0122] The modules / units integrated in the device / terminal equipment, if implemented as software functional units and sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0123] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for evaluating power grid disaster prevention schemes based on marginal utility fitting, characterized in that, include: The environmental characteristic data of the target engineering sample is obtained, and the environmental characteristic data is combined with the values of each disaster prevention standard in the preset disaster prevention standard parameter sequence to obtain a virtual simulation dataset. The virtual simulation dataset is input into a pre-trained disaster prevention cost prediction model for prediction, resulting in a predicted incremental cost sequence. The first derivative is calculated based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence to obtain the marginal utility curve. The predicted incremental cost of each scheme to be evaluated relative to the target project sample is then extracted from the marginal utility curve. The disaster prevention cost prediction model is a lightweight gradient booster (LightGBM) model trained based on the historical project feature matrix. For any proposed solution to be evaluated, based on historical disaster data and engineering design standards, the joint failure probability of the proposed solution is calculated and the comprehensive loss is quantified. The joint failure probability and the comprehensive loss are input into a pre-built life-cycle cost model for calculation to obtain the expected present value of the risk cost of the proposed solution. The expected present value of the risk cost is then added to the present value of the initial construction cost and operation and maintenance cost of the proposed solution to obtain the expected life-cycle cost of the proposed solution. Using the predicted incremental cost and the expected total life cycle cost as input vectors, and the power supply reliability index, disaster prevention utility value and environmental protection index as output vectors, the input vectors and output vectors of each of the proposed schemes to be evaluated are respectively input into the pre-built Slack Variable Measurement (SBM) model for evaluation, so as to obtain the comprehensive efficiency value of each of the proposed schemes to be evaluated. The evaluation results of the power grid disaster prevention schemes are generated by ranking the schemes to be evaluated based on the comprehensive efficiency value.
2. The power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in claim 1, characterized in that, The acquisition of environmental feature data of the target engineering sample includes: Historical engineering data of power grid projects are acquired, and feature engineering processing is performed on the historical engineering data to obtain a historical engineering feature matrix; wherein, the historical engineering data includes historical cost data, engineering attribute parameters, and disaster prevention construction standard parameters; Select target project samples from the historical project feature matrix and extract the environmental feature data of the target project samples.
3. The power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in claim 2, characterized in that, Before inputting the virtual simulation dataset into the pre-trained disaster prevention cost prediction model for prediction, the method further includes: The high-dimensional sparse category features in the historical engineering feature matrix are reduced in dimensionality using a mutually exclusive feature binding algorithm. The historical engineering feature matrix after dimensionality reduction is used as training data. The initial LightGBM model is iteratively trained using a depth-limited leaf-wise growth strategy until the LightGBM model reaches the preset convergence condition. The converged LightGBM model is then used as the disaster prevention cost prediction model.
4. The power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in claim 1, characterized in that, The step of calculating the first derivative based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence to obtain the marginal utility curve includes: Based on the disaster prevention standard parameter sequence and the predicted incremental cost sequence, a cubic spline interpolation function is constructed. The first derivative of the cubic spline interpolation function is used as the marginal utility curve.
5. The power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in claim 1, characterized in that, For any proposed solution to be evaluated, the joint failure probability of the proposed solution is calculated based on historical disaster data and engineering design standards, including: Based on historical disaster data of the region where the proposed solution is located, the marginal cumulative distribution function of each individual disaster variable is fitted, and based on the marginal cumulative distribution function, a joint probability distribution model of multidimensional disaster variables is constructed using a copula function. The engineering defense standard of the scheme to be evaluated is input into the joint probability distribution model to calculate the joint failure probability of any one disaster intensity exceeding the engineering defense standard or multiple disaster intensities simultaneously exceeding the engineering defense standard.
6. The power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in claim 1, characterized in that, The step of inputting the joint failure probability and the comprehensive loss into a pre-constructed life-cycle cost model for calculation to obtain the expected present value of the risk cost of the scheme to be evaluated includes: The product of the joint failure probability and the comprehensive loss of the proposed scheme in each year of the entire life cycle of the project is taken as the expected risk cost for each year. Based on the preset discount rate, the expected risk costs of each item are discounted to the base year and accumulated to obtain the present value of the expected risk costs.
7. The power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in claim 1, characterized in that, The step of inputting the input and output vectors of each of the proposed solutions to be evaluated into a pre-built slack variable measure (SBM) model for evaluation, and obtaining the overall efficiency value of each proposed solution, includes: The proposed solution to be evaluated is taken as the decision-making unit, and the input vector and output vector of the proposed solution to be evaluated are taken as the input data and output data of the decision-making unit, respectively. The overall efficiency value of each decision unit relative to the efficient frontier is calculated by solving a linear programming problem that aims to minimize input slack variables and output slack variables.
8. The power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in claim 7, characterized in that, After ranking the various proposed solutions based on the comprehensive efficiency value to generate the power grid disaster prevention solution evaluation results, the method further includes: The proposed solutions with a comprehensive efficiency value less than 1 are identified as ineffective solutions. The projection points of the inefficient solutions onto the efficient frontier are analyzed, and the inefficient solutions are optimized based on the projection points.
9. A power grid disaster prevention scheme evaluation device based on marginal utility fitting, characterized in that, include: The module includes a virtual simulation dataset module, a predicted incremental cost module, an expected life-cycle cost module, a comprehensive efficiency value module, and a power grid disaster prevention scheme evaluation result module. The virtual simulation dataset module is used to acquire environmental feature data of the target engineering sample, and combine the environmental feature data with the values of each disaster prevention standard in the preset disaster prevention standard parameter sequence to obtain the virtual simulation dataset. The incremental cost prediction module is used to input the virtual simulation dataset into a pre-trained disaster prevention cost prediction model for prediction, obtain a predicted incremental cost sequence, calculate the first derivative based on the mapping relationship between the disaster prevention standard parameter sequence and the predicted incremental cost sequence, obtain the marginal utility curve, and extract the predicted incremental cost of each scheme to be evaluated relative to the target project sample from the marginal utility curve; wherein, the disaster prevention cost prediction model is a lightweight gradient booster (LightGBM) model trained based on the historical project feature matrix; The expected life-cycle cost module is used to calculate the joint failure probability and quantify the comprehensive loss of any proposed solution based on historical disaster data and engineering design standards. The joint failure probability and the comprehensive loss are input into a pre-built life-cycle cost model for calculation to obtain the expected present value of the risk cost of the proposed solution. The expected present value of the risk cost is then added to the present value of the initial construction cost and operation and maintenance cost of the proposed solution to obtain the expected life-cycle cost of the proposed solution. The comprehensive efficiency value module is used to input the predicted incremental cost and the expected life cycle cost as input vectors, and the power supply reliability index, disaster prevention utility value and environmental protection index as output vectors, respectively into the pre-built slack variable measure (SBM) model for evaluation, so as to obtain the comprehensive efficiency value of each of the proposed schemes. The power grid disaster prevention scheme evaluation result module is used to sort each of the schemes to be evaluated according to the comprehensive efficiency value and generate power grid disaster prevention scheme evaluation results.
10. The power grid disaster prevention scheme evaluation device based on marginal utility fitting as described in claim 9, characterized in that, The module preceding the incremental cost prediction module also includes: a feature dimensionality reduction submodule and a model training submodule; The feature dimensionality reduction submodule is used to perform dimensionality reduction processing on high-dimensional sparse category features in the historical engineering feature matrix using a mutually exclusive feature binding algorithm. The model training submodule is used to use the dimensionality-reduced historical engineering feature matrix as training data and to iteratively train the initial LightGBM model using a depth-limited Leaf-wise strategy until the LightGBM model reaches the preset convergence condition. The converged LightGBM model is then used as the disaster prevention cost prediction model.
11. The power grid disaster prevention scheme evaluation device based on marginal utility fitting as described in claim 9, characterized in that, The module for predicting incremental costs includes: a cubic spline interpolation function submodule and a marginal utility curve submodule; The cubic spline interpolation function submodule is used to construct a cubic spline interpolation function based on the disaster prevention standard parameter sequence and the predicted incremental cost sequence. The marginal utility curve submodule is used to take the first derivative of the cubic spline interpolation function as the marginal utility curve.
12. The power grid disaster prevention scheme evaluation device based on marginal utility fitting as described in claim 9, characterized in that, The expected lifecycle cost module includes: a joint probability distribution model submodule and a joint failure probability submodule; The joint probability distribution model submodule is used to fit the marginal cumulative distribution function of each individual disaster variable based on the historical disaster data of the area where the scheme to be evaluated is located, and to construct a joint probability distribution model of multidimensional disaster variables using the Copula function based on the marginal cumulative distribution function. The joint failure probability submodule is used to input the engineering defense standard of the scheme to be evaluated into the joint probability distribution model to calculate the joint failure probability of any one disaster intensity exceeding the engineering defense standard or multiple disaster intensities simultaneously exceeding the engineering defense standard.
13. The power grid disaster prevention scheme evaluation device based on marginal utility fitting as described in claim 9, characterized in that, The expected lifecycle cost module also includes: an expected risk cost submodule and an expected risk cost present value submodule; The expected risk cost submodule is used to take the product of the joint failure probability and the comprehensive loss of the scheme to be evaluated in each year of the entire life cycle of the project as the expected risk cost for each year. The expected risk cost present value submodule is used to discount each expected risk cost to a base year and accumulate them according to a preset discount rate to obtain the expected risk cost present value.
14. The power grid disaster prevention scheme evaluation device based on marginal utility fitting as described in claim 9, characterized in that, The comprehensive efficiency value module includes: a decision-making unit submodule and a comprehensive efficiency value submodule; The decision unit submodule is used to take the scheme to be evaluated as a decision unit, and to take the input vector and output vector of the scheme to be evaluated as the input data and output data of the decision unit, respectively. The comprehensive efficiency value submodule is used to calculate the comprehensive efficiency value of each decision unit relative to the efficient frontier by solving a linear programming problem with the objective of minimizing input slack variables and output slack variables.
15. A computer-readable storage medium, characterized in that, include: A stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform a power grid disaster prevention scheme evaluation method based on marginal utility fitting as described in any one of claims 1-8.
