Selective Evaluation of RHS during Multi-Rate Simulation
Open Access
- 24 October 2025
- conference paper
- Published by Linkoping University Electronic Press in Swedish Aerospace Conference, FT2025
- Vol. 218, 943-947
Abstract
Modeling across physical domains can lead to coupledsystems that operate on different time scales.Moreover, spatially discretized models can have dynamicbehavior on only a small portion of the whole system, whilethat portion might move over time.With a single rate solver like DASSL, the step size isrestricted to fast dynamics of a few states while theothers could do much larger time steps, degrading theoverall simulation speed.Recent development of the Generic Bi-rate ODE (GBODE)solver within the OpenModelica simulation environmentaddresses these models.It allows for adaptive partitioning of slow and fast statesand progresses these partitions with different time steps.However, substantial performance improvements were not yetobserved, in part because of the rigid evaluation structureof the generated code.During each small step only the derivatives of fast statesare required, but all derivatives are computed.This paper demonstrates the use of selective equationevaluation to reduce the computational cost of multi-rateintegration as shown on a scalable example of a distributedheating system.Further uses for selective evaluation during the simulationprocess are discussed and a complexity analysis is given.Keywords
This publication has 9 references indexed in Scilit:
- Selective Evaluation of RHS during Multi-Rate SimulationSwedish Aerospace Conference, FT2025, 2025
- Self-Adjusting Multi-Rate Runge-Kutta Methods: Analysis and Efficient Implementation in An Open Source FrameworkJournal of Scientific Computing, 2025
- The OpenModelica Integrated Environment for Modeling, Simulation, and Model-Based DevelopmentModeling, Identification and Control: A Norwegian Research Bulletin, 2020
- Simulation of Large-Scale Models in Modelica: State of the Art and Future Perspectives2015
- Modular Multi-Rate and Multi-Method Real-Time Simulation2014
- The Consistent Initialization of Differential-Algebraic SystemsSIAM Journal on Scientific and Statistical Computing, 1988
- A reduct-and-closure algorithm for graphsLecture Notes in Computer Science, 1979
- Depth-First Search and Linear Graph AlgorithmsSIAM Journal on Computing, 1972
- The Transitive Reduction of a Directed GraphSIAM Journal on Computing, 1972