Transactive Control of Electric Railways Using Dynamic Market Mechanisms
Abstract
Electricity demand of electric railways is a relatively unexplored source of flexibility in demand response applications in power systems. In this paper, we propose a transactive control based optimization framework for coordinating the power grid network and the train network. This is accomplished by coordinating dispatchable distributed energy resources and demand profiles of trains using a two-step optimization. A railway based dynamic market mechanism (rDMM) is proposed for the dispatch of distributed energy resources (DER) in the power network along the electric railway using an iterative negotiation process, and generates profiles of electricity prices, and constitutes the first step. The train dispatch attempts minimize the operational costs of trains that ply along the railway, while subject to constraints on their acceleration profiles, route schedules, and the train dynamics, and generates demand profiles of trains and constitutes the second step. The rDMM seeks to optimize the operational costs of the underlying DERs while ensuring power balance. Together, they form an overall framework that yields the desired transactions between the railway and power grid infrastructures. This overall optimization approach is validated using simulation studies of the Southbound Amtrak service along the Northeast Corridor (NEC) in the United States, which shows a 25% reduction in energy costs when compared to standard trip optimization based on minimum work, and a 75% reduction in energy costs when compared to the train cost calculated using a field dataset.
Power Grid, Train Network, Renewable Integration, Railway Dispatch, Train Dispatch, Social Welfare, Trajectory Optimization.
1 Introduction
Modern electric trains can both demand power from their traction system for locomotion and inject power back into the electricity network through regenerative braking, virtually enabling them to store electricity in the form of kinetic energy [1]. The power profile of a train along a route is in many cases determined by the conductor based on training and experience, attempting to meet a given schedule with little regard to the varying electricity price along the route. In this paper, we propose an alternate operation methodology that consists of coordination of train schedules and the dispatch of rail-side distributed energy resources (DERs) and leads to a determination of prices and schedules of power consumption for the trains and power generation for the DERs. Together, this coordinated operation is shown to minimize the overall electricity cost incurred by the trains. As this coordination occurs through a transactive framework between the train dispatch and the dispatch of railway agents such as DERs, this leads to a transactive control of the two interconnected systems of train network and the power grid network, similar to the transactive controller in [2, 3].
A major driver that allows the proposed transactive coordination framework between the train-network and the power-network is the transformation of the latter in recent years. This has been due to the explosive growth of renewable energy sources [4] and demand response [5], collectively denoted as DERs. The increasing footprint of these resources enables them to be dispatchable, and to enter into a transactional framework where incentive information (pricing) and commitment decisions (quantity) can be iteratively exchanged and arrived at an optimal solution. This iterative transactional framework is denoted as Dynamic Market Mechanisms (DMM), and has been explored in [6, 7, 8, 9]. The origins of transactive control are very much rooted within the energy application realm, as the ideas of using an incentive signal to alter the behavior of demand-side customers in power systems can be traced back to Schweppe’s 1980 paper on homeostatic utility control [3]. A large-scale demonstration of this concept can be found in [2] where electric systems with high renewable adoption were considered and shown to meet demand reduction objectives. The DMM-related results in [6] show that DERs can engage in market-transactions at the tertiary control level and ensure grid objectives through a hierarchical framework. Exactly how these market mechanisms can be integrated into a real-time market and a regulation market together with secondary control based AGC was explored in [9]. Focus was placed on demand response compatible assets in [7] . The implications of DMM in the context of a combined heat and power microgrid was explored in [10]. In this paper, we will enable the coordination of various DERs in a power network that are located along the railway network through the use of a DMM, and denote it as rDMM.
The main challenge in the design of the proposed transactive framework is to coordinate the objectives of the two networks. The points of intersection between these two networks is the need to optimize operational costs and the need to ensure physics-based constraints such as power balance, capacity and operational limits, and train kinematics. A combined optimization problem subject to all underlying constraints can be posed and used to determine the train schedules and prices, but can prove to be quite intractable due to the complex nature of the constraints, space-dependent and time-dependent constraints with various intractable coupling mechanisms. We therefore adopt a two-step approach where the first consists of railway dispatch of schedules and electricity prices for a given train-demand profile, and the second consists of train dispatch which determines the train schedules for a given electricity-price profile. The railway dispatch determines, along each section of the track, the electrical output of each generator, the output of all storage assets, and the output of all cogeneration assets for a given set of profiles of power demand from trains and renewable generation. The train dispatch solves the trajectory optimization problem, i.e. the velocity profiles of the trains, through an energy cost minimization subject to acceleration limits and kinematic constraints. Our thesis in this paper is that such a two-step optimization can enable an effective coordination between the power grid network and railway network. In particular, we will show that the two-step optimization will lead to significant reduction in energy costs through simulation studies. While the methods utilized for solving this two-step optimization are fairly straightforward, the main contribution of the paper lies in the novelty of the proposed approach for trip optimization in electric railway networks. To our knowledge, such a transactive approach, which can be viewed as Demand Response using the flexibility in power consumption of trains, has not been suggested thus far in the literature except for [11] and [12], where we presented preliminary results using this approach.
Related work that has addressed trip optimization in rail networks can be found in [13], [14], [15], [16], and [17]. Reference [13] provides a summary of the trajectory planning problem in railway systems. Optimal trajectory planning for electric railways can be found in chapters 3 and 4 of [14], where pseudospectral methods are used to determine optimal railway operation based on models of train dynamics. This work builds upon the work minimization literature developed by [15] and [16]. Finally, [17] develops a control system to reduce fuel use in freight locomotives. In all of these lines of research, the overall objective is to minimize energy use, or work done by the train, rather than the cost of the electricity to the infrastructure manager, an important component of our proposed scheme.
The remainder of this paper is organized as follows. Section 2 describes the problem faced by the railway and train operators in scheduling DERs and trains along the railway system. In Section 3 we break out the railway dispatch, i.e. dispatch of the generators and other assets along the railway track based on the estimated renewable generation, traction electric demand and electric and thermal loads for each section of the electric railway. Section 4 establishes the dynamic model of an electric train and formulates the energy cost minimization problem that needs to be solved by each train traveling along the electric railway. Section 5 describes the integrated transactive control methodology that iterates between the Railway Dispatch and the Train Dispatch solutions to determine the price signals and corresponding dispatch profiles of the agents and trains that minimize the operational costs of the entire system. Section 6 presents a case study of the Amtrak service along the Northeast Corridor in the United States, composed of multiple sections and DER topologies, and validate the proposed transactive controller. Realistic accommodation of data has been carried out in this case study including incorporation of the actual electricity prices from the wholesale market, actual load profiles, realistic train data, and renewable energy profiles available in public database. Using this case study, we compare our approach with both the current train profile using field data and an optimization framework based on minimization of work. Concluding remarks and future research extensions are discussed in Section 7.
2 Problem Formulation
Electric railway systems can be owned and operated by multiple parties. In some systems, the track and electric system that powers the trains are owned by an entity that charges a fee for the utilization of their facilities. This entity is typically responsible for the maintenance of the track, procuring the electric power to feed the trains, dispatching rail-side DERs and controlling traffic along the system. These entities are commonly known as Railway Operators. We will denote Train Operators as those who are in charge of the use of the track based on their projected train schedules, maintain and dispatch the trains and pay usage fees to the Railway Operator. The problem that we consider in this paper is a combined optimization of both the railway dispatch and the train dispatch, with Railway Operator and Train Operator acting as the interface between the grid network and the train network (see Figure 4 for an overall schematic).
In Section 2.1 we will discuss how Railway Operators procure electricity and thermal energy from wholesale energy markets, distribution operators (i.e. utility companies) and DERs. In Section 2.2 we formulate the underling optimization problem where the cost is Social-Welfare like, and depends on the costs incurred by the DERs, the electrical and thermal loads of the railway system and the electric trains. The resulting solution will then provide optimal profiles for various generation assets as well as the train consumption/generation profiles, i.e. the railway dispatch and the train dispatch. Deriving such a solution however proves exceedingly difficult to solve due to the presence of several dynamic nonlinear constraints and the fact that the timescale required to solve the trajectory optimization problem needs to approach real-time, especially for the train dispatch. This motivates the two part solution proposed in Sections 3-5.
2.1 Traction System Preliminaries
A wide range of traction system architectures and technologies have been developed for electrified railway systems, across low frequency (DC, 16.6Hz, 20 Hz and 25Hz) as well as industrial frequency (50Hz and 60Hz) networks which are powered by overhead and third rail traction distribution systems. Additionally, electric trains have been both powered by rail-side generators as well as grid-tied systems. In some scenarios, electrical connections to a large-scale electricity distribution or transmission system are complemented with distribution lines that travel along the rail, and can be designed such that they improve the reliability of the traction system by providing redundant power supplies to the traction substations feeding the traction system. These various architectures have a direct impact on the flexibility of the demand of the train and therefore a possible energy cost reduction.
A typical architecture of energy procurement and dispatch that occurs along the electric railway is provided in Fig. 1 and will be adopted for the discussions in this paper. This architecture is typically adopted in deregulated electricity markets such as Amtrak in the Northeastern United States, and will be used in the case study presented in Section 6. That is, we assume that Railway Operators face delivery charges as distribution-level customers of electric utilities which own and operate the distribution system. However, due to their energy requirements and the regulatory setting in which they procure energy, they could access wholesale markets for electrical supply. Additionally, we assume that third-parties could invest in rail-side DERs, seeking to provide energy services to the Railway Operator. Competitive retail sales of electricity from power marketers [18] and on-site Power Purchase Agreements (PPAs) offered by Energy Services COmpanies (ESCOs) [19] are both established and growing energy procurement mechanisms for commercial companies including electric railways.

2.2 Overall Constrained Optimization Problem
With the architecture chosen as in Fig. 1, we now introduce a problem formulation for energy procurement and dispatch for optimal grid-railway interaction. A first component of this problem formulation is the Area Control Centers(ACCs) (see Fig. 1) managed by a Railway Operator. An ACC is charged with serving the electric railway traction system, limited to a portion of contiguous electric railway with the property that marginal injections or demands for power have the same cost to the operator for all time . Along this portion of the track, all rail-side DERs and trains that interface with the traction system are enabled to provide price and quantity information regarding their dispatch, and are compensated and charged based on their actions by the ACC. The Railway Operator manages the ACC with the objective of reducing overall operational costs while maximizing the value of the DERs along the track and meeting all thermal and electric loads in the system. That is, the overall objective of the railway dispatch is to schedule energy resources, which includes trains, so as to minimize the cost of energy resources and trains along the railway system. Such an optimization has to be carried out subject to the various constraints of the grid and railway networks.
More formally, the underlying problem is the dispatch of electric railway power systems across ACCs for a time horizon in an optimal manner. This includes the electric traction loads of trains, with power profiles denoted as for the electric profile of train in over the time interval . The Railway Operator is charged for its electric loads at a rate .
On the generation side, we consider dispatchable generators (including DERs and electric utility imports) at each with electric and thermal power profiles and . For compactness, we will use , a tuple of the electric and thermal generation for each generator . These agents incur a cost , which is private to their owner and operator.
All other electric and thermal power demand in the electric railway system, such as the thermal conditioning and lighting loads at passenger stations, are considered price-inelastic and are included within the power balance constraints of the problem but are not included in the objective function due to their fixed nature.
Given that the utility of the trains and generators are fixed, the social welfare maximization problem, which is commonly used for economic dispatch problems in power grids, reduces to a cost minimization problem with two terms in the objective function, the generator cost of generating the electricity and the energy cost of operating the trains.
With the above definitions, the overall grid-railway optimization can be posed thus:
(1) | ||||
s.t. | Nodal Electric Power Balance | (2) | ||
Nodal Thermal Power Balance | (3) | |||
DER - Agent Capacity Limits | (4) | |||
Train Dynamics | (5) | |||
Train Electric Motor Power Limits | (6) | |||
Train Traction Force Limits | (7) | |||
Train Acceleration Limits | (8) | |||
Train Velocity Limits | (9) | |||
(10) |
We note that in the constrained optimization problem in Equations (1)-(10), the decision variables are composed of the power profiles of the dispatchable agents and the trains at each of the ACCs as well as the price of electricity paid by the electric trains.
It is clear that the objective function in Eq. (1) is composed of the sum of the cost of the dispatchable generators (which we will denote as agents) and the energy expenses of the electric trains. These two costs are the fundamental building blocks of the two part railway dynamic market mechanism () developed in Sections 3-5. When broken down into the individual ACCs, the first term captures the railway dispatch problem with fixed loads, which in turn is subject to power balance and agent capacity limit constraints (2)-(4). The second term corresponds to the train dispatch problem, and is in turn subject to train dynamics and scheduling constraints (5)-(10).
The optimization problem as in (1)-(10) is difficult to solve, highly intractable, and poses several challenges. First, its solution requires that all of the traction system agents share their private cost information to appropriately capture and minimize the overall system cost. This feature would likely inhibit private investment in rail-side DERs. The timescale of electric train dispatch may not individually align with that of the dispatch. Trajectory optimization of electric railway power profiles occurs in the seconds timescale whereas energy asset dispatch is unlikely to be used at a timescale faster than 5 minutes. Additionally, the trains are entering and exiting each of the at different times which are dependent on the pricing signal. All of these cause an intricate coupling between spatial and temporal constraints that are nonlinear and convex. In an effort to simplify the process and make the problem more tractable, we propose a two step approach that iterates between the electric railway and the train dispatch problems in Sections 3 - 5.
3 Electric Railway Dispatch
This section describes the minimization of energy asset costs in an electric railway where the Railway Operator must guarantee that all electric and thermal constraints must be met. We will explicitly accommodate the constraints and timescales of each energy agent along the railway. Both thermal and electrical energy assets powering the electric railway are included in this optimization. Section 3.1 describes the different agents that operate in the system and introduces the timescales in which they interact. Section 3.2 discusses the model used for agent costs and operations within the Railway Dispatch problem. Lastly, Section 3.3 uses the agent costs and operations to state and solve the Railway Dispatch problem, following a similar procedure as the one developed in [10].
3.1 Agent Types and Timescales
Within each of the railway segments the Railway Operator must meet the electrical and thermal demand or load during the next future dispatch intervals which are indexed as . Moreover, in managing the electrical system of the railway, the Railway Operator is tasked with dispatching and compensating the electrical agents or assets within in a way that minimizes the total cost of the operation. The electric railway dispatch problem described in this section determines optimal dispatch for each future time interval; however, the pricing and dispatch is only binding and executed for after the Railway Dispatch problem has been solved.
We define five types of dispatchable agents within the railway power system at each node that are classified into the following sets: heating assets (e.g. boilers), ; electric generation assets (e.g. fuel cell, microturbines), ; cogeneration assets (e.g. combined heat and power units), ; storage assets (e.g. batteries), ; low voltage side network connections (i.e. points of common coupling), . The set of all dispatchable agents at node is denoted as . It is assumed that within each dispatch interval there are two faster timescales, where the first corresponds to instances , at each of which forecast updates of all non-dispatchable loads and generation are received. Between each , we introduce a faster timescale where at each instance , all dispatchable agents negotiate electric and thermal generation schedules and prices (see Fig. 2). It is assumed that these timescales with and are such that they are nested, and that the time-intervals permit a useful forecast data and sufficient negotiations, respectively.
In addition to the above agents, we also consider three types of non-dispatchable agents at each node , classified into the following sets: renewable generators, ; electrical loads (e.g. lighting at the passenger station), ; and thermal loads (e.g. heating of the passenger stations), . The set of these non-dispatchable agents at node is denoted as , all of whom inject and demand electric and thermal energy from the same network as the dispatchable agents but are not dispatched by the Railway Operator. Instead, the operators in charge of each of these passive resources (i.e. the renewable asset operator for and the passenger station operator for and ) communicate the best load estimate over ’s future time intervals . This forecast update occurs every when new updates arrive for the renewable assets, or any of the loads. The periods associated with the time scales and need to be such that it should accommodate new information related to the forecast and at the same time, the convergence rates of the negotiations.
Lastly, we consider electric trains injecting and demanding electric power from . We denote the set of all trains at node as . For the purpose of the Railway Dispatch problem, the trains are no different from the set of passive agents in that they provide an update to their electric power profile for the dispatch intervals at each forecast instance . However, as shown below, once we define the Train Dispatch problem faced by the train operators for each train in Section 4 and the composition of the transactive controller in Section 5, the train update will transform from a simple forecast update to a price-dependent minimum cost dispatch update.

3.2 Agent Costs and Operation
The overall goal of Railway Dispatch is to arrive at pricing information that can yield optimal setpoints for generators and utility power import. Over the time horizon of dispatch intervals, the electric and thermal power profiles for each of the agents considered (dispatchable, non-dispatchable, and trains) is assumed to take positive (generation) and negative (load) values.
In order to capture the electric and thermal components of generation for dispatchable agents in at each time period , the output of the generators is denoted by the decision variable
(11) |
and the ’th element of as .This decision variable maps to an electric and a thermal output as given by:
(12) |
and
(13) |
In other words, is a dispatch setpoint associated with a particular electric and thermal output. For electric-only generator , the thermal conversion coefficient vector, , is the zero vector and the electric conversion coefficient vector, takes positive values. We make the following assumptions regarding their constraints and costs.
Assumption 1
Electric and thermal power capacity of agent are bound by and respectively.
Assumption 2
Capacity constraints are not binding and losses are negligible for all electrical and thermal equipment in the system other than the dispatchable agents.
Assumption 3
The cost function of each dispatchable agent is a convex quadratic function.
For a single dispatch interval , this quadratic cost is denoted as:
(14) |
and over the multi-periods as
(15) |
For the agents representing low voltage side network connections , the cost function can be updated as a function of the equilibrium price in an external market, such as a wholesale energy market. Labeling the external market price for the low voltage side network connections as , the cost function parameters , , and in (14) are determined for at each forecast instance . Given that these market prices commonly represent marginal prices, the cost function parameters may be simply chosen as: , , and .
Each of the passive agents in determine their power output for the dispatch intervals at each forecast instance (see Fig. 2), which are denoted by for renewable generators, for electric loads and for thermal loads. We drop the subscript to denote the power output vector over the dispatch intervals in as , , and . In order to determine the train demand, suppose that train traverses over the period over the dispatch interval and is the corresponding forecasted demand at instance , we denote this demand as . This in turn can be summed over all trains to yield
(16) |
For ease of exposition, we drop the subscript in (16) and simply denote the total train demand at forecast instance as .
3.3 Railway Dispatch Algorithm
With the overall costs and constraints related to all agents specified as above, we state the Railway Dispatch problem at at a fixed forecast instance over the dispatch intervals in as:
(17) | ||||
s.t. | ||||
(18) | ||||
(19) | ||||
(20) | ||||
(21) |
The output values for each dispatchable agent over the dispatch interval at dispatch instance are denoted as and constitute the decision variables of the problem. These decision variables are bound at each dispatch interval by the sum of the electric loads per (18), the thermal loads per (19), the maximum capacity constraint per (20) where and the minimum capacity constraint per (21) where .
At each forecast instance , the power profile for each renewable generator, , electric load, , thermal load, , and the total traction load, , are updated for the dispatch interval . The new forecasts are used to update constraints (18) and (19), with the resulting optimization problem in (17)-(21) solved again.
With each forecast update , the decision variables of the problem, denoted as optimize the cost in (17). For the dispatch intervals these decision variables can in turn be mapped to the electric and thermal output of the agents as .
The underlying optimization problem that the Railway Operator has to solve is therefore given by the solution of (17)-(21) for a given set of forecasted profiles. We propose that each solves this through an iterative negotiation process amongst the dispatchable agents within this . This is proposed to be carried out by the faster timescales, for each . That is, at each forecast instance the negotiation process starts at , where , , , and are fixed, allowing the Railway Operator at to establish the electric and thermal loads for the dispatch horizon. And at , it is assumed that the Railway Operator for broadcasts an initial price duple consisting of electric and thermal prices.
With these initial conditions, using a Lagrangian and a gradient-based update, the decision variables and the prices and are updated at each negotiation instance as:
(22) |
(23) | |||
(24) |
where are positive step-size parameters and is the penalty for violating capacity constraints (20) and (21). The penalty function updates are given by:
(25) |
where is a positive step-size parameter.
It is assumed that these iterations occur at each and converge as for some . As outlined in [9], under suitable convexity conditions, it can be shown that convergence to unique optimal values takes place.
Defining as the estimate of the fixed assets at , these estimates can be updated with as the new forecasts arrive. The forecast update enables an improved dispatch of the agents across the dispatch intervals .
Note that in practice, exit conditions based on the agent output and price profile updates within the negotiation process can be established such that the forecast update is promptly initiated. These exist conditions follow the form: . If these conditions are met, the equilibrium agent output and price profiles can be set as and respectively.
Similarly, exit conditions can be established for the forecast update process, such that the agent output and price profile updates can be communicated for dispatch and settlement if so desired. These exit conditions follow the form: . If these conditions are met, dispatch for the first interval can be established using agent output profiles and price profiles .
In summary, the Railway Dispatch algorithm for starts at with a forecast of the power profile for each renewable generator, , electric load, , thermal load, , and the total traction load, , and returns the optimal agent output profiles , the total traction demand profile and the price profiles that can be used for dispatch and settlement of dispatch interval . The dispatch interval window then shifts over, with corresponding to the active dispatch interval and the process repeats.
4 Train Dispatch
In the previous section, we assumed that at each , the train loads were fixed, and the dispatch of the active agents was optimized. In this section, we address the fact that these train loads are indeed flexible, and pose a constrained optimization problem for determining the optimal profiles of generation and consumption of their power profiles. In Section 4.1, we describe the physical model of the train. Next, we define the cost minimization problem for a track with multiple pricing regions, managed by in Section 4.2. With this Train Dispatch accomplished, in Section 5, we describe how the Railway Dispatch optimization described in Section 3 can be stitched together with the Train Dispatch optimization to result in an overall transactive control framework for the combined grid-railway infrastructure. This overall framework is validated using numerical simulation of the Amtrak NEC in Section 6.
4.1 Dynamic Model of Electric Trains

The power consumption of the electric train depends on the traction force, which in turn depends on the overall train dynamics. In this section, we derive the underlying dynamic model of the train and the corresponding power consumption profile. The position, velocity and acceleration of train in the direction of motion are denoted by , , and respectively. We proceed by defining the three forces with a component in the direction of motion of the train as it travels at an angle from the horizon. The gravitational force on the train can be decomposed into the direction of motion as and the direction normal to the ground as , where is the total mass of the train.
The electric motors converting electrical into mechanical power is assumed result in the traction force in the direction. An opposing force is also included in the model, which includes a drag force and a friction force [20]. With these definitions, we can derive the equation of motion in the direction of motion as
(26) |
The traction force is a function of both the electric power and , and is in general a mapping of the ratio . The drag-friction force can be represented as
(27) |
4.2 The Constrained Optimization Problem
In the analysis henceforth, we consider the cost minimization problem of train that departs location at time and arrives at a final destination at time . The train stops at passenger stations denoted by between , where is the arrival time and is the departure time from station and denotes the position of station . And as indicated by (26), is determined by the train dynamics.
The train trajectory is assumed to traverse subsections, each dispatched by an Area Control Center, denoted as . It should be noted that these sections may not coincide with the railway sections between passenger stations. Section of the track is bound by the position interval and, as mentioned earlier, train is assumed to travel within this section during the time interval for . The operator of train must choose the electric power demand profile given by the set of functions , over this interval, . The power demand profile of train is therefore composed of the profiles at each ACC:
(28) |
We assume that the railway is level at the passenger stations (i.e. ) implying that the power demand of the train during the stop is equal to zero, .
For each ACC, the operator of train faces the price of energy given by the set of functions . The price of energy for train is therefore composed of the profiles at each ACC:
(29) |
Note that these profiles are a function of time as well as the traversed by the train. The price faced by the operator of the train can be determined from the Railway Dispatch problem equilibrium prices as follows. Suppose we consider the time horizon over which train traverses , and we chose an arbitrary time , and suppose it corresponds to the ’th interval (for example, the time horizon corresponds to in the example shown in Fig. 2). Then corresponds to the th element of . A similar procedure can be utilized to determine for all intervals in (29). In practice, trains may need to preemptively terminate the portion of the schedule included in the Train Dispatch problem or use proxy pricing if they operate within a particular outside of the dispatch horizon included in the Asset Dispatch problem.
The energy cost minimization of the train can now be formulated as:
(30) | |||||
s.t. | |||||
(31) | |||||
(32) | |||||
(33) | |||||
(34) | |||||
(35) | |||||
(36) | |||||
(37) |
In the above, (30) represents the energy cost incurred by the train across all ACCs between and . Constraint (31) enforces the train motion dynamics described in Section 4.1, rearranging (26) to solve for the traction force as a function of the position, velocity and acceleration of the train. The power demand of train from the traction system at each ACC, , is constrained by (32) which imposes a lower bound at and an upper bound at . Note that the limits are functions of the ACC in question as the particular track segment might not be able to receive or provide more than a given power magnitude.
Next, we define the limits of the traction force in (33) reducing the feasible traction force window based on the traction force curve of the manufacturer. The acceleration rate of the train is limited per (34) due to safety considerations of the passengers, who may be standing during moments of deceleration or acceleration . Similarly, the velocity of the train is bound from below by and from above by through equation (35) where the limits are functions of the position . This dependency traces back to civil speed limit restrictions which reduce the window of allowed speeds in sections of the track with rail crossings, densely populated areas and passenger stations. Finally, constraints (36) and (37) represent the schedule constraint of train , achieved by limiting the time spent at the stations to the minimum arrival time and the maximum departure time respectively.
In summary, in this section we have posed the problem of optimizing the power consumption of a train for a time-schedule in the form of a non-convex constrained optimization problem in (30)-(37). The resulting solution is in the form of power demand profiles for a train at time for a given set of price profiles , constructed by determining the corresponding time interval and the corresponding equilibrium price . The solution of the Train Dispatch problem may be determined using any one of several commercial software packages such as Matlab’s fmincon [22]. Note that the decision variables used by the optimization problem are position and velocity , the two state variables used to represent the dynamical system. Also, numerical solvers can be used to transform the continuous variables (including the decision variables)to discrete-time variables of length , where is the time step.
5 Overall Transactive Control Architecture - Railway Dynamic Market Mechanism (rDMM)
In Section II, we posed a combined optimization problem of Railway Dispatch and Train Dispatch in the form of (1)-(10). In order to make the problem more tractable, we divided it into two steps, which were addressed in Sections 3 and 4. In Section 3, we presented a constrained optimization problem that solves for the optimal dispatch of energy assets, where loads including those of trains as well as renewable generation were assumed to be fixed and the electric and thermal schedules and prices for the generators along the track are determined as and respectively for dispatch intervals respectively in (17)-(21). This formulation captures the agent operational cost in the first term of (1) and ensures that the agent constraints (2)-(4) are met. In Section 4, we focused on the optimization of the train power consumption profiles themselves. In particular, we showed how each train operator can solve a constrained optimization problem in (30)-(37) to minimize energy costs given the track prices and required schedule. Minimizing the sum of trains’ energy costs is equivalent to the second term of (1), subject to the constraints (5)-(10) for each train.
In this section, we show how the results of Sections 3 and 4 can be interleaved to solve the combined optimization problem posed initially in Section 2. This is accomplished by adjusting the power demand of the trains as a function of the prices from the Railway Dispatch problem, as a form of automated Demand Response at fast time-scale, also referred to as transactive control [23, 24]. This transactive control-based price provides an incentive for the electric trains to modify their dispatch by iteratively solving the cost minimization problem (30)-(37) with the updated prices. In what follows, we describe the overall transactive control architecture (see Fig.4 for an overall schematic and Algorithm 1 for details).

The top block in Fig. 4 denotes the , and corresponds to the following functionality: at each forecast instance , the block takes as inputs the traction power demand , passive agent output curves and the energy prices from the low voltage side network connections , and returns the price profiles and the Railway Dispatch profiles . As mentioned in Section 3, the energy prices from the low voltage side network connections are used to determine the quadratic cost curve of these agents as in (14). Next, these cost curves are used to update the objective function (17) and the traction and passive agent output curves are used to update constraints (18)-(19). The iterative dynamics in (17)-(21) are solved using (22)-(25) for negotiation instances , stopping when the negotiation exit conditions defined earlier in Section 3 are met at each .
The block on the right in Fig. 4 corresponds to the functionality of the , who composes the price of energy profile for each train in (29) using the electricity portion of the price profiles from the block, by determining the corresponding dispatch interval and the corresponding element of the price vector . These are then used in the block (bottom) to determine the next dispatch profile forecast for each train .
The bottom block in Fig. 4 denotes the and uses the prices as in (29) to determine the cost-minimizing train dispatch for every train. This is accomplished using the optimization procedure discussed in Section 4: the energy price profiles from the block are used to update the objective function of the Train Dispatch problem in (30). Once this update is complete, a new power demand profile of the train is determined by solving (30)-(37).
The block on the left in Fig. 4 represents the , who collects the new power demand profiles for each of the trains after each forecast instance and assembles the total traction power demand for each in (16). This new profile is used in the negotiations (22)-(25), in addition to new forecasts that may become available from other passive agents at each and energy prices from the low voltage side network connections used to determine the cost function parameters , , and in (14) for .
The cycling between the and blocks repeats for forecast instances . If the resulting price and Railway Dispatch profiles meet the forecast exit conditions for the network (), then the algorithm stops, dispatching the agents at the last negotiation equilibrium and are compensated based on the price profiles from the top block. Similarly, the trains are dispatched based on the last forecast update from the bottom block and their operators are required to pay the last negotiation equilibrium price . As mentioned before, the overall iteration is ensured to stop by using suitable exit conditions. A settlement procedure may be designed to collect the payments of the agents at a slower frequency than the convergence of the (i.e. monthly payments). Once dispatch takes place for the dispatch horizon shifts by one interval, and the procedure set forth with starts again.
6 Simulations

The northern Amtrak NEC between Boston, MA and New Haven, CT (within the ISO-NE power system) emerges from a review of the electric railway systems in the United States as a prime case study for our analysis, due to its four segmented rail power zones that result in the pricing regions identified in Fig. 5. The four area control centers, identified with are powered by the substations at Sharon, MA; New Warwick, RI; London, CT; and Branford, CT respectively and are considered separate pricing regions, each with price .

Using the location of these substations, publicly available electric utility tariff information [26, 27, 28] and real-time energy market data from ISO-NE [29], we estimate the real-time energy cost to the operator at each one of the four which are in turn used as the low-voltage side network connection costs of the four network connection agents that are used to update the quadratic cost curve of these agents in (15). Based on the characteristics of the Route 128/University Park () and Providence () passenger stations and their surrounding commercial spaces we also add cogeneration assets and boilers using NREL’s System Advisory Model (SAM) [30] for sizing and estimation of the quadratic cost function coefficients in (15).
Due to the large roofs and parking lots near the University Park, Providence and New Haven passenger stations, we also assumed that three PV solar arrays can be added at , and , and use SAM alongside satellite imagery to size the arrays and estimate their yearly production. We also used the satellite imagery to measure the footprint of the passenger stations and estimate the electric and thermal load using the EPA commercial building templates that can be accessed through SAM.
Amtrak’s high-speed Acela Express service along the NEC utilizes high-speed locomotives developed by Bombardier in the late 1990s based on the French TGV [31]. Acela Express trains have a total empty weight of and a full capacity weight of . In simulation we assume a partially occupied weight of . Although the Acela trains are designed to achieve a top speed, they are limited in operation to which is equivalent to .
The maximum train traction power is , while regenerative braking is limited in operation to [1]. In the absence of public data on the acceleration rates of high-speed trains like the Acela, the estimates used in our simulation ( and ) were adopted from models of electric train systems used by EPRail. Fitting the Davis equation (27) to the Acela Express drag and rail friction curve we have that , , and .
Using the pricing information of the nodes along the track and the Amtrak Acela Express train timetable [32], we simulate a train following a power profile that minimizes total work as a baseline and a train dispatched by the methodology summarized in Algorithm 1.
We now report the results obtained using the rDMM outlined in Section V, which we will denote as the transactive controller. In particular Algorithm 1 was run with all numerical parameters as in Table 1. The results are shown in Fig. 7 for a single train’s travel profile corresponding to for the 6:21AM University Park departure of Acela 2155 on January 18, 2018, a day that exhibited large network pricing differentials. These results include the energy prices as the train traverses the four ACCs, and the position and velocity profiles of the train. It can be seen that the train schedules are met, and the velocity limits are accommodated. The most interesting result corresponds to the energy price shown in the top plot in Fig. 7, and corresponds to the minimization of the cost function in Eq. (17). This price profile in turn leads to an optimized cost in Eq. (30) of for this single train travel.
Agent | |||||
1 | 10,432 | 0 | 1 | 0.0303 | |
1 | 1,550 | 1 | 1.02 | 0.0629 | |
1 | 10,000 | 1 | 0 | ||
2 | 20,864 | 0 | 1 | 0.0303 | |
2 | 4,560 | 1 | 2 | 0.0818 | |
2 | 10,000 | 1 | 0 | ||
3 | 10,000 | 1 | 0 | ||
4 | 10,000 | 1 | 0 |
In order to evaluate the optimality of the proposed transactive architecture, we compare the above results with two other profiles which are shown in Fig. 7. The first one corresponds to a field dataset that was collected using the GPS of a mobile phone and the MyTracks iOS application [33] on the Acela 2171. It can be seen that the maximum speed of as well as the position datasets corresponding to the transactive controller are consistent with our field dataset. We computed the corresponding train cost for this field dataset assuming the same dynamical model for the Acela train employed in simulation, summarized in Equation (31), which allows us to solve for the traction force as a function of the position, velocity and acceleration datasets collected with the phone GPS and accelerometers. This force dataset can in turn be used in conjunction with the volatility dataset to arrive at the tractive power profile for the route. Finally, the marginal cost along the route, set by the low voltage side network connection cost, can be applied to the profile to determine the total cost. It was observed that this cost was , which shows that our rDMM results in a reduction. It is possible that the actual reduction from the rDMM may be somewhat smaller, as we have not incorporated other speed limit restrictions along the track such as rail crossings and densely populated areas in the simulation of the rDMM.
The second profile shown in Fig. 7, denoted as minimum work, was obtained by solving the Train Dispatch problem in (30)-(37) with a uniform price profile . This yielded a position and velocity profile as shown in Fig. 7. The corresponding price profile is shown in Fig. 7 as well, which led to a total trip cost . Note that the train dispatched by the methodology can achieve a cost reduction when compared to the train dispatched under the standard minimum work (from to ), providing an initial estimate of the value of incorporating dynamic, price-responsive train dispatch in the electric railway operation.
To our knowledge, the current procedure adopted by Amtrak for the train profile does not have such an optimization approach, but rather allows train operators to accelerate and decelerate the train at their discretion with the supervision and intervention of the Positive Train Control system. The approach in [17], implemented in freight locomotives, employ algorithms similar to the Minimum Work method reported above.

7 Conclusions and Future Works
Electric trains are a major untapped source of demand-side flexibility in electricity networks. Our findings contribute to the evolution of transportation control systems devoted to work minimization toward higher-level objectives such as the social welfare maximization of joint transportation-electric infrastructures. In particular, our proposed 2-step optimization of railway dispatch of all DER agents along the train track followed by train dispatch, facilitated by coordinated operations of the Railway Operator and Train Operator suggests that the inclusion of time and space varying pricing information modifies the optimal power profiles of DERs and trains, yielding reductions in electricity costs for relatively small increases in work. Simulation studies of the Southbound Amtrak service along the Northeast Corridor in the United States shows a 25% reduction in energy costs when compared to standard trip optimization based on minimum work, and 75% reduction in energy costs when compared to the train cost calculated using a field dataset.
Fundamentally, the rDMM introduces transactive energy as an additional degree of freedom in the control of a system, capitalizing on technology advancement (e.g. communication cost reductions, GPS, widespread adoption of regenerative braking) to bridge the objectives of individual agents (e.g. trains, DERs) with those of global infrastructure (e.g. traction system, wholesale energy markets). That is, through adjustments of incentives in the form of electricity prices, we were able to ensure a coordinated set of profiles for all DERs and trains.
This technology could further motivate the deployment of automation technologies in train systems, as the business case improves when factoring electrical cost reductions. We expect that our findings could be developed into a software package for train operators, similar to GE’s Trip Optimizer technology which has been adopted by heavy haul train operators to decrease fuel use [17].
7.0.1 Demand Charge Management
Although our work is a step towards including the electric traction system’s costs within the Train Dispatch problem, we only reflect energy-related costs . In reality the Railway Operator will also incur demand or capacity charges from the utility or ISO. These charges can also be reduced, in principle, using a transactive control methodology where the incentive signal shifts and smooths the power profile of the individual trains such that a reduction in demand at the main interconnection (traction substation) is met. We considered including the demand charge component within the cost function of low voltage side network connections as a second order term, but this methodology did not appropriately capture the time-scale (typically months) at which demand charges are evaluated. A means of achieving demand charge management is to update constraints within the optimization problem, modifying the minimum and maximum power limits and in (32).
7.0.2 Regulation and Reserve Market Participation
Similar to the research direction regarding demand charges, we would like to extend the services provided by the transactive control system to the electrical network beyond energy and onto products for frequency regulation and operational reserves. Practical limitations of providing these services as well as the incentive and compensation mechanisms remain to be explored.
7.0.3 Mass Transit Systems
Our analysis focused on the practical intricacies of high-speed rail systems. Although our simulations were based on the high-speed rail example in the United States, the Amtrak Acela service, we are aware that other systems, such as the MBTA mass transit T service also evidences discontinuities in energy price along their track and have strategic plans to add rail-side generation [34]. Extending our simulation work to mass transit systems would widen the applicability of our proposed transactive control architecture.
References
- [1] J. Yu and M. B. Ercolino, “Measurement and analysis of acela express regenerative power recovery,” in ASME/IEEE 2007 Joint Rail Conf. American Society of Mechanical Engineers, pp. 241–248.
- [2] R. Melton, “Pacific northwest smart grid demonstration project technology performance report volume 1: Technology performance,” Pacific Northwest National Lab. Richland, WA, USA., Tech. Rep., 2015.
- [3] F. C. Schweppe, R. D. Tabors, J. L. Kirtley, H. R. Outhred, F. H. Pickel, and A. J. Cox, “Homeostatic utility control,” IEEE Transactions on Power Apparatus and Systems, no. 3, pp. 1151–1163, 1980.
- [4] “Global energy review 2020,” IEA, Paris, Tech. Rep. [Online]. Available: https://www.iea.org/reports/global-energy-review-2020
- [5] “Tracking energy integration 2019,” IEA, Paris, Tech. Rep. [Online]. Available: https://www.iea.org/reports/tracking-energy-integration-2019
- [6] A. K. Bejestani, A. Annaswamy, and T. Samad, “A hierarchical transactive control architecture for renewables integration in smart grids: Analytical modeling and stability,” IEEE Transactions on Smart Grid, vol. 5, no. 4, pp. 2054–2065, 2014.
- [7] J. Knudsen, J. Hansen, and A. M. Annaswamy, “A dynamic market mechanism for the integration of renewables and demand response,” IEEE Transactions on Control Systems Technology, vol. 24, no. 3, pp. 940–955, 2015.
- [8] D. J. Shiltz and A. M. Annaswamy, “A practical integration of automatic generation control and demand response,” in 2016 American Control Conference (ACC). IEEE, 2016, pp. 6785–6790.
- [9] D. J. Shiltz, M. Cvetković, and A. M. Annaswamy, “An integrated dynamic market mechanism for real-time markets and frequency regulation,” IEEE Trans. Sustainable Energy, vol. 7, no. 2, pp. 875–885, 2016.
- [10] T. R. Nudell, M. Brignone, M. Robba, A. Bonfiglio, F. Delfino, and A. Annaswamy, “A dynamic market mechanism for combined heat and power microgrid energy management,” IFAC-PapersOnLine, vol. 50, no. 1, pp. 10 033–10 039, 2017.
- [11] D. D’Achiardi, E. Pilo, S. K. Mazumder, and A. M. Annaswamy, “Transactive control approach to trip optimization in electric railways,” in Proc. 58th IEEE Conf. Decision and Control (CDC). IEEE, 2019.
- [12] S. P. Sarma, S. K. Mazumder, and E. Pilo, “Cost-reducing optimization strategies of electrical trains,” in 4th IEEE Workshop on the Electronic Grid (eGRID), November 2019.
- [13] Y. Wang, B. Ning, F. Cao, B. De Schutter, and T. J. van den Boom, “A survey on optimal trajectory planning for train operations,” in 2011 IEEE Int. Conf. Service Operations, Logistics, and Informatics (SOLI). IEEE, pp. 589–594.
- [14] Y. Wang, B. Ning, T. Van den Boom, B. De Schutter et al., Optimal trajectory planning and train scheduling for urban rail transit systems. Springer, 2016.
- [15] E. Khmelnitsky, “On an optimal control problem of train operation,” IEEE Trans. Autom Control, vol. 45, no. 7, pp. 1257–1266, 2000.
- [16] R. Franke, P. Terwiesch, and M. Meyer, “An algorithm for the optimal control of the driving of trains,” in Proc. 39th IEEE Conf. Decision and Control (CDC), vol. 3. IEEE, 2000, pp. 2123–2128.
- [17] D. Eldredge and P. Houpt, “Trip optimizer for railroads,” in The Impact of Control Technology, T. Samad and A. Annaswamy, Eds., 2011. [Online]. Available: http://www.ieeecss.org/sites/ieeecss.org/files/documents/IoCT-Part2-20TripOptimizer-LR.pdf
- [18] O. N. Manzagol, “Power marketers are increasing their share of u.s. retail electricity sales,” U.S. Energy Information Agency (EIA), https://www.eia.gov/todayinenergy/detail.php?id=36415, Tech. Rep., June 2018.
- [19] E. Stuart, P. H. Larsen, J. P. Carvallo, C. A. Goldman, and D. Gilligan, “Us energy service company (esco) industry: Recent market trends,” 2016.
- [20] W. J. Davis, The tractive resistance of electric locomotives and cars. General Electric, 1926.
- [21] W. W. Hay, Railroad engineering. John Wiley & Sons, 1982, vol. 1.
- [22] T. M. Inc., “Matlab optimization toolbox,” Software, 2014.
- [23] F. C. Schweppe, M. C. Caramanis, R. D. Tabors, and R. E. Bohn, Spot pricing of electricity. Kluwer Academic Publishers, 1998.
- [24] P. Huang, J. Kalagnanam, R. Natarajan, D. Hammerstrom, R. Melton, M. Sharma, and R. Ambrosio, “Analytics and transactive control design for the pacific northwest smart grid demonstration project,” in 2010 First IEEE International Conference on Smart Grid Communications. IEEE, 2010, pp. 449–454.
- [25] G. LLC. Google earth pro v 7.3.2.5491. data sio, noaa, us navy, nga, gebco, ldeo-columbia, nsf. image landsat, copernicus. [Online]. Available: http://www.earth.google.com
- [26] Eversource. (2018) 2018 summary of eastern massachusetts electric rates for greater boston service area. [Online]. Available:
- [27] N. Grid. (2018, August) Electric propulstion rate (x-01). [Online]. Available:
- [28] E. Energy. (2018) Electric service rate 58. [Online]. Available:
- [29] ISO New England. (2017, 10) Pricing reports: Final real-time hourly lmps. [Online]. Available: https://www.iso-ne.com/isoexpress/web/reports/pricing/-/tree/lmps-rt-hourly-final
- [30] National Renewable Energy Laboratory. (2017, 10) System advisor model v 2017.9.5. [Online]. Available: https://sam.nrel.gov/content/downloads
- [31] B. Transportation, Bombardier High-Speed Trainsets, 1101 Parent Street, Saint-Bruno, Québec, Canada J3V 6E6, November 2001.
- [32] Amtrak, “Amtrak system timetable,” National Railroad Passenger Corporation, One Massachusetts Ave., N.W., Washington, DC 20001, Tech. Rep., June 2018.
- [33] D. Stichling, “mytracks - the gps-logger v 5.0.4,” iOS Application, May 2018.
- [34] M. Donaghy, “Mbta’s energy management program,” Presentation, January 2015.
[]David D’Achiardi is a Research Assistant at the Active-Adaptive Control Laboratory in the Department of Mechanical Engineering at the Massachusetts Institute of Technology (MIT). He received his M.S. in Mechanical Engineering in 2019 from MIT. Prior to that, he worked as a Mechanical Design Engineer at Tesla’s Gigafactory in Reno, Nevada. He received his B.S. in Mechanical Engineering and Economics in 2016 from MIT. David is a recipient of the 2017 Douglas and Sara Bailey Scholarship and the 2015 Carl G. Sontheimer Prize for Excellence in Innovation and Creativity in Design from the Department of Mechanical Engineering at MIT. His research interests include energy market design under high renewable power adoption and transactive control of electric railway systems with distributed energy resources.
[]Anuradha M. Annaswamy
is Founder and Director of the Active-Adaptive Control Laboratory in the Department of Mechanical Engineering at MIT. Her research interests span adaptive control theory and its applications to aerospace, automotive, and propulsion systems as well as cyber physical systems such as Smart Grids, Smart Cities, and Smart Infrastructures. Dr. Annaswamy is an author of over 100 journal publications and 250 conference publications, co-author of a graduate textbook on adaptive control, and co-editor of several cutting edge science and technology reports including Systems & Control for the future of humanity, research agenda: Current and future roles, impact and grand challenges (Annual Reviews in Control, 2016), Smart Grid Control: Overview and Research Opportunities (Springer, 2018), and Impact of Control Technology (IoCT-report 2011 and 2013).
Dr. Annaswamy has received several awards including the George Axelby (1986) and Control Systems Magazine (2010) best paper awards from the IEEE Control Systems Society (CSS), the Presidential Young Investigator award from NSF (1992), the Hans Fisher Senior Fellowship from the Institute for Advanced Study at the Technische Universität München (2008), the Donald Groen Julius Prize from the Institute of Mechanical Engineers (2008). Dr. Annaswamy has been elected to be a Fellow of the IEEE (2002) and IFAC (2017). She received a Distinguished Member Award and a Distinguished Lecturer Award from IEEE CSS in 2017.
Dr. Annaswamy is actively involved in IEEE, IEEE CSS, and IFAC. She has served as General Chair of the American Control Conference (2008) as well as the 2nd IFAC Conference on Cyber-Physical & Human Systems (2018). She is Deputy Editor of the Elsevier publication Annual Reviews in Control (2016-present). She has been a member of the IEEE Fellows Committee and the IEEE CSS Outreach Committee, and is the Chair of IEEE Smart Grid Meetings and Conferences. In IEEE CSS, she has served as Vice President of Conference Activities (2015-16) and Technical Activities (2017-18), and will serve as the President in 2020.
[
]Sudip K. Mazumder received the Ph.D. degree in electrical and computer engineering from Virginia Tech, Blacksburg, VA, USA, in 2001 and M.S. degree in electrical power engineering from Rensselaer Polytechnic Institute, Troy, NY, USA, in 1993. He is a Professor and Director of the Laboratory for Energy and Switching-Electronic Systems at the University of Illinois at Chicago (UIC), USA, since 2001 and is the President of NextWatt LLC since 2008. He has about 30 years of professional experience and has held R&D and design positions in leading industrial organizations and has served as a Technical Consultant for several industries. His current areas of research interests are advanced control of power/energy systems and wide-bandgap power electronics and devices.
He has published more than 225 refereed papers, delivered 100 keynote/plenary/distinguished/invited presentations, and received and carried out over 50 sponsored research since joining UIC. At the University of Illinois, he is the recipient of Distinguished Researcher of the Year Award (2020), Inventor of the Year Award (2014), and University Scholar Award – highest award of the university (2013). He also received the ONR YIP and NSF CAREER Awards (2005, 2003), and 5 IEEE Awards.
In 2016, he was elevated to the rank of an IEEE Fellow. He also served as a Distinguished Lecturer for IEEE Power Electronics Society (PELS) between 2016-2019. Since 2019, he is also the EiC-at-Large for IEEE Transactions on Power Electronics, the leading journal in power electronics in the world. Currently, he is a Member-at-Large and AdCom Member for IEEE PELS and serves as the Chair for IEEE PELS Technical Committee on Sustainable Energy Systems as well. He is the Chair for 2021 IEEE Power Electronics for Distributed Generation Conference (PEDG’21).
[]Eduardo Pilo
received his PhD degree in ICAI (Engineering School of the Pont. Univ. of Comillas, Madrid, Spain) in 2003. From 2003 to 2010, he served as a researcher in the Institute for Research in Technology (Comillas), where he was in charge of all the research projects related with railway power systems. From 2010 to 2012, he worked for the electrical industry as a consultant of the company Multitest09. In 2012, he founded his own company, EPRail, focused on providing research and consultancy services in the field of power systems and railways. From Jun 2013 to Jul 2014, he also served in the Univ. of Illinois at Chicago as a Visiting Professor and Research Scientist. Starting in May 2019, he currently serves as a full-time professor in the Universidad Francisco de Vitoria (Madrid, Spain).
His expertise comprises the modelling, simulation and analysis of railway power systems, including their interrelations with transmission & distribution grids. He has conducted research and consultancy for major companies in the railway sector (such as ADIF, Renfe, ACS, Red Eléctrica de España, Bombardier, etc.) and public bodies (Ministry of Public Works, European Commission, etc.). He has co-authored 40+ journal and conference articles and book chapters in this field. In 2010, he was awarded with the 10th Talgo Prize for Technological Innovation.