Harbor district energy double-layer coordination optimization method for multiple interest subjects
By correcting and standardizing the multi-source heterogeneous data of the port energy system, the graph neural network is used to extract the topological characteristics of the energy network, and multi-scale prediction and game optimization are carried out in combination with the characteristics of time, load and price dimensions, the problems of data heterogeneity and insufficient prediction in the port energy system are solved, and efficient energy management and control are achieved.
Patent Information
- Application Number
- CN202510327190.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2025-06-06
AI Technical Summary
The prior art is difficult to effectively deal with the time asynchronousness and data quality inconsistency of multi-source heterogeneous data in port energy systems, and the prediction method does not capture the multi-time scale fluctuation characteristics of energy load and price, making it difficult to accurately reflect the change laws under different time scales.
By receiving real-time operation data, historical data and environmental monitoring data in the port area, data correction and standardization are carried out, and the topological characteristics of the energy network are extracted using graph neural network, combined with time, load, and price dimension characteristics, multi-scale prediction and game optimization are carried out to generate control instructions.
It significantly improves the operating efficiency and control accuracy of the port area energy system, improves energy utilization efficiency, reduces operating costs and carbon emissions, and enhances system stability.
Smart Images

Figure CN120107019A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to power system optimization technology, in particular to a port area energy double-layer coordination optimization method for multiple stakeholders. Background Art
[0002] As an important hub for maritime trade, the port area has increasingly prominent energy consumption and carbon emission issues. With the intensification of global climate change issues, the low-carbon transformation of the port area energy system has become the focus of international attention. The port area energy system involves multiple stakeholders such as government regulatory departments, port operators and shipowners. Among them, government departments are concerned about the realization of carbon emission control targets, port operators pursue the minimization of operating costs, and shipowners are committed to reducing energy costs. How to achieve coordinated optimization of the port area energy system under the condition of multi-party interest game is of great significance to promoting the green development of ports and enhancing port competitiveness.
[0003] At present, the optimization of port energy systems mainly focuses on the optimization decision-making research from the perspective of a single subject. Some studies have constructed a load forecasting model for the shore power system and used time series analysis methods to predict electricity demand; some scholars have established energy consumption assessment models based on port equipment operation data to analyze energy utilization efficiency; and some researchers have studied the energy use decision-making issues of ships at berth from the perspective of shipowners. In terms of control strategies, rule-based control methods or simple predictive control algorithms are mainly used to achieve system control by setting fixed control rules or simple predictive models. Although these studies have achieved certain results in specific scenarios, they have failed to fully consider the interest relations and game mechanisms among multiple subjects.
[0004] In practical applications, the existing technical solutions have the following key problems: First, in terms of data processing, the existing methods are difficult to effectively handle the time asynchrony and data quality inconsistency of multi-source heterogeneous data in the port energy system, especially when processing real-time operation data and historical data with different sampling frequencies. There are obvious defects; Second, in terms of prediction modeling, the existing prediction methods are insufficient to capture the multi-time scale fluctuation characteristics of energy load and price, and it is difficult to accurately reflect the changing laws under different time scales; Third, in terms of optimization decision-making, the existing methods often use a simple linear weighting method to deal with multi-objective problems, which cannot deeply characterize the nonlinear game relationship between the government, the port area and the shipowner; Fourth, in terms of control execution, the existing control methods lack an effective processing mechanism for prediction errors and model uncertainties, which makes it difficult to ensure control accuracy and system stability, especially in the face of sudden load changes and market price fluctuations. The adaptability of the existing control strategy is poor. These technical problems seriously restrict the collaborative optimization effect of the port energy system. Summary of the invention
[0005] The purpose of the invention is to provide a two-layer coordinated optimization method for port area energy for multiple stakeholders, in order to solve one of the above-mentioned problems existing in the prior art.
[0006] Technical solution, a dual-layer coordination optimization method for port energy for multiple stakeholders, including the following steps:
[0007] Step S1, receiving the real-time operation data, historical data and environmental monitoring data of the port area, and combining them to form an original data set; identifying outliers through probability density distribution, using time series correlation analysis to correct data, using range normalization and unique hot encoding processing, and outputting a standardized data set;
[0008] Step S2: Decompose the standardized data set into hourly, weekly, and monthly time series, construct a topological diagram of the port energy network, and use graph neural networks to extract node and edge features; combine time, load, and price dimension features, and output feature vector sets and weight matrices through importance evaluation;
[0009] Step S3, perform feature mapping based on the feature vector set and the weight matrix, identify uncertainty factors through principal component decomposition, establish a probability distribution model, and output a multi-scale prediction result set;
[0010] Step S4: construct a three-layer game model of government-port-shipowner based on the prediction result set, optimize carbon tax, price and energy consumption constraints, calculate the game equilibrium, and output the balance coefficient set;
[0011] Step S5: According to the balance coefficient set and the prediction result set, monthly strategy optimization, weekly scheduling optimization and hourly real-time control are performed, and control instruction sets for each time scale are output.
[0012] The beneficial effect has significantly improved the operating efficiency and control accuracy of the port area's energy system. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a flow chart of the present invention.
[0014] Figure 2 It is a flow chart of step S1 of the present invention.
[0015] Figure 3 It is a flow chart of step S2 of the present invention.
[0016] Figure 4 It is a flow chart of step S3 of the present invention.
[0017] Figure 5 It is a flow chart of step S4 of the present invention.
[0018] Figure 6 It is a flow chart of step S5 of the present invention. DETAILED DESCRIPTION
[0019] The dual-layer coordination optimization method for port energy for multiple stakeholders includes the following steps:
[0020] Step S1, obtain a real-time operation data set from the port area energy management system, obtain a historical operation data set from the database server, and obtain an environmental parameter data set from the environmental monitoring system, combine the three types of data sets obtained to form an original data combination set, extract data features from the original data combination set to generate a data feature set, identify abnormal values based on the data feature set to generate an abnormal data marker set, clean the original data combination set according to the abnormal data marker set to obtain a cleaned data set, and normalize the cleaned data set to obtain a standardized data set.
[0021] Step S2, receiving the standardized data set outputted by step S1, performing multi-scale decomposition on the standardized data set using a time series decomposition algorithm to obtain a time scale data set, extracting data features from the time scale data set to obtain a feature vector set, and performing importance evaluation on the feature vector set to obtain a feature weight matrix.
[0022] Step S3, receiving the feature vector set and feature weight matrix output by step S2, identifying uncertainty factors based on the two data sets to obtain an uncertainty factor set, performing probability modeling on the uncertainty factor set to obtain a probability distribution model set, and combining the probability distribution model set and the feature vector set to perform multi-scale prediction to obtain a prediction result set.
[0023] Step S4, receiving the prediction result set output by step S3, constructing an upper-level government regulation model to obtain an upper-level objective function set, constructing a lower-level port area and shipowner game model to obtain a lower-level objective function set, and calculating the balance coefficient based on the upper and lower-level objective functions to obtain a balance coefficient set.
[0024] Step S5, receiving the balance coefficient set output by step S4, combining it with the prediction result set of each time scale output by step S3, performing monthly strategy optimization to obtain a monthly optimization strategy set, performing weekly scheduling optimization based on the monthly optimization strategy set to obtain a weekly scheduling plan set, and performing hourly real-time control according to the weekly scheduling plan set to obtain a real-time control instruction set.
[0025] By building a complete technical chain of data processing-feature extraction-prediction modeling-game optimization-real-time control, the intelligent collaborative management of the port energy system is realized. The comprehensive effects brought by the overall technical solution include: energy utilization efficiency is improved by 40%, which is due to accurate prediction and optimized scheduling at multiple time scales; operating costs are reduced by 25%, thanks to optimal decision-making and real-time control under multi-agent game; carbon emissions are reduced by 30%, thanks to prediction-based feedforward control and feedback-based real-time adjustment; system stability is improved by 50%, which is the result of the combined effect of multi-level control architecture and dynamic balance mechanism. Of particular importance is that the solution has achieved a dynamic balance of the interests of the three parties of government, port area and shipowners for the first time, so that the entire port energy system has achieved the optimal trade-off between economic benefits, environmental benefits and social benefits. The realization of this comprehensive effect is due to several key innovations in the solution: (1) deep fusion processing of multi-source heterogeneous data; (2) multi-scale prediction modeling based on uncertainty; (3) dynamic optimization decision-making of multi-layer game; (4) collaborative control mechanism at multiple time scales. The organic combination of these innovations ensures that the entire technical solution can achieve significant comprehensive benefits in practical applications.
[0026] According to one aspect of the present application, step S1 specifically comprises:
[0027] Step S11: obtain a real-time operation data set including power, voltage, and current from the data interface of the port area energy management system, read a historical operation data set including load data and price data from the database server, and collect an environmental parameter data set including temperature, humidity, and wind speed from the environmental monitoring system. Align the real-time operation data set, the historical operation data set, and the environmental parameter data set by timestamp and merge them into an original data combination set.
[0028] Step S12: extract numerical features, time features and statistical features from the original data combination set to form a data feature set, calculate the probability density distribution of each data point based on the data feature set to obtain a density distribution set, determine the outlier threshold according to the density distribution set to obtain a threshold parameter set, and mark the data in the original data combination set according to the threshold parameter set to obtain an abnormal data marking set.
[0029] Specifically, the density distribution function is as follows: The probability density function for anomaly detection P(x) = (1 / n h) ∑(i = 1 → n) K((x - xi) / h) + λ · exp(-||x - μ||² / 2σ²); where: K(u) = (1 / √2π) exp(-u² / 2) is the Gaussian kernel function; h is the bandwidth parameter, determined by minimizing the cross-validation error; n is the number of samples; xi is the i-th sample point; λ is the mixing weight coefficient, used to balance the contributions of the kernel density estimation term and the Gaussian term; μ is the sample mean vector; σ is the sample standard deviation; x is the data point to be detected; ||·|| represents the Euclidean distance; the anomaly determination threshold T = μ + k · σ, where k is the adjustment coefficient; when P(x) < T, it is determined as an anomaly point.
[0030] Step S13: Screen out the abnormal data subset from the original data combination set according to the abnormal data marking set, perform time series correlation analysis on the data points in the abnormal data subset to obtain the correlation parameter set, correct the outliers in the abnormal data subset based on the correlation parameter set to obtain the corrected data set, and merge the corrected data set with the normal data in the original data combination set to obtain the cleaned data set.
[0031] Step S14: Extract numerical data and categorical data from the cleaned data set respectively to obtain the numerical data subset and the categorical data subset, perform range normalization on the numerical data subset to obtain the normalized numerical data set, perform one-hot encoding on the categorical data subset to obtain the encoded categorical data set, and merge the normalized numerical data set and the encoded categorical data set to obtain the standardized data set.
[0032] Through the fusion acquisition and deep cleaning of multi-source heterogeneous data, the high-quality acquisition and standardized processing of port area energy data are realized. Specifically, first, a complete data foundation is established through the collaborative acquisition of real-time operation data, historical operation data, and environmental parameter data; then, by combining data feature extraction and anomaly detection, the abnormal points in the data can be accurately identified and corrected through time series correlation analysis, ensuring the reliability of the data; finally, a combined processing method of range normalization and one-hot encoding is adopted to achieve the unified standardized expression of different types of data. This multi-level data processing method significantly improves the accuracy of subsequent analysis, with the data quality improved by about 30%, the outlier detection accuracy reaching over 95%, and the data integrity improved to 99.9%, laying a solid data foundation for subsequent multi-scale decomposition and feature extraction.
[0033] According to one aspect of the present application, step S2 is specifically as follows:
[0034] Step S21, receiving a standardized data set, performing hourly decomposition on the time series data in the standardized data set to obtain an hourly data set, performing weekly decomposition on the time series data in the standardized data set to obtain a weekly data set, performing monthly decomposition on the time series data in the standardized data set to obtain a monthly data set, and combining the hourly data set, weekly data set, and monthly data set to form a time scale data set.
[0035] Step S22, extracting time dimension features from the time scale data set to obtain a time feature subset, extracting load dimension features from the time scale data set to obtain a load feature subset, extracting price dimension features from the time scale data set to obtain a price feature subset, and combining the time feature subset, the load feature subset and the price feature subset to form a feature vector set.
[0036] The mathematical expression of feature extraction is: node feature update function H(t+1) = σ(W1·AGG{H(t)·N(v)} + W2·F(v) + α·T(v)); where: H(t) is the node hidden state matrix at time t; AGG{·} is the aggregation function, which uses attention weighted summation; N(v) is the neighbor set of node v; W1 and W2 are learnable weight matrices; F(v) is the initial feature vector of node v; T(v) is the temporal feature vector of node v; α is the temporal feature weight coefficient; σ(·) is the LeakyReLU activation function; the final node representation Z(v) = W3·H(T), W3 is the output layer weight matrix; T is the total number of iterations.
[0037] Step S23: perform correlation analysis on the features of each dimension in the feature vector set to obtain a feature correlation matrix, calculate the importance score of each feature based on the feature correlation matrix to obtain a feature score set, and assign weights to each feature according to the feature score set to obtain a feature weight matrix.
[0038] Through the multi-scale decomposition of time series and feature importance evaluation, the multi-dimensional feature expression and weight optimization of the port area energy data are realized. Specifically, the time series decomposition algorithm is used to decompose the data into three time scales: hourly, weekly, and monthly, which can effectively capture the energy consumption patterns and change characteristics at different time scales; the multi-dimensional feature extraction combining time characteristics, load characteristics, and price characteristics is used to construct a complete feature vector set; through feature correlation analysis and importance scoring, the adaptive optimization of feature weights is realized. This multi-scale feature extraction and weight optimization method improves the accuracy of feature extraction by about 25%, the accuracy of feature importance identification reaches more than 90%, reduces data redundancy by about 40%, and significantly improves the accuracy of subsequent prediction and optimization.
[0039] According to one aspect of the present application, step S3 is specifically:
[0040] Step S31, obtaining a distribution feature set based on the data distribution characteristics in the feature vector set, performing feature mapping on the distribution feature set and the feature weight matrix to obtain a feature mapping set, performing principal component decomposition on the feature mapping set to obtain a principal component feature set, and extracting major uncertainty factors from the principal component feature set to form an uncertainty factor set.
[0041] The process of identifying uncertain factors is as follows: uncertainty score S(f) = β1·I(f) + β2·V(f) + β3·C(f); where: I(f) is the mutual information score of feature f, I(f) = ∑P(X,Y)log(P(X,Y) / P(X)P(Y)); V(f) is the variance contribution rate of feature f, V(f) = λf / ∑λi, λi is the eigenvalue of the covariance matrix; C(f) is the conditional entropy of feature f, C(f) = -∑P(X|Y)logP(X|Y); β1, β2, β3 are adaptive weight coefficients determined by minimizing the prediction error; the uncertainty threshold of feature f is U = mean(S) + γ·std(S), γ is the adjustment coefficient.
[0042] Step S32: perform kernel density estimation on each factor in the uncertainty factor set to obtain a density estimation set, construct a probability distribution function based on the density estimation set to obtain a distribution function set, and combine the distribution function set and corresponding parameters to form a probability distribution model set.
[0043] The mathematical form of the probability distribution model is: mixed probability density function M(x) = ∑(k=1→K)πk·[ωk·N(x|μk,Σk) + (1-ωk)·ST(x|νk,Λk)]; where: πk is the mixing weight of the kth component; N(·) is the multivariate Gaussian distribution; ST(·) is the multivariate Student's t distribution; μk, Σk are the mean and covariance of the Gaussian distribution; νk, Λk are the degrees of freedom and scale matrix of the Student's t distribution; ωk is the distribution weight; K is the number of components, determined by the BIC criterion; and the parameters are optimized by the EM algorithm.
[0044] Step S33, perform data fusion on the probability distribution model set and the feature vector set to obtain a fused data set, perform hourly prediction on the fused data set to obtain an hourly prediction set, perform weekly prediction on the fused data set to obtain a weekly prediction set, perform monthly prediction on the fused data set to obtain a monthly prediction set, and combine the hourly prediction set, weekly prediction set and monthly prediction set to form a prediction result set.
[0045] Through the identification of uncertainty factors and multi-scale probabilistic prediction, accurate prediction and risk assessment of the port area energy system are achieved. Specifically, firstly, based on feature mapping and principal component analysis, key uncertainty factors are identified, and a complete uncertainty quantification system is established; then, through kernel density estimation and probability distribution modeling, the probability characteristics of each uncertainty factor are accurately characterized; finally, based on the multi-scale prediction method, short-term, medium-term and long-term collaborative prediction is achieved. This uncertainty-based multi-scale prediction method improves the prediction accuracy by about 35%, the prediction confidence interval coverage rate reaches more than 95%, and the risk assessment accuracy is increased to 92%, providing reliable prediction support for subsequent multi-level optimization decisions.
[0046] According to one aspect of the present application, step S4 is specifically:
[0047] Step S41, receiving the prediction result set, constructing the government carbon emission control target to obtain the carbon emission target set, constructing the port operation cost target to obtain the port cost set, constructing the shipowner energy cost target to obtain the shipowner cost set, combining the carbon emission target set, the port cost set and the shipowner cost set to form an upper-level objective function set, and combining the upper-level objective function set and the prediction result set to form a lower-level objective function set.
[0048] Upper-level objective function method: Government regulation target J1 = min{η1·∑(CE(t)-CEref(t))² + η2·∑(TC(t)-TCref(t))² + η3·∑(δτ(t))²}; where: CE(t) is the carbon emissions at time t; CEref(t) is the benchmark carbon emissions; TC(t) is the total social cost; TCref(t) is the target cost level; δτ(t) is the carbon tax adjustment; η1, η2, η3 are target weight coefficients; the objective function is subject to the carbon emission constraint g1(CE)≤0 and the cost constraint g2(TC)≤0.
[0049] Lower-level objective function method: Port-shipowner game objective L(p,q) = ρ1·R(p,q) - ρ2·C(p,q) -ρ3·E(p,q); where: R(p,q) is the port revenue function, p is the port pricing strategy, and q is the shipowner response strategy; C(p,q) is the operating cost function; E(p,q) is the environmental cost function; ρ1, ρ2, ρ3 are adaptive weight coefficients; constraints include pricing constraint h1(p)≤0 and response constraint h2(q)≤0.
[0050] Step S42: Calculate the carbon tax constraint conditions based on the upper objective function set to obtain a carbon tax constraint set; calculate the port shore power price constraint conditions based on the lower objective function set to obtain a price constraint set; calculate the shipowner energy consumption constraint conditions based on the lower objective function set to obtain an energy consumption constraint set; combine the carbon tax constraint set, the price constraint set and the energy consumption constraint set to form a constraint condition set.
[0051] Step S43, based on the upper objective function set and the constraint condition set, the optimal decision of the government is calculated to obtain the government decision set, based on the lower objective function set and the constraint condition set, the optimal quotation of the port area is calculated to obtain the port quotation set, based on the lower objective function set and the constraint condition set, the optimal response of the shipowner is calculated to obtain the shipowner response set, and the government decision set, the port quotation set and the shipowner response set are subjected to game equilibrium calculation to obtain the balance coefficient set.
[0052] The specific process of solving the game equilibrium is as follows: multi-layer Nash equilibrium solution function NE(s) = argmin{∑(i=1→N)θi·||si - BR(si)||² + φ·PEN(s)}; where: s is the strategy vector; si is the strategy of participant i; si is the strategy set of other participants; BR(·) is the optimal response function; θi is the participant weight coefficient; PEN(s) is the penalty function, PEN(s) = ∑max(0,gj(s))², gj(s) is the constraint condition; φ is the penalty factor; N is the number of participants; equilibrium solution stability index STB(s*) = min{||s* - BR(s*)||,ε}, ε is the stability threshold.
[0053] By constructing a three-level game model of government, port area and shipowner and a multi-objective balance mechanism, the interest coordination and strategic balance of the port area energy system are achieved. The specific implementation effects are reflected in the following aspects: First, in terms of decision-making accuracy, by decomposing the prediction result set into trend items, periodic items and random items, and performing feature fusion and interval estimation, the decision-making accuracy is improved by about 40%. This improvement is due to the fact that the decomposed data can more accurately reflect the changing characteristics of each dimension, especially when dealing with seasonal fluctuations and random disturbances. Secondly, in terms of carbon emission control effect, by constructing a benchmark emission curve and time-divided constraints, carbon emissions have been reduced by 25-30%. This effect is achieved based on the precise construction of spatiotemporal constraints and the optimization of multi-level objective functions, so that emission reduction measures can be implemented to the maximum extent under the premise of ensuring the normal operation of the port area. Third, in terms of cost optimization, through the refined modeling and weighted combination of energy costs, maintenance costs and operating costs, the total operating cost of the port area has been reduced by 15-20%. This cost reduction effect is due to the collaborative analysis of multi-dimensional cost data and parameter optimization based on sensitivity. Finally, in terms of equilibrium stability, by constructing a Nash equilibrium solution framework and a multi-objective trade-off mechanism, the stability of the game equilibrium solution is increased to more than 95%. This high stability stems from the adaptive adjustment of the trade-off coefficient and the fairness evaluation of the allocation scheme, ensuring that all stakeholders can obtain a reasonable distribution of benefits. Of particular importance is that by introducing multi-layer game theory and dynamic equilibrium mechanisms, the problem that traditional single optimization methods are difficult to coordinate the interests of multiple parties is solved, allowing the entire port energy system to find the optimal balance between government regulation, port benefits and shipowner needs.
[0054] The hierarchical decomposition objective function construction method is adopted to transform the complex multi-agent decision-making problem into a solvable mathematical model, avoiding the problem of difficulty in unifying the dimension of the objective function in traditional methods. The dynamic weight adjustment mechanism is introduced to adaptively adjust the decision weights by real-time evaluation of the interests of each subject and changes in the market environment, thereby improving the adaptability and robustness of the model. A multi-layer optimization framework based on game theory is designed, which realizes the dynamic game and interest balance among multiple subjects through iterative solution and feedback adjustment. Combining time series analysis with game theory enables the model to consider both short-term fluctuations and long-term trends, improving the timeliness and accuracy of decision-making.
[0055] According to one aspect of the present application, step S5 is specifically:
[0056] Step S51, fuse the balance coefficient set with the monthly prediction result set to obtain a monthly fused data set, construct a monthly optimization target based on the monthly fused data set to obtain a monthly target set, perform constraint optimization calculation on the monthly target set to obtain a monthly constraint set, and obtain a monthly optimization strategy set based on the optimization solution of the monthly constraint set.
[0057] Step S52: perform strategy decomposition on the monthly optimization strategy set and the weekly forecast result set to obtain a weekly strategy set, construct a weekly scheduling target based on the weekly strategy set to obtain a weekly target set, perform rolling optimization calculation on the weekly target set to obtain a weekly constraint set, and obtain a weekly scheduling plan set based on the optimization solution of the weekly constraint set.
[0058] Specifically, the weekly scheduling objective function W(x) = ∑(t=1→T)[μ1(t)·L(x,t) + μ2(t)·O(x,t) + μ3(t)·F(x,t)]; where: L(x,t) is the load balancing objective; O(x,t) is the operating cost objective; F(x,t) is the flexibility objective; x is the scheduling decision variable; μi(t) is the time-varying weight coefficient determined by fuzzy hierarchical analysis; T is the scheduling period; the constraints include equipment operation constraints k1(x)≤0 and network constraints k2(x)≤0; the rolling optimization window W(t) = {t,t+1,...,t+w}, and w is the window length.
[0059] Step S53, decompose the weekly scheduling plan set and the hourly prediction result set to obtain an hourly plan set, construct a real-time control target based on the hourly plan set to obtain an hourly target set, perform predictive control calculation on the hourly target set to obtain a control parameter set, and optimize and solve the control parameter set to obtain a real-time control instruction set.
[0060] Among them, the optimal control sequence of the real-time control instruction set is U* = argmin{∑(k=0→Np-1)[ψ1·||y(k+1|k)-r(k+1)||Q² + ψ2·||Δu(k)||R² + ψ3·||e(k)||S²]}; where: y(k+1|k) is the output prediction of time k for time k+1; r(k+1) is the reference trajectory; Δu(k) is the control increment; e(k) is the prediction error; Q, R, S are weight matrices; ψ1, ψ2, ψ3 are adaptive weight coefficients; Np is the prediction time domain; the system dynamic equation y(k+1) = A·y(k) + B·u(k) + D·d(k), d(k) is the external disturbance; the robustness constraint ||Δu(k)||∞ ≤ umax.
[0061] By building a three-layer linkage optimization control system at the monthly, weekly and hourly levels, refined management and real-time control of the port area energy system are achieved. In terms of control accuracy, by fusing the balance coefficient set with the prediction results of different time scales, the control accuracy is improved by 45%. This significant improvement is due to the use of an adaptive data fusion algorithm, which can dynamically adjust the fusion weight according to the reliability of data at different time scales. In terms of strategy execution efficiency, the execution efficiency is improved by 35% through the decomposition and transformation of the monthly optimization strategy to the weekly scheduling plan. This effect is achieved based on accurate time mapping and boundary constraint verification mechanisms, which ensure the feasibility and continuity of the strategy decomposition process. In terms of real-time response capability, by building a predictive control framework and a multi-objective optimization solution mechanism, the system response time is shortened by 60%. This improvement in response capability is due to the application of the rolling time domain prediction framework and parameter optimization based on sensitivity analysis. In particular, in terms of control stability, by introducing robust predictive control and feedback compensation mechanisms, the control stability is improved to 98%. This high stability is achieved based on strict safety checks and execution timing arrangements, ensuring the reliable execution of control instructions.
[0062] According to one aspect of the present application, step S11 is specifically:
[0063] Step S111, receiving the original data stream from the port area energy management system, slicing the data stream to obtain a data slicing set, extracting timestamps from the data slicing set to obtain a time feature set, classifying the data based on the time feature set to obtain a classified data set, and extracting power, voltage, and current data from the classified data set to obtain a real-time operation data set.
[0064] Step S112, connect to the historical data table of the database server, extract data records for the most recent year to obtain a historical record set, divide the historical record set into time windows to obtain a time window set, downsample the data in the time window set to obtain a sampling data set, and extract load data and price data from the sampling data set to obtain a historical operation data set.
[0065] Step S113, accessing the sensor network of the environmental monitoring system, collecting real-time environmental data to obtain a sensor data set, performing data verification on the sensor data set to obtain a verification data set, performing data filtering on the verification data set to obtain a filtered data set, and extracting temperature, humidity, and wind speed data from the filtered data set to obtain an environmental parameter data set.
[0066] Step S114: extract timestamps from the real-time operation data set, the historical operation data set, and the environmental parameter data set to obtain a time index set, establish a time mapping relationship based on the time index set to obtain a time mapping set, time align the three data sets according to the time mapping set to obtain an aligned data set, and merge all data in the aligned data set into an original data combination set.
[0067] By building a fusion processing mechanism for multi-source data collection and time alignment, high-quality acquisition of the original data of the port energy system is achieved. In terms of data integrity, the data integrity rate is increased to 99.8% through slicing and time feature extraction of the data stream of the port energy management system. This high integrity rate is achieved based on precise data classification algorithms and adaptive time window division mechanisms. In terms of data timeliness, data latency is reduced by 75% through downsampling of historical data and real-time verification of environmental data. This significant latency reduction is due to the use of efficient data caching mechanisms and parallel processing algorithms. In terms of data consistency, data consistency is improved by 40% through the establishment of time mapping relationships and multi-source data alignment. This improvement in consistency is due to precise timestamp extraction and intelligent data matching algorithms, especially when processing data with different sampling frequencies.
[0068] According to one aspect of the present application, step S12 is specifically:
[0069] Step S121, receiving the original data combination set, dividing it into time windows to obtain a window data set, calculating the basic statistics of each numerical sequence in the window data set to obtain a basic statistical set, standardizing the basic statistical set to obtain a standard statistical set; extracting the mean feature from the standard statistical set to obtain a mean feature set, extracting the variance feature to obtain a variance feature set, extracting the skewness feature to obtain a skewness feature set, extracting the kurtosis feature to obtain a kurtosis feature set, and combining these four feature sets to form a numerical feature set.
[0070] Step S122, perform timestamp analysis on the window data set to obtain a time tag set, extract periodic patterns from the time tag set to obtain a periodic feature set, extract trend patterns to obtain a trend feature set, and extract seasonal patterns to obtain a seasonal feature set; perform frequency analysis on the periodic feature set to obtain a frequency feature set, perform slope analysis on the trend feature set to obtain a slope feature set, and perform periodic analysis on the seasonal feature set to obtain a periodic analysis set; combine the frequency feature set, the slope feature set, and the periodic analysis set to form a time feature set.
[0071] Step S123, based on the window data set, calculate the autocorrelation coefficient of the data sample to obtain the autocorrelation set, calculate the partial autocorrelation coefficient to obtain the partial autocorrelation set, calculate the mutual correlation coefficient to obtain the mutual correlation set; perform a significance test on the autocorrelation set to obtain the autocorrelation test set, perform a significance test on the partial autocorrelation set to obtain the partial correlation test set, perform a significance test on the mutual correlation set to obtain the mutual correlation test set; combine the three test sets to form a statistical feature set.
[0072] Step S124, perform feature fusion on the numerical feature set, the time feature set and the statistical feature set to obtain a comprehensive feature set, perform principal component analysis on the comprehensive feature set to obtain a principal component feature set, perform feature importance sorting on the principal component feature set to obtain a sorted feature set, and select key features based on the sorted feature set to obtain a data feature set.
[0073] Step S125, perform kernel density estimation on each time window data in the window data set to obtain a kernel density set, construct a probability density function based on the kernel density set to obtain a density function set, perform parameter estimation on the density function set to obtain a parameter estimation set, and use the parameter estimation set to calculate the probability density value of each data point to obtain a density distribution set.
[0074] Step S126: construct an anomaly detection model based on the density distribution set and the data feature set to obtain a detection model set, optimize the parameters of the detection model set to obtain an optimized parameter set, and use the optimized parameter set to determine the outlier detection threshold to obtain a threshold parameter set.
[0075] Step S127: Apply the threshold parameter set to the window data set for anomaly detection to obtain a preliminary tag set, perform spatial correlation analysis on the preliminary tag set to obtain a spatial association set, perform tag optimization based on the spatial association set to obtain an optimized tag set, and map the optimized tag set back to the original data timestamp to obtain an abnormal data tag set.
[0076] By building an integrated framework for multi-dimensional feature extraction and anomaly detection, deep feature expression and anomaly identification of port energy data are achieved. In terms of feature extraction effect, the feature expression capability is improved by 55% through the collaborative extraction of numerical features, time features and statistical features. This improvement is due to the use of an adaptive feature fusion algorithm that can dynamically capture the multi-dimensional change characteristics of data. In terms of anomaly detection accuracy, the anomaly detection accuracy reaches 96% through kernel density estimation and probability density distribution analysis. This high accuracy is achieved based on strict parameter optimization and multiple verification mechanisms to ensure the reliability of anomaly detection. In terms of feature importance evaluation, the feature screening efficiency is improved by 65% through principal component analysis and feature importance sorting. This efficiency improvement is due to the innovative feature weight calculation method and dynamic threshold adjustment mechanism.
[0077] According to one aspect of the present application, step S13 is specifically:
[0078] Step S131, receiving an abnormal data marking set, extracting abnormal marking features from it to obtain a marking feature set, classifying the original data combination set based on the marking feature set to obtain a classification result set, extracting data records with abnormal markings from the classification result set to obtain an abnormal data subset, and classifying the remaining data records as a normal data subset.
[0079] Step S132, segment the abnormal data subset into time series to obtain a time series segment set, calculate the autocorrelation coefficient for each time series segment set to obtain an autocorrelation coefficient set, calculate the mutual correlation coefficient with the adjacent time window to obtain a mutual correlation coefficient set, and combine the autocorrelation coefficient set and the mutual correlation coefficient set to form a correlation parameter set.
[0080] Step S133: construct a data correction model based on the correlation parameter set to obtain a corrected model set, optimize the parameters of the corrected model set to obtain an optimized parameter set, use the optimized parameter set to calculate a correction value for each outlier in the abnormal data subset to obtain a corrected value set, and replace the corresponding outlier with the corrected value set to obtain a corrected data set.
[0081] Step S134: perform data integrity verification on the corrected data set to obtain a verification result set, perform quality assessment on the corrected data set based on the verification result set to obtain a quality score set, screen qualified corrected data based on the quality score set to obtain a qualified data set, and merge the qualified data set with the normal data subset in time series to obtain a cleaned data set.
[0082] By establishing a dual guarantee mechanism of data correction and quality assessment, high-quality cleaning of the port area energy data was achieved. In terms of the correction effect of abnormal data, the correction accuracy reached 93% through time series segmentation and correlation analysis. This high accuracy is due to the precise calculation of autocorrelation and mutual correlation coefficients, as well as the optimization of the correction model based on time series characteristics. In terms of data quality improvement, through multi-step verification and evaluation, the data quality score increased by 45%. This quality improvement is due to strict integrity verification and multi-dimensional quality assessment mechanisms. In terms of data merging efficiency, through intelligent time series merging algorithms, data processing efficiency is increased by 70%. This efficiency improvement is based on innovative data structure design and parallel processing strategies.
[0083] According to one aspect of the present application, step S21 is specifically:
[0084] Step S21 is specifically as follows: Step S211, receive a standardized data set, perform an integrity check on the data to obtain an integrity report set, identify missing values based on the integrity report set to obtain a missing mark set, use a time series interpolation algorithm to repair the data marked by the missing mark set to obtain a repaired data set; perform a stationarity test on the repaired data set to obtain a stationarity indicator set, and preprocess the data based on the stationarity indicator set to obtain a preprocessed data set.
[0085] Step S212, slice the preprocessed data set at hourly intervals to obtain an hourly slice set, perform multi-resolution decomposition on the hourly slice set using wavelet transform to obtain an hourly decomposition set, perform noise filtering on the hourly decomposition set to obtain an hourly filtered set, and reconstruct the signal based on the hourly filtered set to obtain an hourly data set.
[0086] Step S213, segment the preprocessed data set according to weekly intervals to obtain a weekly segment set, perform empirical mode decomposition on the weekly segment set to obtain a weekly modal set, extract the intrinsic mode function from the weekly modal set to obtain a weekly IMF set, and perform modal reconstruction on the weekly IMF set to obtain a weekly data set.
[0087] Step S214, divide the preprocessed data set into monthly partition sets, perform singular spectrum analysis on the monthly partition sets to obtain monthly spectrum component sets, identify the main components from the monthly spectrum component sets to obtain monthly principal component sets, and perform component reorganization on the monthly principal component sets to obtain a monthly data set.
[0088] Step S215: Calculate the decomposition quality index for the hourly data set to obtain the hourly quality set, calculate the decomposition quality index for the weekly data set to obtain the weekly quality set, and calculate the decomposition quality index for the monthly data set to obtain the monthly quality set; comprehensively evaluate the three quality sets to obtain the decomposition quality set.
[0089] Step S216: Based on the decomposition quality set, components of the hourly data set are screened to obtain an hourly screened set, components of the weekly data set are screened to obtain a weekly screened set, and components of the monthly data set are screened to obtain a monthly screened set; the three screened sets are combined to form a multi-scale component set.
[0090] Step S217: performing inter-scale correlation analysis on the multi-scale component set to obtain a scale correlation set, performing component optimization based on the scale correlation set to obtain an optimized component set, and reorganizing the optimized component set into a final multi-scale time series to obtain a time scale data set.
[0091] By establishing a comprehensive framework for multi-scale time series decomposition and quality assessment, deep time series feature extraction of port energy data is achieved. In terms of data preprocessing effect, data availability is improved to 99.5% through integrity check and missing value repair. This high availability is achieved based on innovative time series interpolation algorithms and adaptive stationarity processing mechanisms. In terms of multi-scale decomposition effect, the accuracy of time feature extraction is improved by 65% through the coordinated application of wavelet transform, empirical mode decomposition and singular spectrum analysis. This accuracy improvement stems from the complementary advantages of multiple decomposition algorithms: wavelet transform is good at capturing mutation features, empirical mode decomposition is better than extracting nonlinear features, and singular spectrum analysis is good at processing periodic features. In terms of decomposition quality, through comprehensive evaluation and component optimization, the reliability of the decomposition results reaches 94%. This high reliability is due to strict quality indicator evaluation and component optimization mechanism based on scale correlation.
[0092] According to one aspect of the present application, step S22:
[0093] Step S221, receiving a time scale data set, constructing a port area energy network topology map to obtain a topology map set, extracting node features of the topology map to obtain a node feature set, extracting edge features of the topology map to obtain an edge feature set, and using a graph neural network to perform feature extraction on the node feature set and the edge feature set to obtain a graph feature set.
[0094] Step S222: extract periodic features from the time scale data set to obtain a periodic feature set, extract trend features to obtain a trend feature set, extract seasonal features to obtain a season feature set, and combine the periodic feature set, trend feature set and season feature set to obtain a time feature subset.
[0095] Step S223, perform feature fusion on the graph feature set and the load data in the time scale data set to obtain a load fusion set, perform fluctuation feature extraction on the load fusion set to obtain a fluctuation feature set, perform load type feature extraction to obtain a type feature set, perform energy consumption mode feature extraction to obtain a mode feature set, and combine the fluctuation feature set, type feature set and mode feature set to obtain a load feature subset.
[0096] Step S224, perform feature fusion on the graph feature set and the price data in the time scale data set to obtain a price fusion set, perform price elasticity feature extraction on the price fusion set to obtain an elasticity feature set, perform market correlation feature extraction to obtain a market feature set, perform price volatility feature extraction to obtain a price volatility set, and combine the elasticity feature set, market feature set and price volatility set to obtain a price feature subset.
[0097] Step S225, perform feature importance evaluation on the time feature subset, the load feature subset and the price feature subset to obtain an importance score set, perform feature screening based on the importance score set to obtain a screened feature set, perform feature dimensionality reduction on the screened feature set to obtain a reduced dimensionality feature set, and normalize the reduced dimensionality feature set to obtain a feature vector set.
[0098] By building a multi-dimensional feature extraction framework based on graph neural networks, the deep feature expression of the port area energy network is achieved. In terms of topological feature extraction, the network feature expression capability is improved by 75% through the extraction of node features and edge features of graph neural networks. This significant improvement is due to the deep understanding of the energy network structure and the feature propagation mechanism of graph neural networks. In terms of time feature extraction, through the collaborative analysis of periodicity, trend and seasonal features, the accuracy of time series feature recognition reaches 92%. This high accuracy is based on innovative feature fusion algorithms and multi-level feature extraction strategies. In terms of load feature extraction, through the comprehensive analysis of fluctuation features, type features and pattern features, the accuracy of load feature expression is improved by 60%. This accuracy improvement is due to the synergy of multi-dimensional features and the adaptive feature dimensionality reduction mechanism.
[0099] According to one aspect of the present application, step S31 is specifically:
[0100] Step S311, receiving a feature vector set, performing a data distribution test on it to obtain a distribution test set, extracting a skewness index from the distribution test set to obtain a skewness index set, extracting a kurtosis index to obtain a kurtosis index set, and extracting a quantile index to obtain a quantile set; performing indicator fusion on the skewness index set, the kurtosis index set and the quantile set to obtain a distribution statistics set; identifying abnormal distribution patterns based on the distribution statistics set to obtain an abnormal pattern set, and combining the distribution statistics set and the abnormal pattern set to form a distribution feature set.
[0101] Step S312, receiving the feature weight matrix, performing weight standardization on it to obtain a standard weight set, calculating the entropy of the weight to obtain an entropy value set, constructing a weight adjustment factor based on the entropy value set to obtain an adjustment factor set; applying the adjustment factor set to the standard weight set to obtain a modified weight set; performing a consistency check on the modified weight set to obtain a consistency set, and optimizing the weights based on the consistency set to obtain an optimized weight set.
[0102] Step S313, weighting the distribution feature set according to the optimized weight set to obtain a weighted feature set, performing feature space transformation on the weighted feature set to obtain a transformed feature set, calculating the correlation coefficients between the features to obtain a correlation coefficient set; constructing a feature similarity matrix based on the correlation coefficient set to obtain a similarity matrix; performing cluster analysis on the similarity matrix to obtain a clustered feature set, and combining the clustered feature set with the transformed feature set to obtain a feature mapping set.
[0103] Step S314, perform singular value decomposition on the feature mapping set to obtain a singular value set, calculate the contribution rate of each singular value to obtain a contribution rate set, determine the number of principal components based on the contribution rate set to obtain a principal component number set; extract the principal components based on the principal component number set to obtain a principal component matrix; perform orthogonal rotation on the principal component matrix to obtain a rotated feature set, calculate the feature load to obtain a load feature set, and combine the rotated feature set and the load feature set to form a principal component feature set.
[0104] Step S315, calculate the variance contribution of the principal component feature set to obtain the variance contribution set, perform cumulative contribution rate analysis based on the variance contribution set to obtain the cumulative contribution set, set the contribution rate threshold to obtain the threshold feature set; perform sensitivity analysis on the features in the threshold feature set to obtain the sensitivity set, and calculate the feature importance to obtain the importance set.
[0105] Step S316: Comprehensively score the sensitivity set and the importance set to obtain a scoring feature set, rank and analyze the scoring feature set to obtain a ranking result set, select key features based on the ranking result set to obtain a key feature set; quantify the uncertainty of the key feature set to obtain an uncertainty set, and combine the uncertainty set with the key feature set to obtain a candidate factor set.
[0106] Step S317: perform factor independence test on the candidate factor set to obtain an independence set, calculate the mutual information between factors to obtain a mutual information set, screen the final factors based on the mutual information set and the independence set to obtain a screened factor set; perform stability assessment on the screened factor set to obtain a stability set, and combine factors that meet the stability requirements to form an uncertainty factor set.
[0107] By establishing a dual optimization mechanism of feature mapping and principal component analysis, the uncertainty factors of the port area energy system are accurately identified. In terms of distribution feature extraction, the distribution feature identification accuracy reaches 95% through comprehensive analysis of skewness, kurtosis and quantile indicators. This high accuracy is due to strict statistical tests and abnormal pattern recognition mechanisms. In terms of feature mapping effects, the feature expression efficiency is improved by 70% through weight optimization and feature space transformation. This efficiency improvement is based on innovative feature similarity calculation and cluster analysis methods. In terms of uncertainty quantification, the uncertainty identification accuracy is improved by 55% through principal component analysis and stability assessment. This accuracy improvement is due to strict factor independence test and mutual information analysis mechanism.
[0108] According to one aspect of the present application, step S32:
[0109] Step S321, receiving an uncertainty factor set, performing data grouping on the uncertainty factor set to obtain a grouped data set, calculating statistical features of each group of data to obtain a statistical feature set, selecting an optimal bandwidth parameter based on the statistical feature set to obtain a bandwidth parameter set, and performing kernel density estimation on the grouped data set using the bandwidth parameter set to obtain a density estimation set.
[0110] Step S322, perform probability density function fitting on the density estimation set to obtain a fitting function set, calculate the fitting goodness of fit index to obtain a goodness of fit index set, perform distribution type identification based on the goodness of fit index set to obtain a distribution type set, and combine the fitting function set and the distribution type set to obtain a function matching set.
[0111] Step S323, perform parameter estimation on each distribution in the function matching set to obtain a parameter estimation set, calculate the parameter confidence interval to obtain a confidence interval set, perform parameter sensitivity analysis to obtain a sensitivity set, and combine the parameter estimation set, confidence interval set and sensitivity set to obtain a parameter feature set.
[0112] Step S324: construct a probability distribution function based on the function matching set and the parameter feature set to obtain a distribution function set, perform a distribution test on the distribution function set to obtain a test result set, perform model selection based on the test result set to obtain a model selection set, and combine the distribution function set and the model selection set to form a probability distribution model set.
[0113] By building an integrated framework of kernel density estimation and probability distribution modeling, accurate probability modeling of uncertainty factors is achieved. In terms of density estimation effect, the estimation accuracy is improved by 80% through optimal bandwidth selection and kernel function optimization. This significant improvement is due to adaptive parameter optimization and multiple verification mechanisms. In terms of distribution function fitting, the fitting accuracy reaches 91% through goodness of fit test and parameter estimation. This high accuracy is due to the strict confidence interval calculation and sensitivity analysis mechanism. In terms of model selection, the model reliability is improved by 65% through distribution test and model evaluation. This reliability improvement is based on innovative model evaluation criteria and adaptive parameter adjustment strategies.
[0114] According to one aspect of the present application, step S41 is specifically:
[0115] Step S411, receiving a prediction result set, decomposing it in time dimension to obtain a time series decomposition set, extracting trend items from the time series decomposition set to obtain a trend data set, extracting period items to obtain a period data set, and extracting random items to obtain a random data set; performing feature fusion on the three data sets to obtain a prediction feature set; performing prediction interval estimation on the prediction feature set to obtain an interval estimation set.
[0116] Step S412: construct a baseline emission curve based on the carbon emission data in the interval estimation set to obtain a baseline emission set, set emission reduction target parameters to obtain an emission reduction parameter set, perform target mapping between the baseline emission set and the emission reduction parameter set to obtain an emission target set; perform time period constraint construction on the emission target set to obtain a time period constraint set, perform regional constraint construction to obtain a regional constraint set; combine the emission target set, time period constraint set and regional constraint set to form a carbon emission target set.
[0117] Step S413, extract the port area energy consumption data from the prediction feature set to obtain an energy consumption data set, extract the equipment operation data to obtain an equipment data set, and extract the labor cost data to obtain a labor data set; calculate the energy cost of the energy consumption data set to obtain an energy cost set, calculate the maintenance cost of the equipment data set to obtain a maintenance cost set, and calculate the operating cost of the labor data set to obtain an operating cost set; perform weighted combination of the three cost sets to obtain a port area cost set.
[0118] Step S414, extracting ship energy consumption data from the prediction feature set to obtain an energy consumption data set, extracting berthing time data to obtain a berthing data set, and extracting shore power usage data to obtain a shore power data set; performing energy price mapping on the energy consumption data set to obtain an energy price set, performing time cost mapping on the berthing data set to obtain a time cost set, and performing service cost mapping on the shore power data set to obtain a service cost set; summarizing the costs of the three mapping sets to obtain a shipowner cost set.
[0119] Step S415, construct the objective function for the carbon emission target set to obtain the carbon emission function set, construct the objective function for the port cost set to obtain the port function set, and construct the objective function for the shipowner cost set to obtain the shipowner function set; normalize the targets of the three function sets to obtain the standardized target set, and normalize the constraints to obtain the standardized constraint set; combine the standardized target set and the standardized constraint set to form an upper-level objective function set.
[0120] Step S416: extract market fluctuation features from the prediction feature set to obtain a market feature set, extract policy impact features to obtain a policy feature set, and extract technology change features to obtain a technology feature set; construct scenarios for the three feature sets to obtain a scenario feature set; and map the scenario feature set to the target space to obtain a target mapping set.
[0121] Step S417, perform functional coupling on the upper-layer objective function set and the target mapping set to obtain a coupling function set, perform sensitivity analysis on the coupling function set to obtain a sensitivity set, perform function correction based on the sensitivity set to obtain a correction function set; perform data fusion on the correction function set and the prediction result set to obtain a fusion function set; perform consistency check on the fusion function set to obtain a test result set, and combine the functions that pass the check to form a lower-layer objective function set.
[0122] By constructing a dynamic optimization framework of multi-layer objective functions and constraints, accurate modeling of the three-party objectives of the government, port area and shipowners is achieved. In terms of prediction feature processing, the accuracy of prediction feature expression is improved by 70% through time series decomposition and interval estimation. This accuracy improvement is due to the innovative time dimension decomposition algorithm, which can effectively separate trend items, periodic items and random items, and improve the reliability of prediction through feature fusion. In terms of objective function construction, through multi-dimensional modeling of carbon emission control, operating costs and energy costs, the accuracy of target description reaches 93%. This high accuracy is due to the precise cost mapping mechanism and multi-level target normalization processing. In terms of constraint optimization, through scenario construction and sensitivity analysis, the constraint satisfaction is improved by 65%. This significant improvement is based on a strict function coupling mechanism and a dynamic constraint correction strategy.
[0123] According to one aspect of the present application, step S43:
[0124] Step S431, receiving the upper-level objective function set and constraint condition set, constructing a government carbon tax regulation model to obtain a carbon tax model set, optimizing the parameters of the carbon tax model set to obtain an optimized parameter set, calculating the carbon tax regulation strategy based on the optimized parameter set to obtain a regulation strategy set, and matching the regulation strategy set with the constraint conditions to obtain a government decision set.
[0125] Step S432, receiving the lower-level objective function set and constraint condition set, constructing the port area pricing model to obtain the pricing model set, calculating the revenue under different pricing strategies to obtain the revenue forecast set, performing strategy screening based on the revenue forecast set to obtain the strategy screening set, and matching the strategy screening set with the market constraints to obtain the port area quotation set.
[0126] Step S433: input the government decision set and the port quotation set into the shipowner response model to obtain a response model set, calculate the energy cost under different strategies to obtain a cost forecast set, optimize the energy consumption plan based on the cost forecast set to obtain a plan optimization set, and match the plan optimization set with the operating constraints to obtain the shipowner response set.
[0127] Step S434, constructing a game matrix with the government decision set, the port quotation set and the shipowner response set to obtain a game matrix set, performing Nash equilibrium solution on the game matrix set to obtain an equilibrium solution set, calculating the stability of the equilibrium solution to obtain a stability set, and screening the optimal equilibrium solution based on the stability set to obtain an optimal solution set.
[0128] Step S435, perform multi-objective trade-offs on the optimal solution set to obtain a trade-off coefficient set, calculate the interest distribution of each party to obtain a distribution ratio set, evaluate the fairness of the distribution plan to obtain a fairness set, and combine the trade-off coefficient set, the distribution ratio set and the fairness set to form a balance coefficient set.
[0129] By establishing a multi-layer game equilibrium and an optimization mechanism for benefit distribution, a dynamic balance of multi-agent decision-making is achieved. In terms of strategy optimization, the decision-making accuracy is improved by 75% through the coordinated optimization of carbon tax regulation and pricing strategy. This high accuracy is due to the innovative parameter optimization algorithm and strict constraint matching mechanism. In terms of equilibrium solution, the reliability of the equilibrium solution reaches 96% through Nash equilibrium and stability analysis. This high reliability is due to strict equilibrium verification and multiple stability evaluations. In terms of benefit distribution, the rationality of distribution is improved by 60% through multi-objective trade-offs and fairness evaluations. This rationality improvement is based on innovative trade-off coefficient calculations and dynamic optimization of distribution schemes.
[0130] According to one aspect of the present application, step S52 is specifically:
[0131] Step S521, receive the monthly optimization strategy set and the weekly forecast result set, perform time scale mapping to obtain a time mapping set, decompose the monthly strategy into weekly initial plans based on the time mapping set to obtain an initial plan set, perform boundary constraint check on the initial plan set to obtain a boundary check set, and combine the plans that meet the boundary conditions to form a weekly strategy set.
[0132] Step S522: construct an objective function for each strategy in the weekly strategy set to obtain an objective function set, calculate the weight coefficient of each objective function to obtain a weight coefficient set, combine multiple objective functions to obtain a combined function set, and combine the combined function set with system constraints to obtain a weekly objective set.
[0133] Step S523: construct a rolling time window sequence to obtain a time window set, perform local optimization in each rolling time window to obtain a local optimization set, evaluate the local optimization results to obtain an evaluation result set, update the optimization parameters based on the evaluation result set to obtain an updated parameter set, and generate a weekly constraint set based on the updated parameter set and the local optimization set.
[0134] Step S524: input the weekly constraint set into the scheduling optimization model to obtain an optimization model set, perform simulation calculations on different scenarios to obtain a simulation result set, perform scheme evaluation based on the simulation result set to obtain an evaluation index set, and select the optimal scheme combination from the evaluation index set to form a weekly scheduling plan set.
[0135] By building a dual optimization framework of rolling optimization and multi-objective scheduling, the precise optimization of the weekly scheduling plan is achieved. In terms of strategy decomposition, the decomposition accuracy reaches 89% through time mapping and boundary constraint verification. This high accuracy is due to the precise time scale conversion and strict feasibility verification mechanism. In terms of target optimization, the optimization effect is improved by 70% through weight coefficient optimization and multi-objective combination. This effect improvement is due to the innovative objective function construction and adaptive weight adjustment strategy. In terms of scheduling plan generation, the plan reliability is improved by 65% through simulation verification and scheme evaluation. This reliability improvement is based on strict scenario analysis and a multi-dimensional evaluation index system.
[0136] According to one aspect of the present application, step S53 is specifically as follows: Step S531, receiving a weekly scheduling plan set and an hourly prediction result set, performing time granularity decomposition on the weekly scheduling plan set to obtain an initial decomposition set, performing plan correction based on the hourly prediction result set to obtain a corrected plan set; performing boundary constraint check on the corrected plan set to obtain a boundary check set, performing feasibility assessment on the boundary check set to obtain a feasible plan set; reorganizing the feasible plan set according to the execution sequence to obtain an hourly plan set.
[0137] Step S532, perform load characteristic analysis on the hourly plan set to obtain a load characteristic set, perform energy flow characteristic analysis to obtain an energy characteristic set, perform equipment status characteristic analysis to obtain an equipment characteristic set; perform data fusion on the three characteristic sets to obtain a characteristic fusion set; construct a control target model based on the characteristic fusion set to obtain a target model set, perform parameter calibration on the target model set to obtain a calibration parameter set, and apply the calibration parameter set to the target model to obtain an hourly target set.
[0138] Step S533, extract control variables from the hourly target set to obtain a control variable set, extract state variables to obtain a state variable set, extract constraint variables to obtain a constraint variable set; establish a prediction model for the control variable set to obtain a prediction model set, establish a dynamic model for the state variable set to obtain a dynamic model set, establish a constraint model for the constraint variable set to obtain a constraint model set; fuse the three model sets to obtain a fused model set.
[0139] Step S534: construct a rolling time domain prediction framework based on the fusion model set to obtain a prediction framework set, set the prediction step size and the control step size to obtain a step size parameter set, perform prediction window division to obtain a window division set; perform robustness analysis on the prediction framework set to obtain a robustness set, and perform stability analysis to obtain a stability set; combine the prediction frameworks that meet the robustness and stability requirements to form a prediction control set.
[0140] Step S535, perform control parameter optimization on the prediction control set to obtain an optimized parameter set, perform feedback gain calculation to obtain a gain parameter set, perform feedforward compensation calculation to obtain a compensation parameter set; perform parameter integration on the three parameter sets to obtain an integrated parameter set; perform parameter sensitivity analysis on the integrated parameter set to obtain a sensitivity set, and perform parameter screening based on the sensitivity set to obtain a control parameter set.
[0141] Step S536: construct a real-time optimization model based on the control parameter set to obtain an optimization model set, set the optimization target weight to obtain a weight coefficient set, set the optimization constraint conditions to obtain a constraint condition set; solve the optimization model set to obtain a solution result set, perform feasibility verification on the solution result set to obtain a verification result set, and select the optimal solution from the verification result set to obtain an optimization control set.
[0142] Step S537, perform a security check on the optimized control set to obtain a security check set, perform execution timing scheduling to obtain an execution sequence set, perform control instruction encoding to obtain an instruction encoding set; perform communication protocol encapsulation on the instruction encoding set to obtain a protocol encapsulation set, perform data verification to obtain a verification result set; combine the control instructions that pass the verification to form a real-time control instruction set.
[0143] By establishing an integrated framework of predictive control and real-time optimization, accurate generation of hourly control instructions is achieved. In terms of plan decomposition, the decomposition accuracy reaches 94% through feasibility assessment and boundary verification. This high accuracy is due to the innovative time granularity decomposition algorithm and strict constraint verification mechanism. In terms of control model construction, the model accuracy is improved by 80% through the coordinated optimization of predictive model and dynamic model. This accuracy improvement is due to strict parameter calibration and multi-dimensional model fusion strategy. In terms of control instruction generation, the instruction reliability is improved by 75% through safety checks and execution timing scheduling. This reliability improvement is based on innovative instruction encoding mechanism and strict communication protocol encapsulation strategy.
[0144] In another embodiment of the present application, step S22 may also be:
[0145] Step S22 is specifically as follows: Step S221, receiving a time scale data set, slicing the data according to timestamps to obtain a time series slice set, extracting energy equipment status data from the time series slice set to obtain an equipment status set, identifying topological connection relationships from the equipment status set to obtain a connection relationship set, and constructing a time series topological graph sequence based on the connection relationship set to obtain a topological sequence set; detecting topological change events from the topological sequence set to obtain a topological event set, segmenting the topological sequence set based on the topological event set to obtain a topological fragment set, and incrementally updating the topological fragment set to obtain an updated topology set.
[0146] Step S222: for each topological structure in the updated topological set, extract the node connectivity features to obtain a connectivity feature set, extract the path reachability features to obtain a reachability feature set, and extract the clustering coefficient features to obtain a clustering feature set; combine the connectivity feature set, the reachability feature set, and the clustering feature set to obtain a static feature set; for the topological event set, extract the event type features to obtain an event feature set, extract the change frequency features to obtain a frequency feature set, and extract the evolution pattern features to obtain an evolution feature set; combine the event feature set, the frequency feature set, and the evolution feature set to obtain a dynamic feature set.
[0147] Step S223, extract periodic features from the time scale data set to obtain a periodic feature set, extract trend features to obtain a trend feature set, and extract seasonal features to obtain a season feature set; perform time series alignment on the static feature set and the dynamic feature set to obtain an alignment feature set; perform feature fusion on the periodic feature set, the trend feature set, the seasonal feature set, and the alignment feature set to obtain a time feature subset.
[0148] Step S224, spatially map the static feature set with the load data in the time scale data set to obtain a load mapping set, and temporally associate the dynamic feature set with the load mapping set to obtain a load association set; extract fluctuation characteristics from the load association set to obtain a fluctuation feature set, extract load type characteristics to obtain a type feature set, and extract energy consumption mode characteristics to obtain a mode feature set; combine the fluctuation feature set, type feature set and mode feature set to obtain a load feature subset.
[0149] Step S225, spatially map the static feature set with the price data in the time scale data set to obtain a price mapping set, and temporally associate the dynamic feature set with the price mapping set to obtain a price association set; extract price elasticity features from the price association set to obtain an elasticity feature set, extract market correlation features to obtain a market feature set, and extract price volatility features to obtain a price volatility set; combine the elasticity feature set, the market feature set and the price volatility set to obtain a price feature subset.
[0150] Step S226: perform importance evaluation on the time feature subset, the load feature subset, and the price feature subset to obtain an importance score set, perform feature selection based on the importance score set to obtain a selected feature set, perform dimensionality reduction on the selected feature set to obtain a reduced feature set, and standardize the reduced feature set to obtain a feature vector set.
[0151] In another embodiment of the present application, step S23 is specifically as follows:
[0152] Step S231, receiving a feature vector set and a feature weight matrix, extracting dynamic topological features from the feature vector set to obtain a dynamic feature sequence, performing time series correlation analysis on the dynamic feature sequence to obtain a correlation matrix, and calculating feature importance based on the correlation matrix and the feature weight matrix to obtain an importance sequence.
[0153] Step S232, perform threshold segmentation on the importance sequence to obtain a threshold feature set, identify key features from the threshold feature set to obtain a key feature set, perform feature mapping on the key feature set and the correlation matrix to obtain a mapping feature set; perform time series decomposition on the mapping feature set to obtain a decomposed feature set, extract long-term features from the decomposed feature set to obtain a long-term feature set, extract short-term features to obtain a short-term feature set, and combine the long-term feature set and the short-term feature set to obtain a combined feature set.
[0154] Step S233: construct a feature evaluation model based on the combined feature set to obtain an evaluation model set, use the evaluation model set to score the importance of the feature vector set to obtain a scoring feature set, perform feature clustering on the scoring feature set to obtain a clustering feature set; extract stable features from the clustering feature set to obtain a stable feature set, extract fluctuation features to obtain a fluctuation feature set, and combine the stable feature set and the fluctuation feature set to obtain a feature combination set.
[0155] Step S234, perform hierarchical decomposition on the feature combination set to obtain a hierarchical feature set, identify the dominant features from the hierarchical feature set to obtain a dominant feature set, identify the secondary features to obtain a secondary feature set; perform weight mapping on the dominant feature set and the feature weight matrix to obtain a dominant weight set, perform weight mapping on the secondary feature set and the feature weight matrix to obtain a secondary weight set; construct a hierarchical weight system based on the dominant weight set and the secondary weight set to obtain a weight system set.
[0156] Step S235: perform consistency check on the weight system set to obtain a consistency index set, perform weight correction based on the consistency index set to obtain a corrected weight set, perform weighted combination of the corrected weight set and the feature combination set to obtain a weighted feature set; perform normalization processing on the weighted feature set to obtain a normalized feature set, and perform noise reduction processing on the normalized feature set to obtain a noise reduction feature set.
[0157] Step S236, calculate the feature contribution based on the denoising feature set and the feature weight matrix to obtain a contribution set, sort and analyze the contribution set to obtain a sorted feature set, select the optimal feature combination from the sorted feature set to obtain an optimal feature set; calibrate the optimal feature set with the original feature weight matrix to obtain a calibration weight matrix.
[0158] Step S237, perform correlation verification on the optimal feature set and the calibration weight matrix to obtain a verification result set, perform feature screening based on the verification result set to obtain a screening feature set, group the screening feature set according to importance to obtain a grouped feature set; perform feature reorganization on the grouped feature set to obtain a reorganized feature set, and combine the reorganized feature set with the calibration weight matrix to form a new feature weight matrix.
[0159] In another embodiment of the present application, the upper layer scheduling mathematical model may also be:
[0160] (1) Objective function: The government takes the minimization of the overall cost of the port area and the shipowner as the objective function, which is composed of the sum of the port area cost and the shipowner cost. The port area cost and the shipowner cost are uploaded from the lower layer and can be expressed as:
[0161] W up =min(W port +W ship )
[0162] Where W port The cost of supplying electricity to the port area, W ship Cost to the shipowner.
[0163] (2) Optimization variable: The optimization variable controlled by the upper level is carbon tax.
[0164] (3) Constraint function: Carbon tax needs to be kept within a certain range, which can be expressed as:
[0165] e co2,min ≤e co2 ≤e co2,max
[0166] In the formula, e co2 For carbon tax, e co2,max 、e co2,min are the maximum and minimum values of carbon tax respectively.
[0167] The lower-level scheduling mathematical model can also be:
[0168] In the lower-level scheduling, the port area's load mainly includes shore power load and its own power load, and the shipowner's load includes electric ships with auxiliary engines and pure electric ships.
[0169] (1) Mathematical model of the port area
[0170] 1) Port area objective function: The port area takes the maximum benefit as its objective function, which includes shore power revenue, operation and maintenance costs of distributed power sources and energy storage, external power purchase costs, and penalty functions, which can be expressed as:
[0171] W port =min(W grid +W ess +W om -W sell -W sub -W con )
[0172] a. External power purchase cost: When the port area’s own photovoltaic, wind turbines and storage energy cannot meet its power generation needs, it needs to purchase electricity from the external power grid. The cost of purchasing electricity can be expressed as:
[0173] W grid =Σ24 t=1μ grid (t)P grid (t)·Δt
[0174] In the formula, μ grid (t) is the time-of-use electricity price at time t, P grid (t) is the external electricity purchase amount at time t.
[0175] b. Energy storage system loss: In order to increase the dispatching flexibility of the port system during peak or valley loads, the charging and discharging of the energy storage system is also taken into account. Its energy loss over time can be expressed as:
[0176] W ess =Σ24 t=1μ ess [P ess,d (t)+P ess,c (t)]·Δt
[0177] In the formula, μ ess is the energy loss coefficient of energy storage, P ess,c (t) and P ess,d (t) are the charging and discharging power of the energy storage system, and Δt is a scheduling cycle.
[0178] c. Equipment operation and maintenance costs: The costs incurred during the operation and maintenance of photovoltaic and wind turbines can be expressed as:
[0179] W om =Σ24 t=1[P PV (t)μ PV +P WT (t)μ WT ]·Δt
[0180] In the formula, μ PV , μ WT are the operation and maintenance coefficients of photovoltaic and wind turbines, P PV (t),P WT (t) are the output power of photovoltaic and wind turbine at time t respectively.
[0181] d. Revenue from shore power sales:
[0182] W sell =Σ24 t=1E sell (t)P port (t)
[0183] In the formula, E sell (t) and P port (t) is the comprehensive shore power sales price and the energy supply of the port area to ship owners at time t when the iteration reaches convergence.
[0184] e. Subsidy income: The government will implement certain subsidy policies for the supply of shore power to the port area based on the setting of carbon tax. There is a certain relationship between the amount of subsidy and the amount of shore power supply.
[0185] W sub =Σ24 t=1[λ 2 e2 co2+λ 1 e co2 ]·P port (t)
[0186] In the formula, λ 2 ,λ 1 is the subsidy coefficient.
[0187] f. Behavioral benefits: To limit the port area’s behavior of excessively reducing power generation when electricity prices are low in order to gain profits.
[0188] W con =Σ24 t=1[σ 2 P port (t) 2 +σ 1 P port (t)]
[0189] In the formula, σ 2 , σ 1 is the behavior restriction coefficient.
[0190] 2) Port optimization variables: The port optimization variable is the shore power price, which is obtained by balancing the supply and demand of port and shipowner energy. The price is updated in the kth iteration as follows:
[0191] E base,k (t) = γ base P ship,k (t)+E fs (t)
[0192] E tk,k (t) = E tk,k-1 (t)+γ tk (P ship,k (t)-P port,k (t))
[0193] E sell,k (t) = E base,k (t)+E tk,k (t)
[0194] In the formula, E base,k (t), E tk,k (t), E sell,k (t) are the basic electricity price, regulated electricity price and comprehensive shore power sales price at the kth iteration t, respectively. tk,k-1 (t) is the electricity price regulated at the k-1th iteration time t, γ base is a positive parameter about the basic electricity price, γ tk is the control coefficient, P ship,k (t), P port,k (t) are the shipowner’s shore power demand and the port’s energy supply to the shipowner at the kth iteration time t.
[0195] 3) Port area constraint function: The port area constraints are also divided into power balance constraints, power purchase constraints and energy storage constraints. Since the energy storage model has been explained in Chapter 2, it will not be repeated here.
[0196] a. Power balance constraints:
[0197] P WT (t)+P PV (t)+P grid,k (t)+P ess,c,k (t)-P ess,d,k (t) = P port,k (t)+P port,own (t)
[0198] Where P port,own (t) is the port area’s own load demand.
[0199] b. Power purchase constraints:
[0200] P grid,min ≤P grid,k (t) ≤Pgrid,max
[0201] Where P grid,k (t), P ess,c,k (t) and P ess,d,k (t) are the purchased electricity and energy storage charging and discharging power at the kth iteration t, respectively. grid,max , P grid,min They are the upper and lower limits of the amount of electricity purchased respectively.
[0202] (2) Shipowner mathematical model
[0203] 1) Shipowner objective function: The shipowner's objective function is to minimize the total cost, which includes the cost of shore power, auxiliary power generation cost and carbon emission cost, which can be expressed as:
[0204] W ship = min(W buy +W ae +W co2 )
[0205] a. Shore power expenditure: The cost of purchasing shore power can be expressed as:
[0206] W buy =Σ24 t=1E sell (t)P ship (t)
[0207] Where P ship (t) is the energy demand of the ship owner at time t when the iteration reaches convergence.
[0208] b. Auxiliary power generation cost: determined by fuel cost, which is determined by power generation. Fuel consumption and fuel cost can be expressed as:
[0209] M ae (t) = m 2 P 2 ae(t)+m 1 P ae (t)+m 0
[0210] W ae =ρ ae Σ24 t=1 M ae (t)
[0211] Where M ae (t) is the fuel consumption of auxiliary power generation, P ae (t) is the auxiliary power generation at time t, m 2 、m1 、m 0 is the power fuel coefficient, ρ ae is the fuel price coefficient.
[0212] c. Carbon emission cost: The carbon emission cost is determined by the amount of fuel and can be expressed as:
[0213] W co2 = C co2 ·e co2 =ρ co2 Σ24 t=1M ae (t)·e co2
[0214] In the formula, C co2 is the total carbon emissions, ρ co2 is the conversion factor between fuel and carbon emissions.
[0215] 2) Optimization variables: shore power demand of ships with auxiliary engines and load shift of pure electric ships.
[0216] 3) Constraint function: including auxiliary power generation constraints and carbon emission constraints.
[0217] a. Auxiliary power generation constraints:
[0218] P ae,min ≤P ae,k (t)≤P ae,max
[0219] b. Carbon emission constraints:
[0220] C co2,min ≤C co2,k ≤C co2,max
[0221] In the formula, C co2,max , C co2,min They are the upper and lower limits of carbon emissions respectively.
[0222] c. Load translation constraints of pure electric ships
[0223] P ship (t) = P ship,fj (t)+P ship,cd (t)
[0224] Σ24 t=1ΔP ship,cd (t)=0
[0225] P ship,cd,min -P ship,cd ≤ΔP ship,cd ≤P ship,cd,max -Pship,cd
[0226] Where P ship,fj is the load of the ship with auxiliary machinery and power, P ship,cd is the pure electric ship load, ΔP ship,cd is the load displacement of the pure electric ship, P ship,cd,max , P ship,cd,min are the maximum and minimum values of the load of a pure electric ship.
[0227] According to one aspect of the present application, the algorithm is as follows:
[0228] The upper layer uses the gold panning optimization algorithm (Algorithm 1) as follows:
[0229] Initialize carbon tax e co2 , population size N, total number of iterations K 1 and the current iteration number k 1 =0;
[0230] Repeat:
[0231] 2.k 1 =k 1 +1;
[0232] 3. e co2 It is sent to the lower layer, and the lower layer uses Algorithms 2 and 3 to obtain W port , W ship Upload to the upper layer;
[0233] 4. Based on the feedback data from the lower layer, the gold panning optimization algorithm is used to re-formulate the e-port and shipowner total cost minimization. co2 and passed down to the lower levels;
[0234] End for k 1 ==K 1
[0235] According to one aspect of the present application, the lower layer controls the CPLEX solution steps:
[0236] Port area solution (Algorithm 2):
[0237] 1. Receive e co2 , initialize the electricity price E sell , the total number of iterations K 2 , the current number of iterations k 2 =0;
[0238] Repeat:
[0239] 2.k 2 =k 2 +1;
[0240] 3. Using CPLEX solver to obtain the shore power supply P with the goal of minimizing the power supply cost port and external power purchase cost W grid And shore power revenue W sell ;
[0241] 4. Pass the electricity price to the shipowner for Algorithm 3;
[0242] 5. Based on the shore power demand P reported by the shipowner ship , combined with P port Adjust E base and E tk , get the new shore power price, and then recalculate to get P port ;
[0243] End for k 2 ==K 2 ;
[0244] Shipowner solution (Algorithm 3):
[0245] 1. Receive e co2 And E of Algorithm 2 base and E tk ;
[0246] 2. Calculate P using the CPLEX solver with minimum cost ship,fj , ΔP ship,cd After comprehensive analysis, we get P ship , W co2 and the shipowner's cost W ship ;
[0247] 3.P ship Feedback to Algorithm 2;
[0248] It should be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present invention will not further describe various possible combinations.
Claims
1. A dual-layer coordination optimization method for port energy for multiple stakeholders, characterized in that: The steps include: Step S1, receiving the real-time operation data, historical data and environmental monitoring data of the port area, and combining them to form an original data set; identifying outliers through probability density distribution, using time series correlation analysis to correct data, using range normalization and unique hot encoding processing, and outputting a standardized data set; Step S2: Decompose the standardized data set into hourly, weekly, and monthly time series, construct a topological diagram of the port energy network, and use graph neural networks to extract node and edge features; combine time, load, and price dimension features, and output feature vector sets and weight matrices through importance evaluation; Step S3, perform feature mapping based on the feature vector set and the weight matrix, identify uncertainty factors through principal component decomposition, establish a probability distribution model, and output a multi-scale prediction result set; Step S4: construct a three-layer game model of government-port-shipowner based on the prediction result set, optimize carbon tax, price and energy consumption constraints, calculate the game equilibrium, and output the balance coefficient set; Step S5: According to the balance coefficient set and the prediction result set, monthly strategy optimization, weekly scheduling optimization and hourly real-time control are performed, and control instruction sets for each time scale are output.
2. According to claim 1, a dual-layer coordination optimization method for port energy for multiple stakeholders is characterized in that: Step S1 is specifically as follows: Step S11, real-time data stream is obtained from the energy management system, historical records are read from the database, and data is collected by the environmental monitoring system. After sharding, time feature extraction and data verification, the data are aligned and merged into a raw data combination set according to timestamp alignment; Step S12, extracting numerical features, time features and statistical features from the original data by windowing; After feature fusion and kernel density estimation, an abnormal data label set is output; Step S13, separate abnormal data, calculate time series correlation coefficients, replace abnormal values by modifying the model; after integrity verification and quality assessment, merge with normal data into a cleaned data set; Step S14: Normalize the row range of the numerical data in the cleaned data set, perform one-hot encoding on the categorical data, and merge and output a standardized data set.
3. The method for dual-layer coordination optimization of port energy for multiple stakeholders according to claim 1 is characterized in that: Step S2 is specifically as follows: Step S21, receiving a standardized data set, performing missing value repair and stationarity preprocessing; performing hourly slice multi-resolution decomposition, weekly segmented empirical mode decomposition, and monthly segmented singular spectrum analysis on the data to obtain corresponding scale data sets respectively; Calculate decomposition quality indicators, select and optimize components, and reorganize into time scale data sets; Step S22, construct the port area energy network topology map, extract node and edge features through the graph neural network to obtain the graph feature set; fuse the time scale data to extract the cycle, trend, and seasonal features; fuse the load data to extract the fluctuation, type, and pattern features; fuse the price data to extract the elasticity, market, and price fluctuation features; Evaluate the importance and output the feature vector set after dimensionality reduction; Step S23: Calculate the correlation matrix for the feature vector set, calculate the importance score of each feature based on the correlation, assign weights to the features according to the scores, and output the feature weight matrix.
4. According to claim 1, a dual-layer coordination optimization method for port energy for multiple stakeholders is characterized in that: Step S3 is specifically as follows: Step S31, receiving a feature vector set and a feature weight matrix, extracting data distribution features, performing weight standardization and entropy value calculation; performing spatial transformation and correlation analysis on weighted features, and outputting an uncertainty factor set through singular value decomposition and principal component extraction; Step S32: group the uncertainty factors, calculate the statistical characteristics, select the optimal bandwidth parameters for kernel density estimation; fit the probability density function, calculate the goodness of fit, identify the distribution type; estimate the parameter confidence interval, perform sensitivity analysis, and output the probability distribution model set; Step S33: Fuse the probability distribution model set with the feature vector set, perform hourly, weekly, and monthly forecasts, and merge them into a forecast result set.
5. The method for dual-layer coordination optimization of port energy for multiple stakeholders according to claim 1 is characterized in that: Step S4 is specifically as follows: Step S41, receiving the prediction result set, extracting trends, cycles, random items, performing feature fusion and interval estimation; constructing a carbon emission baseline curve and emission reduction targets, setting time periods and regional constraints to obtain a carbon emission target set; calculating the port area energy, equipment, and labor costs to obtain a port area cost set; calculating the shipowner's energy price, time cost, and service cost to obtain a shipowner cost set; combining to form an upper and lower layer objective function set; Step S42: Calculate the carbon tax constraint based on the upper objective function set, calculate the port shore power price constraint and the ship owner energy consumption constraint based on the lower objective function set, and combine them to form a constraint condition set; Step S43: Use the government decision-making model to calculate the carbon tax regulation strategy, the port pricing model to calculate the shore power price strategy, and the shipowner response model to calculate the energy consumption plan; construct a game matrix to solve the Nash equilibrium, calculate stability and benefit distribution, and output a balance coefficient set.
6. The method for dual-layer coordination optimization of port energy for multiple stakeholders according to claim 1 is characterized in that: Step S5 is specifically as follows: Step S51, receiving the balance coefficient set and the monthly prediction result set, performing data fusion; constructing the monthly optimization target, performing the constrained optimization calculation, and outputting the monthly optimization strategy set; Step S52: Perform strategy decomposition on the monthly optimization strategy set and the weekly forecast result set to construct a weekly scheduling target; Combine weight coefficients of the objective function, perform rolling time window local optimization, and generate constraint sets; simulate and calculate multiple scenarios based on the optimization model, and output weekly scheduling plan sets; Step S53, decomposing the weekly scheduling plan set and the hourly forecast result set into an initial plan, analyzing the load, energy flow and equipment status characteristics; Establish a predictive control framework, optimize control parameters, feedback gain and feedforward compensation; perform real-time optimization calculations, conduct safety checks and communication protocol encapsulation, and output real-time control instruction sets.
7. The method for dual-layer coordination optimization of port energy for multiple stakeholders according to claim 1 is characterized in that: Step S11 is specifically as follows: Step S111, receiving the original data stream from the port area energy management system, performing slicing processing, extracting time features, extracting power, voltage, and current data by category, and outputting a real-time operation data set; Step S112, connect to the database server, extract the historical records of the past year, divide them by time windows, downsample the data, extract the load and price data, and output the historical operation data set; Step S113: access the environmental monitoring system sensor network, collect real-time environmental data, perform data verification and filtering, extract temperature, humidity, and wind speed data, and output an environmental parameter data set; Step S114: extract timestamps for the three data sets, establish a time mapping relationship, perform time alignment, and merge and output the original data combination set.
8. The method for dual-layer coordination optimization of port energy for multiple stakeholders according to claim 1 is characterized in that: Step S22 is specifically as follows: Step S221, receiving a time scale data set, constructing a port area energy network topology map, extracting node features and edge features, performing feature extraction using a graph neural network, and outputting a graph feature set; Step S222, extracting periodic features, trend features, and seasonal features from the time scale data set, and combining them to obtain a time feature subset; Step S223, fusing the graph feature set with the load data, extracting fluctuation features, load type features, and energy usage mode features, and combining them to obtain a load feature subset; Step S224: Fusing the graph feature set with the price data, extracting price elasticity features, market correlation features, and price volatility features, and combining them to obtain a price feature subset; Step S225: Evaluate the importance of the three feature subsets, perform feature screening and dimensionality reduction, and output a feature vector set after normalization.
9. The method for dual-layer coordination optimization of port energy for multiple stakeholders according to claim 1 is characterized in that: Step S32 is specifically as follows: Step S321, receiving an uncertainty factor set, performing data grouping, calculating statistical features, selecting an optimal bandwidth parameter based on the statistical features, performing kernel density estimation using the bandwidth parameter, and outputting a density estimation set; Step S322, fitting the probability density function to the density estimation set, calculating the goodness of fit index, identifying the distribution type, and outputting the function matching set; Step S323, estimate the parameters of the matching function, calculate the parameter confidence interval, perform sensitivity analysis, and output the parameter feature set; Step S324: construct a probability distribution function based on the function matching set and the parameter feature set, perform distribution test, perform model selection, and output a probability distribution model set.
10. The method for dual-layer coordination optimization of port energy for multiple stakeholders according to claim 1 is characterized in that: Step S43 is specifically as follows: Step S431, receiving the upper layer objective function set and constraint condition set, constructing a government carbon tax regulation model, optimizing parameters to calculate the carbon tax regulation strategy, and outputting the government decision set after matching with the constraint conditions; Step S432: receiving the lower-level objective function set and constraint condition set, constructing a port area pricing model, predicting the benefits of different pricing strategies, screening strategies and matching them with market constraints, and outputting a port area quotation set; Step S433: input the government decision set and the port quotation set into the shipowner response model, calculate the energy cost, optimize the energy plan, and output the shipowner response set after matching with the operation constraints; Step S434, constructing a game matrix of government decision-making, port quotation, and shipowner response, solving the Nash equilibrium, calculating the stability of the equilibrium solution, and selecting the optimal equilibrium solution; Step S435: Perform multi-objective trade-offs on the optimal solution, calculate the benefit distribution ratio, evaluate the fairness of the solution, and output a balance coefficient set.
Citation Information
Cited By
Carbon emission assessment method and system based on data analysis
CN120598202A
Carbon emission evaluation method and system based on data analysis
CN120598202B
Harbor area dust pollution characteristic analysis and sensitive factor identification method and system
CN121542672A
A method and system for analyzing characteristics of dust pollution in a port area and identifying sensitive factors
CN121542672B
Ship-shore-port multi-agent dynamic game cooperative scheduling method based on predictive dynamic fusion
CN122453112A