Routing optimization on power packet dispatching system based on energy loss minimization
Kyoto University)
Abstract
Power packet dispatching system has been proposed for smart power management in the form of discretized packet. In this paper, we discuss the routing optimization of power packets on the network of power routers. We propose a cost metric for the power packet delivery by circuit analysis of the router network. Using the metric, we formulate the optimization problem as a general shortest path problem from a source node to a load node. The result of numerical simulations shows that the proposed algorithm can allocate distributed power sources to load demands and identify the optimal path for the power delivery.
1 Introduction
Electric energy management has been an essential technology in a variety of systems such as vehicles, robots, and microgrids [1, 2, 3]. Particularly in such systems, the strong demand for eco-friendliness has raised the importance of an efficient inclusion of distributed power sources. Then, the time-varying profile of the sources creates more complex power flow than in the conventional system based on a large stable power source. A key enabler for handling the complex power flow is the support of Information and Communication Technology (ICT) [4, 5, 6].

Figure 1 depicts the concept of the power packet dispatching system. A power packet is a unit of transfer of both power and information. A payload delivers a quantized unit of electric power. An information tag, attached to the payload in voltage waveform, represents information such as identification of the packet. The physical tag attachment enables the network to distinguish each packet and thus to process electric power in a fully digitized manner. This feature makes the power management highly compatible with the ICT.
A power packet is transferred from its source to a load through a network of apparatuses called power routers (hereafter we simply call them routers). Equipped with some temporary energy storage, the routers deliver a power packet in a store and forward manner [8]. Recent study [9] reported that the power packetization can be realized at a rating of several kW.
A remaining challenge is a routing optimization of a power packet. Similarly with the IP routing [10], in a power packet dispatching system of a number of routers, there are many possible paths between a pair of a source to a load. It then becomes necessary to set an appropriate strategy for selecting one. However, we cannot directly apply the routing problem for the IP routing. As we consider the flow of physical quantity, we need a new criterion for evaluating the power packet routing based on the dynamical behavior of the circuit.
In addition, a matching optimization of the distributed sources and loads is another important challenge. The network structure of a power packet dispatching system can vary dynamically. In a microgrid application, for example, electric vehicles (EVs) can connect to or disconnect from the system at an arbitrary time. Renewable sources such as photovoltaic cells and wind turbines can also have time-dependent output profiles. In this way, the sources are spatio-temporally distributed. Now suppose that a load does not have a specific demand for the origin of power but only for the amount of power, the system is requested to select one of the multiple sources available at the time.
In this paper, we address the above challenges by introducing an optimization of power packet routing based on a cost metric derived by circuit analysis. First, we propose a circuit model of power packet transfer. The model lets us derive the cost of power packet transfer between arbitrary node pairs on the dispatching network. Second, with the derived cost metric, we consider the path optimization problem. We develop an algorithm to solve the problem by reducing it to a general shortest path problem on a graph. Lastly, we verify the proposed algorithm through numerical simulations.
2 Model of power packet transfer
We assume a power packet dispatching system consisting of sources, routers, and loads, where , , and are positive integer. Figure 2 shows the circuit models for a source, a router, and a load.

A source consists of an ideal voltage source, an ideal switch, and series resistance. Turning on and off the switch, a source produces a power packet. The series resistance represents whole resistance between the voltage source and the output port, including internal resistance, switch’s conduction resistance, and line resistance. A router is equipped with multiple input/output ports that accept bidirectional power flow. The circuit consists of ideal switches, capacitors, and series resistance defined similarly to a source. We denote the number of capacitor in a router by . The capacitors are used as a temporary power storage in receiving a power packet and as a source in forwarding a power packet.
Now the dispatching system can be represented by a simple graph , where and represent sets of nodes (sources, routers, and loads) and edges (power lines between nodes), respectively. For each node we set an associated attribute that represents the role of the node, i.e. , where the elements in the set represent “source,” “router,” and “load,” respectively. For each edge , where , we set an associated attribute that represents a cost for power delivery from to . How to determine the cost is arbitrary at this stage; we will define one candidate later in this paper, with which we conduct numerical simulations.
Here we also define a state variable of the graph, namely voltage of each node:
(1) |
where and the row vectors () represents voltage of node in the following manner.
-
•
If , (voltage of the capacitors of the node).
-
•
If , , where is voltage of the ideal source (filled with the voltage of the source).
-
•
If , (filled with zero).
Note that the duplication of elements when or is just for keeping the size of the matrix.
Here we set some assumptions on power delivery within the dispatching system. The first one is on the time synchronization of the system. We fix the time duration of one power packet111Note that we do not fix the time duration of payload. at , and denote the -th time slot, , simply by (), where represents continuous time. Second, we fix the amount of energy transferred in a time slot on each edge and denote it by . This is achieved by changing the length of the payload. This restriction is to minimize the energy change in the network. Third, when a router is connected to another node, no overlap of capacitor is allowed. For example, suppose that a router node receives a power packet from and forwards it to , the capacitors used for delivery on and on must be different. This restriction is to ensure a one-to-one delivery of unit energy.
Under the assumptions, the connection between any nodes can be classified into three types: router-router, source-router, and router-load connections. Figure 3 shows the circuit model for the three types of connection.

The detailed operation of each connection is explained in the following subsections.
2.1 Router-router Connection
In this connection, one of the capacitors in the router forwards power packet to one of the capacitors in the other router (Fig. 3 (a)). For simplicity, resistance of all components between the capacitors including the switches and the lines is represented by .
Now, letting and be voltage of left and right side capacitors at discrete time , respectively, we derive their update law for one power packet transfer, i.e. and as functions of and . We assume in the rest of this paper. This is just for visibility of derived equations and results of numerical simulation conducted later; they can, of course, have different values without any problem in derivation or simulation. Applying Kirchhoff’s circuit laws and carrying out the time integration, we have
(2) | ||||
(3) |
where () represents the payload duration.
Here is derived the amount of energy exchange in a power packet as follows:
(4) | ||||
(5) | ||||
(6) |
where , , and represent the amount of energy sent from the left side router, received in the right side router, and lost as Joule heat, respectively.
2.2 Source-router Connection
In this connection, the voltage source supplies one of the capacitors in the receiving router (Fig. 3 (b)). Similarly with the router-router connection, represents all resistive components between the nodes.
Letting and be voltage of the source and the right side capacitor at discrete time , respectively, we have
(8) |
The amount of energy transfer can be derived as follows:
(9) | ||||
(10) | ||||
(11) |
For , the linearization of Eq. (10) gives
(12) |
2.3 Router-load Connection
In this connection, one of the capacitors in the sender router supplies the load (Fig. 3 (c)). Here represents the resistance of all components but the load. The load resistance is denoted by .
Letting be voltage of the capacitor at discrete time , we have
(13) |
The amount of energy transfer can be derived as follows:
(14) | ||||
(15) | ||||
(16) |
For , the linearization of Eq. (15) gives
(17) |
3 Flow Control
Based on the circuit models derived above, we consider flow control on the power packet dispatching system. A general router network contains multiple distributed sources available. Thus, considering a power supply to a specific load, there are multiple candidates of the power source to be used. In this section, we develop an algorithm to find the optimal choice of the source and the path from the source to the load on the router network.
Apparently there are arbitrary definition for being the optimal. In this paper, we define it as “the energy loss becomes the lowest among the possible paths.” This is a natural way of defining the cost because energy loss is one of the most critical criteria in a power distribution network.
We define the cost by the proportion of the energy loss to the total energy received, namely . With Eqs. (5) and (6), we can calculate the cost for router-router connection as follows:
(18) |
where . The definitions of , , , , and are same as introduced in Eqs. (5) and (6). Similarly, for source-router connection, we have
(19) |
and for router-load connection, we have
(20) |
Here we define the path. Given a pair of a source node and a load node of a graph , a path from to , , is a sequence of edges that connects the source and load without loop. That is, s.t. (), (), , , and ().
Based on the definitions above, the problem to be solved is expressed as follows. Given a source node and a load node , find along which the sum of energy loss becomes the lowest.
The algorithm including path finding and update of voltage variables is shown in Algorithm 1. As the first step, it updates the cost between all possible connections of nodes (Lines 2–12). At the beginning of this step, we choose one capacitor of those in each router to avoid duplicated use (Line 2). Then, the cost on all the edges is calculated. Next, the second step is the shortest path finding (Line 13). This can be achieved by any algorithm for all pair shortest path problem. We apply Floyd–Warshall algorithm [11] in the following numerical simulation. The third step is calculation of payload length (Lines 14–15). This step ensures the unit energy transfer along the path. The last step is to update voltage of capacitors used in the path (Lines 16–22).
Here is given a comment on the step of capacitor selection (Line 2). The selection of capacitors affects the result of the path finding. In other words, the algorithm gives the optimal path under a particular selection of the capacitor indexes. In this study we avoid its arbitrariness by setting the initial voltage of all capacitors within a router at a uniform value. If they are at different voltage levels, one way is to select the pair with lowest ratio of voltage difference.
4 Numerical Simulation
4.1 Methods
We used python 3.9.1 and the module “shortest_path” of SciPy 1.6.2 [12] for implementing the algorithm.
We set the following simplifications in the setup in order to put the focus of the verification on the essential targets of this paper (see Introduction).
-
•
The same values were set for , , and , , , and , for all the connections.
-
•
We only considered a supply relationship between single pair of a source and a load. Then, we set , which was enough under this setup. At all the routers, a capacitor indexed by 1 (2) was used for forwarding (receiving) a power packet.
-
•
At the beginning of simulation, the voltage of all the capacitors within each router was set at the same value. That is, at , for all satisfying . Then we connected all the capacitors of a router parallel at the beginning of each time slot.
The first and second ones reduces the factors related to the optimization. They are not a restriction of the proposed algorithm. Of course, the proposed algorithm can deal with two or more supply pairs if increases, and with distributed values of parameters , and . The third one is to avoid the aforementioned arbitrariness of the capacitor selection algorithm.
We defined the dispatching network as routers placed in a lattice structure[13]. Then, numerical simulation was conducted in the following three cases with different location of source(s) and a different initial voltage distribution.
4.2 Case I
In this case, we assume that the load specifies the source node. Thus, the algorithm is going to determine the best path between the source and the load.
Figure 4 shows the network structure and the initial voltage distribution for case I. Each square and number on it indicate a node and its index, respectively. The color of the squares represents the voltage of each node. We considered the path from the source of (node 10) to the load of (node 11).
As a result, the algorithm selected the path ((10,1),(1,4),(4,5),(5,8),(8,9),(9,11)) for the first power packet.

The arrow in Fig. 4 represents the path. To evaluate this result, we also see the cost of other possible paths.

Figure 5 shows the normalized values of cost calculated along all the possible paths from node 10 to node 11. The values are normalized by the cost of the optimal one. This result indicates that the proposed algorithm successfully selected the optimal path with the lowest cost.
Now note that each repetition of our algorithm, corresponding to the transfer of each sequential power packet, is completely independent. Thus, showing the result for the first power packet is adequate. For the subsequent packets, the same procedure is repeated.
4.3 Case II
Next, we assume that the load does not specify the source node. The load accepts a supply from any source that can afford the requested energy .
Figure 6 shows the network structure and the initial voltage distribution for case I. We consider the path from one of the sources of (node 10 or 11) to the load of (node 12).

The algorithm selected the node 11 for the source. The selected path is ((11,7),(7,8),(8,9),(9,12)). In fact, if we fix the starting node 10, the path of the lowest cost is ((10,1),(1,4),(4,7),(7,8),(8,9),(9,12)). Its cost is 1.03 times as large as that of the optimal path. This result indicates that the proposed algorithm successfully selected the optimal source with the lower cost.
4.4 Case III
The setup of this case is basically same as the case II, but we add a small disturbance to the voltage of sources 1 and 2. The disturbance models the fluctuation of renewable power sources such as photovoltaic cells.
Figure 7 shows the network structure and the initial voltage distribution for case I. The voltage of node 10 and node 11 is set at and , respectively. Then, similarly with case II, we consider the path from one of the sources to the load.

The algorithm selected the node 10 for the source. The optimal path is ((10,1),(1,4),(4,7),(7,8),(8,9),(9,12)). Although there is some paths that have shorter geometric distance, e.g. ((11,7),(7,8),(8,9),(9,12)), the selected one has the lowest cost in the viewpoint of power loss. Since the cost varies with the ratio of node voltage, the optimality of the power flow does not necessarily correspond to that measured in geometric distance on the graph. This is an important aspect for considering a power flow in a dispatching system with multiple sources and loads.
4.5 Summary of Results
The result of case I clearly shows that the proposed scheme can find the optimal path between a specific pair of a source and a load. Then the results of cases II and III show that the proposed scheme can allocate the optimal source among the possible candidates to the load request. Of course, the path between the allocated source and the load is also optimized in the same way as in case I. In addition, the comparison of the results of cases II and III indicates that the optimal source differs depending on the voltage distribution of the network.
5 Conclusion
In this paper, we first proposed the circuit models for connection of network nodes in a power packet dispatching system. Using the model, we derived the cost of power packet delivery as a function of voltage distribution. Then we considered the optimal routing problem based on the models and developed the algorithm to solve it. Through the numerical simulations we confirmed that the proposed algorithm can find the optimal path for the power delivery.
The optimality is not measured in the sense of geometric distance but of energy loss along the path. Thus, the optimal path varies when the voltage distribution of the sources and the router nodes. As is mentioned in Introduction, the inclusion of EVs and renewable sources causes dynamic change of the voltage distribution. Even under this condition, the proposed method creates efficient allocation of distributed power sources to the demand of loads.
Acknowledgments
This work was partly supported by JSPS KAKENHI Grant Numbers 20K14732 and 20H02151, Cross-ministerial Strategic Innovation Promotion Program (SIP) 18088028, and by Program on Open Innovation Platform with Enterprises, Research Institute and Academia (OPERA) JPMJOP1841 from Japan Science and Technology Agency.
References
- [1] J. Chen, C. Wang, and J. Chen, “Investigation on the Selection of Electric Power System Architecture for Future More Electric Aircraft,” IEEE Transactions on Transportation Electrification, vol. 4, no. 2, pp. 563–576, June 2018.
- [2] S. Seok, A. Wang, M. Y. M. Chuah, D. J. Hyun, J. Lee, D. M. Otten, J. H. Lang, and S. Kim, “Design Principles for Energy-Efficient Legged Locomotion and Implementation on the MIT Cheetah Robot,” IEEE/ASME Transactions on Mechatronics, vol. 20, no. 3, pp. 1117–1129, June 2015.
- [3] P. Yang, Y. Xia, M. Yu, W. Wei, and Y. Peng, “A Decentralized Coordination Control Method for Parallel Bidirectional Power Converters in a Hybrid AC-DC Microgrid,” IEEE Transactions on Industrial Electronics, vol. 65, no. 8, pp. 6217–6228, August 2018.
- [4] K.-D. Kim and P. R. Kumar, “Cyber-Physical Systems: A Perspective at the Centennial,” Proceedings of the IEEE, vol. 100, no. Special Centennial Issue, pp. 1287–1308, May 2012.
- [5] M. M. He, E. M. Reutzel, X. Jiang, R. H. Katz, S. R. Sanders, D. E. Culler, and K. Lutz, “An Architecture for Local Energy Generation, Distribution, and Sharing,” in Proceedings of IEEE Energy 2030 Conference, Atlanta, GA, USA, November 2008, pp. 1–6.
- [6] E. Gelenbe and O. H. Abdelrahman, “An Energy Packet Network model for mobile networks with energy harvesting,” NOLTA, IEICE, vol. 9, no. 3, pp. 322–336, July 2018.
- [7] T. Takuno, M. Koyama, and T. Hikihara, “In-home Power Distribution Systems by Circuit Switching and Power Packet Dispatching,” in Proceedings of the 1st IEEE International Conference on Smart Grid Communications, Gaithersburg, MD, USA, October 2010, pp. 427–430.
- [8] R. Takahashi, K. Tashiro, and T. Hikihara, “Router for Power Packet Distribution Network: Design and Experimental Verification,” IEEE Transactions on Smart Grid, vol. 6, no. 2, pp. 618–626, March 2015.
- [9] S. Mochiyama, T. Okuda, and T. Hikihara, “Power Packet Dispatching With Shared Power Line: Experimental Verification for Industrial Applications,” IEEE Journal of Emerging and Selected Topics in Industrial Electronics, vol. 2, no. 2, pp. 164–172, April 2021.
- [10] B. Fortz, J. Rexford, and M. Thorup, “Traffic engineering with traditional IP routing protocols,” IEEE Communications Magazine, vol. 40, no. 10, pp. 118–124, October 2002.
- [11] G. Gallo and S. Pallottino, “Shortest path algorithms,” Annals of Operations Research, vol. 13, no. 1, pp. 1–79, December 1988.
- [12] The SciPy community, “Scipy.sparse.csgraph.shortest_path — SciPy v1.6.3 Reference Guide.” [Online] Available: https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.csgraph.shortest_path.html
- [13] S. Nawata, A. Maki, and T. Hikihara, “Power packet transferability via symbol propagation matrix,” Proceedings of the Royal Society A: Mathematical, Physical and Engineering Science, vol. 474, no. 2213, May 2018.