Computer-implemented method for simulating an overall circuit

By calculating stability parameters using a coupled equation set represented by sub-state space in the simulation of the total circuit, and automatically selecting a decomposition solution, the problem of time-consuming and unstable simulation processes in the existing technology is solved, and efficient and reliable simulation results are achieved.

CN109101676BActive Publication Date: 2024-09-27D SPACE GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810635694.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-06-20
Filing Date
2018-06-20
Publication Date
2024-09-27
Estimated Expiration
2038-06-20

AI Technical Summary

Technical Problem

It is difficult for the existing technology to automatically determine a stable separation method when simulating the total circuit, causing the simulation process to be time-consuming and unstable, affecting simulation accuracy and reliability.

Method used

Depicted through a system of coupled equations represented by sub-state spaces, stability parameters are calculated to evaluate the separation method, an appropriate decomposition scheme is selected, and simulations are performed on the computing unit to ensure the stability and accuracy of the simulation.

Benefits of technology

It achieves automated and stable separation, improves the efficiency and reliability of the simulation process, ensures the stability and calculation accuracy of the simulation, and reduces the dependence on professional knowledge.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109101676B_ABST
    Figure CN109101676B_ABST
Patent Text Reader

Abstract

The present invention relates to a computer-implemented method for simulating a total circuit with the aid of at least one computing unit, wherein the total circuit is decomposed into at least two subcircuits by separating circuit branches in a separation step, each subcircuit being described mathematically by a sub-state space representation, the sub-state space representations being coupled to each other via coupling variables of the separated circuit branches, and each subcircuit being calculated by numerically solving the coupled sub-state space representations, the coupling of the sub-state space representations being described in a coupling equation set, at least one stability parameter being calculated based on the coupling equation set in an evaluation step, a decision being made in a selection step based on the calculated stability parameter as to whether the simulation is based on the current decomposition of the total circuit into subcircuits, and after a successful selection, the total circuit being simulated by calculating the sub-state space representation on the at least one computing unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a computer-implemented method for simulating an overall circuit with the aid of at least one computing unit, wherein the overall circuit has circuit elements and is mathematically described by an overall state space representation, wherein the overall circuit is decomposed into at least two subcircuits by separating circuit branches in a separation step, wherein each subcircuit is mathematically described by a sub-state space representation, wherein the sub-state space representations are coupled to each other via coupling variables of the separated circuit branches, and each subcircuit is calculated by numerically solving the coupled sub-state space representations on at least one computing unit. Background Art

[0002] The invention relates to the technical field of simulating circuits in real time in order to influence or test technical physical processes. Technical physical processes may, for example, be electric motors, power supply networks, or any controlled machine parts, which are controlled by simulated circuits, in particular in automation technology. However, technical physical processes may also be, for example, controllers, such as are used in large quantities in motor vehicles, aircraft, energy harvesting or energy distribution facilities, etc. The first application case is usually described by the term rapid control prototyping (RCP), the second application case relates to the field of hardware-in-the-loop simulation (HIL).

[0003] The arithmetic units mentioned at the outset are therefore usually components of a controller or HIL simulator, each with an I / O interface, with the aid of which the simulation is performed. Electrical signals can be read in or output via the I / O interface, wherein the electrical signals can be analog or digital communication technology signals with low power, but in the case of power electronics applications, greater electrical power can also be transmitted via the I / O interface, for example for the control of electric motors.

[0004] The selected calculated output variables of the overall circuit are thus output as electrical signals via the I / O interface, so that the electrical signals have an influence on the technical physical process. Additionally or alternatively, the process variables of the technical physical process are detected in a measurement-technical manner and read in in the form of electrical signals via the I / O interface and provided to the calculation unit. The simulation has a direct influence on the physical world.

[0005] In power electronics applications, for example, involving electric drives, generators or power supply networks, in addition to ohmic resistors, capacitors and coils, the overall circuit typically also has a large number of (semiconductor) switches, for example in the power output stage (Leistungsendstufe) for realizing a frequency converter. In the overall circuit, for example, converter control data can then be generated, which is used to appropriately control the power switch of the frequency converter, wherein the power switch is usually implemented as a semiconductor switching element (for example MOSFET, metal oxide semiconductor field effect transistor). The power switch can be actively switched on or off via a controllable terminal. Other switching elements in the power circuit are diodes, which are used, for example, in a bridge circuit in anti-parallel connection with the power switch and can reduce the current driven through the inductor via the diode when the power switch is turned off. The freewheeling diode - of course, as well as other diodes - cannot be actively switched on or off via the control terminal, but rather obtains its conduction state from its electrical terminal parameters, that is, from its terminal voltage or internal diode current.

[0006] The simulation of such circuits, in particular power electronic circuits, places high demands on the simulation hardware used, i.e., on the computing units used and their memory configuration, especially because the simulation usually has to be carried out in real time, since the real process is influenced or variables obtained by measurement from the real process are processed within the scope of the simulation. Therefore, it is often necessary to ensure that the requirements in terms of computing time and memory are met.

[0007] One possible solution to this problem is to decompose the overall circuit into at least two subcircuits by separating the circuit branches in the separation step mentioned at the outset. Obviously, the mathematical description of each individual subcircuit is less complex than the mathematical description of the overall circuit in terms of results. The mathematical description of such a system is usually implemented in the context of a state space representation, wherein the state variables are here the capacitor voltages and the coil currents in the overall circuit or in the circuit branches of the subcircuits.

[0008] It is obvious that the subcircuits obtained by the separation step cannot be considered and calculated completely independently of one another, but rather the subcircuits are coupled to one another at the separation point via corresponding coupling variables of the separated circuit branches, wherein each subcircuit contains the coupling variables as input and output variables or as output and input variables. The decomposition of the overall circuit into two or more subcircuits opens up, for example, the use of multiple calculation units, wherein the individual subcircuits or their corresponding sub-state space representations are calculated on different calculation units, so that greater computing power can be utilized.

[0009] The calculation units can be different cores of a processor, but they can also be different processors of a multiprocessor system, which is not uncommon for larger HIL simulators. It is also possible that a calculation unit or multiple calculation units are implemented based on one (or more) FPGAs (field programmable gate arrays), but the speed advantage comes with difficulties in certain numerical operations such as division.

[0010] However, decomposing the overall circuit into subcircuits and subsequently decomposing the overall state space representation into a plurality of sub-state space representations is advantageous not only when using a plurality of computing units, but also when using only a single computing unit. If the overall circuit contains, for example, n switches, then the overall circuit is 2 n switch states. These states of the overall circuit are each represented separately in a mathematical manner in a state space representation by a corresponding number of different matrices of the state space representation, which contain the corresponding conductance in the conductive state of the switch at the corresponding position and a much smaller conductance or only a conductance of 0 in the blocked state of the switch. If all switch states are modeled mathematically, the corresponding number of matrices for the different state space representations results in a correspondingly high memory requirement. In the case of a decomposition into two subcircuits, the number of circuit combinations is reduced to 2 n1 +2 n2 <2 n (n=n1+n2), which shows an advantageous effect even when using only a single computing unit.

[0011] However, it is to be taken into account that not every division of the overall circuit into a plurality of subcircuits is equally expedient, since the division has an influence on the stability and accuracy of the simulation, i.e. on the calculation of the subcircuits on the at least one calculation unit. In the case of an unfavorable division of the overall circuit, it can be found that the calculation of the sub-state space representation corresponding to the subcircuits is not feasible under given boundary conditions, such as the numerical calculation step in time. Finding an advantageous division of the overall circuit into subcircuits requires experience and expertise.

[0012] In the prior art, the separation of the total circuit into subcircuits is carried out manually, for example, although with the aid of a graphical computer, the operator manually identifies the separation points in the graphically displayed total circuit (dSPACE GmbH: "Manual of the Electrical Power Systems Simulation Package", September 2016, or Opal-RT: "ARTEMiS User Guide", Version 6.1, 2008). The operator selects the separation points based solely on his experience. In order to find out whether the separation of the total circuit into subcircuits obtained in this way is numerically stable, a simulation is usually performed based on the decomposition, and the stability is evaluated with the help of the simulation results, i.e., for example, it is observed whether specific state variables take values ​​that may not be achieved in reality. This method of processing is extremely time-consuming, requires considerable expertise, and does not necessarily lead to a stable simulation, because in the test run of the simulation for evaluating the stability, no possible specific switching states are realized at all, or the test run is not performed long enough to show unstable behavior, because the errors have not accumulated sufficiently during the simulation time to be able to identify instability without a doubt. Summary of the invention

[0013] The object of the present invention is therefore to improve the method proposed at the outset for simulating an overall circuit in such a way that a system-stable separation of the overall circuit into subcircuits is determined in order to thus automatically achieve a stable and optimized simulation of the functionality of the overall circuit based on the subcircuits.

[0014] According to the present invention, the purpose cited above is basically first achieved as follows: the coupling of the sub-state space representations is described in a set of coupling equations to exchange the calculated coupling variables between the sub-circuits, so that in the evaluation step at least one stability parameter is calculated based on the set of coupling equations, so that in the selection step it is decided based on the stability parameter: whether the simulation is based on the current decomposition of the total circuit into sub-circuits, and after successful selection, the total circuit is simulated by calculating the sub-state space representation on the at least one computing unit.

[0015] The solution according to the invention differs in principle from the "trial and error" method known in the prior art based on the simulation actually performed. The basis of the method according to the invention is a sub-state space representation, which is interconnected by a system of coupled equations to exchange the calculated coupling variables. In a subsequent evaluation step, at least one stability parameter for the simulation is calculated based on the system of coupled equations. Thus, the separation of the total circuit into sub-circuits is evaluated on a system-theoretical basis. The evaluation can be of a conventional system-theoretical nature in the form of determining the eigenvalues ​​of the sub-state space representation obtained based on the separation, which is interconnected by the coupling equations. However, when considering specific numerical methods for solving the system of equations obtained by separating the total circuit, numerical considerations based on this mathematical representation are also involved. In addition, specific delay effects can be introduced into the system of coupled equations, which come with the numerical solution of the subsystem and the exchange of coupling variables. But ultimately, theoretical stability considerations are performed in each case without simulation based on the separated sub-circuits.

[0016] The result of the stability consideration is therefore the basis for the decision in the selection step, made on the basis of the calculated stability parameter, whether the simulation is based on the current decomposition of the overall circuit into subcircuits. If the result of the evaluation step is that the relevant decomposition is unstable or not sufficiently accurate (so that a relatively long time is required until a stable result is obtained), the decomposition of the overall circuit into subcircuits can also be abandoned.

[0017] However, if the decomposition of the total circuit is not abandoned, that is, a successful choice is made, then the simulation of the total circuit is carried out by calculating the sub-state space representation that was previously evaluated in a system-theoretical / numerical way on the at least one computing unit. Here, unlike the methods known in the prior art, a specific separation of the total circuit into sub-circuits is reliably selected based on system-theoretical or numerical considerations, so that the simulation of the functionality of the total circuit based on each sub-circuit is reliable and can ensure the basic stability requirements or also the requirements with regard to the calculation accuracy from the beginning. This not only has practical advantages for the user (saving time when time-consuming simulation is not required), but also the quality of the simulation can be foreseen by considering the stability of the sub-models and especially the coupling equations. Since the simulation usually has a direct impact on the real technical physical process, the method according to the invention also makes a significant contribution to process reliability.

[0018] In the selection step, it is then possible to decide, based on the calculated stability parameter, whether the simulation is based on the current decomposition of the overall circuit into subcircuits. On this basis, after successfully selecting a decomposition of the overall circuit that is considered suitable, the overall circuit can then be simulated by calculating the sub-state space representation of the subcircuits on the computing unit.

[0019] According to a preferred embodiment of the method, it is provided that in the case of a direct numerical solution of the coupled system of equations, i.e. by applying a method for the direct solution of the system of equations, a quality parameter of the numerical value is calculated as a stability parameter, wherein the quality parameter of the numerical value comprises at least one of the following parameters: condition, stability, consistency, convergence. In this case, these are essentially known parameters for evaluating the stability, accuracy or speed of the direct numerical solution method.

[0020] In the iterative numerical solution of the coupled system of equations, it is provided that an eigenvalue of the coupled system of equations is determined as a stability parameter. In particular, it is provided that a spectral radius of the coupled system of equations is determined as a stability parameter.

[0021] A further embodiment of the method according to the invention provides that the system of coupling equations is transformed from an implicit mathematical relationship between the coupling variables into an explicit mathematical relationship by adding at least one dead time to the system of coupling equations.

[0022] Then follows the actual determination equation for the coupling variable, whose value is directly obtained for the current calculation step. The addition of a dead time, for example by applying the value of the coupling variable at time k-1 instead of the value of the coupling variable at time k, is not only a "mathematical trick" but can also be understood as a modeling measure in the real physical background: If partial systems and partial state space representations are calculated on different computing units, the coupling variables must be transferred, which is always time-consuming and is therefore a process described in this way with a dead time.

[0023] A development of the method is characterized in that the coupling variable is calculated in calculation step k by extrapolating a plurality of previous values ​​of the coupling variable in previous calculation steps (k-1, k-2, ...). Thus, an estimated value of the coupling variable at time k is calculated by extrapolation from previous values ​​of the state variable. Calculations have shown that the calculation result can be significantly improved in this way compared to simply replacing the value of the state variable at time k by the old value of the state variable. This applies in particular when the addition of dead time has no corresponding purpose in the system and is to be avoided in practice.

[0024] In the above case, an improvement of the method for simulating a total circuit is characterized in that a combined total state space representation is formed from the sub-state space representations and the coupling equations extended by the adopted dead time, and an eigenvalue of the combined total state space representation is determined as a stability parameter.

[0025] An advantageous improvement of the method involves evaluating the determined eigenvalues ​​of the combined total state space representation using an additional dead time in the coupling equations. In this case, the eigenvalues ​​of the total state space representation of the unseparated total circuit, i.e., the unseparated system, are additionally determined. Then, for each eigenvalue of the total state space representation, the distance to the eigenvalue of the combined total state space representation is determined, but only the smallest eigenvalue distance (and thus the smallest eigenvalue difference in terms of magnitude) is used for the calculation of the overall stability parameter. Therefore, each eigenvalue of the non-combined total state space representation is processed. The smallest eigenvalue distances (i.e., the magnitude of the eigenvalue differences) are added. The value thus obtained is the magnitude of the degree to which the eigenvalues ​​of the separated system are far away from the unseparated system. If it is assumed that the unseparated total circuit obviously constitutes a (numerically) stable solution, the smaller the sum distance, the better the quality of the separation performed with respect to stability.

[0026] A particularly advantageous variant of the method for simulating a total circuit is characterized in that the total circuit is decomposed into a plurality of different partial circuit variants in a plurality of separation steps. At least one stability parameter is then calculated for each of the different partial circuit variants in a separate evaluation step, so that a plurality of stability parameters are obtained. In a selection step, the most suitable decomposition of the total circuit is then selected as a function of the calculated plurality of stability parameters, in particular by comparing the calculated plurality of stability parameters.

[0027] A refinement of the method addresses the problem posed at the outset in the search for the desired separation point in the overall circuit. In the following refinement of the method, it is provided that in the detection step for detecting the dependent circuit elements in the overall circuit, directly mutually dependent state variables of the overall circuit and thus linearly dependent circuit elements are determined. Such a correlation exists, for example, when a mesh is formed, in which only capacitors and voltage sources are present, or when nodes are formed, at which only current sources and inductors are applied.

[0028] Then, in the separation and removal step, the circuit branches between the relevant circuit elements are removed as possible locations for separating the total circuit, and in the subsequent separation step, the circuit branches are removed as possible locations for separating the total circuit. This measure avoids the separation of linearly dependent state variables and prevents the separation of the total circuit at locations where there is a mathematically rigid coupling of the state variables.

[0029] The circuit branches determined in the separation and removal step can either be displayed to the user so that he can avoid the corresponding circuit branches when manually arranging the separation points. Of course, it is also possible to remove the separation between linearly dependent state variables when separating the overall circuit fully automatically by computer, for example by providing a corresponding note for the prohibition of separation in the network list for the overall circuit.

[0030] In a refinement of the method with respect to the detection step, it is provided that in order to detect the relevant circuit elements in the overall circuit, the relevant switch groups are determined, i.e. those switches that have a direct influence on each other. The switch can be, for example, a series circuit of a MOSFET and a diode. The MOSFET can be actively switched on from the outside, which therefore has a mandatory switching state, while the diode sets its switching state according to the switching state of the MOSFET and the terminal value of the diode that then occurs. Such directly matching and mutually related switching events are also not allowed to be separated from each other.

[0031] As already explained above with regard to the detection of relevant circuit elements, this method step can also be implemented with the assistance of the user of the method by displaying the detected elements of the relevant switch group to the user, but the user himself defines the potential disconnection points in the overall circuit. However, this method step can also be carried out completely automatically.

[0032] In a preferred embodiment of the method, stability parameters are calculated for multiple combinations of switching states. As explained at the beginning, each changed switching state necessarily leads to a changed mathematical description of the corresponding circuit, i.e., a changed state space representation of the corresponding circuit, the matrix positions having changed values ​​with the switch positions. Therefore, stability parameters are obtained for multiple combinations of switching states, which can be evaluated as a whole. Then, an advantageous separation of the total circuit can be given, which has the best stability behavior as a whole. Preferably, only combinations of switching states that can actually occur are considered. For example, in a frequency converter, switches are operated only in a very specific type and manner according to a fixed circuit diagram, so that only very restricted selected switching states from the theoretically overall possible switching states must be fully considered.

[0033] Finally, another design of the method is characterized in that in the separation step, the circuit branches to be separated of the total circuit are selected depending on whether the generated subsystems have approximately equal numbers of energy storage devices in the form of coils and capacitors and / or whether the generated subsystems have approximately the same number of switches, in particular limit values ​​are preset for acceptable deviations from the consistency of the number of energy storage devices and / or switches and / or input terminals and / or output terminals. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Now, there are different feasible schemes to design and improve the method for simulating the overall circuit according to the present invention. In this regard, reference is made to the description of the preferred embodiment in conjunction with the accompanying drawings. In the accompanying drawings:

[0035] Figure 1 The overall circuit with the semiconductor switching element is shown, and the operation of the semiconductor switching element to obtain the state space representation;

[0036] Figure 2 showing a state space description of the total circuit and the computation of the total circuit using the total state space representation;

[0037] Figure 3 Show Figure 1 The total circuit in is separated into two subcircuits with corresponding sub-state space representations and coupling variables;

[0038] Figure 4 shows a HIL simulator with an I / O interface and a connected controller;

[0039] Figure 5 showing a sub-state space representation with a coupled system of equations and calculating stability parameters based on the coupled system of equations;

[0040] Figure 6 A flow chart is shown with a separation step, an evaluation step, a selection step and finally a simulation of the selected coupled subcircuit;

[0041] Figure 7 The overall circuit is shown with different possible separation locations;

[0042] Figure 8 Shows something like Figure 6 A flow chart having a plurality of stability parameters for determining the same; and

[0043] Fig. 9 Shows the stability, state distribution and memory requirements of the Figure 7 The different separation sites of

[0044] Fig.10 The subcircuit is shown with a split point which results in a state space representation without direct cross-linking of coupling variables. DETAILED DESCRIPTION

[0045] exist Figures 1 to 10 1 shows a computer-implemented method 1 for simulating an overall circuit 2 having circuit elements (R, L, C, D, T) with different emphases.

[0046] Figure 1The exemplary overall circuit 2 in a includes, from left to right, a rectifier, a transmission line, a buck converter and an ohmic load. The semiconductor switches are diodes D1, D2 and a MOSFET transistor T1.

[0047] Figure 1 b shows the conversion of the overall circuit 2 into a suitable representation for expressing the overall circuit 2 in state space. The semiconductor switches D1, D2, T1 are connected here by means of conductances G, G D1 , G D2 , G T1 The conductance G changes depending on the switching state of the semiconductor switches D1, D2, T1, so that in the state space representation, different conductance matrices G are obtained depending on the switching state of the semiconductor switches D1, D2, T1. The overall circuit 2 can now be described by a time-continuous overall state space representation 4 (Equation 1):

[0048] y=C (ξ) x+D (ξ) u

[0049] A (ξ) =A+BG (ξ) N.C., B. (ξ) =B+BG (ξ) ND, C (ξ) =NC,D (ξ) =ND,

[0050] In this representation, A is the system matrix, B is the input matrix, C is the output matrix, and D is the feedforward matrix, as known from system theory. I is the identity matrix, and G is the switch state-dependent conductivity matrix, where ξ is the ξ-th switch state. As is common in numerical calculations, the relationship can be expressed in a time-discrete total state space representation 4 (Equation 2):

[0051] x k+1 =Φ (ξ) x k +H (ξ) u L,k

[0052]

[0053] The mathematical description of the overall circuit 2 with the circuit elements R, L, C, D, T and the operation of the (semiconductor) switching elements D1 , D2 , T1 are basically known from the prior art.

[0054] Figure 2a shows a block diagram of the total state space representation 4 of the total circuit 2. It can be seen that the nonlinear part of the total state space representation 4 determined by the semiconductor switches is obtained by the corresponding circuit logic, as shown in Figure 2 As explained in b. Figure 2 c shows how the total circuit 2 can then be mathematically solved based on the total state space representation 4. Based on the last calculated state variables xk and input variables u L,k To calculate the output variable yk (Calculation of the output values).

[0055] Based on the actuation of the controllable semiconductor switch (gate, switching state determination), the switching state ξ of the overall circuit 2 is obtained, wherein one or more intermediate iterations can be carried out when determining the switching state ξ until a stable switching state ξ is found. This is because, in particular, passive switches, which therefore have no actuation terminals, for example Figure 1 and 2 The diodes D1 and D2 shown in FIG. 1 take switching states related to their terminal parameters, that is, their terminal voltages and their internal currents. Therefore, several calculation iterations are continued within the actual calculation step length until the switching state ξ remains stable. Finally, the state parameter x is recalculated. k+1 (Update of the state variables).

[0056] exist Figure 3 In a, the overall circuit 2 is shown again for a better understanding, as it has already been shown. Figure 1 The vertical dashed line indicates the separation step 100, in which the overall circuit 2 is decomposed into two subcircuits 5a, 5b by separating the circuit branches. The result of the separation step 100 is shown in FIG. Figure 3 b. In addition, a plurality of subcircuits 5 can be generated in the separation step 100, but in order to clarify the processing, the example is limited to two subcircuits 5a, 5b. Each of the subcircuits 5a, 5b is mathematically described by a sub-state space representation 6a, 6b, as shown in Figure 3 c. The sub-state space representations 6a, 6b (in Figure 3 ) are again time-discrete. Since the subcircuits 5a and 5b are not independent of each other at the separation point, i.e., at the separate circuit branches, but are coupled to each other, the relation is used as a variable with respect to the coupling variable i I,II,k and v II,I,kEach of the subcircuits 5a, 5b is calculated by numerically solving the coupled sub-state space representations 6a, 6b on the computation unit 3.

[0057] exist Figure 4 , in which a method 1 for simulating a total circuit 2 or a subcircuit 5a, 5b is performed. In this embodiment, method 1 is performed on a simulator 7, which has a plurality of computing units 3. The method can also be used just as well with only one single computing unit 3. With the aid of the computing unit 3 of the simulator 7, the sub-state space representations 6a, 6b are numerically solved with the computing unit 3, which are coupled to each other via coupling variables. Via the I / O interface 8 of the simulator 7, a part of the calculated variables is output to a technical physical process in the form of a controller 9. Conversely, the response variables of the controller 9 output via the controller interface 10 are read in by the simulator 7 via its I / O interface 8 and the calculations within the simulator 7 are again based on the response variables. The calculations of the total circuit 2 or the subcircuit 5a, 5b on the computing unit 3 of the simulator 7 therefore have a direct impact on the technical physical process in the form of the controller 9. The application case shown is a HIL simulator, in which the device under test is the controller 9. The calculation of the overall circuit 2 or the subcircuits 5a, 5b is performed in real time on the computing unit 3, since technical physical processes naturally also operate in “real time.” It must therefore be ensured that the overall circuit 2 or the subcircuits 5a, 5b can be calculated in real time using the available hardware resources.

[0058] As mentioned at the beginning, a known measure for achieving this purpose is to separate the total circuit 2 into a plurality of subcircuits 5a, 5b. By means of the separation, the complexity (possible circuit combinations) is reduced, so that larger circuits can be calculated in real time. The problem is that not every possible separation of the total circuit 2 into a plurality of subcircuits 5a, 5b is equally suitable, for example because under given boundary conditions, such as numerical calculation step lengths, numerically stable or sufficiently fast simulations are not feasible. As mentioned at the beginning, it is common in the prior art that, in order to determine the stability of the calculation of a plurality of subcircuits 5a, 5b, the relevant subcircuits 5a, 5b or the associated sub-state space representations 6a, 6b are executed on a computing unit 3 or on a plurality of computing units 3, so that empirical values ​​about stability are obtained by actually executing simulations. However, the empirical values ​​are unreliable in doubtful cases, because the stability conclusions are only confirmed during longer simulations, or the simulations performed do not cover all possible switch combinations.

[0059] In the self Figure 5 The accompanying drawings show how to solve this problem. Figure 5In the upper region, firstly, the processing of the partial state space representations 6a, 6b is shown, which in principle corresponds to the processing of the overall state space representation 4, as shown in Figure 2 c. In more detail, the sub-state space representations 6a, 6b are expressed as follows for sub-circuits 1, 5a (Equation 3):

[0060]

[0061] And for subcircuit II, 5b is expressed as follows (Equation 4):

[0062]

[0063] The symbol I here represents the first subcircuit 5a. And the symbol II represents the subcircuit 5b. The input terminals of the subcircuits 5a, 5b or their state space representations 6a, 6b are either arbitrary input terminals u I,Int,k ;u II,Int,k (typically, this is a source within the subcircuit that is independent of the separation of the overall circuit 2), or an input terminal u associated with the separation site I,MS,k ;u II,MS,k Similarly, the output vector is divided into arbitrary output terminals y independent of the separation of the total circuit 2 I,M,k ;y II,M,k , and the output terminal y associated with the separation site I,MS,k ;y II,MS,k The power exponents α and β represent the switching states within the subcircuits 5a, 5b.

[0064] It can also be seen from the representation in equations 3 and 4 how the system of equations can be coupled to one another via the input and output at the separation point of the overall circuit 2, since it applies (equation 5):

[0065] u II,MS,k =y I,MS,k and u I,MS,k =y II,MS,k .

[0066] With the indicated relation (Equation 5) for the coupling of the two subcircuits 5a, 5b via the coupling variable, the equation description of the subcircuits 5a, 5b follows from the following sub-state space representations 6a, 6b, namely for the subcircuit 5a (Equation 6):

[0067]

[0068]

[0069] And for subcircuit 5b (Equation 7):

[0070]

[0071]

[0072] Now, from the relations in equations 6 and 7 regarding the output variables, the coupled equation system 11 (equation 8, Figure 5 ):

[0073]

[0074]

[0075] The coupling equation system 11 describes the exchange of calculated coupling variables between the subcircuits 5 a , 5 b .

[0076] Based on the coupled set of equations 11, a stability parameter S is then calculated in an evaluation step 110, which stability parameter, based on theoretical considerations, enables a reliable assessment of the stability of the calculation of the coupled sub-state space representations 6a, 6b. It is therefore not necessary to carry out simulations of the sub-state space representations 6a, 6b, which stability parameter S is based on a system-theoretical stability criterion and / or a numerical stability criterion based on the coupled set of equations 11.

[0077] exist Figure 6 The method sequence up to now and further method steps are shown in a diagram in FIG. The starting point is the overall circuit 2 and its overall state space representation 4. In a separation step 100, the overall circuit 2 is separated into subcircuits 5, which are described mathematically by sub-state space representations 6. First, a system of coupled equations 11 is expressed, which describes the coupling of the sub-state space representations 6. Then, in a subsequent evaluation step 110, at least one stability parameter S is calculated based on the system of coupled equations 11, for example in the form of calculation of eigenvalues, condition numbers (in the case of direct numerical solution), etc.

[0078] In a selection step 120, it is then decided on the basis of the calculated stability parameter S whether the simulation is based on the current decomposition of the total circuit 2 into subcircuits 5. In this selection step 120, the stability parameter S itself is therefore evaluated, wherein, as long as the unseparated system is stable, an unstable solution in principle cannot be the basis for further simulations. However, in the selection step 120, a stable separation of the total circuit can also be discarded if, for example, it is found that the separation leads to stable results in principle, but the calculation does not converge quickly enough. If the separation is considered unsuitable, the usual procedure is to test a further separation of the total circuit 2 based on the total circuit 2 and to evaluate it, in Figure 6 In the selection step 120, the "bad" branches are identified after evaluating eval(S).

[0079] If the stability parameter S satisfies the evaluation in the selection step 120 , the further simulation on the computing unit 3 is based on the separation in question (sim(5,6)).

[0080] The calculation of the stability parameter S can be performed differently. In the case of a direct numerical solution of the coupled system of equations 11, for example by applying the Gaussian method with the aid of an LU decomposition, the condition number κ of the coupled system of equations 11 is calculated as the stability parameter S. Thus, the system of equations (Equation 9) resulting from the coupled system of equations 11 (Equation 8) is solved:

[0081]

[0082] The condition number κ is a parameter that describes the convergence speed and thus the stability and accuracy of the calculation.

[0083] The disadvantage when applying direct numerical solution methods is that the divisions must be performed on a fairly large scale, which is extremely time-consuming and resource-intensive on an FPGA (Field Programmable Gate Array). If the simulation is performed on an FPGA, it is therefore more appropriate to apply iterative numerical solution methods, for example by fixed-point iteration, without divisions to process the coupled equation system 11. For this purpose, the coupled equation system 11 is first expressed as fixed-point equations, i.e., the equation x=f(x) (Equation 10) is introduced as an iteration rule:

[0084]

[0085] In Equation 10, p represents the iteration step. In order to evaluate the stability and convergence rate of the fixed-point iteration, the spectral radius ρ is suitable to be determined as the stability parameter S (Equation 11):

[0086] ρ=max{|eig(J)|}

[0087] The eigenvalues ​​of the matrix J resulting from the coupled system of equations 11 can also be subjected to another suitable evaluation.

[0088] In another embodiment of the method 1, an additional dead time is added to the coupled equations of the coupled equation set 11 to avoid implicit coupling. Then, the following equation 12 is obtained from equation 8 in the coupled equation set 11:

[0089]

[0090] On the right side of Equation 8, the coupling variable u at time k is I,MS,k 、u II,MS,k The coupling variable u at time k-1 I,MS,k-1 、uII,MS,k-1 Instead. Therefore, the equation 12 thus formed simply becomes a determination equation for the coupling variable at time k, because the coupling variable at time k-1 is known, thus eliminating the costly implicit numerical solution. Here, a dead time is set at the separation point, that is, at the circuit branch of the total circuit 22 separated in the separation step 100. At the separation point, the coupling variable is delayed by one calculation step, which can be easily implemented in the time-discrete expression of the state space representation. As explained in the general description section, this measure can also have an actual physical counterpart, that is, for example, the transmission time of the coupling variable from one calculation unit to another calculation unit. For example, then it applies (Equation 13, see the expression in Equation 5):

[0091] U II,MS,k =y I,MS,k-1 and u I,MS,k =y II,MS,k-1 .

[0092] If the advantages of converting the coupled equation system 11 from an implicit mathematical relationship to an explicit mathematical relationship are to be maintained, then the additional dead time due to the coupling variable u at the time k-1 should be avoided or at least reduced. I,MS,k-1 、u II,MS,k-1 Simply replace the coupling variable u at time k I,MS,k 、u II,MS,k Therefore, the future estimated value of the coupling variable is used to replace u based on the old value of the coupling variable. I,MS,k 、u II,MS,k . In one embodiment, it is provided that the coupling variable is calculated in calculation step k by extrapolating a plurality of previous values ​​of the coupling variable in previous calculation steps (k-1, k-2, ...). In a simple case, the extrapolation is a linear continuation of the two previous values ​​of the coupling variable at the times k-1 and k-2. In a refinement of the method, the extrapolation is discarded if a switching event occurs in the overall circuit, since the current and voltage may change very rapidly in this case. The (linear) continuation of the coupling variable may then deviate significantly from the actual course of the coupling variable, so that in this case - for one or several calculation steps - the implicit system of coupling equations is again calculated using an implicit numerical method.

[0093] It is obvious that this measure generates an additional state equation, so that an extended expression of the partial state space representation 6a, 6b results, namely equation 14 for the first partial circuit 5a:

[0094]

[0095]

[0096] and Equation 15 for the second subcircuit 5b:

[0097]

[0098]

[0099] From the sub-state space representations 6a, 6b (Equations 14 and 15) and the coupled equations of the coupled system of equations 11 extended by the adopted dead time, a combined total state space representation (not to be confused with the non-combined total state space representation 4) is formed and the eigenvalues ​​of the combined total state space representation are determined as stability parameters S. The combined total state space representation is shown below (Equation 16):

[0100]

[0101] The determined eigenvalues ​​of the combined total state space representation can itself be used as stability parameter S. In a special embodiment of the method 1, it is provided that the eigenvalues ​​of the non-combined total state space representation 4 of the unseparated total circuit 2 are additionally determined, and the overall spacing measure ε of the minimum eigenvalue difference between the eigenvalues ​​of the combined total state space representation and the non-combined total state space representation 4 is calculated as the overall stability parameter S (Equation 17):

[0102]

[0103] Figure 7 It is shown that the overall circuit 2 is broken down in a plurality of separation steps 100 into a plurality of different subcircuit variants consisting of two subcircuits. Figure 8 The method sequence shown is based on this. For each of the different subcircuit variants based on the further separation step 100 , at least one stability parameter S is calculated in an evaluation step 110 . i , so that multiple stability parameters S are obtained i , S1, S2, S n In the selection step 120, according to a plurality of calculated stability parameters S i , here by calculating multiple stability parameters S i Compare and determine the best stability parameter S opt , and then select the most suitable decomposition of the total circuit 2, thereby also knowing the most suitable sub-circuit 5 opt and the most suitable sub-state space representation 6 opt Then, simulation (sim(5 opt ,6 opt )).

[0104] exist Figure 7It is also shown in FIG. 1 that in the detection step 130 for detecting the related circuit elements in the total circuit 2, directly related state variables of the total circuit 2 are determined, and thus the linearly related circuit elements are determined. In the total circuit 2 shown, the capacitors C1 and C2 connected in parallel are related to each other or have a common terminal voltage. In this case, in the separation and removal step 140 (see Figure 8 ), remove the circuit branch between the relevant circuit elements C1 and C2 as a possible separation position of the total circuit 2, wherein the circuit branch removed as a possible separation position of the total circuit 2 in the separation and removal step 140 is taken out in the subsequent separation step 100.

[0105] In this case, Figure 7 It is also shown that in the detection step 130 for detecting the relevant circuit elements in the overall circuit 2, the relevant switch groups, i.e. those switches D, T that have a direct influence on each other, are determined. In the circuit example shown, the switches are MOSFET T1 and diode D2. Then in the subsequent separation removal step 140, as described above, the circuit branches between the relevant switches of the relevant switch groups are removed as possible separation locations of the overall circuit 2.

[0106] Fig. 9 Show Figure 7 Evaluation of different separations of the total circuit 2 in FIG. The individual separation locations are shown on the abscissas of five different diagrams 9a) to 9e), wherein Fig. 9 The numbers in the Figure 7 The first thing that is obvious is that according to Fig. 9 The separation locations 2 and 7 removed in the separation and removal step 140 are not listed at all in the evaluation of , since no separation of the overall circuit 2 occurs at these locations.

[0107] Fig. 9 a) to Fig. 9 c) shows the evaluation according to the different stability parameters S explained above, namely according to the total spacing scale ε of the minimum eigenvalue difference between the eigenvalues ​​of the combined total state space representation and the non-combined total state space representation (when adding additional dead time, suitable for FPGA, the smallest total spacing is optimal), according to the spectral radius ρ (fixed-point iteration, suitable for FPGA, stability at values ​​less than 1) and according to the condition number κ (numerical direct solution by division, values ​​greater than or equal to 1, small values ​​in well-conditioned matrices). In addition, Fig. 9 d) shows the distribution of the state variables on the subcircuits, and Fig. 9 The memory consumption of each subcircuit is shown in e).

[0108] From the evaluation, it can be seen that separation mode 1 is completely unsuitable for stability reasons and due to poor conditions. Separation modes 3 and 4 have the same excellent stability for all methods. Here, the advantage is obtained due to the simple calculation of the dead time variation. Separation mode 5 is only recommended when using direct methods; at the same time, the distribution of state variables and memory consumption is evenly distributed. Although separation mode 6 has a balanced state variable and memory distribution, stability only exists for direct methods, and the conditions described here are also only moderate. Although separation modes 8, 9 and 10 are stable, all switches are concentrated in the subcircuit on the left, which causes undesirable memory requirements and is therefore unnecessary.

[0109] A further approach is described below, by means of which the effort for calculating the sub-state space representations 6a, 6b of the total circuit 2 or the coupling is reduced by means of the coupling equation set 11. The approach is generally based on the following idea: the total circuit 2 is first split at a location where no direct cross-connection of the formed coupling parameters is given or is not generated by the splitting. In the case of mathematical continuity, this means that the cross-connection matrix D of the sub-circuits 5a, 5b is 0 or the elements of the D matrix become 0. The state space representation of the sub-circuits 5a, 5b is then divided into an internal part without coupling parameters (i.e., only having internal state parameters and possible external inputs that are not related to the coupling parameters) and a coupling part having the coupling parameters as input parameters. The coupling part is then discretized using an explicit numerical method, since only in this case is it ensured that the discrete cross-connection matrix D of the discrete sub-state space representations 6a, 6b d or D d Each element of the matrix is ​​kept equal to 0. The internal part is discretized and calculated using an implicit numerical method.

[0110] In the separation step 100, a circuit branch is selected as a separation point of the overall circuit 2, which leads to a continuous system of coupling equations in an explicit mathematical form, in which there is no cross-connection between the coupling variables of the subcircuits 5a, 5b. This is obtained when the coupling variables of the subcircuits 5a, 5b are only dependent on non-step state variables of the respective subcircuits 5a, 5b, i.e., for example, only on the current in the coil and / or the voltage across the capacitor. This is exemplified in Fig.10 In Fig.10 The separation of subcircuits 5a and 5b shown in Figs. 10a and 10b results in a desired simplified relationship without direct cross-connection. The clouds represent any remaining circuits. In both cases, the capacitor C i The voltage on the coil L iThe current is the state parameter, so that the cross-connection matrix is ​​0 in the time-continuous state space description. When discretization is performed using explicit methods, this property - as already mentioned - is also maintained in the time-discrete description.

[0111] It is shown below that the sub-state space representation with the internal state variables of the sub-circuits 5 a , 5 b is solved using a combination of explicit and implicit numerical methods.

[0112] In the case of time continuity, the state space of the subcircuits 5a, 5b (here represented by the symbol I) is described as follows (Equation 18):

[0113]

[0114] The first two is the internal part of the sub-state space representation without coupling parameters, and the remaining term The coupling parameter caused by the circuit separation is the coupling part of the sub-state space representation of the input parameter (the symbol MS stands for "model splitting"), that is:

[0115]

[0116] Now, different discretization methods are used for the internal part and the coupling part of the time-continuous sub-state space representation, that is, an implicit discretization method (such as backward Euler) is used for the internal part and an explicit discretization method (such as forward Euler) is used for the coupling part. The discretized representation is then as follows (Equation 19):

[0117]

[0118] Here, T is the calculation step size and the corresponding discretization method can be configured by selecting the value of γ (for γ=0, γ=1 / 2 and γ=1, forward Euler, bilinear transformation and backward Euler). Substituting into (Equation 20):

[0119]

[0120] The following time-discrete sub-state space representation can be obtained (Equation 21):

[0121]

[0122] For the output we get (Equation 22):

[0123]

[0124] It can be seen that the elements of the cross-connection matrix in the time-continuous representation are also retained in the time-discrete expression. When these elements become 0 through the appropriate decomposition of the total circuit into subcircuits as described above, they are also in the time-discrete representation, thereby significantly simplifying the calculation.

[0125] The method 1 according to the invention allows the evaluation of the separation of the total circuit into subcircuits by calculating stability parameters based on a system of coupled equations without having to simulate the subcircuits. The method is fast and reliable without the uncertainties of known simulation methods for estimating stability.

[0126] Different criteria for the separation and removal step 140 of the possible separation positions for removing the total circuit 2 can achieve reliable acquisition of favorable separation positions without the need for professional knowledge and experience. All method steps are fully automatable and can be searched and used to perform the optimal separation of the total circuit into subcircuits in a short time, and to ensure stable simulation results and, if necessary, to achieve the optimal distribution of storage and computing time requirements.

[0127] List of reference numerals:

[0128] 1 Methods

[0129] 2 Total circuit

[0130] 3 Calculation time

[0131] 4 Total state space representation

[0132] Subcircuits 5a, 5b

[0133] 6a, 6b Substate space representation

[0134] 7 Emulator

[0135] 8 I / O interface simulator

[0136] 9 Controller

[0137] 10 I / O interface controller

[0138] 11 Coupled equations

[0139] 100 Separation Steps

[0140] 110 Evaluation Steps

[0141] 120 Selection Steps

[0142] 130 Detection steps

[0143] 140 Separation and Removal Steps

Claims

1. A computer-implemented method (1) for simulating a total circuit (2) by means of at least one computing unit (3), wherein: The total circuit (2) has circuit elements (R1, R1, L1, L2, C1-C4, D1, D2, T1) and is mathematically described by a total state space representation (4). The total circuit (2) is decomposed into at least two subcircuits (5a, 5b) by separating circuit branches in a separation step (100), wherein each subcircuit (5a, 5b) is mathematically described by a sub-state space representation (6a, 6b), wherein the sub-state space representations (6a, 6b) are respectively described by coupling variables (i) of the separated circuit branches. I,II,k 、v II,I,k 、u I,MS,k 、u II,MS,k 、y I,MS,k 、y II,MS,k ) are coupled to each other and each subcircuit (5a, 5b) is calculated by numerically solving the coupled sub-state space representations (6a, 6b) on the at least one computational unit (3), It is characterized by: The coupling of the sub-state space representations (6a, 6b) is depicted in a set of coupling equations (11) to exchange the calculated coupling variables between the sub-circuits (5a, 5b), In an evaluation step (110) at least one stability parameter S is calculated based on said coupled equations (11), In a selection step (120) it is decided, based on the calculated stability parameter S, whether the simulation is based on the current decomposition of the overall circuit (2) into subcircuits (5a, 5b), and After successful selection, the overall circuit (2) is simulated by computing the sub-state space representation (6a, 6b) on the at least one computing unit (3).

2. The method (1) according to claim 1, characterized in that In the case of a direct numerical solution of the coupled system of equations (11), at least one of the following variables of the coupled system of equations (11) is calculated as a stability parameter S: condition, stability, consistency, convergence.

3. The method (1) according to claim 1, characterized in that When the coupled equation system (11) is numerically solved iteratively, an eigenvalue of the coupled equation system (11) is determined as a stability parameter S.

4. The method (1) according to any one of claims 1 to 3, characterized in that By adding at least one dead time to the coupled equations (11), the coupled equations (11) are transformed from implicit mathematical relationships between coupled variables to explicit mathematical relationships.

5. The method (1) according to any one of claims 1 to 3, characterized in that The coupling variable is calculated in calculation step k by extrapolating a plurality of previous values ​​of the coupling variable in preceding calculation steps (k-1, k-2, . . . ).

6. The method (1) according to claim 4, characterized in that A combined total state space representation is formed from the sub-state space representations (6a, 6b) and the coupled equations of the coupled equation set (11) extended by the adopted dead time, and an eigenvalue of the combined total state space representation is determined as a stability parameter S.

7. The method (1) according to claim 6, characterized in that In addition, the eigenvalues ​​of the non-combined total state space representation (4) of the unseparated total circuit (2) are determined, and the overall distance measure of the minimum eigenvalue distance between the eigenvalues ​​of the combined total state space representation and the eigenvalues ​​of the non-combined total state space representation (4) is calculated as an overall stability parameter.

8. The method according to any one of claims 1 to 3, characterized in that The total circuit (2) is decomposed into a plurality of different sub-circuit variants in a plurality of separation steps (100), and for each of the different sub-circuit variants, at least one stability parameter S is calculated in an evaluation step, so that a plurality of stability parameters S are obtained, and in a selection step (120), the most suitable decomposition of the total circuit (2) is selected based on the calculated plurality of stability parameters S.

9. The method (1) according to any one of claims 1 to 3, characterized in that In a detection step (130) for detecting relevant circuit elements (C1, C2) in the total circuit (2), directly related state parameters of the total circuit (2) are determined, and then linearly related circuit elements (C1, C2) are determined. In a separation and removal step (140), a circuit branch between the relevant circuit elements (C1, C2) is removed as a possible separation position of the total circuit (2), and in a subsequent separation step (100), the following circuit branch is taken out, and the circuit branch is removed as a possible separation position of the total circuit (2) in the separation and removal step (140).

10. The method (1) according to claim 9, characterized in that In a detection step (130) for detecting relevant circuit elements (D2, T1) in the overall circuit (2), relevant switch groups, i.e., those switches (D2, T1) that have a direct influence on each other, are determined, and in the separation and removal step (140), circuit branches between the relevant switches of the relevant switch groups are removed as possible separation locations of the overall circuit (2).

11. The method (1) according to any one of claims 1 to 3, characterized in that In the separation step (100), a circuit branch is selected as a separation location of the total circuit (2), which circuit branch leads to a set of coupled equations (11) in an explicit mathematical form, in which there is no cross-connection between the coupled variables of the subcircuits (5a, 5b).

12. The method according to claim 11, characterized in that The coupling variables of the subcircuits (5a, 5b) are only related to the non-step state variables of the corresponding subcircuits (5a, 5b).

13. The method according to claim 11, characterized in that The sub-state space representation (6a, 6b) with the internal state parameters of the sub-circuits (5a, 5b) is solved using a combination of explicit and implicit numerical methods.

14. The method according to any one of claims 1 to 3, characterized in that The stability parameter S is calculated for a plurality of combinations of switching states.

15. The method (1) according to any one of claims 1 to 3, characterized in that In the separation step (100), the circuit branch to be separated of the total circuit (2) is selected based on whether the generated subcircuits (5a, 5b) have approximately the same number of energy storage devices in the form of coils and capacitors and / or whether the generated subcircuits (5a, 5b) have approximately the same number of switches.

16. The method (1) according to claim 3, characterized in that When the coupled equation system (11) is numerically solved iteratively, the spectral radius of the coupled equation system (11) is determined as a stability parameter.

17. The method (1) according to claim 8, characterized in that In the selection step (120), the most suitable decomposition of the total circuit (2) is selected by comparing the calculated plurality of stability parameters S.

18. The method (1) according to claim 12, characterized in that The coupling variables of the subcircuits (5a, 5b) are only related to the current of the coil and / or the voltage of the capacitor.

19. The method (1) according to claim 15, characterized in that Limit values ​​are predefined for acceptable deviations from the numerical consistency of energy stores and / or switches and / or inputs and / or outputs.

20. A simulator comprising at least one computing unit (3), wherein: The simulator is configured to simulate a total circuit (2) by means of the at least one calculation unit (3), wherein the total circuit comprises circuit elements (R1, R2, L1, L2, C1-C4, D1, D2, T1), the total circuit (2) being mathematically describable by a total state space representation (4), and the simulator comprising a separation module for decomposing the total circuit (2) into at least two subcircuits (5a, 5b), wherein each subcircuit (5a, 5b) is mathematically describable by a sub-state space representation (6a, 6b), wherein the sub-state space representations (6a, 6b) are describable via coupling variables (i I,II,k 、v II,I,k 、u I,MS,k 、u II,MS,k 、y I,MS,k 、y II,MS,k ) are coupled to each other, and each subcircuit (5a, 5b) can be calculated by numerically solving the coupled sub-state space representation (6a, 6b) on the at least one computing unit (3), characterized in that The coupling of the sub-state space representations (6a, 6b) can be depicted in a set of coupling equations (11) to exchange the calculated coupling variables between the sub-circuits (5a, 5b), The simulator comprises an evaluation module for calculating at least one stability parameter S based on the coupled set of equations (11), The simulator comprises a selection module for deciding, according to the calculated stability parameter S, whether the simulation is based on the current decomposition of the total circuit (2) into subcircuits (5a, 5b), and After successful selection, the overall circuit (2) is simulated by computing the sub-state space representation (6a, 6b) on the at least one computing unit (3).

21. A simulator comprising at least one computing unit (3), wherein: The simulator is configured to simulate a complete circuit (2) by means of the at least one computing unit (3), wherein the complete circuit comprises circuit elements (R1, R2, L1, L2, C1-C4, D1, D2, T1), wherein the simulator is designed to carry out the method according to one of claims 1 to 19.

22. A storage medium comprising a sequence of instructions, wherein: When executed by at least one computing unit, the sequence of instructions implements the method according to one of claims 1 to 19 .