Intelligent recommendation method and system based on user portrait of power enterprises

By constructing power enterprise user portraits and cost models, combined with intelligent recommendation algorithms, we provide the most suitable energy solutions for large enterprises, solve the problem of personalized energy management in the power industry, and improve user satisfaction and management efficiency.

CN118170976BActive Publication Date: 2024-08-27STATE GRID INFO TELECOM GREAT POWER SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410285266.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-13
Publication Date
2024-08-27
Estimated Expiration
2044-03-13

AI Technical Summary

Technical Problem

In the power industry, existing systems are difficult to provide personalized energy solutions for large enterprises, resulting in low management efficiency and low user satisfaction.

Method used

An intelligent recommendation method based on power enterprise user portraits is adopted to construct fine-grained user portraits by obtaining the enterprise's basic information, power consumption behavior and feedback data, combined with association rule mining and clustering algorithms, and combining energy storage batteries and photovoltaic power generation systems. and grid power supply cost model, using intelligent recommendation algorithms to recommend the most suitable energy solutions for enterprises.

Benefits of technology

It achieves the provision of personalized and accurate energy solution recommendations for enterprises, improves the accuracy and practicality of power consumption solutions, and enhances the power grid's personalized recommendations and precision marketing capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118170976B
    Figure CN118170976B
Patent Text Reader

Abstract

The present invention relates to an intelligent recommendation method and system based on user portraits of power enterprises, comprising the following steps: step S1: obtaining basic information data, power consumption behavior data and power consumption feedback data of the enterprise, and preprocessing to obtain the enterprise power data set; step S2: mining frequent item sets and association rules from the enterprise power data set based on the association rule mining algorithm, merging with the enterprise power data set to obtain the final feature data set; step S3: based on the final feature data set, using a clustering algorithm to construct a fine-grained power enterprise user portrait; step S4: constructing an enterprise electricity cost model; step S5: based on the intelligent recommendation algorithm, combining user portraits and enterprise electricity cost models, recommending the most suitable energy plan for the enterprise; step S6: integrating the intelligent recommendation algorithm into the enterprise energy management system. The present invention comprehensively considers enterprise user portraits and multi-energy power supply systems to recommend the most suitable energy plan for the enterprise.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to, and in particular to, an intelligent recommendation method and system based on power enterprise user portraits. Background Art

[0002] In the power industry, power companies focus on the quality of power supply marketing services, aiming to improve user satisfaction with electricity use. However, the current power system marketing work system is huge and faces a large number of user groups. Therefore, it is necessary to use data labeling technology to finely divide user groups, facilitate the provision of differentiated services, improve management quality and efficiency, and reduce the burden on the grassroots.

[0003] Especially for electricity consumption plans of large enterprises, it is necessary to consider various data for comprehensive analysis to provide users with a most suitable energy plan. Summary of the invention

[0004] In order to solve the above problems, the purpose of the present invention is to provide an intelligent recommendation method and system based on the user portrait of the power enterprise, which comprehensively considers the user portrait of the enterprise and the multi-energy power supply system, recommends the most suitable energy plan for the enterprise, and provides data support for personalized recommendation and precision marketing of the power grid.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] An intelligent recommendation method based on power enterprise user portraits includes the following steps:

[0007] Step S1: Obtain basic information data, electricity consumption behavior data and electricity consumption feedback data of the enterprise, and pre-process them, and integrate the pre-processed basic information data, electricity consumption behavior data and electricity consumption feedback data to obtain the enterprise power data set;

[0008] Step S2: Based on the association rule mining algorithm, frequent item sets and association rules are mined from the enterprise power data set, and they are screened according to support and confidence to obtain frequent item sets and high-quality association rules. The mined frequent item sets and high-quality association rules are then used as part of the feature data set and merged with the enterprise power data set to obtain the final feature data set.

[0009] Step S3: Based on the final feature data set, a clustering algorithm is used to construct a fine-grained power enterprise user portrait;

[0010] Step S4: Considering energy storage batteries, photovoltaic power generation systems and direct power supply from the power grid, a model for the enterprise's electricity cost is constructed;

[0011] Step S5: Based on the intelligent recommendation algorithm, combined with the user portrait and the enterprise electricity cost model, recommend the most suitable energy solution for the enterprise;

[0012] Step S6: Integrate the intelligent recommendation algorithm into the enterprise energy management system, and use real-time data monitoring and feedback mechanisms to optimize the recommendation algorithm and improve the accuracy and practicality of the electricity consumption plan.

[0013] Furthermore, the basic information data includes enterprise size, industry, and geographic location; the electricity consumption behavior data includes electricity consumption, peak and valley periods, and information about electricity-using equipment; and the electricity consumption feedback data includes service evaluation and complaint records. The specific preprocessing is as follows:

[0014] Basic information data preprocessing:

[0015] The enterprise size is digitized, different industries are uniquely encoded, each industry is mapped into a vector, and the geographic location is converted into longitude and latitude coordinates;

[0016] Electricity consumption behavior data preprocessing:

[0017] The power consumption is normalized using the minimum-maximum normalization formula, the power consumption period is converted into a numerical feature, and the power consumption equipment is encoded using one-hot encoding;

[0018] User behavior data preprocessing:

[0019] The evaluation is converted into a numerical feature, and good, medium, and bad reviews are mapped to 1, 0, and -1 respectively; the complaint records are converted into a numerical feature, and users with complaint records are marked as 1, and users without complaint records are marked as 0;

[0020] The pre-processed basic information data, electricity consumption behavior data and electricity consumption feedback data are integrated to obtain the enterprise power data.

[0021] Furthermore, the step S2 is specifically as follows:

[0022] Step S21: Use the Apriori algorithm to mine frequent itemsets on the enterprise power data set, i.e., itemsets whose support is greater than a preset threshold;

[0023] Step S22: after obtaining the frequent itemsets, mining high-quality association rules according to the support and confidence, and screening out high-quality frequent itemsets and association rules according to the support and confidence thresholds as part of the feature data set;

[0024] Step S23: The mined frequent item sets and high-quality association rules are taken as part of the feature data set and merged with the enterprise power data set to obtain the final feature data set.

[0025] Furthermore, the step S21 is specifically as follows:

[0026] (1) Count each item in the data set, obtain the support count of each item, and generate a candidate item set:

[0027] (2) Generate frequent 1-item sets according to the preset minimum support threshold, and filter out item sets whose support is greater than the preset threshold;

[0028] (3) For the frequent k-1 item sets, connect them two by two to generate candidate frequent k item sets. For the generated candidate frequent k item sets, rescan the data set, calculate the support of each candidate item set, and select the item sets whose support is greater than the preset threshold;

[0029] (4) Repeat step (3) until no new frequent item sets can be generated, and obtain the final frequent item sets.

[0030] Furthermore, the step S3 is specifically as follows:

[0031] Step S31: Divide the final feature data set into K clusters, and randomly select K samples as initial cluster centers;

[0032] Step S32: For each sample, calculate its distance from the K cluster centers and assign it to the cluster corresponding to the cluster center with the closest distance;

[0033] Step S33: For each cluster, calculate the mean of all samples in it and use the mean as the new cluster center;

[0034] Step S34: Repeat steps S32 and S33 until the cluster center no longer changes or the preset number of iterations is reached, and finally K clusters are obtained, each cluster containing a number of feature vectors, representing a user group;

[0035] Step S35: For each cluster, a user profile is constructed based on frequent item sets and high-quality association rules to describe the user's electricity usage characteristics and behaviors.

[0036] Furthermore, the step S4 is specifically as follows:

[0037] The enterprise electricity cost function is:

[0038] C=C BM +C PV +C DW (1)

[0039] Where C is the total electricity cost; C BM , C PV , C DW The electricity costs of energy storage batteries, photovoltaic power generation systems and direct power supply from the grid;

[0040] The cost of energy storage batteries includes construction cost, operation cost and maintenance cost:

[0041] C BM =C BC +C Batt

[0042] Among them C BC The construction cost of energy storage battery, C Batt Maintenance costs for energy storage batteries;

[0043]

[0044] in, is the unit aging cost of the battery; N is the number of batteries; and are the discharge and charge power of the battery respectively; and are the discharge and charge efficiencies of the battery respectively;

[0045] The cost of photovoltaic power generation system includes construction cost, operation cost and maintenance cost:

[0046] C PV =C PC +C PO +C PM

[0047] Among them, C PC is the construction cost of photovoltaic power generation system, C PO is the operating cost of the photovoltaic power generation system, C PM Maintenance costs for photovoltaic power generation systems;

[0048] Direct power supply cost from the grid:

[0049] C DW =C DJ +C DI

[0050] Among them, C DJ is the cost of accessing the grid, C DI The cost of purchasing electricity.

[0051] Furthermore, the step S5 is specifically as follows:

[0052] Perform multi-index decision analysis based on AHP, wherein the AHP hierarchy includes a target layer, a criterion layer and a solution layer;

[0053] Based on the pairwise comparison between the criterion layer and the solution layer, a judgment matrix is ​​made. The elements in the judgment matrix represent the relative importance between the two indicators.

[0054] According to the judgment matrix, the weight of each criterion is calculated using the AHP method;

[0055] The consistency of the judgment matrix is ​​checked by the eigenvalue method or the consistency index method to ensure the consistency of the judgment matrix;

[0056] According to the weights and specific indicator values ​​of the solution layer, the scores of energy storage batteries, photovoltaic power generation systems, direct power supply from the grid, and the combination solution are calculated;

[0057] Based on the scores, the advantages and disadvantages of each plan are comprehensively evaluated to obtain the most suitable energy plan.

[0058] Furthermore, the criterion layer has n criteria, and for each pair of criteria i and j, an n×n judgment matrix C(ij) is constructed, wherein the element c(ij) represents the importance of criterion i relative to criterion j;

[0059] For the judgment matrix C(ij), the following formula is used to calculate the weight of each criterion:

[0060] Calculate the consistency vector W(i) of the judgment matrix:

[0061] W(i)=(c(i1)+c(i2)+...+c(in)) / n

[0062] Calculate the maximum eigenvalue λmax:

[0063] λmax=(Σ(i=1to n)(Σ(j=1to n)c(ij)*W(j))) / W(i)

[0064] Calculate the consistency index CI:

[0065] CI = (λmax-n) / (n-1)

[0066] Randomly generate the consistency index RI and calculate the consistency ratio CR:

[0067] CR=CI / RI

[0068] If the consistency ratio CR is less than a predetermined threshold, the judgment matrix passes the consistency test and the AHP method is used to calculate the weights.

[0069] An intelligent recommendation system based on user portraits of electric power enterprises includes a processor, a memory, and a computer program stored in the memory. When the processor executes the computer program, it specifically performs the steps in the intelligent recommendation method based on user portraits of electric power enterprises as described above.

[0070] The present invention has the following beneficial effects:

[0071] The present invention combines data mining and machine learning technologies to mine users' behavioral preferences and electricity usage habits from user data, build a user portrait model, and comprehensively consider enterprise user portraits and multi-energy power supply systems to recommend the most suitable energy solutions for enterprises, providing data support for personalized recommendations and precision marketing of power grids. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0073] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:

[0074] refer to Figure 1 In the present invention, an intelligent recommendation method based on power enterprise user portrait is provided, comprising the following steps:

[0075] Step S1: Obtain basic information data, electricity consumption behavior data and electricity consumption feedback data of the enterprise, and pre-process them, and integrate the pre-processed basic information data, electricity consumption behavior data and electricity consumption feedback data to obtain the enterprise power data set;

[0076] Step S2: Based on the association rule mining algorithm, frequent item sets and association rules are mined from the enterprise power data set, and they are screened according to support and confidence to obtain frequent item sets and high-quality association rules. The mined frequent item sets and high-quality association rules are then used as part of the feature data set and merged with the enterprise power data set to obtain the final feature data set.

[0077] Step S3: Based on the final feature data set, a clustering algorithm is used to construct a fine-grained power enterprise user portrait;

[0078] Step S4: Considering energy storage batteries, photovoltaic power generation systems and direct power supply from the power grid, a model for the enterprise's electricity cost is constructed;

[0079] Step S5: Based on the intelligent recommendation algorithm, combined with the user portrait and the enterprise electricity cost model, recommend the most suitable energy solution for the enterprise;

[0080] Step S6: Integrate the intelligent recommendation algorithm into the enterprise energy management system, and use real-time data monitoring and feedback mechanisms to optimize the recommendation algorithm and improve the accuracy and practicality of the electricity consumption plan.

[0081] In this embodiment, the basic information data includes enterprise size, industry, and geographic location; the electricity consumption behavior data includes electricity consumption, peak and valley periods, and information about electricity-using equipment; and the electricity consumption feedback data includes service evaluation and complaint records. The specific preprocessing is as follows:

[0082] Basic information data preprocessing:

[0083] The enterprise size is digitized, different industries are uniquely encoded, each industry is mapped into a vector, and the geographic location is converted into longitude and latitude coordinates;

[0084] Electricity consumption behavior data preprocessing:

[0085] The power consumption is normalized using the minimum-maximum normalization formula, the power consumption period is converted into a numerical feature, and the power consumption equipment is encoded using one-hot encoding;

[0086] User behavior data preprocessing:

[0087] The evaluation is converted into a numerical feature, and good, medium, and bad reviews are mapped to 1, 0, and -1 respectively; the complaint records are converted into a numerical feature, and users with complaint records are marked as 1, and users without complaint records are marked as 0;

[0088] The pre-processed basic information data, electricity consumption behavior data and electricity consumption feedback data are integrated to obtain the enterprise power data.

[0089] In this embodiment, industry information is extracted from the data set and deduplicated to obtain all different industry categories. One-hot encoding is used to encode the industry information into a vector, and a vector containing all different industry categories is created. Then, the industry information of each enterprise is encoded, and the corresponding position is set to 1, and the remaining positions are set to 0.

[0090] There are three different industry categories: manufacturing, finance, and retail. The corresponding one-hot encoding vectors are as follows:

[0091] Manufacturing: [1,0,0]

[0092] Financial Industry: [0,1,0]

[0093] Retail: [0,0,1]

[0094] If an enterprise belongs to the manufacturing industry, its industry information can be encoded as [1,0,0]; if an enterprise belongs to the financial industry, its industry information can be encoded as [0,1,0], and so on.

[0095] The encoded industry information can be used as the input feature of the model to train the machine learning model. For example, in the smart energy recommendation system, the encoded industry information can be integrated with the electricity consumption behavior data to establish a prediction model or recommendation algorithm.

[0096] In this embodiment, step S2 is specifically as follows:

[0097] Step S21: Use the Apriori algorithm to mine frequent itemsets on the enterprise power data set, i.e., itemsets whose support is greater than a preset threshold;

[0098] Step S22: after obtaining the frequent itemsets, mining high-quality association rules according to the support and confidence, and screening out high-quality frequent itemsets and association rules according to the support and confidence thresholds as part of the feature data set;

[0099] Step S23: The mined frequent item sets and high-quality association rules are taken as part of the feature data set and merged with the enterprise power data set to obtain the final feature data set.

[0100] In this embodiment, the step S21 is specifically as follows:

[0101] (1) Count each item in the data set, obtain the support count of each item, and generate a candidate item set:

[0102] (2) Generate frequent 1-item sets according to the preset minimum support threshold, and filter out item sets whose support is greater than the preset threshold;

[0103] (3) For the frequent k-1 item sets, connect them two by two to generate candidate frequent k item sets. For the generated candidate frequent k item sets, rescan the data set, calculate the support of each candidate item set, and select the item sets whose support is greater than the preset threshold;

[0104] (4) Repeat step (3) until no new frequent item sets can be generated, and obtain the final frequent item sets.

[0105] In this embodiment, the step S3 is specifically as follows:

[0106] Step S31: Divide the final feature data set into K clusters, and randomly select K samples as initial cluster centers;

[0107] Step S32: For each sample, calculate its distance from the K cluster centers and assign it to the cluster corresponding to the cluster center with the closest distance;

[0108] Step S33: For each cluster, calculate the mean of all samples in it and use the mean as the new cluster center;

[0109] Step S34: Repeat steps S32 and S33 until the cluster center no longer changes or the preset number of iterations is reached, and finally K clusters are obtained, each cluster containing a number of feature vectors, representing a user group;

[0110] Step S35: For each cluster, a user profile is constructed based on frequent item sets and high-quality association rules to describe the user's electricity usage characteristics and behaviors.

[0111] In this embodiment, it is assumed that the electricity consumption data set of enterprise users includes the electricity consumption of different electrical equipment, as well as the frequent item sets and high-quality association rules mined by the Apriori algorithm.

[0112] For each cluster, frequent item sets and high-quality association rules can be used to describe the electricity consumption characteristics and behaviors of enterprise users. For example, for a cluster, we get the frequent item set {lighting, air conditioning, computer room equipment} and the association rule {lighting, air conditioning}=>{computer room equipment}.

[0113] Characteristics of building enterprise user portraits:

[0114] Power usage habit feature: Describe the power usage habits of enterprise users based on the itemsets in the frequent itemsets. For example, if an enterprise often uses lighting, air conditioning, and computer room equipment at the same time, set its power usage habit feature as "need to use lighting, air conditioning, and computer room equipment at the same time."

[0115] Power usage behavior characteristics: describe the power usage behavior of enterprise users based on high-quality association rules. For example, according to the association rule {lighting, air conditioning}=>{computer room equipment}, the power usage behavior of the enterprise is described as "while using lighting and air conditioning, the computer room equipment will be started."

[0116] Power demand characteristics: Describe the power demand of enterprise users based on frequent item sets and association rules. For example, if an enterprise often appears in the frequent item set {lighting, air conditioning, computer room equipment} and meets the association rule {lighting, air conditioning}=>{computer room equipment}, its power demand is described as "energy support for computer room equipment is required when lighting and air conditioning are used at the same time".

[0117] In this embodiment, step S4 is specifically as follows:

[0118] The enterprise electricity cost function is:

[0119] C=C BM +C PV +C DW (1)

[0120] Where C is the total electricity cost; C BM , C PV , C DW The electricity costs of energy storage batteries, photovoltaic power generation systems and direct power supply from the grid;

[0121] The cost of energy storage batteries includes construction cost, operation cost and maintenance cost:

[0122] C BM =C BC +C Batt

[0123] Among them C BC The construction cost of energy storage battery, C Batt Maintenance costs for energy storage batteries;

[0124]

[0125] in, is the unit aging cost of the battery; N is the number of batteries; and are the discharge and charge power of the battery respectively; and are the discharge and charge efficiencies of the battery respectively;

[0126] The cost of photovoltaic power generation system includes construction cost, operation cost and maintenance cost:

[0127] C PV =C PC +C PO +C PM

[0128] Among them, C PC is the construction cost of photovoltaic power generation system, C PO is the operating cost of the photovoltaic power generation system, C PM Maintenance costs for photovoltaic power generation systems;

[0129] Direct power supply cost from the grid:

[0130] C DW =C DJ +C DI

[0131] Among them, C DJ is the cost of accessing the grid, C DI The cost of purchasing electricity.

[0132] In this embodiment, step S5 is specifically as follows:

[0133] Perform multi-index decision analysis based on AHP, wherein the AHP hierarchy includes a target layer, a criterion layer and a solution layer;

[0134] Optimally, the target layer: select the most suitable energy solution; the criterion layer: set according to the user portrait and the enterprise electricity cost model, including cost, reliability, and environmental protection; the solution layer: including energy storage batteries, photovoltaic power generation systems, and direct power supply from the grid;

[0135] Based on the pairwise comparison between the criterion layer and the solution layer, a judgment matrix is ​​made. The elements in the judgment matrix represent the relative importance between the two indicators.

[0136] According to the judgment matrix, the weight of each criterion is calculated using the AHP method;

[0137] The consistency of the judgment matrix is ​​checked by the eigenvalue method or the consistency index method to ensure the consistency of the judgment matrix;

[0138] According to the weights and specific indicator values ​​of the solution layer, the scores of energy storage batteries, photovoltaic power generation systems, direct power supply from the grid, and the combination solution are calculated;

[0139] Based on the scores, the advantages and disadvantages of each plan are comprehensively evaluated to obtain the most suitable energy plan.

[0140] In this embodiment, specific index values ​​may be set for cost, reliability, and environmental protection. For example, cost may be unit energy cost, reliability may be system failure probability, and environmental protection may be a comprehensive evaluation such as emission volume.

[0141] In this embodiment, the criterion layer has n criteria, and for each pair of criteria i and j, an n×n judgment matrix C(ij) is constructed, where the element c(ij) represents the importance of criterion i relative to criterion j;

[0142] For the judgment matrix C(ij), the following formula is used to calculate the weight of each criterion:

[0143] Calculate the consistency vector W(i) of the judgment matrix:

[0144] W(i)=(c(i1)+c(i2)+...+c(in)) / n

[0145] Calculate the maximum eigenvalue λmax:

[0146] λmax=(Σ(i=1to n)(Σ(j=1to n)c(ij)*W(j))) / W(i)

[0147] Calculate the consistency index CI:

[0148] CI = (λmax-n) / (n-1)

[0149] Randomly generate the consistency index RI and calculate the consistency ratio CR:

[0150] CR=CI / RI

[0151] If the consistency ratio CR is less than a predetermined threshold, the judgment matrix passes the consistency test and the AHP method is used to calculate the weights.

[0152] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

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

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

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

[0156] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.

Claims

1. An intelligent recommendation method based on power enterprise user portraits, characterized in that: The following steps are involved: Step S1: Obtain basic information data, electricity consumption behavior data and electricity consumption feedback data of the enterprise, and pre-process them, and integrate the pre-processed basic information data, electricity consumption behavior data and electricity consumption feedback data to obtain the enterprise power data set; Step S2: Based on the association rule mining algorithm, frequent item sets and association rules are mined from the enterprise power data set, and they are screened according to support and confidence to obtain frequent item sets and high-quality association rules. The mined frequent item sets and high-quality association rules are then used as part of the feature data set and merged with the enterprise power data set to obtain the final feature data set. Step S3: Based on the final feature data set, a clustering algorithm is used to construct a fine-grained power enterprise user portrait; Step S4: Considering energy storage batteries, photovoltaic power generation systems and direct power supply from the power grid, a model for the enterprise's electricity cost is constructed; Step S5: Based on the intelligent recommendation algorithm, combined with the user portrait and the enterprise electricity cost model, recommend the most suitable energy solution for the enterprise; The step S5 is specifically as follows: Perform multi-index decision analysis based on AHP, wherein the AHP hierarchy includes a target layer, a criterion layer and a solution layer; Based on the pairwise comparison between the criterion layer and the solution layer, a judgment matrix is ​​made. The elements in the judgment matrix represent the relative importance between the two indicators. According to the judgment matrix, the weight of each criterion is calculated using the AHP method; The criterion layer has n criteria, and for each pair of criteria i and j, an n×n judgment matrix C(ij) is constructed, where the element c(ij) represents the importance of criterion i relative to criterion j; For the judgment matrix C(ij), the following formula is used to calculate the weight of each criterion: Calculate the consistency vector W(i) of the judgment matrix: W(i)=(c(i1)+c(i2)+...+c(in)) / n Calculate the maximum eigenvalue λmax: λmax=(Σ(i=1to n)(Σ(j=1to n)c(ij)*W(j))) / W(i) Calculate the consistency index CI: CI = (λmax-n) / (n-1) Randomly generate the consistency index RI and calculate the consistency ratio CR: CR=CI / RI If the consistency ratio CR is less than a predetermined threshold, the judgment matrix passes the consistency test and the AHP method is used to calculate the weights; The consistency of the judgment matrix is ​​checked by the eigenvalue method or the consistency index method to ensure the consistency of the judgment matrix; According to the weights and specific indicator values ​​of the solution layer, the scores of energy storage batteries, photovoltaic power generation systems, direct power supply from the grid, and the combination solution are calculated; Based on the scores, comprehensively evaluate the pros and cons of each solution and come up with the most suitable energy solution; Step S6: Integrate the intelligent recommendation algorithm into the enterprise energy management system, and use real-time data monitoring and feedback mechanisms to optimize the recommendation algorithm and improve the accuracy and practicality of the electricity consumption plan.

2. The intelligent recommendation method based on power enterprise user portrait according to claim 1 is characterized in that: The basic information data includes enterprise size, industry, and geographic location; electricity consumption behavior data includes electricity consumption, peak and valley periods, and information on electricity-using equipment; electricity feedback data includes service evaluation and complaint records. The specific preprocessing is as follows: Basic information data preprocessing: The enterprise size is digitized, different industries are uniquely encoded, each industry is mapped into a vector, and the geographic location is converted into longitude and latitude coordinates; Electricity consumption behavior data preprocessing: The power consumption is normalized using the minimum-maximum normalization formula, the power consumption period is converted into a numerical feature, and the power consumption equipment is encoded using one-hot encoding; User behavior data preprocessing: The evaluation is converted into a numerical feature, and good, medium, and bad reviews are mapped to 1, 0, and -1 respectively; the complaint records are converted into a numerical feature, and users with complaint records are marked as 1, and users without complaint records are marked as 0; The pre-processed basic information data, electricity consumption behavior data and electricity consumption feedback data are integrated to obtain the enterprise power data.

3. The intelligent recommendation method based on power enterprise user portrait according to claim 1 is characterized in that: The step S2 is specifically as follows: Step S21: Use the Apriori algorithm to mine frequent itemsets on the enterprise power data set, i.e., itemsets whose support is greater than a preset threshold; Step S22: after obtaining the frequent itemsets, mining high-quality association rules according to the support and confidence, and screening out high-quality frequent itemsets and association rules according to the support and confidence thresholds as part of the feature data set; Step S23: The mined frequent item sets and high-quality association rules are taken as part of the feature data set and merged with the enterprise power data set to obtain the final feature data set.

4. The intelligent recommendation method based on power enterprise user portrait according to claim 3 is characterized in that: The step S21 is specifically as follows: (1) Count each item in the data set, obtain the support count of each item, and generate a candidate item set: (2) Generate frequent 1-item sets according to the preset minimum support threshold, and filter out item sets whose support is greater than the preset threshold; (3) For the frequent k-1 item sets, connect them two by two to generate candidate frequent k item sets. For the generated candidate frequent k item sets, rescan the data set, calculate the support of each candidate item set, and select the item sets whose support is greater than the preset threshold; (4) Repeat step (3) until no new frequent item sets can be generated, and obtain the final frequent item sets.

5. The intelligent recommendation method based on power enterprise user portrait according to claim 1 is characterized in that: The step S3 specifically comprises: Step S31: Divide the final feature data set into K clusters, and randomly select K samples as initial cluster centers; Step S32: For each sample, calculate its distance from the K cluster centers and assign it to the cluster corresponding to the cluster center with the closest distance; Step S33: For each cluster, calculate the mean of all samples in it and use the mean as the new cluster center; Step S34: Repeat steps S32 and S33 until the cluster center no longer changes or the preset number of iterations is reached, and finally K clusters are obtained, each cluster containing a number of feature vectors, representing a user group; Step S35: For each cluster, a user profile is constructed based on frequent item sets and high-quality association rules to describe the user's electricity usage characteristics and behaviors.

6. The intelligent recommendation method based on power enterprise user portrait according to claim 1 is characterized in that: The step S4 is specifically as follows: The enterprise electricity cost function is: C=C BM +C PV +C DW (1) Where C is the total electricity cost; C BM , C PV , C DW The electricity costs of energy storage batteries, photovoltaic power generation systems and direct power supply from the grid; The cost of energy storage batteries includes construction cost, operation cost and maintenance cost: C BM =C BC +C Batt Among them C BC The construction cost of energy storage battery, C Batt Maintenance costs for energy storage batteries; in, is the unit aging cost of the battery; N is the number of batteries; and are the discharge and charge power of the battery respectively; and are the discharge and charge efficiencies of the battery respectively; The cost of photovoltaic power generation system includes construction cost, operation cost and maintenance cost: C PV =C PC +C PO +C PM Among them, C PC is the construction cost of photovoltaic power generation system, C PO is the operating cost of the photovoltaic power generation system, C PM Maintenance costs for photovoltaic power generation systems; Direct power supply cost from the grid: C DW =C DJ +C DI Among them, C DJ is the cost of accessing the grid, C DI The cost of purchasing electricity.

7. An intelligent recommendation system based on power enterprise user portraits, characterized in that: It includes a processor, a memory and a computer program stored in the memory. When the processor executes the computer program, it specifically performs the steps in the intelligent recommendation method based on the user portrait of the power enterprise as described in any one of claims 1-6.