Home Implicit multilinear modeling
Article Open Access

Implicit multilinear modeling

An introduction with application to energy systems
  • Gerwald Lichtenberg

    Gerwald Lichtenberg is Professor of Physics and Control Engineering at the Faculty of Life Sciences at the HAW Hamburg and scientific director of the Fraunhofer application center for Integration of Local Energy Systems ILES. His research areas are in the fields of model-based and learning control as well as fault diagnosis of complex systems such as local energy networks, building systems, or particle accelerators. The methodological focus of his work is on tensor decomposition methods and multilinear models.

    EMAIL logo
    , Georg Pangalos

    Georg Pangalos received the Dipl.-Ing. degree in electrical engineering and his Ph.D. in control engineering from the Hamburg University of Technology in 2011 and 2015 respectively. Since 2015 he has been working at the Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. in Hamburg, Germany. His research interests include the areas of renewable energy integration and energy systems transition.

    , Carlos Cateriano Yáñez

    Carlos Cateriano Yáñez received the B.Eng. degree in industrial and systems engineering from the University of Piura, Lima, Peru, in 2012 and the M.Eng. in renewable energy systems from the Hamburg University of Applied Sciences, Hamburg, Germany, in 2017. He is currently pursuing the Ph.D. degree in automation, robotics, and industrial computer science at Universitat Politècnica de València, Valencia, Spain, in cooperation with the Hamburg University of Applied Sciences, Hamburg, Germany. Since 2017 he has been working at the Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. in Hamburg, Germany. His research interests include model predictive control and its applications in the field of power systems integrated with renewable energy sources.

    , Aline Luxa

    Aline Luxa received the B.Sc. and M.Sc. degree in energy and process engineering from the Technical University of Berlin in 2017 and 2020 respectively. Since 2020 she has been part of the Application Center for Integration of Local Energy Systems at the Fraunhofer Institute for Wind Energy Systems. In the scope of the Application Center, she is in close cooperation with the Hamburg University of Applied Sciences. Her research topics include modelling and control of grid supporting hydrogen systems.

    , Niklas Jöres

    Niklas Jöres received his B.Sc. in Renewable Energy Systems in 2016 from the University of Stuttgart. At the same university he received his M.Sc in Energy Engineering in 2020 with the focus on thermal turbomachinery and wind energy systems. Since 2020 he has been working at the Fraunhofer Institute for Wind Energy Systems. His research focuses on modelling and optimal operation of local energy systems.

    , Leona Schnelle

    Leona Schnelle received her M.Eng. in Renewable Energy Systems from the HAW Hamburg in 2019. Since 2020 she has been working as research associate at the HAW Hamburg for the BMBF project SONDE on normalized multilinear modelling for diagnosis applications in the building energy sector.

    and Christoph Kaufmann

    Christoph Kaufmann received his B.Sc. in Industrial Engineering and Management from the University of Hamburg in 2016 and his M.Eng. in Renewable Energy Systems at the HAW Hamburg in 2019. He is currently pursuing a PhD with a focus on stability of multilinear systems with applications to power systems.

Published/Copyright: January 13, 2022

Abstract

The paper introduces a subclass of nonlinear differential-algebraic models of interest for applications. By restricting the nonlinearities to multilinear polynomials, it is possible to use modern tensor methods. This opens the door to new approximation and complexity reduction methods for large scale systems with relevant nonlinear behavior. The modeling procedures including composition, decomposition, normalization, and multilinearization steps are shown by an example of a local energy system with a nonlinear electrolyzer, a linear buck converter and a PI controller with saturation.

Zusammenfassung

Eine für Anwendungen interessante Unterklasse differential-algebraischer Modelle wird eingeführt. Die Beschränkung auf multilineare Polynome erlaubt den Einsatz moderner Tensormethoden. Dies öffnet die Tür zu neuen Approximations- und Reduktionsmethoden für großskalige Systeme mit relevantem nichtlinearen Verhalten. Die Modellierungsschritte Komposition, Dekomposition, Normalisierung sowie Multilinearisierung werden am Beispiel eines lokalen Energiesystems, bestehend aus einem nichtlinearen Elektrolyseur, einem linearen Buck-Converter und einem PI-Regler mit Sättigung, gezeigt.

1 Introduction

1.1 Motivation

Automation systems in general are hybrid, i. e., some signals are discrete-valued and some are continuous-valued [20]. The discrete-valued part can be modeled by binary functions, which are generically in the multilinear subclass of polynomials. But multilinear functions can also be defined over real numbers, thus including linear functions, see Figure 1.

Figure 1 
Classes of functions.
Figure 1

Classes of functions.

Linear modeling will not be sufficient for applications where larger deviations from an operating point have to be considered and which show essential nonlinear effects within their region of operation. Multilinear functions generically enable the usage of tensor algorithms and multilinear algebra is the mathematical domain of interest. In the last decade this domain has delivered results in the field of tensor decompositions which have been enabling break-throughs in many disciplines like quantum information theory or thermodynamic models of atomic alloy structures [5], [25]. The research community of control and automation is only slightly aware of this: an open invited session was organized at the IFAC World Congress 2017, but e. g., the number of papers at IFAC WC 2020 dealing with tensors methods still was low.

This paper follows the idea of using tensor decomposition techniques for parameter spaces of models. It further extends the class of multilinear time-invariant (MTI) models from explicit state space models to implicit descriptor models. This opens the door to reduced efficient modeling of huge nonlinear complex systems – where many challenging problems of today and in future are coming from.

1.2 Known results

Although tensor decompositions were defined a century ago [11] there are still open problems [3], some of them related to the field of algebraic geometry [6]. But applied mathematics and informatics research have found efficient strategies for approximative solutions [13]. The attention in engineering sciences has been growing with the availability of computational toolboxes [30], [2], [1], [24]. The connection of tensor decomposition and multilinear systems is established [27].

Remark: Multiple or piecewise linear systems should be called multi-linear to distinguish them from multilinear systems. The first class needs switches and linear algebra, the latter involves multilinear algebra. Tensor representations can be found for both, but this paper is focussed on the second.

In the past years, explicit multilinear time-invariant (eMTI) models have been developed and used for control of HVAC systems in buildings [14], [18], [19], [15]. The class of eMTI models is not closed w. r. t. basic compositions, but only the larger class of polynomial models [26]. Descriptor models which combine algebraic and differential equations are intrinsically composable. They describe the system dynamics implicitly and as well have been proven to be useful in many applications [22]. To the knowledge of the authors, extensions of eMTI models to implicit multilinear time-invariant (iMTI) models haven’t been investigated so far. This will be the main and methodological contribution of this paper which will be illustrated by an example of an energy system.

Current and future problems of energy systems are the integration of new components in power networks – in the real world as well as in the models. Basic relevant literature for the energy system components discussed later can be found in [21]. The power system is undergoing a deep transformation towards power electronic dominated generation and consumption, which brings challenges regarding the safe operation of the grid. Therefore new techniques are needed to access the safe operation. The MTI class shows several aspects which makes it promising for power systems description, e. g., switching and discrete dynamics, multilinearity and scale.

1.3 Open questions

The non-closedness of eMTI models w. r. t. compositions has several drawbacks for complex system modeling which this paper overcomes by answering the questions:

  1. How are basic connections (parallel, series, feedback) best represented?

  2. Which model class holds the pros of multilinearity but offers composability?

  3. Can complex energy system components be modeled within this class?

  4. What complexity and accuracy do tensor energy network models have?

The paper is structured as follows: the next Section 2 recaps the current state of research of explicit multilinear modeling and introduces implicit models in matrix representation. Section 3 shows by an counterexample why explicit multilinear models are not closed w. r. t. composition of subsystems and gives the important result that implicit multilinear models are closed w. r. t. series, parallel and feedback compositions. In Section 4, tensor representations are given for explicit as well as implicit multilinear models together with one relevant decomposition method. How the canonical polyadic (CP) decomposed tensor representation can be further reduced by normalization is shown in Section 5. All methods are applied in Section 6 to a small scale energy system example for demonstration of the capabilities of the approach. The paper closes with conclusion and outlook.

2 Multilinear models

In this section the description of multilinear models is given. This class of models extends the linear class.

2.1 Multilinear functions

A function f ( x ) with x = x 1 , , x n is called multilinear, if the function is linear in each individual variable x i , meaning all other variables are held constant. This means, that multiplicative combinations of the scalars in x are feasible for the function to be multilinear. All combinations of the scalars can be generated by the so called monomial vector m ( x ), which is given by

(1) m ( x ) = 1 x n 1 x 1 ,

where ⊗ denotes the Kronecker product.

Example 2.1.

For x R 3 the monomial is given by

(2) m ( x 1 , x 2 , x 3 ) = 1 x 1 x 2 x 1 x 2 x 3 x 1 x 3 x 2 x 3 x 1 x 2 x 3 .

Thus, the general form of a multilinear function can be given by the inner product

(3) f ( x ) = f T m ( x ) ,

i. e., the multiplication of a row vector f T of coefficients times the column vector m ( x ) of monomials.

A very interesting property of multilinear functions is, that all Boolean functions belong to that class. In the following, the set denoted by B = { 0 , 1 } { FALSE, TRUE } refers to binary variables. Any Boolean function b of n variables can be represented by 2 n rows of a truth table, corresponding to n-element binary vectors given in lexicographical order. Assuming this order, the Boolean function can be represented by the truth vector b B 2 n of the last column of the truth table. To show this, a vector of literals is introduced as the Kronecker product of the literals of the variables of the Boolean function, given as

(4) l ( x ) = x ¯ n x n x ¯ 1 x 1 R 2 n ,

where x ¯ : = 1 x R.

Definition 2.1.

A Zhegalkin polynomial [32]

(5) f ( x ) = b T l ( x )

of order n is a multilinear square-free polynomial given by the scalar product of a Boolean truth vector b B 2 n and a vector l ( x ) R 2 n of literals. Zhegalkin Polynomials are sometimes also referred to as Reed-Muller Forms or Algebraic Normal Forms (ANF).

The following example of order n = 2, taken from [28], illustrates the idea.

Example 2.2.

For the Boolean function b = ¬ ( x 1 x 2 ) the truth table is given as

x 2 x 1 b
0 0 1
0 1 1
1 0 1
1 1 0

thus the Zhegalkin Polynomial is

f ( x ) = b T l ( x ) = 1 1 1 0 x ¯ 2 x ¯ 1 x ¯ 2 x 1 x 2 x ¯ 1 x 2 x 1 = ( 1 x 1 ) ( 1 x 2 ) + x 1 ( 1 x 2 ) + ( 1 x 1 ) x 2 + 0 x 2 x 1 = 1 x 1 x 2 = 1 0 0 1 1 x 1 x 2 x 1 x 2 = f T m ( x ) .

As Zhegalkin polynomials (5) are multilinear, they can be equivalently represented by the parameter vector f of (3). If Boolean values are inserted for x 1 and x 2 this results in Boolean values which correspond to the truth table.

2.2 Explicit multilinear models

With the monomial vector, an eMTI state space model can be written in continuous time

(6) x ˙ = F m ( x , u ) ,
(7) y = G m ( x , u ) ,
where u R m is the input vector, y R p the output vector, F R n × 2 ( n + m ) the transition matrix and G R p × 2 ( n + m ) the output matrix. The monomial vector of more than one vector treats the input vectors as concatenated, for two vectors i. e., m ( x , u ) = m ( x 1 , x 2 , u 1 , u 2 ).

Remark.

In contrast to multilinear models, linear models are restricted to the subclass of linear functions going through the origin ( f ( 0 ) = 0), whereas the first element of the monomial vector contains a constant.

Remark.

Bilinear models are also a subclass of multilinear models where all monomials are restricted to order 2 and combinations of inputs and states.

Boolean functions can be represented as given in (5). If the Boolean variable is depended on a continuous variable x, the result of (5) will be continuous. Thus, continuous multilinear function and Boolean functions can be modeled individually by (6) and (7). On the other side, if continuous and Boolean functions are connected with each other a quantizer is needed, see [27] for more details. A simple solution is to use a Heaviside function

(8) σ ( x ) = 1 if x 0 , 0 otherwise

as quantizer. Using this function, a saturation can be modeled as given in the following example.

Example 2.3.

Assuming the input to the saturation is a state, and the output is saturated between two values, e. g., the output of a controller needs to be between 0 and 1. The saturation function is depicted in Figure 2.

Figure 2 
Saturation function.
Figure 2

Saturation function.

To model this as an eMTI model two discrete-valued variables are introduced

(9) b l = σ ( u u l )
(10) b u = σ ( u u u ) .
The output is then calculated by

(11) y = ( 1 b l ) y l + b l ( 1 b u ) ( ( u u l ) s + y l ) + b u y u ,

with the slope s = y u y l u u u l of the middle part.

2.3 Implicit multilinear models

The class of explicit multilinear models has the drawback, that by connecting multiple eMTI models the overall model is not necessarily an eMTI model which will be shown in section 3. To overcome this obstacle we introduce iMTI models similar to descriptor systems in the next subsection.

For iMTI models a kernel representation is chosen and the monomial vector is extended. An iMTI model in kernel representation is given as

(12) H m ( x ˙ , x , u , y ) = 0 ,

where the states are x ˙ R n , x R n , the inputs are u R m , the outputs are y R p and the model matrix is H R N × 2 2 n + m + p . The dimension of the model matrix is not only determined by the number of states, inputs and outputs but by the application specific number N of equations. A designated output equation is in implicit form not required, but output equations can be included in the model matrix H.

Remark.

Note that all eMTI models can be written as iMTI models by subtracting the right hand sides of (6) and (7) on both sides, leading to kernel representations

(13) x ˙ F m ( x , u ) = 0
(14) y G m ( x , u ) = 0 ,
given as a semiexplicit differential algebraic equation, [4]. These equations can then be written in the form (12), because their left hand sides are obviously multilinear functions in m ( x ˙ , x , u , y ).

Since the equations for the states are no longer in explicit form, the mapping from continuous-valued variables to discrete-valued variables can no longer be performed by quantization (8), but discrete valued states have to be defined in pairs, because the single kernel equation b ( 1 b ) = b b 2 = 0 of a Boolean constraint is polynomial, but not multilinear.

Example 2.4.

Assume the states b 1 and b 2 are Boolean and can therefore only take the values 0 or 1, meaning FALSE or TRUE, respectively. Introducing the equations

(15) b 1 b 2 = 0 ,
(16) b 1 + b 2 1 = 0
forces at least one of the variables to be 0 by (15), but prevents both to be 0, because of (16), and thus forcing one to be 0 and the other one to be 1.

As the example shows, an iMTI model is capable to define Boolean variables. But to, e. g., model saturation, inequalities are no longer avoidable – which leads to the generic multilinear model

(17) L m ( x ˙ , x , u , y ) 0 .

Note that (17) includes the kernel representation (12) by setting

(18) L = H H R 2 N × ( 2 n + m + p ) ,

and thus, the iMTI model (17) has the broadest spectrum of applicability.

Next, saturation is modeled generically as iMTI.

Example 2.5.

To model saturation, we use the discrete variables b 1 and b 2 of Example 2.4 and append a second pair of discrete variables by

(19) b 3 b 4 = 0 ,
(20) b 3 + b 4 1 = 0 .
Then the variables need to be connected to the ranges in Figure 2 given as
(21) ( b 1 b 2 ) ( u u l ) 0 ,
(22) ( b 3 b 4 ) ( u u u ) 0 .
In case u is above the lower limit u l , the second term in (21) is positive, thus b 1 = 1 and b 2 = 0 for the inequality to hold. If u is below the lower limit u l , then b 1 = 0 and b 2 = 1. The same holds analogously for the upper limit in (22), see Table 1.
Table 1

Values of the discrete variables corresponding to the input ranges.

u u l u u u b 1 b 2 b 3 b 4
< 0 < 0 0 1 0 1
> 0 < 0 1 0 0 1
> 0 > 0 1 0 1 0

With the discrete variables connected to the input ranges, it is now possible to give the output equation of the saturation as

(23) y = b 2 y l + b 1 b 4 ( ( u u l ) s + y l ) + b 3 y u ,

again with the slope s = y u y l u u u l .

3 Composition

Systems can be connected in three different ways: series, parallel, and feedback. In general, any eMTI system can be connected to another eMTI system using one of the mentioned connection types. Whether the coupled system is within the class of eMTI systems depends on the subsystems and the connection type [26]. The following example shows a simple series connection where the overall system does not remain within the eMTI class.

Example 3.1.

Consider two first order eMTI systems connected in series. The first system has one input u 1 and two outputs y 1 described by

(24) x ˙ 1 = f 12 x 1 + f 14 x 1 u 1 ,
(25) y 1 = g 12 x 1 g 18 x 1 u 1 .
The second system has a 2-dimensional input u 2 and one output y 2 described by
(26) x ˙ 2 = f 21 + f 27 u 21 u 22 ,
(27) y 2 = g 26 u 22 x 2 .
A series connection of the two subsystems can be represented as state space model
(28) x ˙ = f 12 x 1 + f 14 x 1 u 1 f 21 + f 27 g 12 g 18 x 1 2 u 1 ,
(29) y = g 26 g 18 x 1 x 2 u 1 .
Due to the term x 1 2 , it is no longer possible to model the overall system explicitly multilinear, but only by more general polynomial functions. See Appendix B for a detailed development and the parameter matrices F and G.

In contrast, if the systems are represented in iMTI form, the overall system will still be within this class, which is formally stated by the following proposition.

Lemma 3.1.

The class of iMTI models (12) is closed w. r. t. all connections: series, parallel, and feedback.

Figure 3 
Series connection.
Figure 3

Series connection.

Figure 4 
Parallel connection.
Figure 4

Parallel connection.

Proof.

Given two model matrices H 1 and H 2 of the subsystems, the model matrix H of the overall system has a column dimension according to the total number of variables of the overall system. The row dimension takes the sum of the row dimensions of H 1 and H 2 plus the number of additional connecting equations, which is dependent on the connection type. The overall dimensions of H are given in subsection 2.3. The equations to append for different connection types are given next.

  1. Series connection (Figure 3) has the implicit equation

    (30) u 2 y 1 = 0 .

  2. Parallel connection (Figure 4) has the implicit equations

    (31) y y 1 y 2 = 0 ,
    (32) u 2 u 1 = 0 .

  3. Feedback connection (Figure 5) has the implicit equations

    (33) u 2 y 1 = 0 ,
    (34) e + y 2 u 1 = 0 .

 □

Figure 5 
Feedback connection.
Figure 5

Feedback connection.

Example 3.2.

If Example 3.1 is written in implicit form, it can be seen that the overall system remains in the iMTI class. The iMTI formulation of system 1 is

(35) f 12 x 1 + f 14 x 1 u 1 x ˙ 1 g 12 x 1 y 11 g 18 x 1 u y 12 = 0 ,

and for system 2

(36) f 21 + f 27 u 21 u 22 x ˙ 2 g 26 u 22 x 2 y = 0 .

Using (30) for series connection, the implicit form of the overall model is

(37) f 12 x 1 + f 14 x 1 u 1 x ˙ 1 g 12 x 1 y 11 g 18 x 1 u 1 y 12 f 21 + f 27 u 21 u 22 x ˙ 2 g 26 u 22 x 2 y u 21 y 11 u 22 y 12 = 0 .

It is clear that the last two connection equations allow to reduce the model to

(38) f 12 x 1 + f 14 x 1 u 1 x ˙ 1 g 12 x 1 u 21 g 18 x 1 u 1 u 22 f 21 + f 27 u 21 u 22 x ˙ 2 g 26 u 22 x 2 y = 0 .

See Appendix B for a more detailed development of the equations.

Equation (38) shows that in general, auxiliary variables are required in addition to the overall input and output variables and state variables of the subsystems. Symbolic methods for reduction of the number of auxiliary variables and thus, equations are known and provided by standard algorithms, e. g., as implemented for the Modelica language in OpenModelica. This paper does not focus on these, but on the structure of the iMTI models, which additional enable the use of tensor decomposition methods for reduction which will be discussed in the next section.

4 Decomposition

4.1 Tensors

Real-valued tensors X R I 1 × I 2 × × I n are multidimensional arrays well known from physics and various other application domains, e. g., in data sciences. Well established linear control engineering methods mostly rely on matrices, i. e., 2D tensors and also current extensions to the nonlinear domain, e. g., linear-parameter-varying models do this, too. But for multilinear models, matrices are less appropriate parameter formats than general tensors. This is because of the intrinsic tensor structure of multilinear monomials which can be seen best by the small example in Figure 6.

Figure 6 
Monomial tensor of 3rd order.
Figure 6

Monomial tensor of 3rd order.

The contracted product ⟨·|·⟩ of a tensor F R I 1 × × I n × J 1 × J m and a tensor G R I 1 × × I n is defined as a tensor H = F G R J 1 × × J m with elements

(39) H ( j 1 , , j m ) = i 1 = 1 I 1 i 2 = 1 I 2 i n = 1 I n g ( i 1 , , i n ) f ( i 1 , , i n , j 1 , , j m ) .

The contracted product for tensors of the same size is called inner (or element-wise) product. This can be used to define a multilinear function

(40) f ( x ) = F M ( x ) R ,

with x R n represented by the inner (elementwise) product of a parameter tensor F R × n 2 , using the simple notation for tensor spaces as

R × ( n + m ) 2 : = R × ( n + m ) 2 : = R 2 × × 2 n + m ,

with the monomial tensor M ( x ) of the same dimension, which is the tensor analogon to (3), [13].

4.2 Tensor decomposition

The representation of the coefficients of a multilinear polynomial as tensor F as in (40) enables the application of tensor decomposition methods which have proven to be extremely powerful in many other application domains. This paper focusses on the so called canonical polyadic (CP) decomposition, but all other decomposition methods are also possible in principle [14].

A tensor X can be decomposed in a sum of a minimum number of r outer products, where r is the so called tensor rank. All factors can be represented as matrices F i R I i × r for each dimension i of the original tensor F, which can be abbreviated as

(41) X = F 1 , F 2 , , F n .

An element of X is then given by

(42) x ( i 1 , i 2 , , i n ) = j = 1 r F 1 ( i 1 , j ) · F 2 ( i 2 , j ) F n ( i n , j ) ,

which can be seen as the generalization of the dyadic product for dimensions larger 2. Figure 7 shows how the red element x ( 3 , 1 , 2 ) of the tensor is computed as F 1 ( 3 , 1 ) F 2 ( 1 , 1 ) F 3 ( 2 , 1 ) + F 1 ( 3 , 2 ) F 2 ( 1 , 2 ) F 3 ( 2 , 2 ) + + F 1 ( 3 , r ) F 2 ( 1 , r ) F 3 ( 2 , r ) by r · ( n 1 ) multiplications and ( r 1 ) summations.

Figure 7 
CP Decomposition of a tensor with dimensions 5×3×4.
Figure 7

CP Decomposition of a tensor with dimensions 5×3×4.

Determing the exact rank of certain tensors is known to be a relevant but hard problem in mathematics [7]. For engineering applications, the problem of finding a CP decomposition of a predefined rank as approximation of an original tensor F is more relevant. Minimizing the norm E E of the error tensor

(43) E = F F 1 , , F n

still is a non-convex hard problem, but sub-optimal solutions can be computed by tools like Tensorlab [30] and used for approximation in applications like the one given in this paper in Section 6.

4.3 Explicit CP models

Any eMTI model can represented by contracted tensor products [26]

(44) x ˙ = F M ( x , u ) ,
(45) y = G M ( x , u ) ,
with the parameter tensors F = R × ( n + m ) 2 × n and G = R × ( n + m ) 2 × p . Whereas the parameter tensors can have arbitrary rank, monomial tensors are always rank 1, so for a state vector x R n and an input vector u R m the monomial tensor has the decomposition

(46) M ( x , u ) = 1 x 1 , , 1 x n , 1 u 1 , , 1 u m .

After CP decomposition of the parameter tensors as well as the monomial tensor, the eMTI model reads

(47) x ˙ = F 1 , , F n + m , F ϕ 1 x 1 , , 1 u m ,
(48) y = G 1 , , G n + m , G ϕ 1 x 1 , , 1 u m ,
with the factor matrices F i , G i R 2 × r for all states and inputs i = 1 , , ( n + m ) and F ϕ R n × r and G ϕ R p × r .

The next step is the most important one for applicability and large-scale models, because here the curse of dimensionality is broken by factorization. If a CP decomposition of the parameter tensor F with arbitrary rank r is available, the computation of the right hand side of the state space model (6)–(7) is possible by using the factors and the rank-1 structure of the monomial tensor, e. g., for the state equation by

(49) x ˙ = F ϕ ( F 1 T 1 x 1 F n T 1 x n F n + 1 T 1 u 1 F m + n T 1 u m ) .

The overall number of operations for each factor are 2 r multiplications and n + m additions, together with n + m multiplications for the element-wise Hadamard product ⊛ and the final multiplication with the n × r matrix F ϕ these are ( n + 2 ) r multiplications and r + n + m additions which is linear in all dimensions n and m of the variables whereas already the number 2 n + m of monomials has exponential complexity. Thus, full tensor computations are reasonable only for small dynamic order n and number m of inputs, whereas computations with decomposed representations are easily done up to very large dimensions. Similar arguments hold for the output equation (48).

4.4 Implicit CP models

An iMTI model (12) represented in tensor form reads

(50) H M ( x ˙ , x , u , y ) = 0 ,

and the same holds true for the representation of the inequality constraints

(51) L M ( x ˙ , x , u , y ) 0 .

As discussed, for larger systems only decomposed parameter tensors make sense, i. e., the general model is given by

(52) L 1 , , L 2 n + m + p , L ϕ 1 x ˙ 1 , , 1 y p 0 ,

as mentioned in subsection 2.3, (50) can be included in (51) and therefore the decomposed version of (50) is not given. Computations with large scale models always have to be done on the factors like

(53) L ϕ L 1 T 1 x ˙ 1 L 2 n + m + p T 1 y p 0 ,

because even constructing the full parameter tensor would lead to enormous memory and runtime requirements.

The factor matrix L ϕ R N × r where the row dimension N is the number of inequality constraints and r is the decomposed tensor rank. All other factor matrices L i R 2 × r for i = 1 , 2 n + m + p have a row dimension of 2. The next Section will show how this structure can be exploited further and how the storage needed for the model can nearly be reduced by another 50 %.

5 Normalization

In this section, a linear state and input transformation for eMTI models is given and a normalization of iMTI models in CP tensor representation are discussed.

5.1 Linear transformation

For linear state and input variable transformations of multilinear models (6) in continuous time given by

(54) x ˜ i = x i b i a i i = 1 , , n ,
(55) u ˜ i = u i b n + i a n + i i = 1 , , m ,
the transformed state transition matrix is given by

(56) F ˜ = diag i = 1 , , n 1 a i F T ,

where diag denotes the diagonal matrix with elements a i and

T = 1 0 b n + m a n + m 1 0 b 1 a 1

is a transformation matrix. Linear transformations allow a numerical preconditioning of models which is used in the application example. The linear transformation can as well be done in tensor representation.

5.2 Normalized implicit CP tensor models

The CP tensor H of the decomposed iMTI model from section 4 can be represented in a normalized form. Several norms, such as the euclidean norm (2-norm) or the manhattan norm (1-norm) could be used in principle, but the latter enables very efficient computations and thus is given priority in this paper [17]. In [13] it is proposed to normalize the columns of the factors of a CP tensor which is applied in [12] using the norm 1 condition.

Definition 5.1.

The iMTI model with CP Tensor

(57) H ˜ = [ H ˜ 1 , , H ˜ 2 n + m + p , H ˜ ϕ ]

is called 1-norm normalized, if all factors H ˜ i R 2 × r for i = 1 , , ( 2 n + m + p ) have columns k = 1 , , r of norm

(58) | | H ˜ i ( : , k ) | | 1 = j = 1 2 | H ˜ i ( j , k ) | = | H ˜ i ( 1 , k ) | + | H ˜ i ( 2 , k ) | = 1 .

A minimal representation of H ˜ by the factor H ˜ ϕ R N × r and only vectors instead of matrices for the other factors thus is possible, because the other elements of the matrix H ˜ i can be computed by (58). Moreover, any CP decomposed tensor H of an iMTI model can be transformed in a minimal normalized representation with factor vectors

(59) h ˜ i ( k ) = H i ( 2 , k ) | | H i ( : , k ) | | 1 · ( 2 σ ( H i ( 1 , k ) ) 1 )

and

(60) H ˜ ϕ = H ϕ i = 1 2 n + m + p | | H i ( : , 1 ) | | 1 , , i = 1 2 n + m + p | | H i ( : , r ) | | 1 i = 1 2 n + m + p ( 2 σ ( H i ( 1 , 1 ) ) 1 ) , , i = 1 2 n + m + p ( 2 σ ( H i ( 1 , r ) ) 1 ) .

Some remarks:

  1. For computational efficiency, H ˜ ϕ is allowed to have arbitrary column vectors,

  2. for all reasonable iMTI models, | | H i ( : , k ) | | 1 > 0 holds,

  3. the Heaviside function (8) allows to construct a two-valued sign function,

  4. all factor vectors h ˜ i can be stored in a matrix of dimension R ( 2 n + m + p ) × r .

In the following, an example of CP tensor normalization is given by an example of an easy linear system relevant for the next section, too.

Example 5.1.

A PI controller can be represented by the implicit equations

(61) x ˙ K I u = 0 , y x K P u = 0 ,

with integral gain K I , proportional gain K P , input u, state x and output y. The CP iMTI model

(62) H x ˙ , H x , H u , H y , H ϕ 1 x ˙ , 1 x , 1 u , 1 y = 0

can be represented as a rank 5 CP tensor H with factor matrices for each term

H x ˙ = 0 1 1 1 1 1 0 0 0 0 , H x = 1 0 1 1 1 0 1 0 0 0 , H u = 1 1 0 0 1 0 0 K I K P 0 , H y = 1 1 1 1 0 0 0 0 0 1 , H ϕ = 1 0 1 0 0 0 1 0 1 1 .

Using (59) and (60), the factors in minimal normalized form are

h ˜ x ˙ = 1 0 0 0 0 , h ˜ x = 0 1 0 0 0 , h ˜ u = 0 0 1 1 0 , h ˜ y = 0 0 0 0 1 , H ˜ ϕ = 1 0 K I 0 0 0 1 0 K P 1 .

Because the third and the fourth columns of all h i are equal and H ϕ has only one parameter in the third row for the first state equation and one parameter in the forth row for the second state equation, it is obvious, that the rank can be reduced to 4 by storing the third and fourth columns as one:

h ˜ x ˙ = 1 0 0 0 , h ˜ x = 0 1 0 0 , h ˜ u = 0 0 1 0 , h ˜ y = 0 0 0 1 , H ˜ ϕ = 1 0 K I 0 0 1 K P 1 .

It is now possible to crosscheck, that by (53) the model (61) can be recovered

( ( 1 1 ) · 1 + 1 x ˙ ) · 1 + ( ( 1 1 ) · 1 1 u ) · K I = 0 , ( ( 1 1 ) · 1 1 x ) · 1 + ( ( 1 1 ) · 1 1 u ) · K P + ( ( 1 1 ) · 1 + 1 y ) · 1 = 0 .

To illustrate the normalization of the factor matrices from Example 5.1, the Figure 8 shows the original column vector of H u ( : , 3 ) with dashed line and the normalized column vector of H ˜ u ( : , 3 ) with solid line in blue. Red vectors belong to a factor H u ( : , k ) = 2 1 to demonstrate normalization with arbitrary angle.

Figure 8 
Normalization of a CP tensor factor to norm-1.
Figure 8

Normalization of a CP tensor factor to norm-1.

6 Application example

The previous section showed that the non-closedness of the eMTI is overcome by introducing the iMTI form. The following section presents a first showcase example about the usage of this new representation by connecting an electrolyzer with a buck converter powered by an infinite DC bus. These applications exemplify local energy systems, where several multiphysical dynamics are present. Three main aspects are demonstrated here. Firstly, the nonlinear model of the electrolyzer is multilinearized and compared with a typical linear approximation. Then this multiphysical model is connected with a buck converter, where a linear averaged model is assumed, since the focus in this paper is on the connection of the two models. Lastly, this paper derives a representation of the nonlinear saturation limits of the buck converter in an iMTI form. Thereby, the basic functionalities of the new implicit form are demonstrated and the prospective of large-scale multilinear energy systems modeling is shown.

6.1 Electrolyzer

The nonlinear model of the polymer exchange membrane (PEM) electrolyzer is based on a 46 kW model from literature [8]. Because in this example the connection to power electronics is crucial, also the electric dynamic behavior should be modeled [23]. Considering an equivalent electric circuit to model the electrolyzer with an RC element for each electrode, the ordinary differential equation (ODE) describing the activation overpotential v act on anode and cathode, respectively, is expressed as

(63) d v act d t = 1 C DL i ely 1 C DL R act v act ,

with the total electrolyzer current i ely in A [31]. The double layer capacity C DL , defined in (A.1), and activation resistance R act are often measured by a step function of the input current or voltage [10]. Since the base model of [8] does not include values for the capacity, simplifying assumptions will be made to include a value. The electric dynamic behavior is mainly caused by the double layer at the electrode-electrolyte interface. Due to the geometric arrangement of the electrode and electrolyte, the capacity can be estimated by a simple plate capacitor [29]. The total activation overpotential is mainly caused by the reaction at the anode ( v act , an = v act ), wherefore the cathode is neglected and the resistance R act can be calculated as displayed in (A.2) [8]. Therefore, R act is already nonlinear, but in addition the temperature dependency of the electrode exchange current density j 0 is expressed by an exponential function [8]. The temperature influence on the open circuit voltage v ocv , defined by the Nernst-Equation, is also nonlinear (A.3). By adding up v ocv with the ohmic overpotential v ohm based on (A.4) and the activation overpotential, the total electrolyzer voltage can be described as

(64) v ely = v ocv + v act + v ohm .

Again, the temperature dependency of the protonic membrane conductivity σ mem is nonlinear and contains an exponential expression. For describing the thermal dynamics, an ODE is used as in

(65) d T d t = ( k = 1 s 1 W ˙ k + k = 1 s 2 Q ˙ k + k = 1 s 3 H ˙ k ) / C th ,

with s 1 power ( W ˙), s 2 heat ( Q ˙) and s 3 enthalpy ( H ˙) streams, and the lumped thermal capacity C th [8]. The cooling heat Q ˙ cool is directly controlled by a PI controller, and described by a state space model as

(66) Q ˙ cool = x PI + K P Δ T d x PI d t = K I Δ T ,

with K P = 152.023, K I = 0.218 and the temperature difference as control deviation Δ T = T set T. Because of the ODEs describing the thermal, electric and controller dynamics, the model has three states ( n = 3). Since the electrolyzer is current-controlled, the input current i ely ( m = 1) results into an output voltage v ely , which is set by the converter. Additionally, the generated hydrogen substance stream n ˙ H 2 in mol  s 1 is considered as an output ( p = 2), described by Farady’s law in

(67) n ˙ H 2 = n c i ely 2 F n F ,

containing the number of cells n c , Faraday’s constant F and faradaic efficiency n F = 1. With the state and output vectors

(68) x = T v act x PI , y = v ely n ˙ H 2 ,

a nonlinear state space model can be derived.

Considering the broad operating range of electrolyzers, linearization of this nonlinear model at one operation point could be insufficient regarding the model accuracy. Thus, the projection multilinearization method from [16] was chosen, as it can be defined for the operating range of states, input and outputs. In that operating range the number of values per variable is N = 30 and the maximal multilinear order is m n = 2. The lower and upper bound for the multilinearization were estimated by the minimum and maximum values of the nonlinear model in the simulated range of 200 to 400 A, which corresponds to 50 to 100 % of the nominal load of the electrolyzer. This leads to the matrices F R 3 × 16 and G R 2 × 16 of the eMTI model. The eMTI model in the form of (6) and (7) can easily be transferred to implicit form, as described in (13) and (14) in subsection 2.3.

The eMTI model was decomposed by the MATLAB tensor toolbox, resulting in a reduced rank of r F = 9 and r G = 8. A linear transformation was applied to the model according to (54)–(56) for getting an operating region between 0 and 0.5. For numerical comparison, linearization at 300 A, corresponding to 75 % of the nominal load was done by the MATLAB function linmod.

Figure 9 
Electrolyzer model comparison for: (a) current input 


i


ely

{i_{\mathrm{ely}}}, (b) temperature state T, (c) activation voltage state 


v


act

{v_{\mathrm{act}}}, and (d) cooling power state 


x


PI

{x_{\mathrm{PI}}}.
Figure 9

Electrolyzer model comparison for: (a) current input i ely , (b) temperature state T, (c) activation voltage state v act , and (d) cooling power state x PI .

At the operation point, the linear time-invariant (LTI) model fits the nonlinear dynamics better than the eMTI model, as it can be observed for v act in Figure 9 (c). After 10 min of electrolyzer operation at 75 %, the current jumps to nominal load, where the eMTI model fits better. The same behavior can be observed at the second jump to 200 A. Especially the states of the thermal dynamics T and x PI of the eMTI model show good accordance with the nonlinear model in Figure 9 (b) and (d). This example shows the benefits of the eMTI modeling approach for wider operating ranges compared to linearization.

Additionally, the computational time of the simulations are compared. The simulations are performed on a conventional laptop, while using the automatic solver and step-size selection within Simulink. The simulation time of the LTI model is the smallest (21 s), followed by the eMTI (26 s) and the nonlinear model (35 s). These results are expected as the LTI and eMTI are approximations of different complexity of the nonlinear model. In addition, the memory requirements are compared for the LTI and the eMTI models. For the comparison the matrices A, B, C, D of the LTI model and the normalized decomposed tensors F, G of the eMTI model in double precision are used. The required memory of the eMTI model (888 bytes) is significantly higher than that of the LTI model (160 bytes). However, the advantages of decomposed tensors for MTI models will be noticeable for larger systems as the increase of elements is linear compared to an exponential increase for full tensors and for the LTI model. An example for this is given in Figure 10. The intersections of the graphs depend on the rank of the decomposed tensors. The memory requirements of the nonlinear model are not taken into account due to the significantly larger memory of the overall Simulink file. Therefore, a reasonable comparison is not possible here.

Figure 10 
Comparison of the memory consumption of an LTI model, eMTI model using full tensors and eMTI model using decomposed and normalized tensors with 


r


F


=
9{r_{\mathsf{F}}}=9 and 


r


G


=
8{r_{\mathsf{G}}}=8 as a function of number of states.
Figure 10

Comparison of the memory consumption of an LTI model, eMTI model using full tensors and eMTI model using decomposed and normalized tensors with r F = 9 and r G = 8 as a function of number of states.

Figure 11 
Ideal buck converter scheme and connection to the electrolyzer.
Figure 11

Ideal buck converter scheme and connection to the electrolyzer.

6.2 Buck converter

The buck converter steps down the voltage of 800 V provided by the infinite DC bus V DC . This paper takes an ideal model of a buck converter as depicted in Figure 11. At the load side of the converter, since the electrolyzer model provides the voltage v ely for a given current input i ely , a controlled voltage source is used to connect the electrolyzer to the DC bus. It is connected in series with a small resistance R S of 10 µΩ. The switching power electronic S, e. g., an IGBT, is modelled as an ideal switch. The diode, inductor L, and capacitor C, have no internal, or parasitic, resistances. The inductor is sized to 1 mH and the capacitor to 680 µF similarly to the filter design used in [9].

This paper assumes an average model of the switching, and thus, the buck converter excluding the controller can be described by the LTI state-space model

(69) i ˙ L v ˙ C = 0 1 L 1 C 1 R s C i L v C + V DC L 0 0 1 R s C d v ely ,
(70) i ely = 0 1 R s i L v C + 0 1 R s d v ely ,
where the duty cycle d is the input coming from the controller. This LTI model can be easily transformed into an iMTI model as outlined in (13)–(14) in subsection 2.3.

Figure 12 
Closed control loop.
Figure 12

Closed control loop.

6.3 Local energy system

Finally, the coupled system of the buck converter and electrolyzer including a controller is analyzed. Figure 12 shows the closed control loop of the coupled system. The controller tracks the difference between the reference power P ref and the actual power P delivered to the electrolyzer. Using the tracking error, the duty cycle d is calculated with a PI controller, with gains K P = 5.0 · 10 4 and K I = 1.0 · 10 2 , and saturated to 0 , 1 . The buck converter takes the duty cycle d and the output voltage of the electrolyzer v ely to provide the input current i ely to the electrolyzer.

As mentioned in section 3 the connection of eMTI systems can lead to an overall system, which is not in the eMTI class. Due to Lemma 3.1 the application example is formulated in implicit form, which guarantees the overall model to be within the iMTI class. The connection equations for the system are given as

(71) u u I K P e = 0 ,
(72) e P ref + v ely i ely = 0 ,
(73) y d = 0 .
The iMTI representation of the controller can be written in CP tensor form
(74) H c M y c , b c , x ˙ c , x c , u c = 0 ,
(75) L c M y c , b c , x ˙ c , x c , u c 0 ,
where y c = d, b c = b 1 b 2 b 3 b 4 T , x c = u I , and u c = P ref v ely i ely T . In this representation H c corresponds to the equalities of the controller (61), the saturation (15), (16), (19), (20), (23), the buck converter (69), (70), the electrolyzer (63)–(68) as well as the connection equations (71)–(73), while L c corresponds to the inequalities (21) and (22).

Special differential algebraic equations (DAE) solvers for descriptor models can be used for simulation of CP iMTI models like the one derived for the closed loop energy system here [4]. For this paper, the closed loop model is implemented in Simulink with CP eMTI submodels. Three different setups are compared, where the electrolyzer is either modeled as an LTI, eMTI or nonlinear system. The formulation of the electrolyzer w.r.t these three model classes is given in subsection 6.1. The rest of the system remains unchanged during the comparison shown in Figure 13.

Figure 13 
Closed loop simulation results: (a) electrolyzer input current 


i


ely

{i_{\mathrm{ely}}}, (b) electrolyzer output voltage 


v


ely

{v_{\mathrm{ely}}}, (c) electrolyzer output hydrogen stream 




n

˙




H


2



{\dot{n}_{{\mathrm{H}_{2}}}}, and (d) electrolyzer power P tracking.
Figure 13

Closed loop simulation results: (a) electrolyzer input current i ely , (b) electrolyzer output voltage v ely , (c) electrolyzer output hydrogen stream n ˙ H 2 , and (d) electrolyzer power P tracking.

A total simulation time of 30 minutes is used. During the simulation the reference power P ref is changed twice using a step function. The step is performed w. r. t. subsection 6.1. The initial reference power P ref until 10 minutes simulation time is related to 75 % of the nominal power of the electrolyzer. After the first step the reference power is increased by 1/3. After another 10 minutes of simulation time the reference power is decreased by 2/3 of the initial power. Figure 13 gives an overview of the entire simulation regarding the time and operational range. Here, all models show comparable results.

A more detailed view of the results is given in Figure 14. An overshoot for the controller can be seen for all models after the first step. During the simulation from 10 to 20 minutes the eMTI model is outperforming the LTI model. Especially for an advanced simulation time after the first step, the deviation for the LTI model is large compared to the eMTI model.

Figure 14 
Zoom of closed loop simulation results: (a) electrolyzer input current 


i


ely

{i_{\mathrm{ely}}}, (b) electrolyzer output voltage 


v


ely

{v_{\mathrm{ely}}}, (c) electrolyzer output hydrogen stream 




n

˙




H


2



{\dot{n}_{{\mathrm{H}_{2}}}}, and (d) electrolyzer power P tracking.
Figure 14

Zoom of closed loop simulation results: (a) electrolyzer input current i ely , (b) electrolyzer output voltage v ely , (c) electrolyzer output hydrogen stream n ˙ H 2 , and (d) electrolyzer power P tracking.

The whole model can also be represented by a single tensor and inequalities

(76) L tot M y c , b c , x ˙ c , x c , u c 0 ,

where L tot appends the equalities to the inequalities given by L c . This can be achieved by expressing each equality by two opposing inequalities as given in (18). Although the number of inequalities gets larger, such a representation could lead to reductions because of the possible good low rank tensor approximations exploiting the internal structure of L tot .

7 Conclusion

This paper introduces iMTI models as a new class – which is interesting for large-scale hybrid complex engineering applications because of three reasons. The parameters can be represented as normalized tensors – which allow tremendous model reduction by modern decomposition methods. Nonlinear effects can be modeled – which is essential for the large signal behaviour of real world systems. Boolean dynamics is exactly modeled because its intrinsically multilinear – which is necessary to describe all discrete-valued subsystems, switches, and automata. Possible white-box modeling steps are shown by a small energy system example, including multilinearization, decomposition of the multilinear model into factors, normalization and composition back to overall models. Research on multilinear black-box and grey-box parameter identification is parallel ongoing.

Future research activities will apply the iMTI form to modeling large power networks, where discrete-valued dynamics, such as the switches in power converters, become more present with the growth of renewables. This includes the quick composition of multiphysical energy systems models by using the implicit form. This will add a powerful tool to address the challenges arising in the European power system growing in complexity, for which efficient models are needed.


Dedicated to the 70th birthday of Prof. Dr. Ing. Jan Lunze.


Award Identifier / Grant number: 13FH144PA8

Funding statement: This work was partly supported by the project SONDE of the Federal Ministry of Education and Research, Germany (Grant-No.: 13FH144PA8) and partly supported by the Free and Hanseatic City of Hamburg.

About the authors

Gerwald Lichtenberg

Gerwald Lichtenberg is Professor of Physics and Control Engineering at the Faculty of Life Sciences at the HAW Hamburg and scientific director of the Fraunhofer application center for Integration of Local Energy Systems ILES. His research areas are in the fields of model-based and learning control as well as fault diagnosis of complex systems such as local energy networks, building systems, or particle accelerators. The methodological focus of his work is on tensor decomposition methods and multilinear models.

Georg Pangalos

Georg Pangalos received the Dipl.-Ing. degree in electrical engineering and his Ph.D. in control engineering from the Hamburg University of Technology in 2011 and 2015 respectively. Since 2015 he has been working at the Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. in Hamburg, Germany. His research interests include the areas of renewable energy integration and energy systems transition.

Carlos Cateriano Yáñez

Carlos Cateriano Yáñez received the B.Eng. degree in industrial and systems engineering from the University of Piura, Lima, Peru, in 2012 and the M.Eng. in renewable energy systems from the Hamburg University of Applied Sciences, Hamburg, Germany, in 2017. He is currently pursuing the Ph.D. degree in automation, robotics, and industrial computer science at Universitat Politècnica de València, Valencia, Spain, in cooperation with the Hamburg University of Applied Sciences, Hamburg, Germany. Since 2017 he has been working at the Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. in Hamburg, Germany. His research interests include model predictive control and its applications in the field of power systems integrated with renewable energy sources.

Aline Luxa

Aline Luxa received the B.Sc. and M.Sc. degree in energy and process engineering from the Technical University of Berlin in 2017 and 2020 respectively. Since 2020 she has been part of the Application Center for Integration of Local Energy Systems at the Fraunhofer Institute for Wind Energy Systems. In the scope of the Application Center, she is in close cooperation with the Hamburg University of Applied Sciences. Her research topics include modelling and control of grid supporting hydrogen systems.

Niklas Jöres

Niklas Jöres received his B.Sc. in Renewable Energy Systems in 2016 from the University of Stuttgart. At the same university he received his M.Sc in Energy Engineering in 2020 with the focus on thermal turbomachinery and wind energy systems. Since 2020 he has been working at the Fraunhofer Institute for Wind Energy Systems. His research focuses on modelling and optimal operation of local energy systems.

Leona Schnelle

Leona Schnelle received her M.Eng. in Renewable Energy Systems from the HAW Hamburg in 2019. Since 2020 she has been working as research associate at the HAW Hamburg for the BMBF project SONDE on normalized multilinear modelling for diagnosis applications in the building energy sector.

Christoph Kaufmann

Christoph Kaufmann received his B.Sc. in Industrial Engineering and Management from the University of Hamburg in 2016 and his M.Eng. in Renewable Energy Systems at the HAW Hamburg in 2019. He is currently pursuing a PhD with a focus on stability of multilinear systems with applications to power systems.

Appendix A Electrolyzer model

In this section some equations of the nonlinear electrolyzer model are further described to point out the nonlinearity of the problem. The equations calculate

  1. the total capacity

    (A.1) C DL = C DL , cell A n c ,

    with electrode surface A, specific cell capacity C DL , cell , and number of cells n c ,

  2. the activation resistance

    (A.2) R act = v act , cell i ely n c = R T 2 α an F asinh j 2 j 0 , an i ely n c ,

    including the Volmer-Butler-Equation with current density j, electrode exchange current density j 0 , charge transfer coefficient α, temperature T, Faraday’s constant F, and universal gas constant R [8], [31],

  3. the open-circuit cell voltage

    (A.3) v ocv , cell = v std 0.0009 ( T T std ) + R T 2 F [ ln ( p H 2 p O 2 0.5 p H 2 O ( T ) ) ] ,

    with voltage at standard conditions v std , standard temperature T std , and partial pressure p s of the substance s [8],

  4. and the Ohmic cell overpotential

    (A.4) v ohm , cell = δ mem σ mem , std exp E pro R 1 T 1 T std j ,

    with membrane thickness δ mem , standard protonic conductivity σ mem , std , and activation energy required for the proton transport in the membrane E pro [8].

For further description of the parameters and the thermal dynamics see [8].

Appendix B Composition

This section provides the parameter matrices F and G of the eMTI model example in section 3. The state equation of system 1 is given by

x ˙ 1 = f 12 x 1 + f 14 x 1 u 1 = F 1 m 1 ( x 1 , u 1 ) = 0 f 12 0 f 14 1 x 1 u 1 x 1 u 1

and the output equations

y 1 = y 11 y 12 = g 12 x 1 g 18 x 1 u 1 = G 1 m 1 ( x 1 , u 1 ) = 0 g 12 0 0 0 0 0 g 18 1 x 1 u 1 x 1 u 1 .

For system 2, the corresponding equations are

x ˙ 2 = f 21 + f 27 u 21 u 22 = F 2 m 2 ( x 2 , u 21 , u 22 ) = f 21 0 0 0 0 0 f 27 0 1 x 2 u 21 x 2 u 21 u 22 u 22 x 2 u 22 u 21 u 22 x 2 u 21 ,

and

y 2 = g 26 u 22 x 2 = G 2 m 2 ( x 2 , u 21 , u 22 ) = 0 0 0 0 0 g 26 0 0 1 x 2 u 21 x 2 u 21 u 22 u 22 x 2 u 22 u 21 u 22 x 2 u 21 .

A series connection u 2 = u 21 u 22 = y 11 y 12 = y 1 of the two models is not within the eMTI class, but the overall iMTI model can be derived from the iMTI submodels, where System 1 can be written by H 1 R 3 × 32 as

H 1 m 1 ( x ˙ 1 , x 1 , u 1 , y 11 , y 12 ) = 0 0 0 1 0 0 f 12 g 12 0 0 0 0 0 0 0 0 0 0 f 14 0 g 18 0 0 0 0 1 0 0 0 0 0 0 0 T 1 x ˙ 1 x 1 x ˙ 1 x 1 u 1 x ˙ 1 u 1 x 1 u 1 x ˙ 1 x 1 u 1 y 11 x ˙ 1 y 11 x ˙ 1 x 1 u 1 y 11 y 12 = 0

and system 2 with H 2 R 2 × 32 as

H 2 m 2 ( x ˙ 2 , x 2 , u 21 , u 22 , y 2 ) = f 21 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 g 26 0 0 f 27 0 0 0 0 0 0 0 0 1 0 0 0 0 T 1 x ˙ 2 x 2 x ˙ 2 x 2 u 21 x ˙ 1 u 21 x 1 u 21 x ˙ 1 x 1 u 21 u 22 x ˙ 2 u 22 x 2 u 22 x ˙ 2 x 2 u 22 u 21 u 22 x ˙ 1 u 21 u 22 x 1 u 21 u 22 x ˙ 1 x 1 u 21 u 22 y 2 x ˙ 2 y 2 x ˙ 2 x 2 u 21 u 22 y 2 = 0 ,

where the transposed forms of H are chosen for better visualization.

References

1. Bader, B. W. and T. G. Kolda. 2008. Efficient MATLAB computations with sparse and factored tensors. SIAM Journal on Scientific Computing 30(1): 205–231.10.2172/897641Search in Google Scholar

2. Bader, B. W., T. G. Kolda, et al. April 2021. Tensor Toolbox for MATLAB, Version 3.2.1. Available at https://www.tensortoolbox.org/.Search in Google Scholar

3. Bhaskara, A., M. Charikar, A. Moitra and A. Vijayaraghavan. 2014. Open problem: Tensor decompositions: Algorithms up to the uniqueness threshold? JMLR: Workshop and Conference Proceedings 35: 1–3.Search in Google Scholar

4. Brenan, K. E., S. L. Campbell and L. R. Petzold. 1996. Numerical solution of initial-value problems in differential-algebraic equations. Classics in applied mathematics. Society for Industrial and Applied Mathematics (SIAM).10.1137/1.9781611971224Search in Google Scholar

5. Coutinho, Y. A., N. Vervliet, L. de Lathauwer and N. Moelans. 2020. Combining thermodynamics with tensor completion techniques to enable multicomponent microstructure prediction. npj Computational Materials 6(1).10.1038/s41524-019-0268-ySearch in Google Scholar

6. Cox, D. A., J. B. Little and D. O’Shea. 2015. Ideals, Varieties, and Algorithms. 4th edition. Springer International Publishing.10.1007/978-3-319-16721-3Search in Google Scholar

7. de Silva, V. and L.-H. Lim. 2008. Tensor rank and the ill-posedness of the best low-rank approximation problem. SIAM Journal on Matrix Analysis and Applications 30(3): 1084–1127.10.1137/06066518XSearch in Google Scholar

8. Espinosa-López, M., C. Darras, P. Poggi, R. Glises, P. Baucour, A. Rakotondrainibe, S. Besse and P. Serre-Combe. 2018. Modelling and experimental validation of a 46 kw pem high pressure water electrolyzer. Renewable Energy 119: 160–173.10.1016/j.renene.2017.11.081Search in Google Scholar

9. Gao, F., B. Blunier, M. G. Simões and A. Miraoui. 2011. Pem fuel cell stack modeling for real-time emulation in hardware-in-the-loop applications. IEEE Transactions on Energy Conversion 26(1): 184–194.10.1109/TEC.2010.2053543Search in Google Scholar

10. Guilbert, D. and G. Vitale, Experimental validation of an equivalent dynamic electrical model for a proton exchange membrane electrolyzer. In: 2018 IEEE International Conference on Environment and Electrical Engineering and 2018 IEEE Industrial and Commercial Power Systems Europe (EEEIC / I&CPS Europe), 12.06.2018–15.06.2018. IEEE, pp. 1–6.10.1109/EEEIC.2018.8494523Search in Google Scholar

11. Hitchcock, F. L. 1927. The expression of a tensor or a polyadic as a sum of products. Journal of Mathematics and Physics 6: 164–189.10.1002/sapm192761164Search in Google Scholar

12. Jouni, M., M. Dalla Mura and P. Comon, July 2018. Some issues in computing the CP decomposition of NonNegative Tensors. In: LVA/ICA 2018 – 14th International Conference on Latent Variable Analysis and Signal Separation (Guildford, United Kingdom), pp. 57–66.10.1007/978-3-319-93764-9_6Search in Google Scholar

13. Kolda, T. G. and B. W. Bader. 2009. Tensor decompositions and applications. SIAM Review 51(3): 455–500.10.1137/07070111XSearch in Google Scholar

14. Kruppa, K. 2018. Multilinear Design of Decentralized Controller Networks for Building Automation Systems. Ph.d. dissertation, HafenCity Universität Hamburg.Search in Google Scholar

15. Kruppa, K. and G. Lichtenberg. 2020. A heating systems application of feedback linearization for mti systems in a tensor framework. In: (M.S. Obaidat, T. Ören and F.D. Rango, eds) Simulation and Modeling Methodologies, Technologies and Applications. Springer International Publishing, Cham, pp. 126–152.10.1007/978-3-030-35944-7_7Search in Google Scholar

16. Kruppa, K., G. Pangalos and G. Lichtenberg. 2014. Multilinear approximation of nonlinear state space models. IFAC Proceedings Volumes 47(3): 9474–9479.10.3182/20140824-6-ZA-1003.00455Search in Google Scholar

17. Laub, A. 2005. Matrix Analysis for Scientists and Engineers. Society for Industrial and Applied Mathematics, Davis, CA.10.1137/1.9780898717907Search in Google Scholar

18. Lautenschlager, B. 2019. Data-Driven Learning and Model Predictive Control for Heating Systems. Ph.d. dissertation, Universität Hamburg, HafenCity.Search in Google Scholar

19. Lautenschlager, B., K. Kruppa and G. Lichtenberg. 2015. Convexity properties of the model predictive control problem for subclasses of multilinear time-invariant systems. IFAC-PapersOnLine 48(23): 148–153. 5th IFAC Conference on Nonlinear Model Predictive Control NMPC 2015.10.1016/j.ifacol.2015.11.275Search in Google Scholar

20. Lunze, J. and F. Lamnabhi-Lagarrigue. 2009. Handbook of hybrid systems control: Theory, tools, applications. Cambridge University Press, Cambridge, UK and New York.10.1017/CBO9780511807930Search in Google Scholar

21. Milano, F., F. Dörfler, G. Hug, D. J. Hill and G. Verbič. 2018. Foundations and challenges of low-inertia systems. In: 2018 Power Systems Computation Conference (PSCC), pp. 1–25.10.23919/PSCC.2018.8450880Search in Google Scholar

22. Modelica Association. 2021. Modelica – a unified object-oriented language for systems modeling. Available at https://modelica.org/documents/MLS.pdf.Search in Google Scholar

23. Olivier, P., C. Bourasseau and P. B. Bouamama. 2017. Low-temperature electrolysis system modelling: A review. Renewable and Sustainable Energy Reviews 78: 280–300.10.1016/j.rser.2017.03.099Search in Google Scholar

24. Oseledets, I., A. Boyko and D. Savostyanov. June 2014. TT-Toolbox 2.3. Available at https://github.com/oseledets/TT-Toolbox.Search in Google Scholar

25. Pang, Y., T. Hao, A. Dugad, Y. Zhou and E. Solomonik. 2020. Efficient 2d tensor network simulation of quantum systems. In: Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis. IEEE Press.10.1109/SC41405.2020.00018Search in Google Scholar

26. Pangalos, G. 2016. Model-based controller design methods for heating systems. Ph.d. dissertation, Technische Universität Hamburg.Search in Google Scholar

27. Pangalos, G., A. Eichler and G. Lichtenberg. 2015. Hybrid multilinear modeling and applications. Vol. 319 of Advances in Intelligent Systems and Computing. Springer International Publishing, pp. 71–85.10.1007/978-3-319-11457-6_5Search in Google Scholar

28. Pangalos, G. and G. Lichtenberg. 2012. Approach to Boolean Controller Design by Algebraic Relaxation for Heating Systems. In: 4th IFAC Conference on Analysis and Design of Hybrid Systems (Eindhoven).10.3182/20120606-3-NL-3011.00070Search in Google Scholar

29. Schmidt, V. M. 2003. Elektrochemische Verfahrenstechnik: Grundlagen, Reaktionstechnik, Prozeszoptimierung. Wiley-VCH, Weinheim.10.1002/3527602143Search in Google Scholar

30. Vervliet, N., O. Debals, L. Sorber, M. Van Barel and L. De Lathauwer. Mar. 2016. Tensorlab 3.0. Available at https://www.tensorlab.net.Search in Google Scholar

31. Yodwong, B., D. Guilbert, M. Hinaje, M. Phattanasak, W. Kaewmanee and G. Vitale. 2021. Proton exchange membrane electrolyzer emulator for power electronics testing applications. Processes 9(3): 498.10.3390/pr9030498Search in Google Scholar

32. Zhegalkin, I. 1928. Arithmetics of symbolic logic. Mat. Sb. 35(3-4): 311–377.Search in Google Scholar

Received: 2021-09-16
Accepted: 2021-11-19
Published Online: 2022-01-13
Published in Print: 2022-01-27

© 2022 Lichtenberg et al., published by De Gruyter

This work is licensed under the Creative Commons Attribution 4.0 International License.

Downloaded on 13.9.2025 from https://www.degruyterbrill.com/document/doi/10.1515/auto-2021-0133/html
Scroll to top button