We investigate circuit models, namely, modified nodal analysis (MNA) in the port-Hamiltonian framework. Based on this, the JR-decomposition for the numerical treatment would offer an energy conform splitting. However, for circuit models, the application of the standard JR-decomposition is restricted. To enable a JR-decomposition for MNA, we need to relax the decomposition. To this end, we introduce the enhanced JR-decomposition, which is particularly tailored to the application to circuits. We conclude with a numerical example that illustrates the applicability of the proposed approach as well as its convergence and structure-preserving properties.
Operator splitting methods allow to split the operator describing a complex dynamical system into a sequence of simpler subsystems and treat each part independently. In the modeling of dynamical problems, systems of (possibly coupled) differential-algebraic equations (DAEs) arise. This motivates the application of operator splittings which are aware of the various structural forms of DAEs. Here, we present an approach for the splitting of coupled index-1 DAE as well as for the splitting of port-Hamiltonian DAEs, taking advantage of the energy-conservative and energy-dissipative parts. We provide numerical examples illustrating our second-order convergence results.
We develop an energy-optimal generalized scalar auxiliary variable (EOP-GSAV) framework for nonlinear index-one port-Hamiltonian differential-algebraic equations (pH-DAEs). Exploiting the port-Hamiltonian structure, we separate the nonlinear effort, interconnection, and dissipation terms from a constant implicit core. The resulting BDF-1 and BDF-2 schemes require one linear solve per time step with a reusable factorization, while retaining discrete passivity and accurate tracking of the Hamiltonian. The schemes are compared with the implicit midpoint method equipped with full, modified, and frozen-Jacobian Newton iterations. Numerical experiments ranging from a strongly state-dependent nonlinear stress test to large-scale benchmarks demonstrate robust and competitive performance, with substantial efficiency gains in matched-accuracy regimes. A comparison with SUNDIALS IDA shows comparable work-precision behavior at equal order despite a non-specialized Python/SciPy implementation, while unrestricted variable-order adaptive IDA is faster in the high-accuracy regime.
We present a hybrid a–priori/a–posteriori goal–oriented error estimator for a combination of dynamic iteration based solution of linear ordinary differential equations discretized by finite elements. Our novel error estimator combines estimates from classical dynamic iteration methods, usually used to enable splitting–based distributed simulation, and from the dual weighted residual method to be able to evaluate and balance both, the dynamic iteration error and the discretization error in desired quantities of interest. The obtained error estimators are used to conduct refinements of the computational mesh and as a stopping criterion for the dynamic iteration. In particular, we allow for an adaptive and flexible discretization of the time domain, where variables can be discretized differently to match both goal and solution requirements, e.g. in view of multiple time scales. We endow the scheme with efficient solvers from numerical linear algebra to ensure its applicability to complex problems. Numerical experiments compare the adaptive approach to a uniform refinement.
Operator splitting provides an attractive approach for the numerical integration of (coupled) port-Hamiltonian systems, as it allows the underlying system structure to be exploited at the level of the individual subproblems. However, the choice of the decomposition is not unique and may strongly affect both the computational efficiency and the preservation of the energy behavior of the original system. In this work, we investigate this interplay systematically and introduce energy consistency as a criterion for assessing splitting methods for port-Hamiltonian ordinary differential equations. We derive sufficient conditions under which a splitting based on a given decomposition inherits the energy behavior of the continuous system and use these conditions to analyze several decomposition strategies for coupled port-Hamiltonian systems. In particular, we compare decompositions that preserve the structure with approaches that exploit lower-dimensional subsystem dynamics or separated time scales. The analysis is complemented by numerical experiments using Strang splitting and its multiple-time-stepping extension. A scalable electro-thermal benchmark with fast electrical and slow thermal dynamics is employed to assess accuracy, energy behavior, and computational efficiency. The results demonstrate that preserving the port-Hamiltonian structure of the subflows is essential for energy-consistent splitting, whereas decompositions that exploit subsystem structure or time-scale separation can provide substantial computational advantages. In particular, the time-scale decomposition yields significant efficiency gains for systems with pronounced multirate characteristics, while structure-destroying decompositions may lead to undesirable energy behavior.
Port-Hamiltonian systems provide a highly-structured framework for modeling of physical systems. By definition, they encode a balance equation relating energy changes to supplied and dissipated energy. Capturing this energy balance in discrete approximations is a fundamental challenge and often has been achieved by designing particular schemes such as discrete gradient methods. In this work, we propose an approach that controls the energy balance violation for port-Hamiltonian differential algebraic equations via time adaptivity using a posteriori grid refinement techniques based on the dual weighted residual method. In particular, we show how one may leverage the port-Hamiltonian structure to efficiently compute the error estimators using a dissipativity-exploiting block-Jacobi approximation. We illustrate the efficacy of the method by means of simulations of electrical circuit models.
Port-Hamiltonian systems provide an energy-based modeling paradigm for dynamical input-state-output systems. At their core, they fulfill an energy balance relating stored, dissipated and supplied energy. To accurately resolve this energy balance in time discretizations, we propose an adaptive grid refinement technique based on a posteriori error estimation. The evaluation of the error estimator includes the computation of adjoint sensitivities. To interpret this adjoint equation as a backwards-in-time equation, we show piecewise weak differentiability of the dual variable. Then, leveraging dissipativity of the port-Hamiltonian dynamics, we present a parallelizable approximation of the underlying adjoint system in the spirit of a block-Jacobi method to efficiently compute error indicators. We illustrate the performance of the proposed scheme by means of numerical experiments showing that it yields a smaller violation of the energy balance when compared to uniform refinements and traditional step-size controlled time stepping.
In the simulation of differential-algebraic equations (DAEs), it is essential to employ numerical schemes that take into account the inherent structure and maintain explicit or hidden algebraic constraints. This paper focuses on operator splitting techniques for coupled systems and aims at preserving the structure in the port-Hamiltonian framework. The study explores two decomposition strategies: one considering the underlying coupled subsystem structure and the other addressing energy-associated properties such as conservation and dissipation. We show that for coupled index-1 DAEs with and without private index-2 variables, the splitting schemes on top of a dimension-reducing decomposition achieve the same convergence rate as in the case of ordinary differential equations. Additionally, we discuss an energy-associated decomposition for linear time-invariant port-Hamiltonian index-1 DAEs and introduce generalized Cayley transforms to uphold energy conservation. The effectiveness of both strategies is evaluated using port-Hamiltonian benchmark examples from electric circuits.
The port-Hamiltonian (pH) modelling framework allows for models that preserve essential physical properties such as energy conservation or dissipative inequalities. If all subsystems are modelled as pH systems and the inputs are related to the output in a linear manner, the overall system can be modelled as a pH system, too, which preserves the properties of the underlying subsystems. If the coupling is given by a skew-symmetric matrix, as usual in many applications, the overall system can be easily derived from the subsystems without the need of introducing dummy variables and therefore artificially increasing the complexity of the system. Hence the framework of pH systems is especially suitable for modelling multiphysical systems. In this paper, we show that pH systems are a natural generalization of Hamiltonian systems, define coupled pH systems as ordinary and differential-algebraic equations. To highlight the suitability for electrical engineering applications, we derive pH models for MNA network equations, electromagnetic devices and coupled systems thereof.
Artificial boundary conditions (BCs) play a ubiquitous role in numerical simulations of transport phenomena in several diverse fields, such as fluid dynamics, electromagnetism, acoustics, geophysics, and many more. They are essential for accurately capturing the behavior of physical systems whenever the simulation domain is truncated for computational efficiency purposes. Ideally, an artificial BC would allow relevant information to enter or leave the computational domain without introducing artifacts or unphysical effects. Boundary conditions designed to control spurious wave reflections are referred to as nonreflective boundary conditions (NRBCs). Another approach is given by the perfectly matched layers (PMLs), in which the computational domain is extended with multiple dampening layers, where outgoing waves are absorbed exponentially in time. In this work, the definition of PML is revised in the context of the lattice Boltzmann method. The impact of adopting different types of BCs at the edge of the dampening zone is evaluated and compared, in terms of both accuracy and computational costs. It is shown that for sufficiently large buffer zones, PMLs allow stable and accurate simulations even when using a simple zeroth-order extrapolation BC. Moreover, employing PMLs in combination with NRBCs potentially offers significant gains in accuracy at a modest computational overhead, provided the parameters of the BC are properly tuned to match the properties of the underlying fluid flow.
We present the development of a non-reflecting boundary condition, based on the Local One-Dimensional Inviscid (LODI) approach, for Lattice Boltzmann Mod-els working with multi-speed stencils.We test and evaluate the LODI implementation with numerical benchmarks, show-ing significant accuracy gains with respect to the results produced by a simple zero -gradient condition. We also implement a simplified approach, which allows handling the unknown distribution functions spanning several layers of nodes in a unified way, still preserving a comparable level of accuracy with respect to the standard formula-tion.
A dynamic iteration scheme for linear differential-algebraic port-Hamiltonian systems based on Lions–Mercier-type operator splitting methods is developed. The dynamic iteration is monotone in the sense that the error is decreasing and no stability conditions are required. The developed iteration scheme is even new for linear port-Hamiltonian systems governed by ODEs. The obtained algorithm is applied to a multibody system and an electrical network.
Multirate integration uses different time step sizes for different components of the solution based on the respective transient behaviour. For inter/extrapolation-based multirate schemes, we construct a new subclass of schemes by using clamped cubic splines to obtain multirate schemes up to order 4. Numerical results for a n-mass-oscillator demonstrate that 4th order of convergence can be achieved for this class of schemes.
Non-isothermal particles suspended in a fluid lead to complex interactions -- the particles respond to changes in the fluid flow, which in turn is modified by their temperature anomaly. Here, we perform a novel proof-of-concept numerical study based on tracer particles that are thermally coupled to the fluid. We imagine that particles can adjust their internal temperature reacting to some local fluid properties and follow simple, hard-wired active control protocols. We study the case where instabilities are induced by switching the particle temperature from hot to cold depending on whether it is ascending or descending in the flow. A macroscopic transition from a stable to unstable convective flow is achieved, depending on the number of active particles and their excess negative/positive temperature. The stable state is characterized by a flow with low turbulent kinetic energy, strongly stable temperature gradient, and no large-scale features. The convective state is characterized by higher turbulent kinetic energy, self-sustaining large-scale convection, and weakly stable temperature gradients. The particles individually promote the formation of stable temperature gradients, while their aggregated effect induces large-scale convection. When the Lagrangian temperature scale is small, a weakly convective laminar system forms. The Lagrangian approach is also compared to a uniform Eulerian bulk heating with the same mean injection profile and no such transition is observed. Our empirical approach shows that thermal convection can be controlled by pure Lagrangian forcing and opens the way for other data-driven particle-based protocols to enhance or deplete large-scale motion in thermal flows.
Artificial boundary conditions are commonly employed in numerical simulations to confine very large or unbounded domains to a computationally feasible finite domain. The implementation of an artificial boundary condition should cause no interaction with the bulk dynamics, and in particular should not create artifacts such as reflections of pressure waves. In the context of the Lattice Boltzmann Method (LBM), standard velocity or pressure boundary conditions do not fulfill this requirement. This problem is further emphasized when using multispeed LBM models, in which several layers of boundary nodes interact with the bulk dynamics. In this work, we take a first step towards the definition of a discrete artificial boundary condition for LBM based on stencils with multiple speed levels.
Purpose The thermally extended Tellinen model (Kühn et al., to appear) is here investigated and equipped with a hysteresis loss model, while preserving its simple structure. Design/methodology/approach As in the original model, these approaches are based upon phenomenal observations and measured saturation curves. The authors start with the original model and step-by-step add their extensions, such that in the end they can apply the extended model in a finite element method (FEM) simulation. During the process, care is taken to ensure that the applicability in a FEM simulation is not impaired, in terms of memory requirements and computing power. Findings In comparison to the original model, this extended model needs some further requirements and so is a little bit more limited in its application. It is in itself coherent and well defined. The authors provide an on-the-fly algorithm computation of hysteresis losses. First numerical results for a coupled field/thermal system show expected behavior. Originality/value The original model (Tellinen, 1998) does not take temperature into account. It includes a model for calculating hysteresis losses, but it differs largely from the approach presented here. The thermal extension is now also equipped with an on-the-fly method for hysteresis losses. Furthermore, the authors provide some analysis of simple, stable loops.
High-order lattice Boltzmann methods provide an elegant and systematic way to incorporate thermal and compressible effects and represent a promising approach for the study of beyond-hydrodynamics regimes characterized by finite Knudsen numbers. However, the presence of multiple layers makes the definition of boundary conditions non-trivial, since one needs to define the missing information for particle distributions across several boundary layers. In this work we present a thermal extension of a recently proposed non-equilibrium bounce-back boundary condition and compare it against established algorithms by simulating standard benchmarks with wall-bounded flows.
Electric circuits are usually described by charge/flux-oriented modified nodal analysis. Here, we derive models as port-Hamiltonian systems on several levels: overall systems, multiply coupled systems, and systems within dynamic iteration procedures. To this end, we introduce new classes of port-Hamiltonian differential-algebraic equations. Thereby, we additionally allow for nonlinear dissipation on a subspace of the state space. Both, each subsystem and the overall system possess a port-Hamiltonian structure. A structural analysis is performed for the new setups. Dynamic iteration schemes are investigated, and we show that the Jacobi approach as well as an adapted Gauss-Seidel approach lead to port-Hamiltonian differential-algebraic equations.
A particularly well-suited hysteresis loss model for Tellinen’s scalar hysteresis model is defined. Important basic properties are discussed. The model is based on the enclosed area of simple hysteresis loops as a measure of the energy loss. It can be applied for any simple excitation in a nearly steady state condition. The losses can be computed on-the-fly, during the field computations.