Difference between revisions of "Direct Current Transmission Heating Problem"
Line 44: | Line 44: | ||
</p> | </p> | ||
− | For the examples in this article, we will assume the conductor to be solid copper surrounded by a | + | For the examples in this article, we will assume the conductor to be solid copper surrounded by a layer of [https://en.wikipedia.org/wiki/Cross-linked_polyethylene cross-linked polyethylene] with a thermal conductivity of approximately <math>0.51 W / (m \cdot K)</math>. We will assume the insulator to be <math>1 cm</math> thick. Thus, <math>q = 51 W / (m^2 K)</math>. |
== Mathematical formulation == | == Mathematical formulation == | ||
− | For <math> | + | Let <math>G = (V, A)</math> a directed graph with vertex set <math>V</math> and arc set <math>A</math>. Let <math>P, C \subset V</math> be disjoint subsets of the vertex set. <math>P</math> serves as the set of producer nodes while <math>C</math> serves as the set of consumers. For <math>c \in C</math> let <math>d_c</math> denote the power demand for <math>c</math>. For <math>v \in V \setminus C</math>, let <math>d_v = 0</math>. |
+ | |||
+ | The resulting optimal control problem is given by | ||
<p> | <p> | ||
<math> | <math> | ||
\begin{array}{llcl} | \begin{array}{llcl} | ||
− | \displaystyle \min_{x, w} & | + | \displaystyle \min_{x, w} & \int_{t_0}^{t_f} \sum_{a \in A} P_1^a(t) \,\mathrm{d} t \\[1.5ex] |
− | \mbox{s.t.} & \dot{ | + | \mbox{s.t.} & \dot{T}^a(t) & = & x_0(t) - x_0(t) x_1(t) - \; c_0 x_0(t) \; w(t), \\ |
& \dot{x}_1(t) & = & - x_1(t) + x_0(t) x_1(t) - \; c_1 x_1(t) \; w(t), \\ | & \dot{x}_1(t) & = & - x_1(t) + x_0(t) x_1(t) - \; c_1 x_1(t) \; w(t), \\ | ||
& \dot{x}_2(t) & = & (x_0(t) - 1)^2 + (x_1(t) - 1)^2, \\[1.5ex] | & \dot{x}_2(t) & = & (x_0(t) - 1)^2 + (x_1(t) - 1)^2, \\[1.5ex] |
Revision as of 23:27, 7 December 2015
Direct Current Transmission Heating Problem | |
---|---|
State dimension: | 1 |
Differential states: | 3 |
Discrete control functions: | 1 |
Interior point equalities: | 3 |
The direct current transfer heating problem models a simplified flow of direct electrical current within an electrical network with defined producers and consumers of electrical power. The model includes heating and cooling that occurs in electrical conductors due to specific resistance and heat exchange with the surrounding air. An optimal strategy for regulating the power production of individual producers as well as voltages and currents on specific conductors with the goal of minimizing the net power loss due to heating on all power lines over a fixed time horizon while fully supplying all consumers.
The model is largely assembled from well-known basic descriptions of phenomena easily accessible to the audience of high-school level physics courses. Mainly, these are Ohm's law, electrical resistivity, Joule heating and thermal conductivity. Note that changes of resistivity with respect to conductor temperature are taken into account.
Contents
Physical background
The aim of the controller in this model is to provide all consumers with their required amount of electric power. Electric power is given by the product of voltage and current . The electric power is brought to the consumers from producers via a network of power lines. Producers are assumed to have the capability of accurately regulating their power output within a certain range. Power lines are assumed to be solid blocks of an electrically conductive material surrounded by a layer of insulating material. Their cross-section is assumed to be constant along the entire length of the power line. Since both heating and power loss increase with current but not with voltage, it is always preferable to transfer direct current at the highest possible voltage which is allowed by the design of the power line. Therefore, only the electrical current is considered as a control.
The power loss in a power line is given by where
is the resistance of the power line which is derived from the resistivity of the conductor using the formula
where is the resistivity of the conductor,
is the length of the conductor and
is the the cross-sectional area of the conducting material within the power line. Resistivity is assumed to vary exponentially with the temperature of the conducting material, meaning that
where
is the resistivity of the conducting material at room temperature (which is defined as
) and
is a material-specific dimensionless constant. This causes a steady power loss of
The lost energy is transformed into heat which raises the temperature of the conductor. As the conductor is now hotter than the air surrounding its layer of insulating material, heat is steadily lost at a rate determined by the temperature difference, the conductors surface area and the insulating material's heat conductivity. The heat loss is given by
where is the ratio between the isolating material's thermal conductivity and its thickness,
is the surface area of the power line and
is the difference between the conductor's temperature and the surrounding air's temperature (which we will assume to be the same as room temperature, i.e.
). In summary, the rate at which the heat stored in a power line changes is given by
where is the circumference of the cross-section of the power line. Assuming constant density, we can use the conducting materials volume-specific heat capacity which we will refer to as
, we can calculate the change in temperature from the change in heat:
For the examples in this article, we will assume the conductor to be solid copper surrounded by a layer of cross-linked polyethylene with a thermal conductivity of approximately . We will assume the insulator to be
thick. Thus,
.
Mathematical formulation
Let a directed graph with vertex set
and arc set
. Let
be disjoint subsets of the vertex set.
serves as the set of producer nodes while
serves as the set of consumers. For
let
denote the power demand for
. For
, let
.
The resulting optimal control problem is given by
Here the differential states describe the biomasses of prey and predator, respectively. The third differential state is used here to transform the objective, an integrated deviation, into the Mayer formulation
. The decision, whether the fishing fleet is actually fishing at time
is denoted by
.
Parameters
These fixed values are used within the model.
Reference Solutions
If the problem is relaxed, i.e., we demand that be in the continuous interval
instead of the binary choice
, the optimal solution can be determined by means of Pontryagins maximum principle. The optimal solution contains a singular arc, as can be seen in the plot of the optimal control. The two differential states and corresponding adjoint variables in the indirect approach are also displayed. A different approach to solving the relaxed problem is by using a direct method such as collocation or Bock's direct multiple shooting method. Optimal solutions for different control discretizations are also plotted in the leftmost figure.
The optimal objective value of this relaxed problem is . As follows from MIOC theory<bibref>Sager2008</bibref> this is the best lower bound on the optimal value of the original problem with the integer restriction on the control function. In other words, this objective value can be approximated arbitrarily close, if the control only switches often enough between 0 and 1. As no optimal solution exists, two suboptimal ones are shown, one with only two switches and an objective function value of
, and one with 56 switches and
.
- Reference solution plots
Source Code
Model descriptions are available in
- AMPL code at Lotka Volterra fishing problem (AMPL)
- C code at Lotka Volterra fishing problem (C)
- optimica code at Lotka Volterra fishing problem (optimica)
- JuMP code at Lotka Volterra fishing problem (JuMP)
- Muscod code at Lotka Volterra fishing problem (Muscod)
- ACADO code at Lotka Volterra fishing problem (ACADO)
- VPLAN code at Lotka Volterra fishing problem (VPLAN)
- Casadi code at Lotka Volterra fishing problem (Casadi)
- GloOptCon code at Lotka Volterra fishing problem (GloOptCon)
- switch code at Lotka Volterra fishing problem (switch)
Variants
There are several alternative formulations and variants of the above problem, in particular
- a prescribed time grid for the control function <bibref>Sager2006</bibref>, see also Lotka Volterra fishing problem (AMPL),
- a time-optimal formulation to get into a steady-state <bibref>Sager2005</bibref>,
- the usage of a different target steady-state, as the one corresponding to
which is
,
- different fishing control functions for the two species,
- different parameters and start values.
Miscellaneous and Further Reading
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper <bibref>Sager2006</bibref> and revisited in his PhD thesis <bibref>Sager2005</bibref>. These are also the references to look for more details.
References
<bibreferences/>