3 Numerical examples and discussion
3.1 Viscous Burgers’ equation
This section reports on the example of the viscous Burgers’ equation
describing the velocity of a fluid in one spatial coordinate. The viscosity parameter was set to . By following [6], the PDE was semi-discretized in space through a finite difference scheme with 200 points. The resulting nonlinear dynamical system describing the temporal evolution was formulated as a quadratic-bilinear system of size .
A data-driven bilinear model with degree could be constructed by sampling the first- and second-degree transfer functions and . In particular, was sampled on the imaginary axis at points, log-spaced and corresponding to the frequency band . The function was sampled at points, with both and purely imaginary and in the frequency interval . Running the proposed algorithm with poles, 40 iterations, and to approximate and leads to a fitted bilinear model with overall order 13. Frequency-domain accuracy is reported in Figure 11.1, where the left panel shows the relative error with respect to both and , and the right panel directly compares the responses.

Figure 11.1 Error analysis for the example in Section 3.1. Left panel: Relative error on for both and on the imaginary axis. Right panel: Model-data comparison for with respect to and for several fixed values of .
In the time domain, the responses of the full-order model are compared with the fitted one in Figure 11.2 (left panel). In this experiment, and the input is an amplitude-modulated chirp , with sweeping from to , in order to test accuracy over a broad frequency range. In the right panel of Figure 11.2, we also show that the system nonlinearity is being modeled correctly because adding the degree-2 subsystem leads to a substantial error reduction compared to a simple degree-1 approximation (where only is fitted).

Figure 11.2 Time-domain solution of the example in Section 3.1. The left panel compares the full-order model response with that of the fitted model (of degree 2). The right panel reports the instantaneous error for two models with , showing that the nonlinear ( ) model is more accurate than the linear approximation .
3.2 Nonlinear RC ladder
This example is an electrical network with nonlinear elements, originally introduced in [9]. In particular, it is an RC ladder circuit with diodes in parallel to resistors (see Figure 11.3). The input is a current source, while the output is the voltage at the first node.

Figure 11.3 Nonlinear electrical network of the example in Section 3.2, picture adapted from [22].
Diodes have an exponential characteristic so that the original state equation contains nonpolynomial nonlinearities. Therefore, starting from a model with states, Carleman bilinearization was used to obtain a lifted bilinear model with . The resulting system is considered the starting point for applying the proposed data-driven modeling scheme.
We sampled at points on the imaginary axis , with in addition to . Regarding higher-order transfer functions, we randomly selected and points to sample and .
Using the proposed algorithm with poles and 20 iterations leads to the accurate fitting of the first frequency responses, as shown in Figure 11.4 for . In time-domain, the model was tested in a 2-s long simulation with amplitude-modulated chirp input , with varying linearly from to .

Figure 11.4 Error analysis for the example in Section 3.2. Left panel: Model-data comparison for the degree-1 transfer function. Right panel: Degree-2 transfer function with respect to for several fixed values of .
Figure 11.5 compares the original and reduced model responses, showing that adding higher-order transfer functions decreases the error and that the degree-3 model is sufficient to produce a response that is indistinguishable from the full-order model for this case. Note that the error curves depicted in Figure 11.5 are related to the time-domain simulation used for testing that involves an oscillatory signal. The input has here been chosen to push the system into a regime of nonlinear operation where the contribution from the higher-order transfer functions can be appreciated and, in particular, models with are insufficient, as shown in Figure 11.6.

Figure 11.5 Time-domain solution for the example in Section 3.2. Left panel: Comparison of full-order and fitted model of degree . Right panel: Evolution of instantaneous error with respect to model degree.

Figure 11.6 Left panel: Time-domain response of example in Section 3.2, highlighting the qualitative difference between models with and . Right panel: Error in the time-domain solution of Figure 11.5, measured as root mean square (RMS) and peak error (max. in ).