In this paper
AbstractIntroductionPreliminariesTransportation Network LawsLink and Node ModelDiscretizations over SpaceDynamic Equivalent Circuit for Traffic ModelAnalogy of Circuit and Traffic VariablesProposed ECMNetwork Input FlowECM realization of Resistance to Vehicle FlowSteady-State AnalysisValidation Through SUMOTraffic Analysis for 2-Lane MergeTraffic Analysis for Single Lane DivergeConclusionAppendixSmall-signal ECM (ss-ECM)ReferencesWorksEngineering
Dynamic Traffic Modeling using Equivalent Circuit Models
Abstract
This paper presents an equivalent circuit model (ECM) for dynamic traffic modeling by exploiting analogies between electrical and transportation variables. Vehicle concentration is represented by capacitor voltage, while traffic flow is modeled using controllable current sources. The proposed formulation is shown to preserve the conservation and sending/receiving relationships of the spatially discretized Lighthill Whitham Richards traffic model. The framework is extended to restricted inflow, traffic signals, and two road merging and diverging scenarios. Validation against microscopic Simulation of Urban MObility (SUMO) simulations, involving traffic signals, two-road merging, and single-road diverging scenarios, demonstrates that the proposed ECM successfully reproduces the principal macroscopic traffic dynamics, including queue formation, backward congestion propagation, vehicle accumulation, saturation, and subsequent traffic recovery.
Introduction
The increasing complexity of transportation networks has motivated the development of modeling frameworks that can describe traffic dynamics while remaining sufficiently compact and interpretable for analysis, optimization, and control. Conventional traffic-flow models span a broad range of resolutions, from microscopic approaches that explicitly describe individual vehicle interactions to macroscopic models that characterize traffic through aggregate quantities such as vehicle density, flow, and average speed [1], [2], [3]. Among macroscopic approaches, the Lighthill–Whitham–Richards (LWR) model provides a well-established description of traffic dynamics based on conservation laws and a fundamental relationship between traffic flow and vehicle density [4]. Although such physics-based models provide an effective representation of congestion formation and propagation, their partial-differential-equation formulation and associated network coupling can complicate their direct integration with optimization and control methodologies, particularly for transportation networks involving multiple links, traffic-control devices, and interacting traffic streams.
Equivalent circuit models (ECMs) provide an alternative modeling paradigm in which the governing dynamics of a physical system are represented using analogous electrical variables and circuit components. Such representations are not limited to electrical systems. For example, electrical–thermal analogies have been extensively employed for thermal modeling, where temperature is represented by voltage, heat flow by electrical current, thermal resistance by electrical resistance, and thermal storage by capacitance [5]. These analogies enable distributed heat-transfer processes to be approximated by interconnected lumped circuit elements, providing computationally convenient models for both steady-state and transient thermal analysis. The resulting circuit representation also permits the use of mature tools from circuit theory, simulation, optimization, and control while retaining a direct physical interpretation of the underlying energy-storage and transport mechanisms. Similar analogical modeling approaches have therefore been adopted in several non-electrical domains whenever the underlying system is governed by conservation and transport relationships [6], [7].
The movement of vehicles through a transportation network exhibits several characteristics that naturally motivate an analogous circuit representation. Traffic flow describes the number of vehicles crossing a location per unit time and is therefore conceptually analogous to electrical current, which describes the transport of electric charge per unit time. Similarly, the accumulation of vehicles within a road segment can be interpreted as a storage phenomenon analogous to the storage of electric charge in a capacitor. These similarities have motivated previous investigations of electrical-circuit analogies for transportation networks. Early and subsequent studies employed Kirchhoff-type relationships and resistive or nonlinear circuit networks for traffic assignment and the analysis of congested transportation networks [8], [9]. More recently, circuit-based representations have been investigated for roadway topology and route-flow analysis [10], [11], [12]. Such studies demonstrate that electrical analogies can provide useful mathematical and computational interpretations of transportation-network flow.
Nevertheless, much of the existing circuit-based traffic literature has primarily addressed static or steady-state traffic assignment, route selection [13], [14], network topology [15], or equilibrium flow relationships [16]. In these formulations, circuit quantities are generally used to reproduce steady-state network flow conservation or link-cost relationships rather than dynamic temporal evolution of vehicle accumulation and congestion within individual road segments. Consequently, a systematic dynamic ECM formulation remains comparatively underexplored. Establishing such a correspondence is particularly important if circuit-based traffic models are to capture dynamic phenomena such as queue formation and backward propagation of congestion.
To address this gap, this paper proposes an ECM for dynamic macroscopic traffic modeling by establishing explicit analogies between electrical and transportation variables. We spatially discretize each road link into cells, representing the total number of vehicles in each cell as the voltage across a unit-capacitance capacitor. Traffic flow between adjacent cells is represented using controllable current sources whose values depend nonlinearly on the vehicle concentrations of the upstream and downstream cells. The current-source characteristics are constructed according to the sending and receiving constraints associated with a trapezoidal traffic fundamental diagram [17]. As a result, the capacitor current-balance equation reproduces vehicle conservation, while the nonlinear current-source law reproduces the flow constraints of the spatially discretized LWR traffic model. This establishes a direct physical and mathematical correspondence between the proposed circuit representation and conventional first-order macroscopic traffic dynamics.
The main contributions of this paper are summarized as follows:
Dynamic traffic ECM and connection with the LWR model: A nonlinear RC-circuit representation of dynamic traffic flow is developed and shown to be mathematically equivalent to the spatially discretized LWR model with a trapezoidal fundamental diagram, preserving vehicle conservation and traffic flow constraints.
Queue and network flow modeling: The ECM is extended to model restricted inflow, traffic signals, and merging and diverging scenarios, incorporating external queue dynamics and optimization-based flow allocation to enforce downstream receiving constraints and accommodate desired flow priorities.
Microscopic validation: The proposed ECM is evaluated against microscopic traffic simulations generated using Simulation of Urban MObility (SUMO). The comparison investigates traffic-signal, two-road merge, and single-lane diverge scenarios and demonstrates the capability of the ECM to reproduce the principal macroscopic traffic phenomena, including queue formation, upstream congestion propagation, saturation, and traffic recovery.
The remainder of the paper is organized as follows. Section II presents the preliminaries, notation, and problem formulation. The main results, including the ECM-based formulation of the evacuation problem, are detailed in Section III. Validation results with SUMO are provided in Section IV, followed by concluding remarks.
Preliminaries
This section introduces the basic concepts of Dynamic Traffic Assignment (DTA), including link and node models.
Transportation Network Laws
The fundamental (macroscopic) relationship [4] in a traffic link is given by
where , , and are continuous piecewise differentiable functions of position and time , and represent traffic flow [vehicle/hr], traffic density [vehicle/km], and average speed [km/hr] in a traffic link, respectively. The second fundamental relationship is the continuity or conservation equation [4] and is given by
The third and final relationship is derived from the Lighthill–Whitham–Richards (LWR) model [4]. The LWR model formulates a direct relation between and based on the Fundamental Diagram of a traffic link in steady-state conditions. This relation translates to
for some function . In this paper, we assume that takes a trapezoidal shape as shown in Figure 1 [4]. The equation of is given as follows:

Figure 1. Illustration of the fundamental macroscopic relationship in a traffic link, assuming a trapezoidal shape.
Here, represents the maximum vehicle flow that the link can support without congestion. We denote the slope of the first and second half of the diagram by (free flow speed on the link) and (backward wave speed), respectively. Also, denotes the jamming vehicle density on the link.
Link and Node Model
The length of a single link is denoted by . Therefore, and represent the upstream end and downstream end of the link, respectively (Figure 2a). The input vehicle flow to the link is denoted by . Similarly, denotes the output vehicle flow.

Figure 2. Illustration of (a) link and (b) node model.
The node model complements the link model discussed in this paper by capturing the interactions of flows from multiple incoming links. The node model associated with node takes as inputs the sending flows for each incoming link and gives output as the receiving flows for each outgoing link (Figure 2b). Therefore,
Discretizations over Space
The transportation network laws described in § 2-A are continuous in both space and time. However, in this paper, the spatial domain is discretized by dividing each road link into multiple cells, allowing the vehicle concentration to be evaluated at different locations along the road. The length of each cell is defined by the spatial interval . This spatial discretization enables the density function to be discretized as follows:
where represents the total number of vehicles present within the cell at time . Here, and represent the left/upstream boundary and right/downstream boundary of cell , respectively.
Assumption 1: We assume that vehicle density inside a cell is uniform such that
Dynamic Equivalent Circuit for Traffic Model
In this section, we propose an equivalent circuit model (ECM) to represent dynamic traffic behavior.
Analogy of Circuit and Traffic Variables
We start by revising the definitions of electrical variables and components and highlighting the natural similarities with traffic-domain variables. We use the notation to indicate that the (circuit) variable is an “analog” of the (traffic) variable .
Recall that electric current represents the amount of charge that crosses a cross-sectional area during unit time . This definition is analogous to traffic flow , where is the number of vehicles that pass through a fixed point over . Next, we revisit the definition of a capacitor, an electric device capable of storing electric charge. Physically, the amount of charge that the capacitor stores () is proportional to the voltage difference () between its terminals, i.e., , where is the constant of proportionality known as capacitance. Therefore, we conclude that and . In the proposed ECM framework, the capacitance of each road cell can be defined using two alternative approaches, depending on the desired interpretation of the capacitor voltage:
Unitary capacitance: By assigning a unitary capacitance () to each road cell, the capacitor relationship reduces to . Under this representation, the capacitor voltage is analogous to the total number of vehicles stored within the corresponding road cell. Consequently, the voltage represents the vehicle concentration , expressed as the number of vehicles present in cell at time .
Distance-based capacitance: Alternatively, the capacitance can be defined proportional to the length of the corresponding road cell, i.e., , where denotes the cell length. The capacitor relationship then becomes . Under this representation, the capacitor voltage is analogous to the vehicle density , expressed in vehicles per unit distance. Thus, the capacitance accounts for the spatial extent of the road cell, while its voltage directly represents the corresponding traffic density.
Both approaches provide consistent representations of vehicle accumulation and conservation within the ECM framework. The key difference lies in the physical interpretation of the capacitor voltage: the unitary-capacitance approach represents the total number of vehicles in a cell, whereas the distance-based approach represents vehicle density. In this work, we adopt the unitary-capacitance representation (), such that the capacitor voltage directly corresponds to the number of vehicles stored within each road cell. This choice simplifies the circuit formulation while preserving the underlying traffic conservation relationships.
Proposed ECM
Figure 3 and Figure 4 together represent the proposed ECM for the traffic dynamics where each road cell is of unit length. In Figure 3, we observe that the concentration of a road cell () is represented by the voltage difference () across the capacitor in the ECM. Similarly, the input () and output () vehicle flow of the road cell is represented by corresponding controllable current sources and , respectively. Now, from Figure 3(b), we observe that current passing through the capacitor is given by

Figure 3. Illustration of (a) a single cell and (b) the corresponding ECM.

Figure 4. Illustration of (a) flow between two cells and (b) the corresponding ECM.
Using and the similarities between electric variables and dynamic traffic variables, we can reformulate (7) as follows:
Figure 4 displays the vehicle flow between two cells and the corresponding ECM representation, where the vehicle flow is replaced with a variable current source (). The current value from the controllable current source depends upon the voltage values and . We define this relation as
where , , are some constants and denotes the maximum voltage difference that can be sustained across the capacitor before electrical breakdown occurs. Again, using the similarities between electric variables and dynamic traffic variables, we can reformulate (9) as follows:
where , , and represents the maximum number of vehicles that any cell in the road section can handle with congestion. Figure 5 provides the plot of as a function and .

Figure 5. Value of the controllable current source as function of the normalized cell concentrations and . Note: the function inputs and outputs are normalized with respect to their maximum physical limits . Parameters: km/min, km, cars/min, , cars.
Proposition 1: Given Assumption 1, the ECM described by (8) and (10) is equivalent to the spatially discretized form of the LWR traffic model given by (1)–(3), with the fundamental diagram represented by the trapezoidal relationship defined in (4).
Proof: Let us first consider (2). Integrating it over cell (see Figure 3) gives us
Now, utilizing (5), the first term becomes
The second term follows from the fundamental theorem of calculus:
Therefore, from (11), (12) and (13), we get
Now, it can be observed that and are the inflow and outflow values of cell , respectively. Therefore, we can rewrite (14) as
So the capacitor balance equation is simply the spatially discretized LWR conservation law. Next, from Figure 4, we observe that the upstream cell cannot send vehicles faster than either its free-flow demand or the road capacity. Hence, the amount of traffic that cell can send is determined by the free-flow side of the trapezoidal fundamental diagram [18]. Therefore,
where . Similarly, the downstream cell also imposes a limitation and cannot receive more than its capacity. Hence, the amount of traffic that cell can receive is determined by the congested branch of the trapezoidal fundamental diagram. Therefore,
where and . Now the actual flow is the minimum of sending and receiving capabilities. Therefore,
This concludes the proof.
Network Input Flow
Let us consider the input vehicle flow to the network as , which enters the road link through its upstream cell (). Two input-flow scenarios are considered: i) free-flow conditions and ii) restricted-flow conditions. When , i.e., the upstream cell is empty, and , the entire input flow can enter the road link, yielding . This case is referred to as the free-flow condition because the incoming vehicles can enter the road link without restriction.
In contrast, when , or when and , the entire input flow cannot be accommodated by the upstream cell. This case is referred to as the restricted-flow condition. To account for the excess inflow under such conditions, an external queue cell, denoted by , is introduced with a sufficiently large vehicle storage capacity (). In the ECM representation, this queue cell is modeled as a capacitor with a correspondingly large breakdown voltage (), as illustrated in Figure 6. Therefore, to account for the restricted input flow conditions,

Figure 6. Illustration of (a) inclusion of a queue cell to accommodate excess input flow and (b) the corresponding ECM.
we modify the equation for as follows:
where the term allows us to discharge the queue capacity once the upstream condition becomes uncongested.
Remark 1: Similar to the modification of , the output flow from the last cell () of a road link can be defined as
where denotes the maximum flow that can be received by the upstream cell of the subsequent road link. If the current road link terminates at an exit from the transportation network, is assumed to be unbounded, i.e., , indicating that the outflow is not constrained by a downstream receiving capacity.
ECM realization of Resistance to Vehicle Flow
In this section, we replace the controllable current source described in Section III-B with a nonlinear variable resistance (see Figure 8). Its value is defined as follows:

Figure 8. Illustration of (a) ECM with current source and (b) ECM with nonlinear resistance.
with units of . Figure 7 showcases the different values of based on (21). It can be observed that the resistance can have three types of behaviour:


Figure 7. Value of the nonlinear resistance as function of the normalized cell concentrations and . Note: the function inputs and outputs are normalized with respect to their maximum physical limits (, ). Parameters: km/min, km, cars/min, , cars.
Positive resistance (): In this case, the upstream cells have a higher concentration than the downstream cells, and the ECM behaves as a cascade of RC elements, filtering the input signal.
Zero resistance (): In this case, the ECM behaves (potentially temporarily) as a parallel of capacitors.
Negative resistance (): This corresponds to the case where the downstream cell has a higher concentration than upstream. This leads to an RC circuit with negative resistance [19].
The ECM-based representation of resistance to vehicle flow provides useful insights into how traffic dynamics evolve toward steady-state conditions. In the case of positive resistance , the upstream cell contains more vehicles than the downstream cell, resulting in a higher sending capability. Consequently, vehicles flow from the upstream cell to the downstream cell, tending to reduce the difference in vehicle concentrations between the two cells. Conversely, in the case of negative resistance , the downstream cell contains more vehicles than the upstream cell, thereby restricting its receiving capability and reducing the flow between the cells. This restriction promotes vehicle accumulation in the upstream cell, which may subsequently reduce the concentration difference between the two cells. Thus, the ECM representation illustrates how inter-cell flow adjustments can facilitate the redistribution of vehicles and the evolution of traffic toward steady-state conditions.
Steady-State Analysis
Figure 9 presents the ECM of the road segment with a traffic light under steady-state conditions when the traffic light is green (to simplify the presentation, we ignore the queue capacitor). In steady-state conditions, the capacitors have constant voltage and can be approximated as "open circuits". In this case, the steady-state circuit is composed of a series of current sources. To obtain a valid equilibrium point, all the (input and controllable) current sources need to have the same value due to their series connection. This leads to the following set of stationary conditions for the ECM, obtained by setting in (7):

Figure 9. ECM of the road segment with a traffic light under steady-state conditions when the traffic light is green.
where the notation denotes the equilibrium point for .
Regime I (No congestion): In this regime, we assume that the steady-state current sources are not congested. Note that all the controlled current sources introduced through (10)
are determined based on the minimum of three quantities :
where the term is related to a variable "upstream" in the circuit and the term is related to what happens at the cell or downstream the circuit (e.g. ). We say that the current sources are non-congested if in (22). Assuming that all current sources operate in the non-congested state, we have
for . Here, denotes the input vehicle flow that can be accommodated by the upstream cell of the next road section. In this case, the input source sets the current in the controllable current sources and in the circuit as long as the output source can cope with the input flow (i.e., ).
Regime II (Congested): In this regime, we assume that all steady-state current sources are congested, i.e., in (22), leading to
for . In this regime, it is the output source that sets the current in the overall circuit.
Validation Through SUMO
In this work, Simulation of Urban Mobility (SUMO) is employed as a traffic simulation environment to validate the proposed ECM. SUMO is particularly suitable for validating dynamic traffic models under a variety of operating conditions. It is an open-source, microscopic traffic simulation platform widely used for modeling and analyzing transportation networks [20]. SUMO represents the motion and interactions of individual vehicles while allowing users to define road-network geometry, traffic demand, vehicle characteristics, routes, traffic-control devices, and other mobility-related parameters. Its microscopic representation enables traffic quantities such as vehicle flow, density, speed, queue formation, and congestion propagation to be evaluated at different locations and time instances.
Traffic Analysis at Traffic Light:
Let us consider a single road segment with a traffic signal located at its downstream end, as illustrated in Figure 10. The road segment is discretized into three cells , each with a length of 1 km. Also, vehicle/km, km/h, and km/h. In the corresponding ECM, the traffic signal is represented by a switch that controls the downstream current source . During a red-light phase, the switch is opened, thereby preventing current from leaving the circuit and, equivalently, setting the downstream traffic outflow to zero. During a green-light phase, the switch is closed, allowing current to flow through and enabling vehicles to exit the downstream cell subject to the applicable flow constraints. This switching mechanism therefore captures the alternating restriction and release of traffic flow imposed by the downstream traffic signal. In the test example considered in this paper, the entire simulation is run for 22 minutes, out of which the red signal is activated for 11 minutes and the remaining time is allocated for the yellow and green signals. In this experiment, the yellow signal is considered the same as the green signal. Figure 11 illustrates the SUMO traffic-signal simulation during the red and green phases. To quantify the discrepancy between the proposed ECM and SUMO simulations, the percentage error is calculated as the absolute difference between their predicted vehicle concentrations, normalized by the maximum reference concentration and multiplied by 100.

Figure 10. Equivalent circuit model of a road segment discretized with cells, using controllable current sources between capacitors.

Figure 11. SUMO simulations involving a traffic stop.
| Parameter | Symbol | Traffic Light | Merge | Diverge |
| Number of road segments | – | 1 | 3 | 3 |
| Cells per road segment | 3 | 3 | 3 | |
| Cell length (km) | 1 | 1 | 1 | |
| Maximum concentration (veh/km) | 120 | 120 | 120 | |
| Free-flow speed (km/h) | 45 | 45 | 45 | |
| Backward wave speed (km/h) | 16.2 | 16.2 | 16.2 | |
| Input flow (veh/min) | 6, 18, 30 | 40 (each) | 12 | |
| Simulation duration (min) | 22 | 60 | 60 | |
| ECM capacitance (F) | 1 | 1 | 1 |
Table 1. Simulation parameters for ECM and SUMO validation.
where and represent the vehicle concentrations in cell at time , obtained from SUMO and the proposed ECM, respectively. Here, denotes the maximum reference vehicle concentration used for normalization.
During the red phase, vehicles accumulate upstream of the signal and form a queue, while during the green phase, the queued vehicles are released and traffic begins to discharge. Figs. 12a-12c provide the validation results of the proposed ECM against the microscopic SUMO simulation under progressively heavier input vehicle flow conditions. All three figures use the same three-cell road segment with a downstream traffic signal. Fig. 12a represents the lowest-demand case with vehicle/min. The concentration histories show that the ECM follows the general temporal behavior predicted by SUMO quite closely, particularly in Cells 0 and 1. The concentrations in these upstream cells remain comparatively low and vary only moderately during the simulation. The most significant change occurs in Cell 2, the downstream cell adjacent to the traffic signal. During the red-light period,
vehicles cannot leave the road segment, so vehicles accumulate in Cell 2. The concentration therefore rises substantially before decreasing after the signal allows traffic to leave. The ECM reproduces the buildup and subsequent discharge of this downstream queue quite well. The largest discrepancy between SUMO and ECM in fig:12a appears near the transient peak and during the rapid reduction in Cell 2 concentration. The corresponding error plot therefore exhibits its largest error around this transition. In contrast, the errors in Cells 0 and 1 remain relatively small.
fig:12b shows a substantially different traffic regime. With increased from 6 to 18 vehicles/min, congestion is no longer confined primarily to Cell 2. The queue created by the downstream traffic signal begins to propagate upstream into Cell 1, and to a lesser extent toward Cell 0. Cell 2 again experiences the earliest and strongest concentration increase because it is immediately upstream of the traffic signal. The concentration rises rapidly while the signal restricts the downstream outflow. Cell 1 subsequently develops a pronounced buildup, reflecting the backward propagation of congestion from the downstream end of the road. The errors in fig:12b are larger than those in Figure 12a, especially in Cell 1. The most pronounced deviations occur during the growth and dissipation of congestion. The ECM vehicle concentration tends to be smoother and exhibits somewhat different transition timing compared with SUMO. That difference is expected because the ECM treats each cell as having a uniform concentration, whereas SUMO explicitly models heterogeneous vehicle positions within each cell. Another notable feature is that after the concentration reaches its maximum, SUMO and ECM dissipate the accumulated traffic at a similar rate.

Figure 12. Comparison of vehicle concentration values for different road cells obtained from the SUMO simulation and ECM optimization, along with the corresponding concentration errors in a traffic light simulation.
Figure 12c represents the most congested case and provides the most challenging test of the ECM. At vehicles/min, the traffic demand is much greater than in Figure 12a and Figure 12b. As a result, congestion initiated at the downstream traffic signal propagates through all three cells. Cell 2 fills rapidly because of the downstream restriction. As Cell 2 becomes congested, Cell 1 therefore begins to accumulate vehicles. Eventually, the congestion propagates further upstream, and Cell 0 also exhibits a large increase in concentration. Figure 12c also reveals the largest differences between SUMO and ECM. The error curves for Cells 0 and 1 are considerably more pronounced than in the lower-inflow cases. The ECM captures the broad buildup, saturation, and recovery pattern, but the timing and magnitude of some concentration transitions differ from SUMO. One particularly visible difference is during the post-peak dissipation phase. SUMO often shows a quicker reduction in concentration, whereas the ECM produces slower discharge. This suggests that the principal source of disagreement is not the fundamental congestion mechanism, but rather the detailed transient dynamics.
The ECM results in Figure 12 also support the steady-state analysis developed in Section III-E. In each case, the vehicle concentrations across the different cells gradually converge to a common value as time progresses, indicating that the road approaches a spatially uniform steady-state condition. Specifically, the ECM concentrations in Figure 12a converge to approximately 8 vehicles/km, while those in Figure 12b and Figure 12c converge to approximately 24 vehicles/km and 39 vehicles/km, respectively. This convergence is consistent with the theoretical steady-state behavior predicted by the ECM formulation and demonstrates that, after the transient dynamics subside, the vehicle concentrations in all cells approach the corresponding steady-state values.
Traffic Analysis for 2-Lane Merge
In this section, we model the case of two single-lane roads merging into a single-lane downstream road, as shown in Figure 13a. Each road segment is discretized into three cells (), each of length 1 km. In this scenario, the three roads share identical traffic parameters, namely, vehicle/km, km/h, and km/h. Also, vehicles/min. We can construct the ECM for each road in the same way as in the traffic-light example discussed in Section IV. Next, we design an ECM to represent the merging of vehicle flows from roads and into road , as illustrated in Figure 13b. Specifically, we connect the downstream cells of roads and , represented by their corresponding capacitors, to the upstream cell of road through controllable current sources. The outputs of these current sources represent the vehicle flows and exiting roads and , respectively.

Figure 13. Illustration of a road-merge example, where two single-lane roads, and , merge into a single-lane downstream road, .
Now, we know that road needs to be able to accommodate the summation of flows from and . Therefore,
where the right-hand side of (26) represents the maximum vehicle intake allowed by the upstream cell of road due to its already existing vehicle concentration. In the unconstrained case, we get
However, when the combined merge flows are excessive, it becomes necessary to reduce the outgoing flows from the incoming roads. Such a reduction is not unique, as multiple flow-allocation strategies can satisfy the merge constraint in (26). To mathematically characterize this reduction, we introduce a factor for each incoming road , representing the normalized reduction in the flow:
The inclusion of the tunable variables provides additional degrees of freedom for satisfying the downstream merge constraints. Ideally, we seek to maintain as close to unity as possible so as to minimize the reduction in the outgoing flow from each incoming road. Mathematically, this objective can be formulated as minimizing:
There may also be scenarios in which one of the incoming roads is assigned a higher priority than the other, for example, due to the presence of a ramp meter, stop sign, or other traffic-control mechanism. In such cases, the relative allocation of the merge flows can be characterized by predefined desired merge ratios , i.e.,
with and . These ratios, which are defined by the user based on the structure of the merge conditions, can be enforced via minimization of the following secondary cost term:
This cost penalizes the violations of the equality given in (28). The final calculation of the reduction ratio can be determined via optimization:
where are weights that assign different priorities to the two cost terms. Ideally, , in order to maximize the flow of vehicles in the unconstrained case.
Validation in SUMO: Figure 14 illustrates the SUMO simulation of the two-road merging scenario, where vehicles traveling on roads and converge into the single downstream road . Here, . The snapshot shows vehicle interactions and accumulation near the merge point as the two incoming traffic streams compete for the available downstream road capacity.

Figure 14. SUMO simulations involving a merge action.
Figure 15a-Figure 15c provide the validation results for the two-lane merge example by comparing the results of the proposed ECM with those generated by the microscopic SUMO simulation. Figure 15a, 15b and 15c corresponds to roads , and respectively. Each figure contains three concentration plots on the top row, one for each cell, and three corresponding percentage-error plots on the bottom row.

Figure 15. Comparison of vehicle concentration values for different road cells obtained from the SUMO simulation and ECM optimization, along with the corresponding concentration errors for the merging simulation.
Figure 15a and Figure 15b compare the vehicle concentrations obtained from SUMO and the proposed ECM for Cells 0, 1, and 2 of the incoming roads and , respectively. Both roads exhibit similar concentration profiles due to their identical traffic parameters and equal merge priorities (). In Cell 0, the concentration initially increases as vehicles enter the road, followed by a rapid rise toward a congested steady-state condition. A similar trend is observed in Cells 1 and 2, where the concentrations gradually increase before stabilizing. This accumulation occurs because the combined traffic demand from roads A and B exceeds the receiving capacity of the downstream road P, restricting the outflow from both incoming roads. Consequently, vehicles accumulate along the incoming roads until the inflow and outflow approach equilibrium. The ECM successfully reproduces the overall transient accumulation and subsequent saturation observed in SUMO across all three cells. However, the steady-state concentrations predicted by the ECM are consistently lower than those obtained from SUMO. This difference can be attributed to the aggregate flow representation used in the ECM, which does not explicitly capture microscopic vehicle interactions near the merging location.
The second row of Figure 15a and Figure 15b present the percentage errors between the vehicle concentrations predicted by the ECM and SUMO, calculated using (25). For both roads, the largest transient errors occur primarily during the initial 10–15 minutes, when vehicle concentrations increase rapidly toward their congested operating conditions. These errors arise mainly from differences in the timing and magnitude of vehicle accumulation predicted by the two models. After the initial transient period, the errors decrease and remain relatively stable, indicating that both models predict similar long-term concentration trends. Nevertheless, a persistent nonzero error remains because the ECM slightly underestimates the steady-state concentrations in all three cells. Overall, the error profiles demonstrate that the proposed ECM captures the dominant congestion dynamics and steady-state behavior of the merging scenario, with discrepancies primarily associated with transient microscopic traffic interactions and differences in equilibrium concentration levels.
Figure 15c is qualitatively different from Figure 15a and 15b. It gives the concentrations in Cells 0 – 2 of the downstream receiving road . Road receives traffic from both upstream roads. Consequently, instead of being fed by a prescribed smooth external inflow, its input is generated dynamically by the interaction of two merging traffic streams. This causes the SUMO concentrations to display substantially more short-time fluctuations. The ECM, by contrast, operates at the cell-aggregated/macroscopic level, so its predictions are considerably smoother. Cell 0 is immediately downstream of the merge. The ECM concentration rises rapidly from its initial condition to an approximately constant value around the first few minutes. SUMO, however, fluctuates noticeably around that level. These fluctuations are physically plausible because individual vehicles from roads and do not merge into as a perfectly continuous flow. Vehicle interactions at the merge produce short-term variations in arrival rate, gaps, acceleration, and lane interaction. The ECM essentially predicts the average macroscopic concentration around which these microscopic SUMO fluctuations occur. The same behavior appears more prominently in Cells 1 and 2. SUMO shows repeated oscillations in concentration throughout the simulation, whereas the ECM produces a much smoother trajectory. Nevertheless, the ECM level generally lies near the center of the SUMO oscillations.

Figure 15c. Road .

Figure 15a. Road .

Figure 15b. Road .
Traffic Analysis for Single Lane Diverge
In this section, we develop an ECM to tackle the dual problem of diverging into two roads, and (see Figure 16a). We assume that a split ratio , , is defined in advance. For the split ratio to be feasible, we need to fulfill the constraints

Figure 16. Illustration of a road-diverge example, where a single-lane road, , splits into two single-lane downstream roads, and .
for . If these constraints are fulfilled, then the downstream roads and are able to receive the fraction of traffic coming from the upstream road . On the other hand, if these constraints are not fulfilled, then we reduce the divergent flows using the factors :
Similarly to the merge case, can be computed via optimization:
We call the solution of this problem, which is then used to parameterize the controllable current source.
Validation in SUMO: Figure 17 illustrates the SUMO simulation of the single lane diverge scenario, where vehicles traveling on road split into roads and . Here, . The snapshot shows vehicle interactions and accumulation near the divergence point as the incoming traffic stream splits into two downstream flows.

Figure 17. SUMO simulations involving a diverge action.
Figure 18 presents the validation results for the single-lane diverge scenario by comparing the vehicle concentrations obtained from the proposed ECM with those generated by the microscopic SUMO simulation. Fig. 20a, 20b, and 20c correspond to roads , , and , respectively. Each figure contains three concentration plots corresponding to Cells 0, 1, and 2, along with their respective percentage-error plots.

Figure 18. Comparison of vehicle concentration values for different road cells obtained from the SUMO simulation and ECM optimization, along with the corresponding concentration errors for the diverging simulation.
Figure 18a and 18b compare the SUMO and ECM concentrations in Cells 0, 1, and 2 of the downstream roads and , respectively. Both roads exhibit similar concentration patterns due to the equal traffic splitting ratios, . At the beginning of the simulation, the vehicle concentrations in all three cells increase as vehicles traveling along the upstream road enter the downstream roads. Unlike the merging scenario discussed in § 5, where two incoming traffic streams compete for the limited receiving capacity of a single downstream road, the diverging scenario distributes the incoming traffic between two outgoing roads. Consequently, the vehicle concentrations in roads and remain relatively low throughout the simulation, indicating that both roads have sufficient capacity to accommodate their respective incoming flows. The ECM reproduces the overall concentration trends observed in SUMO, particularly the initial increase and subsequent stabilization of vehicle concentrations. However, SUMO exhibits more frequent short-term fluctuations, whereas the ECM produces smoother concentration trajectories. These differences are reflected in the percentage-error plots, where intermittent error peaks occur throughout the simulation. Such discrepancies can be attributed to the microscopic interactions between individual vehicles in SUMO, including variations in vehicle arrival times, speeds, and intervehicle spacing, which are averaged out in the macroscopic ECM representation.
Figure 18c presents the concentration profiles for Cells 0–2 of the upstream road , where vehicles enter the network before splitting into roads and . Unlike the merging scenario, where the incoming roads experience significant vehicle accumulation due to downstream capacity restrictions, road maintains relatively low vehicle concentrations throughout the simulation. This behavior can be attributed to the ability of the two downstream roads to accommodate the traffic distributed from road , thereby preventing substantial congestion near the divergence point. The concentration in Cell 0 initially increases before approaching a nearly constant value, indicating steady traffic flow toward the downstream cells. Similar trends are observed in Cells 1 and 2, although SUMO exhibits greater fluctuations, particularly near the divergence point, due to microscopic vehicle interactions. In contrast, the ECM produces smoother concentration profiles while closely capturing the overall trends observed in SUMO. The percentage-error plots show relatively small discrepancies in Cell 0, with larger transient errors in Cells 1 and 2 arising from microscopic fluctuations not explicitly captured by the ECM.
Overall, Figure 18 demonstrates that the proposed ECM successfully captures the principal macroscopic traffic behavior associated with a single-lane diverge, including vehicle accumulation, traffic distribution between downstream roads, and the evolution toward approximately steady concentration levels. Although the ECM does not reproduce the short-term fluctuations observed in SUMO, it provides a reasonable approximation of the overall concentration dynamics across all three roads. These results, together with the merging scenario presented in Figure 16, demonstrate the capability of the proposed ECM framework to represent traffic interactions at both merging and diverging network configurations.
Conclusion
This paper presented an ECM for dynamic traffic modeling by exploiting analogies between electrical and transportation variables. The proposed formulation represents vehicle concentration as capacitor voltage and traffic flow as voltage-dependent controllable current sources. We showed that this circuit is equivalent to a space-discretized LWR. The framework was extended to account for restricted network inflow, traffic signals, and merging and diverging traffic streams. Validation against microscopic SUMO simulations showed that the ECM captures key traffic phenomena, including queue formation, upstream congestion propagation, saturation, and recovery under different demand levels. For the two-lane merge scenario and single-lane diverge scenario, the model also reproduced the overall concentration trends observed in SUMO, while naturally smoothing short-term microscopic fluctuations. These results support the ECM as a compact and physically interpretable framework for dynamic transportation-network modeling and future traffic optimization and control applications.
Future work will focus on extending the proposed ECM framework to more complex transportation-network configurations and improving its quantitative agreement with microscopic traffic simulations.
Appendix
Small-signal ECM (ss-ECM)
In this section, we propose a “small-signal" ECM which is valid for small perturbations around the steady-state conditions derived in Section III-E. We will call this model “ss-ECM".
Linearization: Let us introduce deviations with respect to the steady-state conditions:
The ssECM aims to capture the dynamic behavior of when small input () and output flow perturbations () are introduced in the network. This dynamic behavior can be approximated using a first-order Taylor series expansion around the eq. point
for where the partial derivatives are evaluated at the steady-state conditions. A similar approximation can be derived for the boundary cells , which we omit here for brevity. Two regimes are considered: i) no congestion; and ii) congestion.
Regime I (No congestion): The dynamical model in this regime can be approximated as:
where is denoted the "uncongested" resistance, km and . These equations can be realized by the ssECM proposed in Figure 19(a), which is composed of a series of RC circuits interconnected by current-controlled sources. We note that controllable current sources are dependent on the capacitor voltages “upstream" of the circuit. Additionally, the variation in input current (placed at the first cell) is the main excitation in the circuit. As a result, changes in the input flow are propagated “downstream" during non-congested regimes. It is interesting to note that the resistance depends on the length of the cell and traffic speed. Faster free-flow speeds () lead to a reduction in the resistance and quicker responses/propagation.

Figure 19. Small signal ECM for non-congested road (a) and congested road (b).
Regime II (Congested): The dynamical model in this regime can be approximated as:
where is the congested resistance, km and . These equations can be realized by the ssECM proposed in Figure 19(b). This circuit is also composed of RC circuits connected with voltage-controlled current sources. However, the location of the resistors and current sources is swapped. We note that controllable current sources are dependent on the capacitor voltages "downstream" of the circuit. Additionally, the variation in our current (placed at the last cell) is the main excitation in the circuit. As a result, changes in the output flow are propagated "upstream" (i.e., backwards in the space) in the circuit during congested regimes.
References
- [1]A. Hamilton, B. Waterson, T. Cherrett, A. Robinson, and I. Snell, “The evolution of urban traffic control: changing policy and technology,” Transportation planning and technology, vol. 36, no. 1, pp. 24–43, 2013.DOI
- [2]B. Othman, G. De Nunzio, D. Di Domenico, and C. Canudas-de Wit, “Ecological traffic management: A review of the modeling and control strategies for improving environmental sustainability of road transportation,” Annual Reviews in Control, vol. 48, pp. 292–311, 2019.
- [3]C. Pasquale, S. Sacone, S. Siri, and A. Ferrara, “Traffic control for freeway networks with sustainability-related objectives: Review and future challenges,” Annual Reviews in Control, vol. 48, pp. 312–324, 2019.
- [4]A. Ferrara, S. Sacone, and S. Siri, Freeway traffic modelling and control. Springer, 2018.DOI
- [5]S. Wunsche, C. Claub, P. Schwarz, and F. Winkler, “Electro-thermal circuit simulation using simulator coupling,” IEEE Transactions on very large scale integration (VLSI) systems, vol. 5, no. 3, pp. 277–282, 1997.DOI
- [6]T. Amanuel, A. Girmay, H. Ghebreselassie, R. Ghebrehiwet, and W. Bahlibi, “Design of vibration frequency method with fine-tuned factor for fault detection of three phase induction motor,” Journal of Innovative Image Processing (JIIP), vol. 3, no. 01, pp. 52–65, 2021.DOI
- [7]S. Amir, M. Gulzar, M. O. Tarar, I. H. Naqvi, N. A. Zaffar, and M. G. Pecht, “Dynamic vehicle equivalent circuit model to estimate state-of-health of lithium-ion batteries,” Ieee Access, vol. 10, pp. 18 279–18 288, 2022.DOI
- [8]C. P. Furber, Electrical circuit simulation of traffic flow. The University of Arizona, 1973.
- [9]J. Wellin and L. Eisenberg, “Simulation of traffic flow using electrical network parameters,” Journal of the Franklin Institute, vol. 298, no. 5-6, pp. 423–432, 1975.DOI
- [10]R. A. Callejas-Molina, J. Diaz-Carmona, H. Vazquez-Leal, D. Mayorga-Cruz, and R. Lopez-Leal, “Exploring a novel electrical-modeling-based route planning for vehicle guidance,” Mathematical Problems in Engineering, vol. 2020, no. 1, p. 4348964, 2020.
- [11]A. K. Sinop, L. Fawcett, S. Gollapudi, and K. Kollias, “Robust routing using electrical flows,” ACM Transactions on Spatial Algorithms and Systems, vol. 9, no. 4, pp. 1–25, 2023.
- [12]J. Moyalan, R. de Castro, S. Feng, X. Tang, X. Lin, and S. Moura, “Optimal control of emergency evacuations leveraging equivalent circuit models,” ASME Letters in Dynamic Systems and Control, vol. 6, no. 1, p. 011004, 2026.DOI
- [13]J. Li and X. Lai, “Modelling travellers’ route choice behaviours with the concept of equivalent impedance,” Transportation, vol. 46, no. 1, pp. 233–262, 2019.
- [14]D. Han, M. A. Zamee, G. Choi, T. Kim, and D. Won, “Optimal electrical vehicle charging planning and routing using real-time trained energy prediction with physics-based powertrain model,” IEEE Access, vol. 12, pp. 12350–12366, 2024.
- [15]A. V. Tolmachev, E. V. Sinitsyn, and D. A. Brusyanin, “Transport system modelling based on analogies between road networks and electrical circuits,” R-economy, vol. 5, no. 2, pp. 92–98, 2019.DOI
- [16]V. Danchuk, O. Bakulich, S. Taraban, and A. Bieliatynskyi, “Simulation of traffic flows optimization in road networks using electrical analogue model,” in Energy Management of Municipal Transportation Facilities and Transport. Springer, 2019, pp. 238–254.
- [17]S. D. Boyles, N. E. Lownes, and A. Unnikrishnan, “Transportation network analysis,” Volume I: Static and Dynamic Traffic Assignment, 2020.
- [18]C. F. Daganzo, “The cell transmission model: A dynamic representation of highway traffic consistent with the hydrodynamic theory,” Transportation research part B: methodological, vol. 28, no. 4, pp. 269–287, 1994.DOI
- [19]A. Sheikholeslami, “Negative resistance,” IEEE SOLID-STATE CIRCUITS MAGAZINE, 2014. [Online]. Available: https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6951435
- [20]M. Behrisch, L. Bieker, J. Erdmann, and D. Krajewicz, “Sumo - simulation of urban mobility: An overview,” in SIMUL 2011, The Third International Conference on Advances in System Simulation. Barcelona, Spain: ThinkMind, 2011, pp. 63–68.