Universal Translation Algorithm
for Formulation of Transport Network Problems
Anton Baldin, Kl
¨
are Cassirer, Tanja Clees, Bernhard Klaassen,
Igor Nikitin, Lialia Nikitina and Inna Torgovitskaia
Fraunhofer Institute for Algorithms and Scientific Computing, Schloss Birlinghoven, 53754 Sankt Augustin, Germany
Keywords:
Complex Systems Modeling and Simulation, Non-Linear Systems, Applications in Energy Transport.
Abstract:
The formulation of transport network problems is represented as a translation between two domain specific
languages: from a network description language, used by network simulation community, to a problem de-
scription language, understood by generic non-linear solvers. A universal algorithm for this translation is
developed, an estimation of its computational complexity given, and an efficient application of the algorithm
demonstrated on a number of realistic examples. Typically, for a large gas transport network with about 10K
elements the translation and solution of non-linear system together require less than 1 sec on the common hard-
ware. The translation procedure incorporates several preprocessing filters, in particular, topological cleaning
filters, which accelerate the solution procedure by factor 8.
1 INTRODUCTION
This short paper continues our previous work (Clees
et al., 2016), where we discuss a general possibil-
ity for formulation of transport network problems as
a translation between two abstract representations,
a human-readable network description and a solver-
specific code. This approach provides an open type of
modeling, where both the network description and the
physical laws defining the transport are completely in
the hands of the user and can be given as plain text
files. There is a universal translation procedure con-
verting them to a problem description suitable for a
given solver. In this approach one is not bound to any
particular program and is flexible in the choice and
experimentation with different solution kernels.
In state of the art, the solution of transport net-
work problems combines well established model-
ing approaches with the standard solvers of non-
linear systems. The network applications vary by the
types of transported media: water supply (Rogalla
and Wolters, 1994; Stevanovic et al., 2009), elec-
tric power transmission (Milano, 2015; Zimmerman
and Murillo-Sanchez, 2015), gas transport networks
(Scheibe and Weimann, 1999; Aymanns et al., 2008),
etc. For each of them different types of network prob-
lems can be formulated: stationary, dynamical, feasi-
bility, optimization, optimal control. All these prob-
lems can be represented in terms of non-linear pro-
gramming (NLP), for which powerful solution algo-
rithms are available (Bazaraa and Shetty, 1979; Bert-
sekas, 1999; Avriel, 2003; Fletcher, 2013). The algo-
rithms are implemented in various software packages:
MINOS (Murtagh and Saunders, 1978), SNOPT (Gill
et al., 2005), IPOPT (W
¨
achter and Biegler, 2006),
KNITRO (Nocedal and Wright, 2006), COUENNE
(Belotti et al., 2013). None of the approaches, how-
ever, provides a universal algorithm for formulation
of transport network problem which would be inde-
pendent on the type of trasport media and a particular
solver.
In spite of the variety of different possibilities,
there is a common way of formulating the network
problems, based on the fact that the network descrip-
tions for all types are quite uniform. The networks
are given as graphs with the properties, assigned per
element. The physical laws, describing the propaga-
tion of properties over the graph, are given as equa-
tions and inequalities, assigned per element type. The
equations can be written in the syntax of the tar-
get solver, e.g., in a form of expression trees (Gay,
2005) or a human-readable syntax of higher level sys-
tems, such as AMPL, Modelica, Mathematica, Mat-
lab. Considering the network description as an ab-
stract text and the list of physical laws as a dictionary,
one can represent the problem formulation as a trans-
Baldin, A., Cassirer, K., Clees, T., Klaassen, B., Nikitin, I., Nikitina, L. and Torgovitskaia, I.
Universal Translation Algorithm for Formulation of Transport Network Problems.
DOI: 10.5220/0006831903150322
In Proceedings of 8th International Conference on Simulation and Modeling Methodologies, Technologies and Applications (SIMULTECH 2018), pages 315-322
ISBN: 978-989-758-323-0
Copyright © 2018 by SCITEPRESS – Science and Technology Publications, Lda. All rights reserved
315