CN111401627A - Electric vehicle charging scheduling method and device - Google Patents
Electric vehicle charging scheduling method and device Download PDFInfo
- Publication number
- CN111401627A CN111401627A CN202010172540.3A CN202010172540A CN111401627A CN 111401627 A CN111401627 A CN 111401627A CN 202010172540 A CN202010172540 A CN 202010172540A CN 111401627 A CN111401627 A CN 111401627A
- Authority
- CN
- China
- Prior art keywords
- scheduling
- electric vehicle
- scheduling scheme
- charging
- scheme
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 238000012545 processing Methods 0.000 claims abstract description 40
- 230000035772 mutation Effects 0.000 claims abstract description 39
- 238000005457 optimization Methods 0.000 claims abstract description 37
- 230000008569 process Effects 0.000 claims abstract description 17
- 238000004422 calculation algorithm Methods 0.000 claims description 11
- 238000011156 evaluation Methods 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 description 9
- 230000006978 adaptation Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Health & Medical Sciences (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Public Health (AREA)
- Primary Health Care (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Educational Administration (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
本发明实施例公开了一种电动汽车充电调度方法和装置,其中,所述方法包括:针对预设电动汽车集合中的电动汽车分别获得第一调度方案,在满足预设的目标约束条件下对所述第一调度方案进行评价获得第一适应值;按照预设的操作规则对所述第一调度方案进行混合变量变异处理获得变量变异值,根据所述第一调度方案和所述变量变异值进行交叉操作处理获得第二调度方案;在满足所述目标约束条件下对所述第二调度方案进行评价获得第二适应值;从所述第一调度方案和所述第二调度方案选择出目标优化调度方案进行充电调度。采用本发明所述的方法,能够有效优化行程用时和充电费用,提高了整体路网中电动汽车充电调度的效率,具备更强的全局优化性能。
The embodiment of the present invention discloses a method and device for scheduling electric vehicle charging, wherein the method includes: obtaining a first scheduling scheme for electric vehicles in a preset electric vehicle set respectively, The first scheduling scheme is evaluated to obtain a first fitness value; a mixed variable mutation process is performed on the first scheduling scheme according to a preset operation rule to obtain a variable variation value, and a variable variation value is obtained according to the first scheduling scheme and the variable variation value Perform cross operation processing to obtain a second scheduling scheme; evaluate the second scheduling scheme under the condition of satisfying the target constraint to obtain a second fitness value; select a target from the first scheduling scheme and the second scheduling scheme Optimize the scheduling scheme for charging scheduling. The method of the invention can effectively optimize the travel time and charging cost, improve the efficiency of electric vehicle charging scheduling in the overall road network, and have stronger global optimization performance.
Description
技术领域technical field
本发明实施例涉及智能交通领域,具体涉及一种电动汽车充电调度方法和装置,另外还涉及一种电子设备和计算机可读存储介质。Embodiments of the present invention relate to the field of intelligent transportation, in particular to a method and device for scheduling electric vehicle charging, and also to an electronic device and a computer-readable storage medium.
背景技术Background technique
近年来,随着科学技术的快速发展,电动汽车相关技术逐渐完善成熟。电动汽车租赁公司通常同时掌握大批电动汽车和若干充电站资源,当电动汽车在完成旅程后的充电状态需要能够恰好接近预期,从而不至于过低而影响下一次旅程的开展,也不至于过高而增加当前旅程用时和充电费用,所以在决策变量方面,电动汽车调度时不仅需要优化充电站的选择,还需要优化在各充电站的具体充电量。实现电动汽车充电调度实际上成为一个复杂调度优化问题,求解该问题要求确定交通路网中各电动汽车的具体充电方案。该充电方案可包括充电次数、充电站选择以及充电量等信息。In recent years, with the rapid development of science and technology, electric vehicle-related technologies have gradually matured. Electric car rental companies usually have a large number of electric cars and several charging station resources at the same time. When the electric car completes the journey, the charging state needs to be close to the expectation, so that it will not be too low and affect the development of the next journey, and will not be too high. In addition, the current journey time and charging cost are increased, so in terms of decision variables, it is not only necessary to optimize the selection of charging stations during electric vehicle scheduling, but also to optimize the specific charging amount at each charging station. The realization of electric vehicle charging scheduling has actually become a complex scheduling optimization problem. Solving this problem requires determining the specific charging scheme of each electric vehicle in the traffic network. The charging scheme may include information such as the number of charging times, the selection of charging stations, and the amount of charging.
目前,由于充电站等硬件设施数量的限制,需要通过共用的方式满足使用需求,在具体实施过程中单辆电动汽车改变其充电方案将很有可能影响到其他电动汽车充电方案的实施,进而影响到路网的整体充电调度效果,因此,需要对电动汽车充电调度进行全局优化,从而实现电动汽车智能充电调度。从电动汽车租赁公司利益出发,如何快捷、有效的实现电动汽车充电调度逐渐成为本领域技术人员研究的重点。At present, due to the limitation of the number of hardware facilities such as charging stations, it is necessary to meet the needs of use by sharing. During the specific implementation process, changing the charging scheme of a single electric vehicle will likely affect the implementation of other electric vehicle charging schemes, and thus affect the implementation of other electric vehicle charging schemes. Therefore, it is necessary to optimize the charging scheduling of electric vehicles globally, so as to realize the intelligent charging scheduling of electric vehicles. Starting from the interests of electric vehicle rental companies, how to quickly and effectively realize the charging and scheduling of electric vehicles has gradually become the focus of research by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
为此,本发明实施例提供一种电动汽车充电调度方法,以解决现有技术存在的对充电汽车调度优化过程效率较低,导致无法满足用户实际使用需求的问题。To this end, the embodiments of the present invention provide a charging scheduling method for electric vehicles, so as to solve the problem in the prior art that the scheduling optimization process for charging vehicles is inefficient, resulting in the inability to meet the actual use requirements of users.
为了实现上述目的,本发明实施例提供如下技术方案:In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
第一方面,本发明实施例提供一种电动汽车充电调度方法,包括:针对预设电动汽车集合中的电动汽车分别获得相应的第一调度方案,所述第一调度方案包括对应所述电动汽车的初始充电站序列和初始充电率序列;在满足预设的目标约束条件下,对所述第一调度方案进行评价获得相应的第一适应值;按照预设的操作规则对所述第一调度方案进行混合变量变异处理获得相应的变量变异值;根据所述第一调度方案和所述变量变异值进行交叉操作处理,获得第二调度方案;在满足所述目标约束条件下,对所述第二调度方案进行评价获得相应的第二适应值;基于所述第一适应值和所述第二适应值,从所述第一调度方案和所述第二调度方案选择出目标优化调度方案,按照所述目标优化调度方案管控所述电动汽车进行充电调度。In a first aspect, an embodiment of the present invention provides an electric vehicle charging scheduling method, including: obtaining a corresponding first scheduling scheme for electric vehicles in a preset electric vehicle set, wherein the first scheduling scheme includes corresponding to the electric vehicles the initial charging station sequence and initial charging rate sequence; under the condition that the preset target constraints are met, the first scheduling scheme is evaluated to obtain the corresponding first adaptation value; the first scheduling scheme is evaluated according to the preset operation rules The scheme performs mixed variable mutation processing to obtain corresponding variable variation values; performs cross operation processing according to the first scheduling scheme and the variable variation values to obtain a second scheduling scheme; The second scheduling scheme is evaluated to obtain a corresponding second fitness value; based on the first fitness value and the second fitness value, a target optimal scheduling scheme is selected from the first scheduling scheme and the second scheduling scheme, according to The target optimal scheduling scheme manages and controls the electric vehicle to perform charging scheduling.
进一步的,所述的电动汽车充电调度方法,还包括:预设目标优化迭代次数;选择出所述目标优化调度方案之后,判断与所述目标优化调度方案相应对应的当前优化迭代次数是否小于预设的目标优化迭代次数,若否,则按照所述目标优化调度方案管控所述电动汽车进行充电调度。Further, the electric vehicle charging scheduling method further includes: presetting a target optimization iteration number; after selecting the target optimization scheduling scheme, judging whether the current optimization iteration number corresponding to the target optimization scheduling scheme is less than a predetermined number of iterations. The set number of target optimization iterations, if not, control the electric vehicle to perform charging scheduling according to the target optimization scheduling scheme.
进一步的,所述针对预设电动汽车集合中的电动汽车分别获得相应的第一调度方案,具体包括:针对所述电动汽车集合中的每辆电动汽车分别构建一个初始充电站序列,以及按照所述初始充电站序列为每辆电动汽车选择充电站,为已选充电站设置充电率,进而形成所述初始充电率序列;根据所述初始充电站序列和所述初始充电率序列,获得所述第一调度方案。Further, obtaining the corresponding first scheduling scheme for the electric vehicles in the preset electric vehicle set, specifically includes: constructing an initial charging station sequence for each electric vehicle in the electric vehicle set, and according to the set of electric vehicles. The initial charging station sequence selects a charging station for each electric vehicle, sets the charging rate for the selected charging station, and then forms the initial charging rate sequence; obtains the initial charging station sequence and the initial charging rate sequence according to the initial charging station sequence and the initial charging rate sequence The first scheduling scheme.
进一步的,所述按照预设的操作规则对所述第一调度方案进行混合变量变异处理获得相应的变量变异值,具体包括:根据所述电动汽车集合中每辆电动汽车所对应的所述初始充电站序列进行离散型变异操作处理,进一步根据为所述电动汽车集合中每辆电动汽车已选充电站设置的充电率进行连续型变异操作处理,获得相应的变量变异值。Further, performing mixed variable mutation processing on the first scheduling scheme according to preset operation rules to obtain a corresponding variable variation value specifically includes: according to the initial value corresponding to each electric vehicle in the electric vehicle set. The sequence of charging stations is subjected to discrete mutation operation processing, and further, continuous mutation operation processing is performed according to the charging rate set for the selected charging station for each electric vehicle in the electric vehicle set to obtain corresponding variable variation values.
进一步的,所述根据所述第一调度方案和所述变量变异值进行交叉操作处理,获得第二调度方案,具体包括:利用预设的二项交叉算法,对所述第一调度方案和所述变量变异值进行交叉操作处理,获得第二调度方案。Further, the performing crossover operation processing according to the first scheduling scheme and the variable variation value to obtain the second scheduling scheme specifically includes: using a preset binomial crossover algorithm to perform the crossover operation on the first scheduling scheme and the all The variation value of the above variable is subjected to cross operation processing to obtain the second scheduling scheme.
进一步的,所述的电动汽车充电调度方法,还包括:若是,则继续按照预设的操作规则对所述第一调度方案进行混合变量变异处理获得相应的变量变异值;根据所述第一调度方案和所述变量变异值进行交叉操作处理,获得新的第二调度方案。Further, the electric vehicle charging scheduling method further includes: if so, continuing to perform mixed variable mutation processing on the first scheduling scheme according to preset operation rules to obtain corresponding variable variation values; according to the first scheduling The scheme and the variable variation value are subjected to cross operation processing to obtain a new second scheduling scheme.
进一步的,所述的电动汽车充电调度方法,还包括:预先确定需要进行充电调度的电动汽车集合。Further, the electric vehicle charging scheduling method further includes: predetermining a set of electric vehicles that need to be charged and scheduled.
第二方面,本发明实施例还提供一种电动汽车充电调度装置,包括:第一调度方案获得单元,用于针对预设电动汽车集合中的电动汽车分别获得相应的第一调度方案,所述第一调度方案包括对应所述电动汽车的初始充电站序列和初始充电率序列;第一评价单元,用于在满足预设的目标约束条件下,对所述第一调度方案进行评价获得相应的第一适应值;第二调度方案获得单元,用于按照预设的操作规则对所述第一调度方案进行混合变量变异处理获得相应的变量变异值;根据所述第一调度方案和所述变量变异值进行交叉操作处理,获得第二调度方案;第二评价单元,用于在满足所述目标约束条件下,对所述第二调度方案进行评价获得相应的第二适应值;优化调度单元,用于基于所述第一适应值和所述第二适应值,从所述第一调度方案和所述第二调度方案选择出目标优化调度方案,按照所述目标优化调度方案管控所述电动汽车进行充电调度。In a second aspect, an embodiment of the present invention further provides an electric vehicle charging scheduling device, including: a first scheduling scheme obtaining unit, configured to obtain a corresponding first scheduling scheme for the electric vehicles in the preset electric vehicle set respectively, the The first scheduling scheme includes an initial charging station sequence and an initial charging rate sequence corresponding to the electric vehicle; the first evaluation unit is configured to evaluate the first scheduling scheme to obtain a corresponding a first fitness value; a second scheduling scheme obtaining unit, configured to perform mixed variable mutation processing on the first scheduling scheme according to a preset operation rule to obtain a corresponding variable variation value; according to the first scheduling scheme and the variable The variation value is subjected to cross operation processing to obtain a second scheduling scheme; a second evaluation unit is configured to evaluate the second scheduling scheme to obtain a corresponding second fitness value under the condition that the target constraint condition is satisfied; the optimization scheduling unit, is used to select a target optimal dispatch scheme from the first dispatch scheme and the second dispatch scheme based on the first fitness value and the second fitness value, and to manage and control the electric vehicle according to the target optimal dispatch scheme Perform charging scheduling.
进一步的,所述的电动汽车充电调度装置,还包括:迭代次数预设单元,用于预设目标优化迭代次数;第一判断处理单元,用于选择出所述目标优化调度方案之后,判断与所述目标优化调度方案相应对应的当前优化迭代次数是否小于预设的目标优化迭代次数,若否,则按照所述目标优化调度方案管控所述电动汽车进行充电调度。Further, the electric vehicle charging scheduling device further includes: a unit for presetting the number of iterations, which is used for presetting the number of iterations for the target optimization; a first judgment processing unit, which is used for judging and matching after selecting the target optimization scheduling scheme. Whether the current optimization iteration number corresponding to the target optimization scheduling scheme is less than the preset target optimization iteration number, if not, the electric vehicle is managed and controlled to perform charging scheduling according to the target optimization scheduling scheme.
进一步的,所述第一调度方案获得单元具体用于:针对所述电动汽车集合中的每辆电动汽车分别构建一个初始充电站序列,以及按照所述初始充电站序列为每辆电动汽车选择充电站,为已选充电站设置充电率,进而形成所述初始充电率序列;根据所述初始充电站序列和所述初始充电率序列,获得所述第一调度方案。Further, the first scheduling scheme obtaining unit is specifically configured to: construct an initial charging station sequence for each electric vehicle in the electric vehicle set, and select charging for each electric vehicle according to the initial charging station sequence. station, set the charging rate for the selected charging station, and then form the initial charging rate sequence; obtain the first scheduling scheme according to the initial charging station sequence and the initial charging rate sequence.
进一步的,所述第二调度方案获得单元具体用于:根据所述电动汽车集合中每辆电动汽车所对应的所述初始充电站序列进行离散型变异操作处理,进一步根据为所述电动汽车集合中每辆电动汽车已选充电站设置的充电率进行连续型变异操作处理,获得相应的变量变异值。Further, the second scheduling scheme obtaining unit is specifically configured to: perform discrete mutation operation processing according to the initial charging station sequence corresponding to each electric vehicle in the electric vehicle set, and further according to the electric vehicle set The charging rate set by the selected charging station of each electric vehicle in the CV is processed by continuous mutation operation, and the corresponding variable variation value is obtained.
进一步的,所述第二调度方案获得单元具体用于:利用预设的二项交叉算法,对所述第一调度方案和所述变量变异值进行交叉操作处理,获得第二调度方案。Further, the second scheduling scheme obtaining unit is specifically configured to: use a preset binomial cross algorithm to perform cross operation processing on the first scheduling scheme and the variable variation value to obtain the second scheduling scheme.
进一步的,所述的电动汽车充电调度装置,还包括:第二判断处理单元,用于若是,则继续按照预设的操作规则对所述第一调度方案进行混合变量变异处理获得相应的变量变异值;根据所述第一调度方案和所述变量变异值进行交叉操作处理,获得新的第二调度方案。Further, the electric vehicle charging scheduling device further includes: a second judgment processing unit, configured to continue to perform mixed variable mutation processing on the first scheduling scheme according to preset operation rules to obtain corresponding variable variation. value; perform cross operation processing according to the first scheduling scheme and the variable variation value to obtain a new second scheduling scheme.
进一步的,所述的电动汽车充电调度装置,还包括:预先确定需要进行充电调度的电动汽车集合。Further, the electric vehicle charging scheduling device further includes: pre-determining a set of electric vehicles for which charging scheduling needs to be performed.
第三方面,本发明实施例还提供了一种电子设备,包括:处理器和存储器;其中,所述存储器,用于存储电动汽车充电调度方法的程序,该电子设备通电并通过所述处理器运行该电动汽车充电调度方法的程序后,执行上述所述的任意一项所述的电动汽车充电调度方法。In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory; wherein, the memory is used to store a program of an electric vehicle charging scheduling method, the electronic device is powered on and passes the processor After running the program of the electric vehicle charging scheduling method, any one of the above-mentioned electric vehicle charging scheduling methods is executed.
第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机存储介质中包含一个或多个程序指令,所述一个或多个程序指令用于被服务器执行上述任一项所述的电动汽车充电调度方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer storage medium contains one or more program instructions, and the one or more program instructions are used by a server to execute any one of the foregoing The described electric vehicle charging scheduling method.
采用本发明所述的电动汽车充电调度方法,能够有效优化行程用时和充电费用,并且保证达到电动汽车到达终点时的充电状态尽可能逼近预期的状态值,极大提高了电动汽车充电调度的效率,从而提升了用户的使用体验。Using the electric vehicle charging scheduling method of the present invention can effectively optimize the travel time and charging cost, and ensure that the charging state when the electric vehicle reaches the end point is as close to the expected state value as possible, which greatly improves the efficiency of electric vehicle charging scheduling. , thereby improving the user experience.
附图说明Description of drawings
为了更清楚地说明本发明的实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是示例性的,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图引申获得其它的实施附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only exemplary, and for those of ordinary skill in the art, other implementation drawings can also be derived from the provided drawings without any creative effort.
图1为本发明实施例提供的一种电动汽车充电调度方法的流程图;FIG. 1 is a flowchart of an electric vehicle charging scheduling method provided by an embodiment of the present invention;
图2为本发明实施例提供的一种电动汽车充电调度装置的示意图;FIG. 2 is a schematic diagram of an electric vehicle charging scheduling device according to an embodiment of the present invention;
图3为本发明实施例提供的一种电子设备的示意图;3 is a schematic diagram of an electronic device according to an embodiment of the present invention;
图4为本发明实施例提供的一种电动汽车充电调度方法的完整流程图。FIG. 4 is a complete flowchart of an electric vehicle charging scheduling method according to an embodiment of the present invention.
具体实施方式Detailed ways
以下由特定的具体实施例说明本发明的技术方案,熟悉此技术的人士可由本说明书所揭露的内容轻易地了解本发明的其他优点及功效。显然,下面所描述的实施例是本发明的其中一部分实施例,而不是全部的实施例。基于下面所描述的实施例,本领域普通技术人员在无需做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention are described below by specific embodiments, and those who are familiar with the technology can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the embodiments described below are some, but not all, embodiments of the present invention. Based on the embodiments described below, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
目前,电动汽车充电调度已成为智能交通领域中一个新兴的复杂调度优化问题,本发明公开的技术方案将差分进化算法运用于电动汽车充电调度,运用差分进化算法搜索所有电动汽车充电调度方案的最优组合,综合考虑了旅程用时、充电费用和到达终点电量状态等多个方面的全局优化目标,采用离散型的充电站编号组成的充电站序列和连续型的充电率(充电量被归一化后的数值)序列,更符合实际应用的需求。一方面先通过归一化充电量获得充电率来简化解的生成和更新操作,再采用满足约束条件的适应值评价方法来确保运算过程中充电调度解的有效性;另一方面设计了支持混合变量的变异机制,其包括专门处理充电站序列的基于集合的离散型变异算子和专门处理充电率序列的传统的连续型变异算子。At present, electric vehicle charging scheduling has become an emerging complex scheduling optimization problem in the field of intelligent transportation. The technical solution disclosed in the present invention applies the differential evolution algorithm to the charging scheduling of electric vehicles, and uses the differential evolution algorithm to search for the optimal solution of all charging scheduling schemes for electric vehicles. It comprehensively considers the global optimization objectives in terms of journey time, charging cost, and the state of charge at the destination, using a charging station sequence composed of discrete charging station numbers and a continuous charging rate (the charging amount is normalized The latter value) sequence, which is more in line with the needs of practical applications. On the one hand, the generation and update operations of the solution are simplified by obtaining the charging rate by normalizing the charging amount, and then the fitness value evaluation method that satisfies the constraints is adopted to ensure the validity of the charging scheduling solution during the operation; The mutation mechanism of variables includes a set-based discrete mutation operator specially dealing with charging station sequences and a traditional continuous mutation operator specially dealing with charging rate sequences.
下面基于本发明所述的一种电动汽车充电调度方法,对其实施例进行详细描述。如图1所示,其为本发明实施例提供的一种电动汽车充电调度方法的流程图,具体实现过程包括以下步骤:Based on the charging scheduling method for an electric vehicle according to the present invention, the embodiments thereof will be described in detail below. As shown in FIG. 1 , which is a flowchart of an electric vehicle charging scheduling method provided by an embodiment of the present invention, the specific implementation process includes the following steps:
步骤S101:针对预设电动汽车集合中的电动汽车分别获得相应的第一调度方案,所述第一调度方案包括对应所述电动汽车的初始充电站序列和初始充电率序列。Step S101 : respectively obtaining a corresponding first scheduling scheme for the electric vehicles in the preset electric vehicle set, where the first scheduling scheme includes an initial charging station sequence and an initial charging rate sequence corresponding to the electric vehicles.
在执行步骤S101之前,可预先确定需要进行充电调度的电动汽车集合,并基于预设的规则为所述电动汽车集合中的电动汽车生成随机的第一调度方案。在本发明实施例中,所述的针对预设电动汽车集合中的电动汽车分别获得相应的第一调度方案,具体实现过程可以包括:针对所述电动汽车集合中的每辆电动汽车分别构建一个初始充电站序列,以及按照所述初始充电站序列为每辆电动汽车选择充电站,为已选充电站设置充电率,进而形成所述初始充电率序列;根据所述初始充电站序列和所述初始充电率序列获得第一调度方案。Before step S101 is performed, a set of electric vehicles to be scheduled for charging may be predetermined, and a random first scheduling scheme is generated for the electric vehicles in the set of electric vehicles based on a preset rule. In the embodiment of the present invention, the corresponding first scheduling scheme is obtained for the electric vehicles in the preset electric vehicle set, and the specific implementation process may include: constructing a corresponding first scheduling scheme for each electric vehicle in the electric vehicle set an initial charging station sequence, and selecting a charging station for each electric vehicle according to the initial charging station sequence, setting a charging rate for the selected charging station, and then forming the initial charging rate sequence; according to the initial charging station sequence and the The initial charge rate sequence obtains the first scheduling scheme.
举例而言,在运算实施过程中,假设电动汽车集合(以下简称A)中第i辆电动汽车的充电调度方案si由充电站序列ci和等长的充电率序列ei组成。需要说明的是,由于A中电动汽车有不同的旅程起终点,所以需要提前限定每辆电动汽车的充电站序列长度均为J;若某辆电动汽车的充电站序列的实际长度小于J,则可以通过在后面添加空编号来补齐。For example, in the operation implementation process, it is assumed that the charging scheduling scheme si of the ith electric vehicle in the electric vehicle set (hereinafter referred to as A) consists of a charging station sequence ci and an equal-length charging rate sequence ei . It should be noted that since the electric vehicles in A have different journey start and end points, it is necessary to limit the length of the charging station sequence of each electric vehicle in advance to be J; if the actual length of the charging station sequence of an electric vehicle is less than J, then It can be filled by adding an empty number after it.
具体的,初始化一个电动汽车充电调度解S={si|i=1,2,…,n}(一个充电调度解即对应一个调度方案),为第i(i=1,2,…,n)辆电动汽车生成随机的调度方案si=(ci,ei)。首先需要随机地选取至多J个不重复的充电站编号来生成充电站序列ci={cij|j=1,2,…,J},并且要求ci0与旅程起点的距离不得超过第i辆车的初始续航里程,充电站序列中任意相邻的两个充电站间的距离以及最后一个充电站与旅程终点间的距离都不得超过第i辆车的最大续航里程;然后生成长度与ci相等的充电率序列ei={eij|j=1,2,…,J}。其中,eij是在[0,1]范围内的随机数。Specifically, initialize an electric vehicle charging scheduling solution S={s i |i=1, 2, . n) A random dispatch scheme si = ( ci, e i ) is generated for n electric vehicles. First, it is necessary to randomly select at most J non-repetitive charging station numbers to generate the charging station sequence c i ={c ij |j=1,2,...,J}, and it is required that the distance between c i0 and the starting point of the journey shall not exceed the ith The initial cruising range of the vehicle, the distance between any two adjacent charging stations in the sequence of charging stations, and the distance between the last charging station and the end of the journey must not exceed the maximum cruising range of the i-th vehicle; then generate the length and c i equal charge rate sequence e i ={e ij |j=1, 2, . . . , J}. where e ij is a random number in the range [0,1].
在构建充电调度解S={si|i=1,2,…,n}时,A中第i辆车的充电调度方案si包含为该辆电动汽车构造的充电站序列ci={cij|j=1,2,…}和反映相应充电量的等长序列ei={eij|j=1,2,…}。其中,离散变量cij代表B中某个充电站的编号,而连续变量eij则反映第i辆车在cij的实际充电量Δβij。由于第i辆车能保存的最大电量βi max可能与其他车辆不同,而且第i辆车在cij的最小充电量Δβij min也需要依据cij与ci(j+1)的距离来确定,因此为统一eij的定义域,本发明将eij定义为充电率并限定其取值范围为[0,1]。eij的计算公式如下所示:When constructing the charging scheduling solution S={s i |i=1,2,...,n}, the charging scheduling scheme si of the i -th vehicle in A includes the charging station sequence c i ={ c ij |j=1,2,...} and an isometric sequence e i ={e ij |j=1,2,...} reflecting the corresponding charge amounts. Among them, the discrete variable c ij represents the number of a charging station in B, and the continuous variable e ij reflects the actual charging amount Δβ ij of the i-th vehicle at c ij . Since the maximum charge β i max that can be stored by the i-th vehicle may be different from other vehicles, and the minimum charge Δβ ij min of the i-th vehicle at c ij also needs to be determined according to the distance between c ij and c i(j+1) . Therefore, in order to unify the definition domain of e ij , the present invention defines e ij as the charging rate and limits its value range to [0, 1]. The calculation formula of eij is as follows:
步骤S102:在满足预设的目标约束条件下,对所述第一调度方案进行评价获得相应的第一适应值。Step S102: Evaluate the first scheduling scheme to obtain a corresponding first adaptation value under the condition that a preset target constraint condition is satisfied.
在步骤S101中构建获得调度方案集合S之后,本步骤中可在满足预设的目标约束条件下评价S中的第一调度方案并获得相应的第一适应值f(S)。在本发明实施例中,所述目标约束条件包含两个条件的约束,在具体实施时每个电动汽车充电调度解S都需要满足该两个条件的约束,即:a、每辆电动汽车在任意时刻的电量都不得为空或过充;b、每个充电站在任意时刻容纳的充电电动汽车书数量都不得大于其内充电桩数。After the scheduling scheme set S is constructed and obtained in step S101, in this step, the first scheduling scheme in S can be evaluated and the corresponding first fitness value f(S) can be obtained under the condition that the preset target constraint condition is satisfied. In the embodiment of the present invention, the target constraints include constraints of two conditions, and each electric vehicle charging scheduling solution S needs to satisfy the constraints of the two conditions during specific implementation, namely: a. The power at any time shall not be empty or overcharged; b. The number of charging electric vehicle books that each charging station can accommodate at any time shall not be greater than the number of charging piles in it.
具体的,可通过如下三个步骤评价每个电动汽车充电调度解S,并获得相应的适应值:S1:依据充电调度解S安排每辆电动汽车的充电调度方案,在满足约束条件a的情况下,获得每辆电动汽车到达每个充电站的时间、充电用时以及充电费用,并获得抵达旅程终点的时间和存余电量。S2:在每个充电站排列S1中获得的相关车辆充电调度方案,在满足条件b的约束下,为某些车辆在忙碌充电站增加等待时间,并相应调整这些车辆在后续充电站的达到时间、充电用时以及充电费用,并最终更新在旅程终点的抵达时间和存余电量;S3:将S2中获得的所有车辆在各充电站的充电费用、在旅程起终点的时间以及在旅程终点的抵达时间,应用到预设的电动汽车充电调度解的适应值计算公式(比如下述公式(2)和(6)),最终获得第一适应值f(S)。Specifically, each electric vehicle charging scheduling solution S can be evaluated through the following three steps, and the corresponding fitness value can be obtained: S1: Arrange the charging scheduling scheme of each electric vehicle according to the charging scheduling solution S, in the case of satisfying the constraint condition a , get the time, charging time and charging cost of each electric vehicle to each charging station, and get the time to reach the end of the journey and the remaining power. S2: The relevant vehicle charging scheduling scheme obtained in each charging station arrangement S1, under the constraint of satisfying condition b, increase the waiting time for some vehicles at busy charging stations, and adjust the arrival time of these vehicles at subsequent charging stations accordingly. , charging time and charging cost, and finally update the arrival time and remaining power at the end of the journey; S3: The charging cost of all vehicles obtained in S2 at each charging station, the time at the start and end of the journey, and the arrival at the end of the journey. The time is applied to the fitness value calculation formula of the preset electric vehicle charging scheduling solution (for example, the following formulas (2) and (6)), and finally the first fitness value f(S) is obtained.
结合步骤S101中的举例进行进一步说明,在具体实施过程中,本发明的优化充电调度方案对应的适应值f(S)是最小化A中所有车辆在综合考虑了旅程用时、充电费用和到达终点电量状态等多个方面的全局优化目标的平均值。其中,旅程用时为ftime(S)、充电费用为fexpense(S)以及充电状态为fSoC(S)。A中第i辆车的旅程用时为该辆车从旅程起点出发直至到达旅程终点所花费的总时长,因此包括了车辆在路上的行驶时间,在充电站的充电时间及可能的额外等待时间。假设A中所有车辆都在时间t=1后出发,且被期望在时间前到达各自终点,那么ftime(S)的计算公式就可以如下所示:Further description will be given in conjunction with the example in step S101. In the specific implementation process, the adaptive value f(S) corresponding to the optimized charging scheduling scheme of the present invention is to minimize the journey time, charging cost and arrival destination of all vehicles in A. The average value of the global optimization objectives for various aspects such as state of charge. Among them, the journey time is f time (S), the charging cost is f expense (S), and the charging state is f SoC (S). The journey time of the i-th vehicle in A is the total time spent by the vehicle from the start of the journey to the end of the journey, so it includes the vehicle's travel time on the road, charging time at the charging station and possible additional waiting time. Suppose that all vehicles in A depart after time t=1 and are expected to arrive at time reach their respective end points before, then the calculation formula of f time (S) can be as follows:
其中:ti ori和ti des分别表示第i辆车的出发时间和到达时间,则是为使车辆尽量在前到达终点而定义如下的时间惩罚函数:where: t i ori and t i des represent the departure time and arrival time of the i-th vehicle, respectively, is to keep the vehicle as far as possible before reaching the end point, the time penalty function is defined as follows:
A中第i辆车的充电费用指该车辆在已构造充电站序列的所有充电站进行充电的费用总和。假设Δβij表示第i辆车在其序列中第j个充电站cij所增加的电量,是充电价格计算函数,而是充电费用计算函数,那么fexpense(S)的计算公式就可以如下所示:The charging cost of the i-th vehicle in A refers to the total cost of charging the vehicle at all the charging stations in the constructed charging station sequence. Assuming that Δβ ij represents the power added by the i-th vehicle at the j-th charging station c ij in its sequence, is the charging price calculation function, and is the charging cost calculation function, then the calculation formula of f expense (S) can be as follows:
A中第i辆车的充电状态可理解为该车辆到达终点时存余电量βi des与预期存余电量βexp的差距。考虑到第i辆车能保存电量的最大值βi max可能与其他车辆不同,本发明用存余电率ρi des=βi des/βi max来与预期存余电率ρexp进行比较,并定义第i辆车的充电状态计算公式如下:The state of charge of the i-th vehicle in A can be understood as the difference between the remaining power β i des and the expected remaining power β exp when the vehicle reaches the end point. Considering that the maximum value β i max that can be stored in the i-th vehicle may be different from other vehicles, the present invention uses the remaining battery rate ρ i des =β i des /β i max to compare with the expected remaining battery rate ρ exp , and define the state-of-charge calculation formula of the i-th vehicle as follows:
因此,为了使得各个电动汽车在终点时的充电状态是不小于预期电量状态且保持尽可能小的存余率,fSoC(S)的计算公式则可以如下所示:Therefore, in order to make the state of charge of each electric vehicle at the end point not less than the expected state of charge and keep the reserve ratio as small as possible, the calculation formula of f SoC (S) can be as follows:
最终,为均衡多个优化目标,本发明将A中所有车辆在旅程用时、充电费用以及充电状态等方面的平均值,分别除以相应的最大值和作归一化处理,之后再进行求和,因此电动汽车充电调度解的适应值计算公式可表示如下:Finally, in order to balance multiple optimization objectives, the present invention divides the average value of all vehicles in A in terms of travel time, charging cost, and charging state by the corresponding maximum value. and It is normalized and then summed, so the calculation formula of the fitness value of the electric vehicle charging scheduling solution can be expressed as follows:
步骤S103:按照预设的操作规则对所述第一调度方案进行混合变量变异处理获得相应的变量变异值;根据所述第一调度方案和所述变量变异值进行交叉操作处理,获得第二调度方案。Step S103: Perform mixed variable mutation processing on the first scheduling scheme according to preset operation rules to obtain corresponding variable variation values; perform cross operation processing according to the first scheduling scheme and the variable variation values to obtain a second scheduling scheme Program.
在步骤S101中获得第一调度方案之后,在本步骤中可对所述第一调度方案进行混合变量变异处理获得相应的变量变异值,并根据所述第一调度方案和所述变量变异值进行交叉操作处理获得第二调度方案。After the first scheduling scheme is obtained in step S101, in this step, mixed variable mutation processing may be performed on the first scheduling scheme to obtain the corresponding variable variation value, and according to the first scheduling scheme and the variable variation value The interleave operation process obtains the second scheduling scheme.
在本发明实施例中,所述的按照预设的操作规则对所述第一调度方案进行混合变量变异处理获得相应的变量变异值,具体实现过程可以包括:根据所述电动汽车集合中每辆电动汽车所对应的所述初始充电站序列,利用预设的离散型变异算子进行离散型变异操作处理;进一步根据为所述电动汽车集合中每辆电动汽车已选充电站设置的充电率,利用预设的连续型变异算子进行连续型变异操作处理,获得相应的变量变异值。进一步的,所述的根据所述第一调度方案和所述变量变异值进行交叉操作处理,获得第二调度方案,具体为,利用预设的二项交叉算法,对所述第一调度方案和所述变量变异值进行交叉操作处理,获得第二调度方案。需要说明的是,所述第一调度方案和所述第二调度方案为包含至少一个具体的调度方案的集合;其中,所述的第一调度方案是指迭代优化之前随机生成的初始调度方案,所述的第二调度方案可以是指迭代优化过程中产生的若干个调度方案,也可以是指满足迭代优化次数后输出的最终调度方案,在此不做具体限定。In the embodiment of the present invention, performing mixed variable mutation processing on the first dispatching scheme according to preset operation rules to obtain a corresponding variable variation value, a specific implementation process may include: according to each vehicle in the electric vehicle set The initial charging station sequence corresponding to the electric vehicle is processed by discrete mutation operation using a preset discrete mutation operator; further according to the charging rate set for the selected charging station for each electric vehicle in the electric vehicle set, Use the preset continuous mutation operator to perform continuous mutation operation processing to obtain the corresponding variable mutation value. Further, performing crossover operation processing according to the first scheduling scheme and the variable variation value to obtain a second scheduling scheme, specifically, using a preset binomial crossover algorithm to perform a crossover operation on the first scheduling scheme and the variable variation value. The variation value of the variable is subjected to cross operation processing to obtain a second scheduling scheme. It should be noted that the first scheduling scheme and the second scheduling scheme are sets including at least one specific scheduling scheme; wherein, the first scheduling scheme refers to an initial scheduling scheme randomly generated before iterative optimization, The second scheduling scheme may refer to several scheduling schemes generated during the iterative optimization process, or may refer to the final scheduling scheme output after satisfying the number of iterative optimization times, which is not specifically limited herein.
结合步骤S102中的举例进行进一步描述,在实施过程中,混合变量的变异机制具体过程可以如下所示:将电动汽车充电调度的第k个解Sk表示成一个包含混合变量的二维向量(ck,ek),并相应地设计了一个支持混合变量的变异机制来获得原理如下所示:For further description in conjunction with the example in step S102, in the implementation process, the specific process of the variation mechanism of the mixed variable may be as follows: the kth solution Sk of the electric vehicle charging scheduling is represented as a two-dimensional vector ( c k , e k ), and correspondingly designed a mutation mechanism supporting mixed variables to obtain The principle is as follows:
其中:r1,r2,和r3表示差分进化算法种群中任意三个互不重复且均不为k的个体解序号,F为变异因子。Among them: r 1 , r 2 , and r 3 represent any three non-repeating and non-k individual solution numbers in the differential evolution algorithm population, and F is the variation factor.
具体实现时,本发明使用如下两个变异算子分别处理个体解中的离散型变量和连续型变量:When specifically implemented, the present invention uses the following two mutation operators to deal with discrete variables and continuous variables in individual solutions respectively:
a、离散型变异算子,该算子使用基于集合的离散化技术重定义了公式(7)的关键数学运算关系。a. A discrete mutation operator, which redefines the key mathematical operation relation of formula (7) using a set-based discretization technique.
①减法运算,由于公式(7)中减法操作的目的是获得两个解的差距,因此相应地为获取两个充电站序列和的差距,需要将两个序列相同位置上充电站编号的减法运算重定义为如下公式:①Subtraction operation. Since the purpose of the subtraction operation in formula (7) is to obtain the difference between the two solutions, the corresponding sequence of two charging stations is obtained. and The difference between the two sequences needs to be redefined as the following formula:
其中:表示一个空充电站编号;*表示满足预设的目标约束条件的任一充电站的编号。in: Indicates the number of an empty charging station; * indicates the number of any charging station that satisfies the preset target constraints.
②带乘法的加法运算,此处的乘法因子被重定义成一个概率值,用于对两个加数做如下式的选择操作:②Addition operation with multiplication, where the multiplication factor is redefined as a probability value, which is used to select the two addends as follows:
其中:F∈[0,1]是变异因子;q则是[0,1]范围内的随机数。Where: F∈[0,1] is the variation factor; q is a random number in the range of [0,1].
简而言之,离散型变异算子利用如下公式,处理第k个解Sk中第i辆车的充电站序列的第j个充电站编号ckij:In short, the discrete mutation operator uses the following formula to process the jth charging station number c kij of the charging station sequence of the ith vehicle in the kth solution Sk:
b、连续型变异算子,该算子利用如下公式,处理第k个解Sk中第i辆车在其第j个充电站的充电率ekij:b. Continuous mutation operator, which uses the following formula to process the charging rate e kij of the i-th vehicle at its j-th charging station in the k -th solution Sk:
本发明的参数设置为:种群规模N=30,最大代数gmax=100,变异因子F=0.5,交叉因子C=0.1。最终结果显示,本发明的算法可同时适用于合成路网和真实路网,其平均优化效果要优于传统的优先算法,由此说明采用本发明求解电动汽车充电调度问题是十分有效的。The parameters of the present invention are set as: population size N=30, maximum generation gmax =100, variation factor F=0.5, crossover factor C=0.1. The final result shows that the algorithm of the present invention can be applied to both synthetic road network and real road network, and its average optimization effect is better than the traditional priority algorithm, which shows that the present invention is very effective to solve the electric vehicle charging scheduling problem.
步骤S104:在满足所述目标约束条件下,对所述第二调度方案进行评价获得相应的第二适应值。Step S104: Evaluate the second scheduling scheme to obtain a corresponding second adaptation value under the condition that the target constraint condition is satisfied.
步骤S105:基于所述第一适应值和所述第二适应值,从所述第一调度方案和所述第二调度方案选择出目标优化调度方案,按照所述目标优化调度方案管控所述电动汽车进行充电调度。Step S105: Based on the first fitness value and the second fitness value, select a target optimal dispatch scheme from the first dispatch scheme and the second dispatch scheme, and manage and control the electric motor according to the target optimal dispatch scheme. Cars for charging scheduling.
在步骤S102和步骤S104中分别获得第一适应值和第二适应值之后、本步骤中可中基于适应值选择出目标优化调度方案,并按照所述目标优化调度方案管控所述电动汽车进行充电调度。After the first fitness value and the second fitness value are obtained in step S102 and step S104 respectively, in this step, a target optimal scheduling scheme can be selected based on the fitness value, and the electric vehicle can be charged according to the target optimal scheduling scheme. schedule.
在具体实施过程中,还包括预设目标优化迭代次数;选择出所述目标优化调度方案之后,判断与所述目标优化调度方案相应对应的当前优化迭代次数是否小于预设的目标优化迭代次数,若否,则按照所述目标优化调度方案管控所述电动汽车进行充电调度。另外,若是,则继续按照预设的操作规则对所述第一调度方案进行混合变量变异处理获得相应的变量变异值;根据所述第一调度方案和所述变量变异值进行交叉操作处理,获得新的第二调度方案。In the specific implementation process, the number of preset target optimization iterations is also included; after the target optimization scheduling scheme is selected, it is determined whether the current optimization iteration number corresponding to the target optimization scheduling scheme is less than the preset target optimization iteration number, If not, the electric vehicle is managed and controlled to perform charging scheduling according to the target optimal scheduling scheme. In addition, if yes, continue to perform mixed variable mutation processing on the first scheduling scheme according to the preset operation rules to obtain corresponding variable variation values; perform cross operation processing according to the first scheduling scheme and the variable variation values to obtain New second scheduling scheme.
图4所示,其为本发明实施例提供的一种电动汽车充电调度方法的完整流程图。为便于理解本发明公开的技术方案,下面基于该完整流程图的内容分步描述整个算法的具体实施方式:As shown in FIG. 4 , it is a complete flowchart of an electric vehicle charging scheduling method provided by an embodiment of the present invention. In order to facilitate the understanding of the technical solution disclosed by the present invention, the following describes the specific implementation of the entire algorithm step by step based on the content of the complete flowchart:
第一步:针对当前需安排调度方案的电动汽车集合(以下简称A),定义种群中每个个体解S为包含A中每辆电动汽车充电调度方案的集合。初始化每个个体解S,首先为A中每辆电动汽车构建一个随机的充电站序列,接着为A中每辆电动汽车在已构建充电站序列的每个充电站的充电率设置一个随机值,构建一个与所述充电站序列等长的充电率序列,进而获得调度方案集合S,在满足预设的目标约束条件的情况下,评价S获得相应的第一适应值f(S)。The first step: for the current set of electric vehicles (hereinafter referred to as A) that need to arrange a scheduling scheme, define each individual solution S in the population as a set containing the charging scheduling scheme of each electric vehicle in A. Initialize each individual solution S, first construct a random charging station sequence for each electric vehicle in A, and then set a random value for the charging rate of each electric vehicle in A at each charging station in the constructed charging station sequence, A charging rate sequence with the same length as the charging station sequence is constructed, and then a scheduling scheme set S is obtained. Under the condition that the preset target constraint conditions are met, S is evaluated to obtain a corresponding first fitness value f(S).
第二步:为迭代进化种群中每个个体解S,设置开始的代数g=1,首先对S中包含的离散型变量和连续型变量分别进行不同的变异操作从而获得Smutant,即先为A中每辆车的充电站序列实施基于集合的离散型变异操作,再为变异后序列中各充电站的充电率实施传统的连续型变异操作;接着使用经典的二项交叉算子对S和Smutant进行交叉操作从而获得第二调度方案Strial,即以一定的概率从S或Smutant中选择A中每辆车的充电调度方案来生成Strial;然后在满足预设的目标约束条件下评价Strial并获得相应到的第二适应值f(Strial);最后通过比较第一适应值f(S)和第二适应值f(Strial)来在S和Strial间选择较优者作为下一代种群的个体解,即针对电动汽车的目标优化调度方案。递增代数g。Step 2: To solve S for each individual in the iterative evolutionary population, set the initial algebra g=1, first perform different mutation operations on the discrete variables and continuous variables contained in S to obtain S mutant , that is, first The set-based discrete mutation operation is performed for the charging station sequence of each vehicle in A, and the traditional continuous mutation operation is performed for the charging rate of each charging station in the sequence after mutation; S mutant performs crossover operation to obtain the second scheduling scheme S trial , that is, select the charging scheduling scheme of each vehicle in A from S or S mutant with a certain probability to generate S trial ; then, under the condition of satisfying the preset target constraints Evaluate S trial and obtain the corresponding second fitness value f(S trial ); finally select the better one between S and S trial by comparing the first fitness value f(S) and the second fitness value f(S trial ) As the individual solution of the next generation population, the scheduling scheme is optimized for the target of electric vehicles. Incremental algebra g.
第三步:如果代数g不小于预设的最大代数gmax则终止算法,并依历史最优个体解(即目标优化调度方案)来安排A中每辆电动汽车的充电调度方案,否则转到第二步继续循环执行。Step 3: If the algebra g is not less than the preset maximum algebra g max , terminate the algorithm, and arrange the charging scheduling scheme of each electric vehicle in A according to the historical optimal individual solution (ie, the target optimal scheduling scheme), otherwise go to The second step continues the loop execution.
采用本发明所述的电动汽车充电调度方法,能够有效优化行程用时和充电费用,并且保证达到电动汽车到达终点时的充电状态尽可能逼近预期的状态值,极大提高了全局路网中电动汽车充电调度的效率,从而提升了用户的使用体验。Using the electric vehicle charging scheduling method of the present invention can effectively optimize the travel time and charging cost, and ensure that the charging state when the electric vehicle reaches the end point is as close to the expected state value as possible, which greatly improves the electric vehicle in the global road network. The efficiency of charging scheduling improves the user experience.
与上述提供的一种电动汽车充电调度方法相对应,本发明还提供一种电动汽车充电调度装置。由于该装置的实施例相似于上述方法实施例,所以描述的比较简单,相关之处请参见上述方法实施例部分的说明即可,下面描述的电动汽车充电调度装置的实施例仅是示意性的。请参考图2所示,其为本发明实施例提供的一种电动汽车充电调度装置的示意图。Corresponding to the electric vehicle charging scheduling method provided above, the present invention also provides an electric vehicle charging scheduling device. Since the embodiment of the device is similar to the above method embodiment, the description is relatively simple. For related details, please refer to the description of the above method embodiment part. The embodiment of the electric vehicle charging scheduling device described below is only schematic. . Please refer to FIG. 2 , which is a schematic diagram of an electric vehicle charging scheduling device according to an embodiment of the present invention.
本发明所述的一种电动汽车充电调度装置包括如下部分:An electric vehicle charging scheduling device according to the present invention includes the following parts:
第一调度方案获得单元201,用于针对预设电动汽车集合中的电动汽车分别获得相应的第一调度方案,所述第一调度方案包括对应所述电动汽车的初始充电站序列和初始充电率序列。The first dispatching scheme obtaining unit 201 is configured to respectively obtain a corresponding first dispatching scheme for the electric vehicles in the preset electric vehicle set, where the first dispatching scheme includes an initial charging station sequence and an initial charging rate corresponding to the electric vehicles sequence.
第一评价单元202,用于在满足预设的目标约束条件下,对所述第一调度方案进行评价获得相应的第一适应值。The first evaluation unit 202 is configured to evaluate the first scheduling scheme to obtain a corresponding first adaptation value under the condition that a preset target constraint condition is satisfied.
第二调度方案获得单元203,用于按照预设的操作规则对所述第一调度方案进行混合变量变异处理获得相应的变量变异值;根据所述第一调度方案和所述变量变异值进行交叉操作处理,获得第二调度方案。The second scheduling scheme obtaining unit 203 is configured to perform mixed variable mutation processing on the first scheduling scheme according to a preset operation rule to obtain a corresponding variable variation value; perform crossover according to the first scheduling scheme and the variable variation value The operation is processed to obtain the second scheduling scheme.
第二评价单元204,用于在满足所述目标约束条件下,对所述第二调度方案进行评价获得相应的第二适应值。The second evaluation unit 204 is configured to evaluate the second scheduling scheme to obtain a corresponding second adaptation value under the condition that the target constraint condition is satisfied.
优化调度单元205,用于基于所述第一适应值和所述第二适应值,从所述第一调度方案和所述第二调度方案选择出目标优化调度方案,按照所述目标优化调度方案管控所述电动汽车进行充电调度。An optimization scheduling unit 205, configured to select a target optimal scheduling scheme from the first scheduling scheme and the second scheduling scheme based on the first fitness value and the second fitness value, and optimize the scheduling scheme according to the target The electric vehicle is controlled to perform charging scheduling.
采用本发明所述的电动汽车充电调度装置,能够有效优化行程用时和充电费用,并且保证达到电动汽车到达终点时的充电状态尽可能逼近预期的状态值,极大提高了全局路网中电动汽车充电调度的效率,从而提升了用户的使用体验。The use of the electric vehicle charging scheduling device of the present invention can effectively optimize the travel time and charging cost, and ensure that the charging state when the electric vehicle reaches the end point is as close to the expected state value as possible, which greatly improves the electric vehicle in the global road network. The efficiency of charging scheduling improves the user experience.
与上述提供的一种电动汽车充电调度方法相对应,本发明还提供一种电子设备。由于该电子设备的实施例相似于上述方法实施例,所以描述的比较简单,相关之处请参见上述方法实施例部分的说明即可,下面描述的电子设备仅是示意性的。如图3所示,其为本发明实施例提供的一种电子设备的示意图。Corresponding to the electric vehicle charging scheduling method provided above, the present invention also provides an electronic device. Since the embodiment of the electronic device is similar to the above-mentioned method embodiment, the description is relatively simple, and for related details, please refer to the description of the above-mentioned method embodiment part, and the electronic device described below is only illustrative. As shown in FIG. 3 , it is a schematic diagram of an electronic device provided by an embodiment of the present invention.
该电子设备具体包括:处理器301和存储器302;其中,存储器302用于运行一个或多个程序指令,用于存储电动汽车充电调度方法的程序,该服务器通电并通过所述处理器301运行该电动汽车充电调度方法的程序后,执行上述任意一项所述的电动汽车充电调度方法。The electronic device specifically includes: a processor 301 and a memory 302; wherein, the memory 302 is used for running one or more program instructions, and is used for storing the program of the electric vehicle charging scheduling method, the server is powered on and runs the process through the processor 301. After the program of the electric vehicle charging scheduling method is executed, the electric vehicle charging scheduling method described in any one of the above is executed.
与上述提供的一种电动汽车充电调度方法相对应,本发明还提供一种计算机存储介质。由于该计算机存储介质的实施例相似于上述方法实施例,所以描述的比较简单,相关之处请参见上述方法实施例部分的说明即可,下面描述的计算机存储介质仅是示意性的。Corresponding to the electric vehicle charging scheduling method provided above, the present invention also provides a computer storage medium. Since the embodiment of the computer storage medium is similar to the foregoing method embodiment, the description is relatively simple, and for related details, please refer to the description of the foregoing method embodiment, and the computer storage medium described below is only illustrative.
所述计算机存储介质中包含一个或多个程序指令,所述一个或多个程序指令用于被服务器执行上述所述的电动汽车充电调度方法。所述的服务器可以是指与上述电子设备对应的后台服务器。The computer storage medium contains one or more program instructions, and the one or more program instructions are used by the server to execute the above-mentioned electric vehicle charging scheduling method. The server may refer to a background server corresponding to the above electronic device.
在本发明实施例中,处理器或处理器模块可以是一种集成电路芯片,具有信号的处理能力。处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。In this embodiment of the present invention, the processor or the processor module may be an integrated circuit chip, which has signal processing capability. The processor may be a general-purpose processor, a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field programmable gate array (FPGA for short), or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。处理器读取存储介质中的信息,结合其硬件完成上述方法的步骤。Various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The processor reads the information in the storage medium, and completes the steps of the above method in combination with its hardware.
存储介质可以是存储器,例如可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。The storage medium may be memory, eg, may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory.
其中,非易失性存储器可以是只读存储器(Read-Only Memory,简称ROM)、可编程只读存储器(Programmable ROM,简称PROM)、可擦除可编程只读存储器(Erasable PROM,简称EPROM)、电可擦除可编程只读存储器(Electrically EPROM,简称EEPROM)或闪存。Among them, the non-volatile memory may be a read-only memory (Read-Only Memory, referred to as ROM), a programmable read-only memory (Programmable ROM, referred to as PROM), an erasable programmable read-only memory (Erasable PROM, referred to as EPROM) , Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM for short) or flash memory.
易失性存储器可以是随机存取存储器(Random Access Memory,简称RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,简称SRAM)、动态随机存取存储器(Dynamic RAM,简称DRAM)、同步动态随机存取存储器(Synchronous DRAM,简称SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,简称DDRSDRAM)、增强型同步动态随机存取存储器(EnhancedSDRAM,简称ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,简称SLDRAM)和直接内存总线随机存取存储器(Direct Ram bus RAM,简称DRRAM)。The volatile memory may be a random access memory (Random Access Memory, RAM for short), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic RAM (DRAM), Synchronous DRAM, referred to as SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, referred to as DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, referred to as ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM, referred to as SLDRAM) and direct memory bus random access memory (Direct Ram bus RAM, referred to as DRRAM).
本发明实施例描述的存储介质旨在包括但不限于这些和任意其它适合类型的存储器。The storage medium described in the embodiments of the present invention is intended to include, but not limited to, these and any other suitable types of memory.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件与软件组合来实现。当应用软件时,可以将相应功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should appreciate that, in one or more of the above examples, the functions described in the present invention may be implemented by a combination of hardware and software. When the software is applied, the corresponding functions may be stored in or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。The specific embodiments described above further describe the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made on the basis of the technical solution of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911320121 | 2019-12-19 | ||
CN2019113201213 | 2019-12-19 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111401627A true CN111401627A (en) | 2020-07-10 |
CN111401627B CN111401627B (en) | 2022-04-01 |
Family
ID=71428653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010172540.3A Active CN111401627B (en) | 2019-12-19 | 2020-03-12 | Electric vehicle charging scheduling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111401627B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112016746A (en) * | 2020-08-26 | 2020-12-01 | 广东电网有限责任公司广州供电局 | Dispatching method and device for power generation car, computer equipment and storage medium |
WO2023001902A1 (en) * | 2021-07-20 | 2023-01-26 | Vulog | Method and system for controlling the activation of charging stations for electric vehicles |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008249503A (en) * | 2007-03-30 | 2008-10-16 | Aisin Aw Co Ltd | Electric vehicle drive control system and electric vehicle drive control method |
CN108562300A (en) * | 2018-05-10 | 2018-09-21 | 西南交通大学 | Consider the electric vehicle charging bootstrap technique of destination guiding and next stroke power demand |
CN109784558A (en) * | 2019-01-11 | 2019-05-21 | 浙江工业大学 | A kind of electric car charging schedule optimization method based on ant group algorithm |
CN110323770A (en) * | 2019-06-28 | 2019-10-11 | 国网河北省电力有限公司经济技术研究院 | The orderly charging method of electric car, device and terminal device |
-
2020
- 2020-03-12 CN CN202010172540.3A patent/CN111401627B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008249503A (en) * | 2007-03-30 | 2008-10-16 | Aisin Aw Co Ltd | Electric vehicle drive control system and electric vehicle drive control method |
CN108562300A (en) * | 2018-05-10 | 2018-09-21 | 西南交通大学 | Consider the electric vehicle charging bootstrap technique of destination guiding and next stroke power demand |
CN109784558A (en) * | 2019-01-11 | 2019-05-21 | 浙江工业大学 | A kind of electric car charging schedule optimization method based on ant group algorithm |
CN110323770A (en) * | 2019-06-28 | 2019-10-11 | 国网河北省电力有限公司经济技术研究院 | The orderly charging method of electric car, device and terminal device |
Non-Patent Citations (1)
Title |
---|
靳莉: "电动公交车电池状态与运营匹配关系研究", 《中国优秀博硕士学位论文全文数据库(硕士) 工程科技Ⅱ辑》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112016746A (en) * | 2020-08-26 | 2020-12-01 | 广东电网有限责任公司广州供电局 | Dispatching method and device for power generation car, computer equipment and storage medium |
CN112016746B (en) * | 2020-08-26 | 2021-12-17 | 广东电网有限责任公司广州供电局 | Dispatching method and device for power generation car, computer equipment and storage medium |
WO2023001902A1 (en) * | 2021-07-20 | 2023-01-26 | Vulog | Method and system for controlling the activation of charging stations for electric vehicles |
FR3125621A1 (en) * | 2021-07-20 | 2023-01-27 | Vulog | Method and system for controlling the activation of electric vehicle charging stations |
Also Published As
Publication number | Publication date |
---|---|
CN111401627B (en) | 2022-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Chung et al. | Electric vehicle charge scheduling mechanism to maximize cost efficiency and user convenience | |
Chen et al. | Managing truck arrivals with time windows to alleviate gate congestion at container terminals | |
Zhang et al. | A bi-level optimization framework for charging station design problem considering heterogeneous charging modes | |
Jiang et al. | Data-driven coordinated charging for electric vehicles with continuous charging rates: A deep policy gradient approach | |
CN110222907A (en) | Electric automobile charging station planing method and terminal device | |
Ermon et al. | Learning policies for battery usage optimization in electric vehicles | |
CN111401627A (en) | Electric vehicle charging scheduling method and device | |
Chen et al. | Human-like energy management based on deep reinforcement learning and historical driving experiences | |
Jia et al. | A structural property of charging scheduling policy for shared electric vehicles with wind power generation | |
Elkasrawy et al. | Real-time optimization in electric vehicle stations using artificial neural networks | |
Ni et al. | Mobility and energy management in electric vehicle based mobility-on-demand systems: Models and solutions | |
Iacobucci et al. | Cascaded model predictive control for shared autonomous electric vehicles systems with V2G capabilities | |
Zhou et al. | Electric bus charging scheduling on a bus network | |
Varga et al. | Computational methods for scheduling the charging and assignment of an on-site shared electric vehicle fleet | |
Zhang et al. | An improved soft actor-critic-based energy management strategy of fuel cell hybrid vehicles with a nonlinear fuel cell degradation model | |
Milas et al. | Two-layer genetic algorithm for the charge scheduling of electric vehicles | |
Chu et al. | Collaborative Routing and Charging/Discharging Scheduling of Electric Autonomous Vehicles in Coupled Power-Traffic Networks: A Multi-Objective Approach | |
CN114358855B (en) | Charging pricing method, server, system, equipment and medium | |
Narayana Gowda et al. | Short-term aggregate electric vehicle charging load forecasting in diverse conditions with minimal data using transfer and meta-learning | |
Semertzidis et al. | Optimized electric vehicle charging integrated in the unit commitment problem | |
CN117477593B (en) | Charging station frequency modulation capability assessment method based on electric automobile | |
Chekired et al. | Multi-level fog based resource allocation model for EVs energy planning in smart grid | |
Ruzmetov et al. | A (max-plus)-based approach for charging management of electric vehicles | |
Mohsenimanesh et al. | A Comparative Study of Deep Learning Approaches for Day-Ahead Load Forecasting of an Electric Car Fleet | |
CN118260969B (en) | Pure electric utilization coefficient construction method and device for light and heavy PHEV |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |