A charging service price control method based on virtual charging station technology

By constructing virtual charging stations and employing deep neural networks and deep reinforcement learning methods, the charging service price is dynamically adjusted, which solves the shortcomings of the charging station pricing mechanism and achieves effective guidance of vehicle charging demand and optimization of station revenue.

CN117876005BActive Publication Date: 2026-11-24UNIV OF SCI & TECH OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410029213.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-08
Publication Date
2026-11-24
Estimated Expiration
2044-01-08

AI Technical Summary

Technical Problem

The existing charging station pricing mechanism lacks dynamism, fails to effectively guide vehicle charging demand, makes it difficult to optimize station operating revenue, and lacks a precise mathematical model for vehicle charging demand.

Method used

A virtual charging station is constructed, and deep neural networks and deep reinforcement learning methods are used to dynamically formulate charging service prices based on the charging pile status and power grid electricity quota. Features are extracted through multi-channel convolutional neural networks to achieve adaptive adjustment of service prices.

Benefits of technology

Effectively guide vehicle charging demand, achieve peak-shifting electricity consumption, improve station operating revenue, adapt to grid electricity consumption limit instructions, and improve the economy and quality of the service system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117876005B_ABST
    Figure CN117876005B_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of intelligent control and optimization, and particularly relates to a charging service price control method based on virtual charging station technology. The method comprises the following steps: 1, aggregating multiple discrete charging pile resources in a specific area into a virtual charging station for charging management; 2, taking the online service state of multiple discrete charging piles in the current virtual charging station and the vehicle queue information waiting for charging service as the joint state of the virtual charging station service system; 3, at the time of service price making, taking the charging service price of the future time period as the system control action according to the joint state of the virtual charging station service system, the charging service price of the current time period and the power grid electricity limit of the future time period of the station; 4, optimizing the charging service price of the virtual charging station by using a deep reinforcement learning algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of intelligent control and optimization technology, specifically a method for controlling charging service prices based on virtual charging station technology. Background Technology

[0002] Under the national "dual-carbon" strategic goal, the national new energy strategic emerging industries are booming, and electric vehicles have become the mainstream of new energy vehicle development. Charging piles, as a crucial infrastructure for the development of new energy vehicles, are also a key direction in the new infrastructure field. However, with the continuous increase in the number of electric vehicles, the ratio of public charging piles to vehicles is severely imbalanced and continues to widen. Apart from a few centrally operated charging stations, a large number of scattered public and private charging piles exist in society, lacking effective management and application. Therefore, effectively aggregating and centrally operating multiple scattered charging piles in a specific area to build virtual charging stations will be an important business model and service form in the future.

[0003] Existing charging stations primarily employ a simple, fixed pricing mechanism, failing to dynamically adjust prices based on real-time station operations. This hinders effective guidance of vehicle charging demand and optimization of station revenue. However, for a virtual charging station system, a crucial area for research is how to dynamically adjust future charging prices based on current rates, station online status, waiting vehicle queues, and upcoming electricity quotas. This would allow for adaptive guidance of vehicle charging demand, responsiveness to electricity quota directives from the grid dispatch center or higher-level energy management center, and ultimately, improved station revenue. Furthermore, the randomness of vehicle charging demand makes it difficult to establish precise mathematical models for price optimization. Therefore, utilizing data-driven and learning-based optimization techniques to achieve dynamic charging price control is another critical issue requiring further investigation. Summary of the Invention

[0004] To address the shortcomings of existing technologies, this paper proposes a charging service price control method based on virtual charging station technology for the aggregation management and optimized operation of charging pile resources. This method aims to achieve dynamic and optimal adjustment of charging service prices, thereby adaptively guiding vehicle charging demand, responding to grid peak shaving instructions, and improving the operating revenue of charging stations.

[0005] To achieve the above objectives, the present invention provides the following technical solution: A charging service price control method based on virtual charging station technology is proposed, and the service price control mechanism is constructed as follows: A charging service management system is established for a specific area with I charging locations at different points, providing paid charging services for M types of electric vehicles arriving randomly. The charging piles in this area are aggregated into a virtual charging station, and the i-th charging location has N charging stations. i One charging pile and L i There are waiting charging spaces, so that each charging station can meet the charging power requirements of M types of electric vehicles, and each charging station can only provide charging services for one electric vehicle at a time. Let the set of I charging locations in the region be denoted as ; Suppose that the arrival of electric vehicles follows different Poisson distributions at different time periods, denoted as . ; N of the i-th charging location i A set of charging piles is denoted as The rated charging power of the m-th type of electric vehicle is denoted as The maximum battery capacity is , ; Assuming the upper-level load aggregator or power grid dispatch center sets the upper limit of power consumption for the virtual charging station according to equal time periods. Adjustments are made, and the release is done z periods in advance. Let K be the maximum number of periods per day and the corresponding total duration be T. Let k be the time when the upper limit of electricity consumption is adjusted, where k = 0, 1, ..., K-1. The upper limit of electricity consumption for the corresponding time period is denoted as... ;in, ; Assuming that the time-of-use electricity price of the power grid is also based on time periods If adjustments are made at integer multiples of the time, then the time-of-use electricity price sequence for the total duration T is denoted as... ,in, , It is a finite electricity price state space; Assuming the service price of virtual charging stations is based on equal time periods Make adjustments. Let k = 0, 1, ..., K / z-2 be the time to set the charging service price for the k-th service period. , ,..., Make decisions and issue announcements; record The decision-making time is determined by setting the service price, and there are a total of K / z-1 decision-making cycles. remember ; N of the i-th charging locationi The joint state of each charging pile at time t is denoted as , where represents the service state of the nth charging pile at the i-th charging location; represents the type of electric vehicle being served by the nth charging pile at the i-th charging location at time t. If indicates that no vehicle is connected; if indicates that charging is currently being provided to one type of electric vehicle, represents the current state of charge (SOC) of the battery of the charging electric vehicle, represents the current charging power; if , denote , ; The total power consumption of the charging station is ; The queue information of waiting-to-charge vehicles at the i-th charging location at time t is denoted as , where represents the vehicle state of the nth waiting charging space at the i-th charging location; represents the type of electric vehicle in the nth waiting charging space at the i-th charging location. If indicates that there is no vehicle waiting in the waiting charging space; if indicates that there is an electric vehicle waiting for charging in the waiting charging space, represents the current state of charge of the battery of the waiting-to-charge electric vehicle; if , denote ; The state of the i-th charging location at time t is denoted as , and the joint state of the charging service system in the specific area at time t is denoted as , the joint state of the kth decision time joint state is abbreviated as ; The extended state of the virtual station at the decision time is defined as , and its state space is denoted as ; The charging service price formulated by the virtual station service system is denoted as action a. Then at the decision time , k<K / z-1, the service system formulates z charging service prices for the z(k+1), ..., z(k+2)-1 time periods within the time period , and the action at the kth decision time is denoted as ; Denote the service price set , where This indicates the minimum service price. Indicates the highest service price, then the action set ,Right now ; Define the charging service price control strategy as the corresponding extended state. state space To the corresponding charging service price Action space The mapping is such that the control strategy is expressed using a deep neural network; Suppose the policy network uses a multi-channel, multi-size one-dimensional convolutional neural network (CNN) as the feature extraction layer network, and the policy network output adopts a fully connected network (FCN). Let the policy network parameters be denoted as θ, then the control policy is denoted as... The control policy network is ; The input to the convolutional neural network is determined by the current expansion state of the virtual field station. The decision is made to divide the data into I+1 channels, where channel 0 is defined as the input. The input to channel I, i=0,…,I is the state of the i-th charging location in the virtual charging station. The value at the k-th decision time; At every decision time k, k=0,1,…,K / z-1 Input the I+1 channels of data into the CNN to obtain the feature vector. Then The input is fed into the FCN part of the policy network to obtain the extended state. The corresponding service prices are randomly distributed. , Reflects the system in state The probability of each possible random action being taken is determined by the policy parameter θ, specifically by the mean vector. and standard deviation vector The z Gaussian distributions that are determined are finally sampled and solved to obtain the action. This refers to the service price control variable for future periods.

[0006] Further optimization of this technical solution, the specific steps for the policy network to determine the actual service price are as follows: Step 1: Import the learned strategy network ; Step 2: In the k-th decision cycle, observe the state of the virtual charging station. Calculate the current extended state ; Step 3: Change the current expansion state Decompose and encode to obtain I+1 channel data, which are input into the policy network , and a random distribution of price actions is obtained at the output layer of the policy network ; Step 4, sampling according to the random distribution and solving to obtain the price action on the action set D for release; Step 5, observe the system operation until the (k+1)-th decision time, if k<K / z-2, let jump to Step 2 for execution, otherwise the dynamic service pricing action for the day ends.

[0007] For a further optimization of the technical solution, Step 1 is specifically as follows: the control strategy of the virtual charging station is denoted as , then the performance function of the system operation under the action of the control strategy is denoted as (1) Here is the initial extended state of the system, represents the expectation of system performance with respect to the strategy , the arrival rate and the initial extended state is the reward for the last z time periods of the station's operation in a day; The optimization of the control strategy network is carried out using a deep reinforcement learning method, and its performance is evaluated according to formula (1). Corresponding to formula (1), the performance function of each extended state is also expressed using a deep neural network as a critic; It is assumed that the critic network and the policy network share a feature extraction layer, the output of the critic network also adopts a fully connected network, and the parameters of the critic network are denoted as w; The deep reinforcement learning algorithm for the charging service price control strategy includes the following steps: Step 1.1, design the structures of the policy network and the critic network, and initialize the network parameters θ and w; given the total number of learning episodes N; Step 1.2, for each episode n, n=1,2,...,N, perform the following operations: a) Initialize the system state and set k=0; b) According to the current extended state obtain I+1 channel data, input them into the CNN to obtain the feature vector ; c) The feature vector corresponding to the current extended state ​​is input into the FCN part of the policy network, and the price action in the action set D is obtained through sampling and calculation and then released; d) At the (k+1)-th decision time, the current extended state is observed and the cumulative reward generated during the state transition from the extended state at the decision time to the extended state at the decision time is calculated according to formula (2) : (2) In formula (2), represents the positive part of the function , that is ; (3) e) The feature vector corresponding to is input into the FCN part of the critic to obtain the state value ; f) If k<K / z-2, according to the extended state , I+1 channel data is obtained and input into the CNN to obtain the feature vector corresponding to , and is input into the FCN part of the critic to obtain the state value ; otherwise, let (4) g) Calculate the TD error ; (5) h) If k<K / z-2, let and return to step c) to execute; here, the operator " " means that the value of the right expression is calculated first and then assigned to the left variable; Step 1.3: Update the parameters of the policy network according to the collected N episodes of simulation operation data (6) Here, is the learning step size of the policy network; Step 1.4: Update the parameters of the critic network according to the mean square error loss function (7) Here, is the learning step size of the critic; ​​​​​Step 1.5: If the algorithm stopping condition is not met, return to step 1.2; otherwise, the learning algorithm stops. The algorithm stopping condition in step 1.5 is a fixed number of iterations or whether the fluctuation of the loss function in step 1.4 meets the threshold condition.

[0008] The advantages of the above technical solution, which differ from existing technologies, are as follows: 1. This invention constructs a virtual charging station by using multiple discretely distributed charging piles in a specific area of ​​society. Based on the real-time operation of the charging service at the station, the current charging service price, and the power grid's future electricity quota for the station, the invention dynamically formulates and publishes the charging service price for future periods. This reflects the forward-looking nature of service price decision-making and publication, thereby effectively guiding the charging demand of vehicles in the area, achieving peak-shifting and valley-filling, ensuring that the corresponding service price control strategy is more in line with the actual situation, and improving the feasibility of the method.

[0009] 2. This invention uses the charging status and queuing information of charging piles at each charging location of a virtual charging station as the joint state of its charging service system; it combines this joint state, the current charging service price, and the future electricity consumption limit instruction to form the system extended state; it uses the future charging service price as the system decision variable; it uses equal intervals as the service price decision time and advance release time; it describes the charging service price control process of the virtual charging station as a stochastic sequential decision process, and takes corresponding actions according to the real-time extended state of the virtual station; thus, it effectively solves the charging service price control problem of virtual charging station technology. Through optimization, the virtual station charging service system can reasonably formulate and release the charging service price for future periods, improving the operational economy and service quality of the virtual station service system, and can adapt to the power grid's electricity consumption limit instruction. 3. This invention employs a deep reinforcement learning method to intelligently control the charging service pricing of virtual charging stations comprised of specific regions. It only requires learning and optimizing the control strategy using the operational data of the virtual charging stations. Compared to theoretical solutions, this invention does not require complete and accurate mathematical modeling of the stochastic characteristics and equations of the control system. Furthermore, this invention segments the extended states of the virtual charging stations into multiple channels, inputting them into a CNN to extract feature vectors, which are then fed into the policy network and evaluator network for learning and control. This data-driven deep reinforcement learning method is suitable for solving price control problems in large-scale charging stations. 4. This invention controls the charging service price of virtual charging stations, and can be extended to the coordinated control of charging service prices of multiple charging stations. It can also be extended to virtual charging stations actively participating in power auxiliary services such as grid peak shaving and frequency regulation. Attached Figure Description

[0010] Figure 1 This is a schematic diagram of the virtual charging station charging service price control system of the present invention; Figure 2 This is a flowchart of the method of the present invention; Figure 3 This is a flowchart illustrating the pricing control process for virtual charging stations according to the present invention. Detailed Implementation

[0011] To explain in detail the technical content, structural features, objectives, and effects of the technical solution, the following description is provided in conjunction with specific embodiments and accompanying drawings.

[0012] This invention proposes a charging service price control method based on virtual charging station technology. Its key feature is its application to a charging service management system for a specific area equipped with I charging locations at different points, providing paid charging services to M randomly arriving electric vehicles. (See also...) Figure 1 The diagram shows a schematic of a virtual charging station pricing control system. Charging piles in this specific area are aggregated into a virtual charging station, with the i-th charging location equipped with N... i One charging pile and L i There are waiting charging spaces, so that each charging station can meet the charging power requirements of M types of electric vehicles, and each charging station can only provide charging services for one electric vehicle at a time. Let the set of I charging locations in the region be denoted as ; Suppose that the arrival of electric vehicles follows different Poisson distributions at different time periods, denoted as . ; N of the i-th charging location i A set of charging piles is denoted as The rated charging power of the m-th type of electric vehicle is denoted as The maximum battery capacity is , .

[0013] Assuming the upper-level load aggregator or power grid dispatch center sets the upper limit of power consumption for the virtual charging station according to equal time periods. Adjustments are made, and the release is done z periods in advance. Let K be the maximum number of periods per day and the corresponding total duration be T. Let k be the time when the upper limit of electricity consumption is adjusted, where k = 0, 1, ..., K-1. The upper limit of electricity consumption for the corresponding time period is denoted as... ;in, .

[0014] Assuming that the time-of-use electricity price of the power grid is also based on time periods If adjustments are made at integer multiples of the time, then the time-of-use electricity price sequence for the total duration T is denoted as... ,in, , It is a finite electricity price state space.

[0015] Assuming the service price of virtual charging stations is based on equal time periods Make adjustments. Let k = 0, 1, ..., K / z-2 be the time to set the charging service price for the k-th service period. , ,..., Make decisions and issue announcements; record The decision-making time is the moment when the service price is set, and there are a total of K / z-1 decision-making cycles.

[0016] remember .

[0017] N of the i-th charging location i The joint state of the charging piles at time t is denoted as: ,in This indicates the service status of the nth charging pile at the i-th charging location; This indicates the type of electric vehicle being served by the nth charging pile at the i-th charging location at time t. Indicates no vehicle is connected; if Indicates that it is being given One type of electric vehicle charging, This indicates the current state of charge (SOC) of the battery in the electric vehicle being charged. Indicates the current charging power; if ,remember , .

[0018] The total power consumption of the charging station is .

[0019] The queue information of vehicles waiting for charging at the i-th charging location at time t is denoted as follows: ,in This indicates the vehicle status at the nth waiting charging spot at the i-th charging location; This represents the type of electric vehicle at the nth charging bay of the i-th charging location. This indicates that there are no vehicles waiting at the designated charging parking space; if This indicates that there are electric vehicles waiting to be charged in the designated charging spaces. This indicates the current state of charge of the battery of the electric vehicle waiting to be charged; if ,remember .

[0020] the state of the i-th charging location at time t is denoted as , and the joint state of the charging service system in the specific area at time t is denoted as , the joint state of the k-th decision time is abbreviated as ; the extended state of the virtual station at the decision time is defined as , and its state space is denoted as .

[0021] The charging service price formulated by the virtual station service system is denoted as action a, then at the decision time , k<K / z-1, the service system formulates z charging service prices for the z time periods from the z(k+1)-th to the z(k+2)-th time period in the time period , and the action at the k-th decision time is denoted as ; the service price set is denoted as , where represents the lowest service price, represents the highest service price, then the action set , that is .

[0022] The charging service price control strategy is defined as a mapping from the state space of the corresponding extended state to the action space of the corresponding charging service price , and the control strategy is expressed by a deep neural network.

[0023] Assume that the policy network uses a multi-channel and multi-size one-dimensional convolutional neural network (CNN) as the feature extraction layer network, and the output of the policy network adopts a fully connected network (FCN); the policy network parameters are denoted as θ, then the control strategy is denoted as , and the control strategy network is .

[0024] The input of the convolutional neural network is determined by the current extended state of the virtual station , which is divided into I+1 channels of data, where the input of channel 0 is defined as , and the input of channel I, i=0,...,I is the state of the i-th charging location of the virtual charging station at the k-th decision time; At each k-th, k=0,1,...,K / z-1 decision time ​​​​Input the I+1 channels of data into the CNN to obtain the feature vector. Then The input is fed into the FCN part of the policy network to obtain the extended state. The corresponding service prices are randomly distributed. , Reflects the system in state The probability of each possible random action being taken is determined by the policy parameter θ, specifically by the mean vector. and standard deviation vector The z Gaussian distributions that are determined are finally sampled and solved to obtain the action. This refers to the service price control variable for future periods.

[0025] The virtual charging station control strategy The performance function under the action is denoted as: (1) here This represents the initial extended state of the system. Indicates the impact of system performance on policy Arrival rate and initial extended state Expectations It is the compensation for the last z periods of the day when the station is operating.

[0026] The control policy network is optimized using deep reinforcement learning, and its performance is evaluated according to formula (1). Corresponding to formula (1), the performance function of each extended state is also expressed using a deep neural network as a critique.

[0027] Assume that the evaluator network and the policy network share the feature extraction layer, and the output of the evaluator network also adopts a fully connected network. Let the parameters of the evaluator network be denoted as w.

[0028] See Figure 2 The diagram shown is a flowchart of the method of this invention. The deep reinforcement learning algorithm for the charging service price control strategy network is as follows: Step 1.1: Design the policy network and evaluator network structure, and initialize the network parameters θ and w; given the total number of learning episodes N; Step 1.2: For each scene n, n=1,2,...,N, perform the following operations: a) Initialize system state Let k=0; b) Based on the current expansion status We obtain I+1 channels of data, which are then input into a convolutional neural network to obtain feature vectors. ; c) input the current extended state corresponding feature vector into the fully connected network part of the policy network, sample and solve to obtain the price action on the action set D and publish it; d) at the (k+1)-th decision time, observe and obtain the current extended state and calculate according to formula (2) the cumulative reward generated during the state transition process of the system from the extended state at the decision time to the extended state at the decision time : (2) In formula (2), represents the positive part of the function , i.e., ; (3) e) input the feature vector corresponding to into the fully connected network part of the critic to obtain the state value ; f) if k<K / z-2, obtain I+1 channel data according to the extended state , input it into the convolutional neural network to obtain the feature vector corresponding to , and input into the fully connected network part of the critic to obtain the state value ; otherwise, let (4) g) calculate the TD error ; (5) h) if k<K / z-2, let and return to step c) for execution; here, the operator " " means that the value of the right expression is calculated first and then assigned to the left variable.

[0029] Step 1.3: update the parameters of the policy network according to the collected N-act simulation operation data (6) Here, is the learning step size of the policy network; Step 1.4: update the parameters of the critic network according to the mean square error loss function ​​​​ (7) Here, is the learning step size of the critic; Step 1.5: If the algorithm termination condition is not met, return to Step 1.2 for execution; otherwise, the learning algorithm terminates. The algorithm termination condition can be set to a fixed number of iterations, or set based on whether the fluctuation of the loss function in Step 1.4 meets a threshold condition.

[0030] After the learning algorithm terminates, the policy network can be used in the actual service pricing process, refer to Figure 3 as shown, details are as follows: Step 1: Import the trained policy network ; Step 2: At the k-th decision cycle, observe the state of the virtual charging station , calculate the current extended state ; Step 3: Decompose and encode the current extended state to obtain I+1 channels of data, input to the policy network , and obtain the stochastic distribution of pricing actions at the output layer of the policy network ; Step 4: Sample and solve based on the stochastic distribution to obtain pricing actions on the action set D , and release them; Step 5: Observe the system operation until the (k+1)-th decision time. If k < K / z - 2, set , jump to Step 2 for execution; otherwise, the dynamic service pricing action for the day ends.

[0031] The present invention enables effective dynamic control of charging service prices for a virtual charging station service system, thereby adaptively guiding vehicle charging demand based on station operating status, responding to grid power quota instructions, and improving the overall operating revenue of the charging station service system.

[0032] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Unless otherwise specified, an element defined by the phrase "comprising..." or "including..." does not exclude the presence of additional elements in the process, method, article, or terminal device that includes said element. Additionally, in this document, "greater than," "less than," "exceeding," etc., are understood to exclude the stated number; "above," "below," "within," etc., are understood to include the stated number.

[0033] Although the above embodiments have been described, those skilled in the art, once they understand the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the above descriptions are merely embodiments of the present invention and do not limit the scope of patent protection of the present invention. Any equivalent structural or procedural transformations made using the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A method for controlling charging service prices based on virtual charging station technology, characterized in that, The service price control mechanism is constructed as follows: A regional charging service management system is configured with I charging locations at different points, providing paid charging services for M types of randomly arriving electric vehicles. The charging piles in this region are aggregated into a virtual charging station, and the i-th charging location is equipped with N charging stations. i One charging pile and L i There are waiting charging spaces, so that each charging station can meet the charging power requirements of M types of electric vehicles, and each charging station can only provide charging services for one electric vehicle at a time. Let the set of I charging locations in the region be denoted as ; Suppose that the arrival of electric vehicles follows different Poisson distributions at different time periods, denoted as . ; N of the i-th charging location i A set of charging piles is denoted as The rated charging power of the m-th type of electric vehicle is denoted as The maximum battery capacity is , ; Assuming the upper-level load aggregator or power grid dispatch center sets the upper limit of power consumption for the virtual charging station according to equal time periods. Adjustments are made, and the release is done z periods in advance. Let K be the maximum number of periods per day and the corresponding total duration be T. Let k be the time when the upper limit of electricity consumption is adjusted, where k = 0, 1, ..., K-1. The upper limit of electricity consumption for the corresponding time period is denoted as... ;in, ; Assuming that the time-of-use electricity price of the power grid is also based on time periods If adjustments are made at integer multiples of the time, then the time-of-use electricity price sequence for the total duration T is denoted as... ,in, , It is a finite electricity price state space; Assuming the service price of virtual charging stations is based on equal time periods Make adjustments. Let k = 0, 1, ..., K / z-2 be the time to set the charging service price for the k-th service period. , ,..., Make decisions and issue announcements; record The decision-making time is determined by setting the service price, and there are a total of K / z-1 decision-making cycles. remember ; N of the i-th charging location i The joint state of the charging piles at time t is denoted as: ,in This indicates the service status of the nth charging pile at the i-th charging location; This indicates the type of electric vehicle being served by the nth charging pile at the i-th charging location at time t. Indicates no vehicle is connected; if Indicates that it is being given One type of electric vehicle charging, This indicates the current state of charge (SOC) of the battery in the electric vehicle being charged. Indicates the current charging power; if ,remember , ; The total power consumption of the charging station is ; The queue information of vehicles waiting for charging at the i-th charging location at time t is denoted as follows: ,in This indicates the vehicle status at the nth waiting charging spot at the i-th charging location; This represents the type of electric vehicle at the nth charging bay of the i-th charging location. This indicates that there are no vehicles waiting at the designated charging parking space; if This indicates that there are electric vehicles waiting to be charged in the designated charging spaces. This indicates the current state of charge of the battery of the electric vehicle waiting to be charged; if ,remember ; Let the state of the i-th charging location at time t be denoted as The joint state of the charging service system in the region at time t is denoted as . The k-th decision time joint state Abbreviated as Define a virtual field station at the decision-making time. The extended state is Its state space is denoted as ; Let the charging service price set by the virtual station service system be denoted as action a, then at the decision moment , k<K / z-1, the service system sets z charging service prices for the z time slots from the z(k+1)-th to the z(k+2)-th time slot within the time period , and the action at the k-th decision moment is denoted as ; let the service price set be , where represents the minimum service price, and represents the maximum service price, then the action set , i.e., ; Define the charging service price control strategy as the corresponding extended state. state space To the corresponding charging service price Action space The mapping is such that the control strategy is expressed using a deep neural network. Suppose that the policy network uses a multi-channel, multi-size one-dimensional convolutional neural network as the feature extraction layer network, and the policy network output adopts a fully connected network. Let the policy network parameters be denoted as θ. Then, the control policy is denoted as... The control policy network is ; The input to the convolutional neural network is determined by the current expansion state of the virtual field station. The decision is made to divide the data into I+1 channels, where channel 0 is defined as the input. The input to channel I, i=0,…,I is the state of the i-th charging location in the virtual charging station. The value at the k-th decision time; At every decision time k, k=0,1,…,K / z-1 The I+1 channels of data are input into a convolutional neural network to obtain feature vectors. Then The fully connected network portion of the policy network is input to obtain the extended state. The corresponding service prices are randomly distributed. , Reflects the system in state The probability of each possible random action being taken is determined by the policy parameter θ, specifically by the mean vector. and standard deviation vector The z Gaussian distributions that are determined are finally sampled and solved to obtain the action. This refers to the service price control variable for future periods.

2. The charging service price control method based on virtual charging station technology as described in claim 1, characterized in that, The specific steps for setting service prices using the strategy network are as follows: Step 1: Import the learned strategy network ; Step 2: In the k-th decision cycle, observe the state of the virtual charging station. Calculate the current extended state ; Step 3: Change the current expansion state The decomposition and encoding yields I+1 channels of data, which are then input into the policy network. The random distribution of price actions is obtained at the output layer of the policy network. ; Step 4: Based on the random distribution The price action on action set D is sampled and calculated. Publish; Step 5: observe the system operation until the (k+1)-th decision time; if k < K / z - 2, let , jump to step 2 for execution; otherwise, the dynamic service price formulation for the day ends.

3. The charging service price control method based on virtual charging station technology as described in claim 2, characterized in that, Step 1 is specifically as follows: The control strategy for the virtual charging station is denoted as... ,but The performance function of the system under the action is denoted as: (1) here This represents the initial extended state of the system. Indicates the impact of system performance on policy Arrival rate and initial extended state Expectations It is the compensation for the last z periods of the day when the station is operating; The optimization of the control policy network is carried out using deep reinforcement learning. Its performance is judged according to formula (1). Corresponding to formula (1), the performance function of each extended state is also expressed by a deep neural network as a critic. Assume that the evaluator network and the policy network share the feature extraction layer, and the output of the evaluator network also adopts a fully connected network. Let the parameters of the evaluator network be denoted as w. The deep reinforcement learning algorithm for charging service price control strategy includes the following steps: Step 1.1: Design the policy network and evaluator network structure, and initialize the network parameters θ and w; given the total learning... Number of acts N; Step 1.2: For each scene n, n=1,2,...,N, perform the following operations: a) Initialize system state Let k=0; b) Based on the current expansion status We obtain I+1 channels of data, which are then input into a convolutional neural network to obtain feature vectors. ; c) Change the current extended state corresponding feature vector The fully connected part of the policy network is input, sampled, and computed to obtain the price action on the action set D. And publish it; d) At the (k+1)th decision time, the current extended state is observed. According to formula (2), the system calculates from the decision moment Extended state at time Shift to the decision moment Extended state at time The cumulative reward generated during this state transition process : (2) In equation (2), Representation function The main part, that is (3) e) will corresponding feature vector The fully connected network part of the evaluator is used to obtain the state values. ; f) If According to the extended state We obtain I+1 channels of data, which are then input into a convolutional neural network to obtain... corresponding feature vector and will The fully connected network part of the evaluator is used to obtain the state values. Otherwise, let (4) g) Calculate TD error ; (5) h) If ,make Return to step c) to execute; here, the operator " " indicates that the value of the right-hand side is calculated first and then assigned to the variable on the left-hand side; Step 1.3: Update the policy network parameters based on the collected N-stage simulation data. (6) here, The learning step size for the policy network; Step 1.4, then based on the mean squared error loss function To update the parameters of the evaluator network. (7) here, The learning step size for the evaluator network; Step 1.5: If the algorithm's stopping condition is not met, return to step 1.2 for execution; Otherwise, the learning algorithm stops. The stopping condition in step 1.5 is a fixed number of iterations or whether the fluctuation of the loss function in step 1.4 meets the threshold condition.

Citation Information

Patent Citations

  • Electric vehicle charging station dynamic pricing method based on graph attention multi-agent reinforcement learning

    CN121458346A