<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mintoc.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=AndreasPotschka</id>
	<title>mintOC - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://mintoc.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=AndreasPotschka"/>
	<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Special:Contributions/AndreasPotschka"/>
	<updated>2026-06-09T09:04:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://mintoc.de/index.php?title=Template:Current_News&amp;diff=2290</id>
		<title>Template:Current News</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Template:Current_News&amp;diff=2290"/>
		<updated>2019-04-23T12:13:57Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: News flash for Transmission Lines&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;background:#EEEEFF;&amp;quot;&lt;br /&gt;
&amp;lt;!-- Add news below this comment --&amp;gt;&lt;br /&gt;
{{News|2019/3/14| Added multiple control problems with [[:Category: Gekko | Python GEKKO]] implementation}}&lt;br /&gt;
{{News|2018/9/12| Added [[Control of Transmission Lines]] problem}}&lt;br /&gt;
{{News|2016/7/26 | Added [[Industrial robot]] problem}}&lt;br /&gt;
{{News|2016/7/24 | Added [[Continuously Stirred Tank Reactor problem | CSTR problem]]}}&lt;br /&gt;
{{News|2016/6/30 | Added [[Electric Car]] problem}}&lt;br /&gt;
{{News|2016/5/5| Added multiple control problems with [[:Category: AMPL/TACO | AMPL with TACO]] implementation}}&lt;br /&gt;
{{News|2016/2/23|Added [[Control of Heat Equation with Actuator Placement | Actuator Placement]] control problem and [[:Category:Elliptic | Elliptic]], [[:Category:Parabolic | Parabolic]] and [[:Category:Hyperbolic | Hyperbolic]] categories}}&lt;br /&gt;
&amp;lt;!-- Add news above this comment --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Text within the following tag is not shown when this page is included in a different page (e.g. the main page, &amp;quot;News&amp;quot; section --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt; &lt;br /&gt;
== Older news ==&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;background:#eaecd0;&amp;quot;&lt;br /&gt;
&amp;lt;!-- Copy old news below this comment --&amp;gt;&lt;br /&gt;
{{News|2016/1/10|Added [[Van der Pol Oscillator]], [[Batch reactor]], [[Cushioned Oscillation]] and [[Goddart&#039;s rocket problem]] control problems}}&lt;br /&gt;
{{News|2015/11/10|Moved mintoc.de to a new server}}&lt;br /&gt;
{{News|2012/09/01|Added the [[Lotka Experimental Design]] and a [[:Category:Optimum Experimental Design | category for experimental design problems]]}}&lt;br /&gt;
{{News|2011/09/29|Added the [[:Category:AMPL/TACO | first set of AMPL optimal control problems]] using the TACO toolkit}}&lt;br /&gt;
{{News|2010/11/21|Added New York [[Subway ride]] control problem}}&lt;br /&gt;
{{News|2010/11/18|Extended description of [[:Category:Problem characterization | problem characterization]]}}&lt;br /&gt;
{{News|2010/11/18|Description of benchmark library as [http://mathopt.de/PUBLICATIONS/Sager2011b.pdf pdf file] preprint}}&lt;br /&gt;
{{News|2010/08/16|Added [[Bang-bang approximation of a traveling wave]] 1D PDE example}}&lt;br /&gt;
{{News|2010/02/11|Launch of EU project [http://embocon.org embocon.org]}}&lt;br /&gt;
{{News|2009/11/20|Added [[External Links]] page}}&lt;br /&gt;
{{News|2009/10/26|Revision and Correction of several [[:Category:Optimica | optimica]] models}}&lt;br /&gt;
{{News|2009/08/26|Knitro solution for [[F-8 aircraft (AMPL)]]}}&lt;br /&gt;
{{News|2009/08/11|[[F-8 aircraft]] new local minimum found with [[:Category:Optimica | optimica]]/ipopt}}&lt;br /&gt;
{{News|2009/07/31|New category [[:Category:Optimica | optimica]] introduced}}&lt;br /&gt;
{{News|2009/07/07|[[:Category:AMPL]] revised page with discretized MINLPs in AMPL format}}&lt;br /&gt;
&amp;lt;!-- Add news above this comment --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Adding items ==&lt;br /&gt;
If you want to add events you have to edit this page. At the top of the page you will see something like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{| style=&amp;quot;background:#EEEEFF;&amp;quot;&lt;br /&gt;
&amp;lt;!-- Add items below this comment --&amp;gt;&lt;br /&gt;
{{News|2008/08/14, 15:15|Presentation of the restructured group wiki in the group meeting, room 432.}}&lt;br /&gt;
&amp;lt;!-- Add items above this comment --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add a new item you have to enter a line of the form:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{{News|date|content}}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
where &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; is the date and &amp;lt;code&amp;gt;content&amp;lt;/code&amp;gt; is the subject and further information. The field &amp;lt;code&amp;gt;News&amp;lt;/code&amp;gt; is mandatory. Please write the &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; in the format &#039;&#039;&#039;YYYY/MM/DD, HH:MM&#039;&#039;&#039; to keep it nice and clean. The field &amp;lt;code&amp;gt;content&amp;lt;/code&amp;gt; can contain any information you like (but please keep it short) and even wiki syntax is possible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Please keep the items in a chronological order and remove older ones to keep the list short.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:News]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2252</id>
		<title>Control of Transmission Lines</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2252"/>
		<updated>2018-09-13T07:38:15Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: /* Reference Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This problem was provided by Göttlich, Potschka, and Teuber &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt;. It is governed by a 2x2-system of conservation laws based on the telegraph equations for single transmission lines, which are then connected to form a network. The objective is to minimize the quadratic deviation of the load delivered to customer nodes from their demand by continuously controlling the power inflow to the network at the energy producer nodes and by discrete but time-varying switches at the coupling nodes inside the network.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
The dynamics on the &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-th transmission line with spatial variable &amp;lt;math&amp;gt;x \in [0, l_r]&amp;lt;/math&amp;gt;, temporal variable &amp;lt;math&amp;gt;t \in [0, T]&amp;lt;/math&amp;gt;, and state variable &amp;lt;math&amp;gt;\xi_r(x,t) = (\xi^+_r(x, t), \xi^-_r(x, t))&amp;lt;/math&amp;gt; containing the characteristic variables for right-traveling and left-traveling components are given by the hyperbolic PDE system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \xi_r(x,t) + \Lambda_r \xi_r(x,t) + B_r \xi_r(x,t) = 0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
with a diagonal 2x2-matrix &amp;lt;math&amp;gt;\Lambda_r&amp;lt;/math&amp;gt; and a symmetric matrix &amp;lt;math&amp;gt;B_r&amp;lt;/math&amp;gt;. We combine all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; single line states to a large state vector &amp;lt;math&amp;gt;\boldsymbol{\xi}(x,t)&amp;lt;/math&amp;gt; to obtain the system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \boldsymbol{\xi} + \boldsymbol{\Lambda} \partial_x \boldsymbol{\xi} + \mathbf{B} \boldsymbol{\xi} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
and formulate the coupling between the lines and the continuously controlled power inflow &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; as boundary conditions involving distribution matrices &amp;lt;math&amp;gt;\mathbf{D}^\pm(v)&amp;lt;/math&amp;gt;, which depend on a discrete switching signal &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt;, and constant matrices &amp;lt;math&amp;gt;\mathbf{\Lambda}^\pm&amp;lt;/math&amp;gt; of size &amp;lt;math&amp;gt;m \times m&amp;lt;/math&amp;gt; according to&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \mathbf{D}^-(\boldsymbol{v}(t))&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(0,t) = &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\mathbf{D}^+(\boldsymbol{v}(t)) &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \boldsymbol{\Lambda}^-&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(l,t) + &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; 0&lt;br /&gt;
\end{pmatrix} \boldsymbol{u}(t).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
The continuous control &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; is subject to simple bounds.&lt;br /&gt;
&lt;br /&gt;
The objective is to track the given demands &amp;lt;math&amp;gt;Q_s(t)&amp;lt;/math&amp;gt; of consumers, which can be formulated as &lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \displaystyle \min_{\boldsymbol{v} \in \mathcal{V}, \boldsymbol{u} \in \mathcal{U}} \frac{1}{2}\sum_{s \in V_S} \int_0^{T} \left( Q_s(t) - \sum_{r \in \delta_{s}} \xi_r^+(l_r,t) \right)^2 dt,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_S&amp;lt;/math&amp;gt; is the set of consumer nodes and &amp;lt;math&amp;gt;\delta_s&amp;lt;/math&amp;gt; is the set of all lines adjacent to vertex &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
A detailed account of the network structures and parameter settings can be found in &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt; and in the source code below.&lt;br /&gt;
&lt;br /&gt;
== Discretization ==&lt;br /&gt;
&lt;br /&gt;
The mixed-integer variables &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt; are transcribed via Partial Outer Convexification and the dynamics are discretized using Finite Volumes with upwind fluxes for the characteristic variables and explicit first-order time-stepping.&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
We consider an extended tree network with 2 producers, 5 consumers and real-world demand data.&lt;br /&gt;
After partial outer convexification (POC) and discretization, Ipopt delivers an NLP solution with objective value 2.804 and the following relaxed POC multipliers:&lt;br /&gt;
[[File:translines_relaxed_control.png|500px|Relaxed POC multipliers for switched controls]]&lt;br /&gt;
&lt;br /&gt;
Sum-Up Rounding with SOS1-constraint delivers the following integer feasible POC multipliers:&lt;br /&gt;
[[File:translines_switched_control.png|500px|POC multipliers for switched controls after Sum-Up-SOS1-Rounding]]&lt;br /&gt;
&lt;br /&gt;
Reoptimization with fixed Sum-Up Rounding decisions delivers an objective value of 3.152 and the following controls:&lt;br /&gt;
[[File:translines_cont_control.png|500px|Continuous controls]]&lt;br /&gt;
&lt;br /&gt;
The next figure compares the consumer demands (red) with the obtained power delivery (blue).&lt;br /&gt;
[[File:translines_demand_delivery.png|500px|Demand and delivery]]&lt;br /&gt;
&lt;br /&gt;
==Source Code==&lt;br /&gt;
&lt;br /&gt;
The C++ code for the results in the paper is not publicly available, but a more user-friendly Python/CasADi-Version (without dwell-time constraints) is available on [https://github.com/apotschka/poc-transmission-lines GitHub/poc-transmission-lines].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:PDE model]]&lt;br /&gt;
[[Category:Hyperbolic]]&lt;br /&gt;
[[Category:Tracking objective]]&lt;br /&gt;
[[Category:Mesh-dependent integer variables]]&lt;br /&gt;
[[Category:Energy Networks]]&lt;br /&gt;
[[Category:Mesh-independent integer variables]]&lt;br /&gt;
[[Category:Casadi]]&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2251</id>
		<title>Control of Transmission Lines</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2251"/>
		<updated>2018-09-13T07:37:15Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: /* Reference Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This problem was provided by Göttlich, Potschka, and Teuber &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt;. It is governed by a 2x2-system of conservation laws based on the telegraph equations for single transmission lines, which are then connected to form a network. The objective is to minimize the quadratic deviation of the load delivered to customer nodes from their demand by continuously controlling the power inflow to the network at the energy producer nodes and by discrete but time-varying switches at the coupling nodes inside the network.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
The dynamics on the &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-th transmission line with spatial variable &amp;lt;math&amp;gt;x \in [0, l_r]&amp;lt;/math&amp;gt;, temporal variable &amp;lt;math&amp;gt;t \in [0, T]&amp;lt;/math&amp;gt;, and state variable &amp;lt;math&amp;gt;\xi_r(x,t) = (\xi^+_r(x, t), \xi^-_r(x, t))&amp;lt;/math&amp;gt; containing the characteristic variables for right-traveling and left-traveling components are given by the hyperbolic PDE system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \xi_r(x,t) + \Lambda_r \xi_r(x,t) + B_r \xi_r(x,t) = 0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
with a diagonal 2x2-matrix &amp;lt;math&amp;gt;\Lambda_r&amp;lt;/math&amp;gt; and a symmetric matrix &amp;lt;math&amp;gt;B_r&amp;lt;/math&amp;gt;. We combine all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; single line states to a large state vector &amp;lt;math&amp;gt;\boldsymbol{\xi}(x,t)&amp;lt;/math&amp;gt; to obtain the system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \boldsymbol{\xi} + \boldsymbol{\Lambda} \partial_x \boldsymbol{\xi} + \mathbf{B} \boldsymbol{\xi} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
and formulate the coupling between the lines and the continuously controlled power inflow &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; as boundary conditions involving distribution matrices &amp;lt;math&amp;gt;\mathbf{D}^\pm(v)&amp;lt;/math&amp;gt;, which depend on a discrete switching signal &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt;, and constant matrices &amp;lt;math&amp;gt;\mathbf{\Lambda}^\pm&amp;lt;/math&amp;gt; of size &amp;lt;math&amp;gt;m \times m&amp;lt;/math&amp;gt; according to&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \mathbf{D}^-(\boldsymbol{v}(t))&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(0,t) = &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\mathbf{D}^+(\boldsymbol{v}(t)) &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \boldsymbol{\Lambda}^-&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(l,t) + &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; 0&lt;br /&gt;
\end{pmatrix} \boldsymbol{u}(t).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
The continuous control &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; is subject to simple bounds.&lt;br /&gt;
&lt;br /&gt;
The objective is to track the given demands &amp;lt;math&amp;gt;Q_s(t)&amp;lt;/math&amp;gt; of consumers, which can be formulated as &lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \displaystyle \min_{\boldsymbol{v} \in \mathcal{V}, \boldsymbol{u} \in \mathcal{U}} \frac{1}{2}\sum_{s \in V_S} \int_0^{T} \left( Q_s(t) - \sum_{r \in \delta_{s}} \xi_r^+(l_r,t) \right)^2 dt,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_S&amp;lt;/math&amp;gt; is the set of consumer nodes and &amp;lt;math&amp;gt;\delta_s&amp;lt;/math&amp;gt; is the set of all lines adjacent to vertex &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
A detailed account of the network structures and parameter settings can be found in &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt; and in the source code below.&lt;br /&gt;
&lt;br /&gt;
== Discretization ==&lt;br /&gt;
&lt;br /&gt;
The mixed-integer variables &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt; are transcribed via Partial Outer Convexification and the dynamics are discretized using Finite Volumes with upwind fluxes for the characteristic variables and explicit first-order time-stepping.&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
We consider an extended tree network with 2 producers, 5 consumers and real-world demand data.&lt;br /&gt;
After partial outer convexification (POC) and discretization, Ipopt delivers an NLP solution with objective value 2.804 and the following relaxed POC multipliers:&lt;br /&gt;
[[File:translines_relaxed_control.png|500px|Relaxed POC multipliers for switched controls]]&lt;br /&gt;
&lt;br /&gt;
Sum-Up Rounding with SOS1-constraint delivers the following integer feasible POC multipliers:&lt;br /&gt;
[[File:translines_switched_control.png|500px|POC multipliers for switched controls after Sum-Up-SOS1-Rounding]]&lt;br /&gt;
&lt;br /&gt;
Reoptimization with fixed Sum-Up Rounding decisions delivers an objective value of 3.152 and the following controls:&lt;br /&gt;
[[File:translines_cont_control.png|500px|Continuous controls]]&lt;br /&gt;
&lt;br /&gt;
The next figure compares the consumer demands with the obtained power delivery.&lt;br /&gt;
[[File:translines_demand_delivery.png|500px|Demand and delivery]]&lt;br /&gt;
&lt;br /&gt;
==Source Code==&lt;br /&gt;
&lt;br /&gt;
The C++ code for the results in the paper is not publicly available, but a more user-friendly Python/CasADi-Version (without dwell-time constraints) is available on [https://github.com/apotschka/poc-transmission-lines GitHub/poc-transmission-lines].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:PDE model]]&lt;br /&gt;
[[Category:Hyperbolic]]&lt;br /&gt;
[[Category:Tracking objective]]&lt;br /&gt;
[[Category:Mesh-dependent integer variables]]&lt;br /&gt;
[[Category:Energy Networks]]&lt;br /&gt;
[[Category:Mesh-independent integer variables]]&lt;br /&gt;
[[Category:Casadi]]&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2250</id>
		<title>Control of Transmission Lines</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2250"/>
		<updated>2018-09-13T07:32:32Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This problem was provided by Göttlich, Potschka, and Teuber &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt;. It is governed by a 2x2-system of conservation laws based on the telegraph equations for single transmission lines, which are then connected to form a network. The objective is to minimize the quadratic deviation of the load delivered to customer nodes from their demand by continuously controlling the power inflow to the network at the energy producer nodes and by discrete but time-varying switches at the coupling nodes inside the network.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
The dynamics on the &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-th transmission line with spatial variable &amp;lt;math&amp;gt;x \in [0, l_r]&amp;lt;/math&amp;gt;, temporal variable &amp;lt;math&amp;gt;t \in [0, T]&amp;lt;/math&amp;gt;, and state variable &amp;lt;math&amp;gt;\xi_r(x,t) = (\xi^+_r(x, t), \xi^-_r(x, t))&amp;lt;/math&amp;gt; containing the characteristic variables for right-traveling and left-traveling components are given by the hyperbolic PDE system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \xi_r(x,t) + \Lambda_r \xi_r(x,t) + B_r \xi_r(x,t) = 0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
with a diagonal 2x2-matrix &amp;lt;math&amp;gt;\Lambda_r&amp;lt;/math&amp;gt; and a symmetric matrix &amp;lt;math&amp;gt;B_r&amp;lt;/math&amp;gt;. We combine all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; single line states to a large state vector &amp;lt;math&amp;gt;\boldsymbol{\xi}(x,t)&amp;lt;/math&amp;gt; to obtain the system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \boldsymbol{\xi} + \boldsymbol{\Lambda} \partial_x \boldsymbol{\xi} + \mathbf{B} \boldsymbol{\xi} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
and formulate the coupling between the lines and the continuously controlled power inflow &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; as boundary conditions involving distribution matrices &amp;lt;math&amp;gt;\mathbf{D}^\pm(v)&amp;lt;/math&amp;gt;, which depend on a discrete switching signal &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt;, and constant matrices &amp;lt;math&amp;gt;\mathbf{\Lambda}^\pm&amp;lt;/math&amp;gt; of size &amp;lt;math&amp;gt;m \times m&amp;lt;/math&amp;gt; according to&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \mathbf{D}^-(\boldsymbol{v}(t))&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(0,t) = &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\mathbf{D}^+(\boldsymbol{v}(t)) &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \boldsymbol{\Lambda}^-&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(l,t) + &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; 0&lt;br /&gt;
\end{pmatrix} \boldsymbol{u}(t).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
The continuous control &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; is subject to simple bounds.&lt;br /&gt;
&lt;br /&gt;
The objective is to track the given demands &amp;lt;math&amp;gt;Q_s(t)&amp;lt;/math&amp;gt; of consumers, which can be formulated as &lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \displaystyle \min_{\boldsymbol{v} \in \mathcal{V}, \boldsymbol{u} \in \mathcal{U}} \frac{1}{2}\sum_{s \in V_S} \int_0^{T} \left( Q_s(t) - \sum_{r \in \delta_{s}} \xi_r^+(l_r,t) \right)^2 dt,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_S&amp;lt;/math&amp;gt; is the set of consumer nodes and &amp;lt;math&amp;gt;\delta_s&amp;lt;/math&amp;gt; is the set of all lines adjacent to vertex &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
A detailed account of the network structures and parameter settings can be found in &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt; and in the source code below.&lt;br /&gt;
&lt;br /&gt;
== Discretization ==&lt;br /&gt;
&lt;br /&gt;
The mixed-integer variables &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt; are transcribed via Partial Outer Convexification and the dynamics are discretized using Finite Volumes with upwind fluxes for the characteristic variables and explicit first-order time-stepping.&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
We consider an extended tree network with 2 producers, 4 consumers and real-world demand data.&lt;br /&gt;
After partial outer convexification (POC) and discretization, Ipopt delivers an NLP solution with objective value 2.804 and the following relaxed POC multipliers:&lt;br /&gt;
[[File:translines_relaxed_control.png|500px|Relaxed POC multipliers for switched controls]]&lt;br /&gt;
&lt;br /&gt;
Sum-Up Rounding with SOS1-constraint delivers the following integer feasible POC multipliers:&lt;br /&gt;
[[File:translines_switched_control.png|500px|POC multipliers for switched controls after Sum-Up-SOS1-Rounding]]&lt;br /&gt;
&lt;br /&gt;
Reoptimization with fixed Sum-Up Rounding decisions delivers an objective value of 3.152 and the following controls:&lt;br /&gt;
[[File:translines_cont_control.png|500px|Continuous controls]]&lt;br /&gt;
&lt;br /&gt;
The next figure compares the consumer demands with the obtained power delivery.&lt;br /&gt;
[[File:translines_demand_delivery.png|500px|Demand and delivery]]&lt;br /&gt;
&lt;br /&gt;
==Source Code==&lt;br /&gt;
&lt;br /&gt;
The C++ code for the results in the paper is not publicly available, but a more user-friendly Python/CasADi-Version (without dwell-time constraints) is available on [https://github.com/apotschka/poc-transmission-lines GitHub/poc-transmission-lines].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:PDE model]]&lt;br /&gt;
[[Category:Hyperbolic]]&lt;br /&gt;
[[Category:Tracking objective]]&lt;br /&gt;
[[Category:Mesh-dependent integer variables]]&lt;br /&gt;
[[Category:Energy Networks]]&lt;br /&gt;
[[Category:Mesh-independent integer variables]]&lt;br /&gt;
[[Category:Casadi]]&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Translines_cont_control.png&amp;diff=2249</id>
		<title>File:Translines cont control.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Translines_cont_control.png&amp;diff=2249"/>
		<updated>2018-09-12T14:46:04Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: Add description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Control of Transmission Lines: Continuous controls after SUR-SOS1.&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2248</id>
		<title>Control of Transmission Lines</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2248"/>
		<updated>2018-09-12T14:44:06Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: /* Reference Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This problem was provided by Göttlich, Potschka, and Teuber &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt;. It is governed by a 2x2-system of conservation laws based on the telegraph equations for single transmission lines, which are then connected to form a network. The objective is to minimize the quadratic deviation of the load delivered to customer nodes from their demand by continuously controlling the power inflow to the network at the energy producer nodes and by discrete but time-varying switches at the coupling nodes inside the network.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
The dynamics on the &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-th transmission line with spatial variable &amp;lt;math&amp;gt;x \in [0, l_r]&amp;lt;/math&amp;gt;, temporal variable &amp;lt;math&amp;gt;t \in [0, T]&amp;lt;/math&amp;gt;, and state variable &amp;lt;math&amp;gt;\xi_r(x,t) = (\xi^+_r(x, t), \xi^-_r(x, t))&amp;lt;/math&amp;gt; containing the characteristic variables for right-traveling and left-traveling components are given by the hyperbolic PDE system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \xi_r(x,t) + \Lambda_r \xi_r(x,t) + B_r \xi_r(x,t) = 0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
with a diagonal 2x2-matrix &amp;lt;math&amp;gt;\Lambda_r&amp;lt;/math&amp;gt; and a symmetric matrix &amp;lt;math&amp;gt;B_r&amp;lt;/math&amp;gt;. We combine all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; single line states to a large state vector &amp;lt;math&amp;gt;\boldsymbol{\xi}(x,t)&amp;lt;/math&amp;gt; to obtain the system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \boldsymbol{\xi} + \boldsymbol{\Lambda} \partial_x \boldsymbol{\xi} + \mathbf{B} \boldsymbol{\xi} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
and formulate the coupling between the lines and the continuously controlled power inflow &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; as boundary conditions involving distribution matrices &amp;lt;math&amp;gt;\mathbf{D}^\pm(v)&amp;lt;/math&amp;gt;, which depend on a discrete switching signal &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt;, and constant distribution matrices &amp;lt;math&amp;gt;\mathbf{\Lambda}^\pm&amp;lt;/math&amp;gt; of size &amp;lt;math&amp;gt;m \times m&amp;lt;/math&amp;gt; according to&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \mathbf{D}^-(\boldsymbol{v}(t))&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(0,t) = &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\mathbf{D}^+(\boldsymbol{v}(t)) &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \boldsymbol{\Lambda}^-&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(l,t) + &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; 0&lt;br /&gt;
\end{pmatrix} \boldsymbol{u}(t).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
The continuous control &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; is subject to simple bounds.&lt;br /&gt;
&lt;br /&gt;
The objective is to track the given demands &amp;lt;math&amp;gt;Q_s(t)&amp;lt;/math&amp;gt; of consumers, which can be formulated as &lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \displaystyle \min_{\boldsymbol{v} \in \mathcal{V}, \boldsymbol{u} \in \mathcal{U}} \frac{1}{2}\sum_{s \in V_S} \int_0^{T} \left( Q_s(t) - \sum_{r \in \delta_{s}} \xi_r^+(l_r,t) \right)^2 dt,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_S&amp;lt;/math&amp;gt; is the set of consumer nodes and &amp;lt;math&amp;gt;\delta_s&amp;lt;/math&amp;gt; is the set of all lines adjacent to vertex &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
A detailed account of the network structures and parameter settings can be found in &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt; and in the source code below.&lt;br /&gt;
&lt;br /&gt;
== Discretization ==&lt;br /&gt;
&lt;br /&gt;
The mixed-integer variables &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt; are transcribed via Partial Outer Convexification and the dynamics are discretized using Finite Volumes with upwind fluxes for the characteristic variables and explicit first-order time-stepping.&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
We consider an extended tree network with 2 producers, 4 consumers and real-world demand data.&lt;br /&gt;
After partial outer convexification (POC) and discretization, Ipopt delivers an NLP solution with objective value 2.804 and the following relaxed POC multipliers:&lt;br /&gt;
[[File:translines_relaxed_control.png|500px|Relaxed POC multipliers for switched controls]]&lt;br /&gt;
&lt;br /&gt;
Sum-Up Rounding with SOS1-constraint delivers the following integer feasible POC multipliers:&lt;br /&gt;
[[File:translines_switched_control.png|500px|POC multipliers for switched controls after Sum-Up-SOS1-Rounding]]&lt;br /&gt;
&lt;br /&gt;
Reoptimization with fixed Sum-Up Rounding decisions delivers an objective value of 3.152 and the following controls:&lt;br /&gt;
[[File:translines_cont_control.png|500px|Continuous controls]]&lt;br /&gt;
&lt;br /&gt;
The next figure compares the consumer demands with the obtained power delivery.&lt;br /&gt;
[[File:translines_demand_delivery.png|500px|Demand and delivery]]&lt;br /&gt;
&lt;br /&gt;
==Source Code==&lt;br /&gt;
&lt;br /&gt;
The C++ code for the results in the paper is not publicly available, but a more user-friendly Python/CasADi-Version (without dwell-time constraints) is available on [https://github.com/apotschka/poc-transmission-lines GitHub/poc-transmission-lines].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:PDE model]]&lt;br /&gt;
[[Category:Hyperbolic]]&lt;br /&gt;
[[Category:Tracking objective]]&lt;br /&gt;
[[Category:Mesh-dependent integer variables]]&lt;br /&gt;
[[Category:Energy Networks]]&lt;br /&gt;
[[Category:Mesh-independent integer variables]]&lt;br /&gt;
[[Category:Casadi]]&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2247</id>
		<title>Control of Transmission Lines</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2247"/>
		<updated>2018-09-12T14:43:30Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: /* Reference Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This problem was provided by Göttlich, Potschka, and Teuber &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt;. It is governed by a 2x2-system of conservation laws based on the telegraph equations for single transmission lines, which are then connected to form a network. The objective is to minimize the quadratic deviation of the load delivered to customer nodes from their demand by continuously controlling the power inflow to the network at the energy producer nodes and by discrete but time-varying switches at the coupling nodes inside the network.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
The dynamics on the &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-th transmission line with spatial variable &amp;lt;math&amp;gt;x \in [0, l_r]&amp;lt;/math&amp;gt;, temporal variable &amp;lt;math&amp;gt;t \in [0, T]&amp;lt;/math&amp;gt;, and state variable &amp;lt;math&amp;gt;\xi_r(x,t) = (\xi^+_r(x, t), \xi^-_r(x, t))&amp;lt;/math&amp;gt; containing the characteristic variables for right-traveling and left-traveling components are given by the hyperbolic PDE system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \xi_r(x,t) + \Lambda_r \xi_r(x,t) + B_r \xi_r(x,t) = 0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
with a diagonal 2x2-matrix &amp;lt;math&amp;gt;\Lambda_r&amp;lt;/math&amp;gt; and a symmetric matrix &amp;lt;math&amp;gt;B_r&amp;lt;/math&amp;gt;. We combine all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; single line states to a large state vector &amp;lt;math&amp;gt;\boldsymbol{\xi}(x,t)&amp;lt;/math&amp;gt; to obtain the system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \boldsymbol{\xi} + \boldsymbol{\Lambda} \partial_x \boldsymbol{\xi} + \mathbf{B} \boldsymbol{\xi} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
and formulate the coupling between the lines and the continuously controlled power inflow &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; as boundary conditions involving distribution matrices &amp;lt;math&amp;gt;\mathbf{D}^\pm(v)&amp;lt;/math&amp;gt;, which depend on a discrete switching signal &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt;, and constant distribution matrices &amp;lt;math&amp;gt;\mathbf{\Lambda}^\pm&amp;lt;/math&amp;gt; of size &amp;lt;math&amp;gt;m \times m&amp;lt;/math&amp;gt; according to&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \mathbf{D}^-(\boldsymbol{v}(t))&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(0,t) = &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\mathbf{D}^+(\boldsymbol{v}(t)) &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \boldsymbol{\Lambda}^-&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(l,t) + &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; 0&lt;br /&gt;
\end{pmatrix} \boldsymbol{u}(t).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
The continuous control &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; is subject to simple bounds.&lt;br /&gt;
&lt;br /&gt;
The objective is to track the given demands &amp;lt;math&amp;gt;Q_s(t)&amp;lt;/math&amp;gt; of consumers, which can be formulated as &lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \displaystyle \min_{\boldsymbol{v} \in \mathcal{V}, \boldsymbol{u} \in \mathcal{U}} \frac{1}{2}\sum_{s \in V_S} \int_0^{T} \left( Q_s(t) - \sum_{r \in \delta_{s}} \xi_r^+(l_r,t) \right)^2 dt,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_S&amp;lt;/math&amp;gt; is the set of consumer nodes and &amp;lt;math&amp;gt;\delta_s&amp;lt;/math&amp;gt; is the set of all lines adjacent to vertex &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
A detailed account of the network structures and parameter settings can be found in &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt; and in the source code below.&lt;br /&gt;
&lt;br /&gt;
== Discretization ==&lt;br /&gt;
&lt;br /&gt;
The mixed-integer variables &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt; are transcribed via Partial Outer Convexification and the dynamics are discretized using Finite Volumes with upwind fluxes for the characteristic variables and explicit first-order time-stepping.&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
We consider an extended tree network with 2 producers, 4 consumers and real-world demand data.&lt;br /&gt;
After partial outer convexification (POC) and discretization, Ipopt delivers an NLP solution with objective value 2.804 and the following relaxed POC multipliers:&lt;br /&gt;
&lt;br /&gt;
[[File:translines_relaxed_control.png|800px|Relaxed POC multipliers for switched controls]]&lt;br /&gt;
&lt;br /&gt;
Sum-Up Rounding with SOS1-constraint delivers the following integer feasible POC multipliers:&lt;br /&gt;
&lt;br /&gt;
[[File:translines_switched_control.png|800px|POC multipliers for switched controls after Sum-Up-SOS1-Rounding]]&lt;br /&gt;
&lt;br /&gt;
Reoptimization with fixed Sum-Up Rounding decisions delivers an objective value of 3.152 and the following controls:&lt;br /&gt;
&lt;br /&gt;
[[File:translines_cont_control.png|800px|Continuous controls]]&lt;br /&gt;
&lt;br /&gt;
The next figure compares the consumer demands with the obtained power delivery.&lt;br /&gt;
&lt;br /&gt;
[[File:translines_demand_delivery.png|800px|Demand and delivery]]&lt;br /&gt;
&lt;br /&gt;
==Source Code==&lt;br /&gt;
&lt;br /&gt;
The C++ code for the results in the paper is not publicly available, but a more user-friendly Python/CasADi-Version (without dwell-time constraints) is available on [https://github.com/apotschka/poc-transmission-lines GitHub/poc-transmission-lines].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:PDE model]]&lt;br /&gt;
[[Category:Hyperbolic]]&lt;br /&gt;
[[Category:Tracking objective]]&lt;br /&gt;
[[Category:Mesh-dependent integer variables]]&lt;br /&gt;
[[Category:Energy Networks]]&lt;br /&gt;
[[Category:Mesh-independent integer variables]]&lt;br /&gt;
[[Category:Casadi]]&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Translines_relaxed_control.png&amp;diff=2246</id>
		<title>File:Translines relaxed control.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Translines_relaxed_control.png&amp;diff=2246"/>
		<updated>2018-09-12T14:37:29Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: Control of Transmission Lines: Optimal relaxed POC multipliers&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Control of Transmission Lines: Optimal relaxed POC multipliers&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2245</id>
		<title>Control of Transmission Lines</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2245"/>
		<updated>2018-09-12T14:35:33Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: Some results figures.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This problem was provided by Göttlich, Potschka, and Teuber &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt;. It is governed by a 2x2-system of conservation laws based on the telegraph equations for single transmission lines, which are then connected to form a network. The objective is to minimize the quadratic deviation of the load delivered to customer nodes from their demand by continuously controlling the power inflow to the network at the energy producer nodes and by discrete but time-varying switches at the coupling nodes inside the network.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
The dynamics on the &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-th transmission line with spatial variable &amp;lt;math&amp;gt;x \in [0, l_r]&amp;lt;/math&amp;gt;, temporal variable &amp;lt;math&amp;gt;t \in [0, T]&amp;lt;/math&amp;gt;, and state variable &amp;lt;math&amp;gt;\xi_r(x,t) = (\xi^+_r(x, t), \xi^-_r(x, t))&amp;lt;/math&amp;gt; containing the characteristic variables for right-traveling and left-traveling components are given by the hyperbolic PDE system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \xi_r(x,t) + \Lambda_r \xi_r(x,t) + B_r \xi_r(x,t) = 0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
with a diagonal 2x2-matrix &amp;lt;math&amp;gt;\Lambda_r&amp;lt;/math&amp;gt; and a symmetric matrix &amp;lt;math&amp;gt;B_r&amp;lt;/math&amp;gt;. We combine all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; single line states to a large state vector &amp;lt;math&amp;gt;\boldsymbol{\xi}(x,t)&amp;lt;/math&amp;gt; to obtain the system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \boldsymbol{\xi} + \boldsymbol{\Lambda} \partial_x \boldsymbol{\xi} + \mathbf{B} \boldsymbol{\xi} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
and formulate the coupling between the lines and the continuously controlled power inflow &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; as boundary conditions involving distribution matrices &amp;lt;math&amp;gt;\mathbf{D}^\pm(v)&amp;lt;/math&amp;gt;, which depend on a discrete switching signal &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt;, and constant distribution matrices &amp;lt;math&amp;gt;\mathbf{\Lambda}^\pm&amp;lt;/math&amp;gt; of size &amp;lt;math&amp;gt;m \times m&amp;lt;/math&amp;gt; according to&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \mathbf{D}^-(\boldsymbol{v}(t))&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(0,t) = &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\mathbf{D}^+(\boldsymbol{v}(t)) &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \boldsymbol{\Lambda}^-&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(l,t) + &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; 0&lt;br /&gt;
\end{pmatrix} \boldsymbol{u}(t).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
The continuous control &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; is subject to simple bounds.&lt;br /&gt;
&lt;br /&gt;
The objective is to track the given demands &amp;lt;math&amp;gt;Q_s(t)&amp;lt;/math&amp;gt; of consumers, which can be formulated as &lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \displaystyle \min_{\boldsymbol{v} \in \mathcal{V}, \boldsymbol{u} \in \mathcal{U}} \frac{1}{2}\sum_{s \in V_S} \int_0^{T} \left( Q_s(t) - \sum_{r \in \delta_{s}} \xi_r^+(l_r,t) \right)^2 dt,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_S&amp;lt;/math&amp;gt; is the set of consumer nodes and &amp;lt;math&amp;gt;\delta_s&amp;lt;/math&amp;gt; is the set of all lines adjacent to vertex &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
A detailed account of the network structures and parameter settings can be found in &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt; and in the source code below.&lt;br /&gt;
&lt;br /&gt;
== Discretization ==&lt;br /&gt;
&lt;br /&gt;
The mixed-integer variables &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt; are transcribed via Partial Outer Convexification and the dynamics are discretized using Finite Volumes with upwind fluxes for the characteristic variables and explicit first-order time-stepping.&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
[[File:translines_switched_control.png|800px|POC multipliers for switched controls]]&lt;br /&gt;
[[File:translines_cont_control.png|800px|Continuous controls]]&lt;br /&gt;
[[File:translines_demand_delivery.png|800px|Demand and delivery]]&lt;br /&gt;
&lt;br /&gt;
==Source Code==&lt;br /&gt;
&lt;br /&gt;
The C++ code for the results in the paper is not publicly available, but a more user-friendly Python/CasADi-Version (without dwell-time constraints) is available on [https://github.com/apotschka/poc-transmission-lines GitHub/poc-transmission-lines].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:PDE model]]&lt;br /&gt;
[[Category:Hyperbolic]]&lt;br /&gt;
[[Category:Tracking objective]]&lt;br /&gt;
[[Category:Mesh-dependent integer variables]]&lt;br /&gt;
[[Category:Energy Networks]]&lt;br /&gt;
[[Category:Mesh-independent integer variables]]&lt;br /&gt;
[[Category:Casadi]]&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Translines_demand_delivery.png&amp;diff=2244</id>
		<title>File:Translines demand delivery.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Translines_demand_delivery.png&amp;diff=2244"/>
		<updated>2018-09-12T14:29:45Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: Control of transmission lines: Demand and optimal delivery&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Control of transmission lines: Demand and optimal delivery&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Translines_switched_control.png&amp;diff=2243</id>
		<title>File:Translines switched control.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Translines_switched_control.png&amp;diff=2243"/>
		<updated>2018-09-12T14:28:48Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: Control of transmission lines: Switched controls&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Control of transmission lines: Switched controls&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Translines_cont_control.png&amp;diff=2242</id>
		<title>File:Translines cont control.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Translines_cont_control.png&amp;diff=2242"/>
		<updated>2018-09-12T14:27:20Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2241</id>
		<title>Control of Transmission Lines</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2241"/>
		<updated>2018-09-12T14:23:06Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This problem was provided by Göttlich, Potschka, and Teuber &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt;. It is governed by a 2x2-system of conservation laws based on the telegraph equations for single transmission lines, which are then connected to form a network. The objective is to minimize the quadratic deviation of the load delivered to customer nodes from their demand by continuously controlling the power inflow to the network at the energy producer nodes and by discrete but time-varying switches at the coupling nodes inside the network.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
The dynamics on the &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-th transmission line with spatial variable &amp;lt;math&amp;gt;x \in [0, l_r]&amp;lt;/math&amp;gt;, temporal variable &amp;lt;math&amp;gt;t \in [0, T]&amp;lt;/math&amp;gt;, and state variable &amp;lt;math&amp;gt;\xi_r(x,t) = (\xi^+_r(x, t), \xi^-_r(x, t))&amp;lt;/math&amp;gt; containing the characteristic variables for right-traveling and left-traveling components are given by the hyperbolic PDE system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \xi_r(x,t) + \Lambda_r \xi_r(x,t) + B_r \xi_r(x,t) = 0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
with a diagonal 2x2-matrix &amp;lt;math&amp;gt;\Lambda_r&amp;lt;/math&amp;gt; and a symmetric matrix &amp;lt;math&amp;gt;B_r&amp;lt;/math&amp;gt;. We combine all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; single line states to a large state vector &amp;lt;math&amp;gt;\boldsymbol{\xi}(x,t)&amp;lt;/math&amp;gt; to obtain the system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \boldsymbol{\xi} + \boldsymbol{\Lambda} \partial_x \boldsymbol{\xi} + \mathbf{B} \boldsymbol{\xi} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
and formulate the coupling between the lines and the continuously controlled power inflow &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; as boundary conditions involving distribution matrices &amp;lt;math&amp;gt;\mathbf{D}^\pm(v)&amp;lt;/math&amp;gt;, which depend on a discrete switching signal &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt;, and constant distribution matrices &amp;lt;math&amp;gt;\mathbf{\Lambda}^\pm&amp;lt;/math&amp;gt; of size &amp;lt;math&amp;gt;m \times m&amp;lt;/math&amp;gt; according to&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \mathbf{D}^-(\boldsymbol{v}(t))&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(0,t) = &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\mathbf{D}^+(\boldsymbol{v}(t)) &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \boldsymbol{\Lambda}^-&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(l,t) + &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; 0&lt;br /&gt;
\end{pmatrix} \boldsymbol{u}(t).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
The continuous control &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; is subject to simple bounds.&lt;br /&gt;
&lt;br /&gt;
The objective is to track the given demands &amp;lt;math&amp;gt;Q_s(t)&amp;lt;/math&amp;gt; of consumers, which can be formulated as &lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \displaystyle \min_{\boldsymbol{v} \in \mathcal{V}, \boldsymbol{u} \in \mathcal{U}} \frac{1}{2}\sum_{s \in V_S} \int_0^{T} \left( Q_s(t) - \sum_{r \in \delta_{s}} \xi_r^+(l_r,t) \right)^2 dt,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_S&amp;lt;/math&amp;gt; is the set of consumer nodes and &amp;lt;math&amp;gt;\delta_s&amp;lt;/math&amp;gt; is the set of all lines adjacent to vertex &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
A detailed account of the network structures and parameter settings can be found in &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt; and in the source code below.&lt;br /&gt;
&lt;br /&gt;
== Discretization ==&lt;br /&gt;
&lt;br /&gt;
The mixed-integer variables &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt; are transcribed via Partial Outer Convexification and the dynamics are discretized using Finite Volumes with upwind fluxes for the characteristic variables and explicit first-order time-stepping.&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
==Source Code==&lt;br /&gt;
&lt;br /&gt;
The C++ code for the results in the paper is not publicly available, but a more user-friendly Python/CasADi-Version (without dwell-time constraints) is available on [https://github.com/apotschka/poc-transmission-lines GitHub/poc-transmission-lines].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:PDE model]]&lt;br /&gt;
[[Category:Hyperbolic]]&lt;br /&gt;
[[Category:Tracking objective]]&lt;br /&gt;
[[Category:Mesh-dependent integer variables]]&lt;br /&gt;
[[Category:Energy Networks]]&lt;br /&gt;
[[Category:Mesh-independent integer variables]]&lt;br /&gt;
[[Category:Casadi]]&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2240</id>
		<title>Control of Transmission Lines</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2240"/>
		<updated>2018-09-12T14:11:32Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: Parameters, Discretization, Source Code&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This problem was provided by Göttlich, Potschka, and Teuber &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt;. It is governed by a 2x2-system of conservation laws based on the telegraph equations for single transmission lines, which are then connected to form a network. The objective is to minimize the quadratic deviation of the load delivered to customer nodes from their demand by continuously controlling the power inflow to the network at the energy producer nodes and by discrete but time-varying switches at the coupling nodes inside the network.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
The dynamics on the &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-th transmission line with spatial variable &amp;lt;math&amp;gt;x \in [0, l_r]&amp;lt;/math&amp;gt;, temporal variable &amp;lt;math&amp;gt;t \in [0, T]&amp;lt;/math&amp;gt;, and state variable &amp;lt;math&amp;gt;\xi_r(x,t) = (\xi^+_r(x, t), \xi^-_r(x, t))&amp;lt;/math&amp;gt; containing the characteristic variables for right-traveling and left-traveling components are given by the hyperbolic PDE system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \xi_r(x,t) + \Lambda_r \xi_r(x,t) + B_r \xi_r(x,t) = 0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
with a diagonal 2x2-matrix &amp;lt;math&amp;gt;\Lambda_r&amp;lt;/math&amp;gt; and a symmetric matrix &amp;lt;math&amp;gt;B_r&amp;lt;/math&amp;gt;. We combine all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; single line states to a large state vector &amp;lt;math&amp;gt;\boldsymbol{\xi}(x,t)&amp;lt;/math&amp;gt; to obtain the system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \boldsymbol{\xi} + \boldsymbol{\Lambda} \partial_x \boldsymbol{\xi} + \mathbf{B} \boldsymbol{\xi} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
and formulate the coupling between the lines and the continuously controlled power inflow &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; as boundary conditions involving distribution matrices &amp;lt;math&amp;gt;\mathbf{D}^\pm(v)&amp;lt;/math&amp;gt;, which depend on a discrete switching signal &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt;, and constant distribution matrices &amp;lt;math&amp;gt;\mathbf{\Lambda}^\pm&amp;lt;/math&amp;gt; of size &amp;lt;math&amp;gt;m \times m&amp;lt;/math&amp;gt; according to&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \mathbf{D}^-(\boldsymbol{v}(t))&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(0,t) = &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\mathbf{D}^+(\boldsymbol{v}(t)) &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \boldsymbol{\Lambda}^-&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(l,t) + &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; 0&lt;br /&gt;
\end{pmatrix} \boldsymbol{u}(t).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
The continuous control &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; is subject to simple bounds.&lt;br /&gt;
&lt;br /&gt;
The objective is to track the given demands &amp;lt;math&amp;gt;Q_s(t)&amp;lt;/math&amp;gt; of consumers, which can be formulated as &lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \displaystyle \min_{\boldsymbol{v} \in \mathcal{V}, \boldsymbol{u} \in \mathcal{U}} \frac{1}{2}\sum_{s \in V_S} \int_0^{T} \left( Q_s(t) - \sum_{r \in \delta_{s}} \xi_r^+(l_r,t) \right)^2 dt,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_S&amp;lt;/math&amp;gt; is the set of consumer nodes and &amp;lt;math&amp;gt;\delta_s&amp;lt;/math&amp;gt; is the set of all lines adjacent to vertex &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
A detailed account of the network structures and parameter settings can be found in &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt; and in the source code below.&lt;br /&gt;
&lt;br /&gt;
== Discretization ==&lt;br /&gt;
&lt;br /&gt;
The mixed-integer variables &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt; are transcribed via Partial Outer Convexification and the dynamics are discretized using Finite Volumes with upwind fluxes for the characteristic variables and explicit first-order time-stepping.&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
==Source Code==&lt;br /&gt;
&lt;br /&gt;
The C++ code for the results in the paper are not publicly available, but a more user-friendly Python/CasADi-Version is available on [https://github.com/apotschka/poc-transmission-lines GitHub/poc-transmission-lines].&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:PDE model]]&lt;br /&gt;
[[Category:Hyperbolic]]&lt;br /&gt;
[[Category:Tracking objective]]&lt;br /&gt;
[[Category:Mesh-dependent integer variables]]&lt;br /&gt;
[[Category:Energy Networks]]&lt;br /&gt;
[[Category:Mesh-independent integer variables]]&lt;br /&gt;
[[Category:Casadi]]&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2239</id>
		<title>Control of Transmission Lines</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2239"/>
		<updated>2018-09-12T13:57:42Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: Mathematical formulation.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This problem was provided by Göttlich, Potschka, and Teuber &amp;lt;bib id=&amp;quot;Goettlich2018&amp;quot; /&amp;gt;. It is governed by a 2x2-system of conservation laws based on the telegraph equations for single transmission lines, which are then connected to form a network. The objective is to minimize the quadratic deviation of the load delivered to customer nodes from their demand by continuously controlling the power inflow to the network at the energy producer nodes and by discrete but time-varying switches at the coupling nodes inside the network.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
The dynamics on the &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;-th transmission line with spatial variable &amp;lt;math&amp;gt;x \in [0, l_r]&amp;lt;/math&amp;gt;, temporal variable &amp;lt;math&amp;gt;t \in [0, T]&amp;lt;/math&amp;gt;, and state variable &amp;lt;math&amp;gt;\xi_r(x,t) = (\xi^+_r(x, t), \xi^-_r(x, t))&amp;lt;/math&amp;gt; containing the characteristic variables for right-traveling and left-traveling components are given by the hyperbolic PDE system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \xi_r(x,t) + \Lambda \xi_r(x,t) + B \xi_r(x,t) = 0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
with a diagonal 2x2-matrix &amp;lt;math&amp;gt;\Lambda&amp;lt;/math&amp;gt; and a symmetric matrix &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt;. We combine all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; single line states to a large state vector &amp;lt;math&amp;gt;\boldsymbol{\xi}(x,t)&amp;lt;/math&amp;gt; to obtain the system&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \boldsymbol{\xi} + \boldsymbol{\Lambda} \partial_x \boldsymbol{\xi} + \mathbf{B} \boldsymbol{\xi} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
and formulate the coupling between the lines and the continuously controlled power inflow &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; as boundary conditions involving distribution matrices &amp;lt;math&amp;gt;\mathbf{D}^\pm(v)&amp;lt;/math&amp;gt;, which depend on a discrete switching signal &amp;lt;math&amp;gt;\boldsymbol{v}(t)&amp;lt;/math&amp;gt;, and constant distribution matrices &amp;lt;math&amp;gt;\mathbf{\Lambda}^\pm&amp;lt;/math&amp;gt; of size &amp;lt;math&amp;gt;m \times m&amp;lt;/math&amp;gt; according to&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \mathbf{D}^-(\boldsymbol{v}(t))&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(0,t) = &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\mathbf{D}^+(\boldsymbol{v}(t)) &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \boldsymbol{\Lambda}^-&lt;br /&gt;
\end{pmatrix} \boldsymbol{\xi}(l,t) + &lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
\boldsymbol{\Lambda}^+ &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; 0&lt;br /&gt;
\end{pmatrix} \boldsymbol{u}(t).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
The continuous control &amp;lt;math&amp;gt;\boldsymbol{u}(t)&amp;lt;/math&amp;gt; is subject to simple bounds.&lt;br /&gt;
&lt;br /&gt;
The objective is to track the given demands &amp;lt;math&amp;gt;Q_s(t)&amp;lt;/math&amp;gt; of consumers, which can be formulated as &lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \displaystyle \min_{\boldsymbol{u} \in \mathcal{U}} \frac{1}{2}\sum_{s \in V_S} \int_0^{T} \left( Q_s(t) - \sum_{r \in \delta_{s}} \xi_r^+(l_r,t) \right)^2 dt,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_S&amp;lt;/math&amp;gt; is the set of consumer nodes and &amp;lt;math&amp;gt;\delta_s&amp;lt;/math&amp;gt; is the set of all lines adjacent to vertex &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
== Discretization ==&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
==Source Code==&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:PDE model]]&lt;br /&gt;
[[Category:Hyperbolic]]&lt;br /&gt;
[[Category:Tracking objective]]&lt;br /&gt;
[[Category:Mesh-dependent integer variables]]&lt;br /&gt;
[[Category:Energy Networks]]&lt;br /&gt;
[[Category:Mesh-independent integer variables]]&lt;br /&gt;
[[Category:Casadi]]&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2238</id>
		<title>Control of Transmission Lines</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Control_of_Transmission_Lines&amp;diff=2238"/>
		<updated>2018-09-12T11:40:58Z</updated>

		<summary type="html">&lt;p&gt;AndreasPotschka: Empty template for Control of Transmission Lines&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
== Discretization ==&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
==Source Code==&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:PDE model]]&lt;br /&gt;
[[Category:Hyperbolic]]&lt;br /&gt;
[[Category:Tracking objective]]&lt;br /&gt;
[[Category:Mesh-dependent integer variables]]&lt;br /&gt;
[[Category:Energy Networks]]&lt;br /&gt;
[[Category:Mesh-independent integer variables]]&lt;br /&gt;
[[Category:Casadi]]&lt;/div&gt;</summary>
		<author><name>AndreasPotschka</name></author>
	</entry>
</feed>