Functional Mockup Interface (FMI)

Similar documents
MBS/FEM Co-Simulation Approach for Analyzing Fluid/Structure- Interaction Phenomena in Turbine Systems

ERROR ANALYSIS AND ERROR ESTIMATES FOR CO-SIMULATION IN FMI FOR MODEL EXCHANGE AND CO-SIMULATION V2.0

An Implicit Runge Kutta Solver adapted to Flexible Multibody System Simulation

Efficient corrector iteration for DAE time integration in multibody dynamics

Stable Adaptive Co-simulation: A Switched Systems Approach. Cláudio Gomes, Benoît Legat, Raphaël M. Jungers, Hans Vangheluwe

Energy Conservation and Power Bonds in Co-Simulations: Non-Iterative Adaptive Step Size Control and Error Estimation

Butcher tableau Can summarize an s + 1 stage Runge Kutta method using a triangular grid of coefficients

Towards One-Step Multirate Methods in Chip Design

Co-simulation Methods for EPAS and Chassis Systems Development. Master s Thesis in Engineering Mathematics and Computational Science CANHUI WU

ENERGY BUILDING CO-SIMULATION BASED ON THE WRM ALGORITHM FOR EFFICIENT SIMULATION OVER FMU COMPONENTS OF WEB SERVICE

Time-Optimal Automobile Test Drives with Gear Shifts

Numerical Integration of Equations of Motion

Faster Kinetics: Accelerate Your Finite-Rate Combustion Simulation with GPUs

Linear Analysis of Railway Vehicle as Mechatronic System

arxiv: v1 [cs.sy] 16 Jun 2016

The family of Runge Kutta methods with two intermediate evaluations is defined by

Nonlinear Model Reduction for Rubber Components in Vehicle Engineering

NUMERICAL METHODS FOR ENGINEERING APPLICATION

Dynamic Systems. Simulation of. with MATLAB and Simulink. Harold Klee. Randal Allen SECOND EDITION. CRC Press. Taylor & Francis Group

Ordinary differential equations - Initial value problems

19.2 Mathematical description of the problem. = f(p; _p; q; _q) G(p; q) T ; (II.19.1) g(p; q) + r(t) _p _q. f(p; v. a p ; q; v q ) + G(p; q) T ; a q

Integration of measured receptance into a time domain simulation of a Multi Body Model using SIMPACK

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 21

Modeling of Pantograph-Catenary dynamic stability

Model-based pre-step stabilization method for non-iterative co-simulation

EQUATION-BASED MODEL REDUCTION IN OPENMODELICA COMPILER

CHAPTER INTRODUCTION

Solving PDEs with Multigrid Methods p.1

Methods for Running Stability Prediction and their Sensitivity to Wheel/Rail Contact Geometry

Scientific Computing: An Introductory Survey

CS 450 Numerical Analysis. Chapter 9: Initial Value Problems for Ordinary Differential Equations

Iterative coupling in fluid-structure interaction: a BEM-FEM based approach

BASIC EXAM ADVANCED CALCULUS/LINEAR ALGEBRA

Predici 11 Quick Overview

Lecture 6 mechanical system modeling equivalent mass gears

FAS and Solver Performance

Numerical Methods for Engineers and Scientists

Mathematics for chemical engineers. Numerical solution of ordinary differential equations

Martin Luther Universität Halle Wittenberg Institut für Mathematik

Residual Force Equations

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

Transient Squeal Analysis of a Non Steady State Manoeuvre

Coupling atomistic and continuum modelling of magnetism

Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations

More on Neural Networks

University of Bristol - Explore Bristol Research. Publisher's PDF, also known as Version of record

A Second Order Extension of the Generalized α Method for Constrained Systems in Mechanics

Rational Equations and Graphs

Simulation of Vehicle Drivetrain with Modelica

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat.

Multi-Point Constraints

Computation for the Backward Facing Step Test Case with an Open Source Code

SOP Release. FEV Chassis Reliable Partner in Chassis Development. FEV Chassis Applications and Activities. Concept Layout. Design

Numerical Programming I (for CSE)

Solving PDEs with PGI CUDA Fortran Part 4: Initial value problems for ordinary differential equations

AN ALGORITHM FOR TOPOLOGY OPTIMIZATION

Numerical Methods for Engineers

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 9

Math 411 Preliminaries

SYSTEM INTERCONNECTION

Computer Aided Design of Thermal Systems (ME648)

Verification of model connection by FMI using acausal modeling tools ~ JSAE WG Activities ~

Exponential multistep methods of Adams-type

MULTIVARIABLE CALCULUS, LINEAR ALGEBRA, AND DIFFERENTIAL EQUATIONS

Strong Coupling Methods

Einbindung elastischer Körper in die Mehrkörpersimulationsbibliothek

THE PYTHAGOREAN THEOREM

Research Article P-Stable Higher Derivative Methods with Minimal Phase-Lag for Solving Second Order Differential Equations

A modular modeling approach to simulate interactively multibody systems with a Baumgarte/Uzawa formulation

Bindel, Fall 2011 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 18. HW 7 is posted, and will be due in class on 4/25.

Defect-based a-posteriori error estimation for implicit ODEs and DAEs

COWLEY COLLEGE & Area Vocational Technical School

Applied Numerical Analysis

Coupling techniques for partitioned fluid structure interaction simulations with black box solvers

The Plan. Initial value problems (ivps) for ordinary differential equations (odes) Review of basic methods You are here: Hamiltonian systems

Nonlinear Iterative Solution of the Neutron Transport Equation

Parallel Iterative Methods for Sparse Linear Systems. H. Martin Bücker Lehrstuhl für Hochleistungsrechnen

Partitioned Methods for Multifield Problems

MATH 320, WEEK 6: Linear Systems, Gaussian Elimination, Coefficient Matrices

ON THE DYNAMICS OF RAILWAY VEHICLES ON TRACKS WITH LATERAL IRREGULARITIES

Martin Luther Universität Halle Wittenberg Institut für Mathematik

Foundations for Continuous Time Hierarchical Co-simulation

An Introduction to Optimal Control of Partial Differential Equations with Real-life Applications

Method in 1D. Introduction of the Basic Concepts and Comparison to Optimal FD Operators

BEHAVIORAL MODELING AND TRANSIENT ANALYSIS WITH ANALOG INSYDES

Flatness based analysis and control of distributed parameter systems Elgersburg Workshop 2018

A self adjusting multirate algorithm based on the TR-BDF2 method

Linear Multistep Methods I: Adams and BDF Methods

Modeling and Solving Constraints. Erin Catto Blizzard Entertainment

Parallelism in Structured Newton Computations

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by

Formulation of the displacement-based Finite Element Method and General Convergence Results

ALGEBRAIC FLUX CORRECTION FOR FINITE ELEMENT DISCRETIZATIONS OF COUPLED SYSTEMS

Predictive Cascade Control of DC Motor

Dynamic Process Models

Model Calibration under Uncertainty: Matching Distribution Information

Greenwich Public Schools Mathematics Curriculum Objectives. Calculus

Mathematical Models with Maple

Ordinary Differential Equations. Monday, October 10, 11

Transcription:

Functional Mockup Interface (FMI) A framework for coarse-grained parallel time integration in nonlinear system dynamics PinT 2015 4th Workshop on Parallel-in-Time Integration May 2015, Dresden, Germany Martin Arnold martin.arnold@mathematik.uni-halle.de Martin Luther University Halle-Wittenberg Institute t of Mathematics ti D 06099 Halle (Saale), Germany Outline 1. The Functional Mock-up Interface (FMI) FMI for Model Exchange and Co-Simulation v2.0 2. Co-Simulation: Local and global error Block oriented master-slave framework for coupled systems Order reduction (direct feed-through), Instability (algebraic loops) 3. Communication step size control Local error estimates, Asymptotic analysis, Numerical tests 4. Stabilization using Jacobian matrices Summary and Outlook

1. History of co-simulation: Pantograph / catenary Catenary Contact t Pantograph A. Veitl (1999) Multi-rate time integration for multiscale problems M. Schittenhelm (2005) Multi-scale problem: Different time stepsizes for differerent subsystems CW C.W. Gear, RR R.R. Wells:Multirate linear multistep methods. BIT 24(484-502)1984. M. Günther, P. Rentrop: Multirate ROW methods and latency of electric circiuts. Applied Numerical Mathematics 13(83-102),1993.

Multi-rate time integration: Weak coupling Core engine: High dimensional ODE or DAE model Chain drive: High frequency oscillations Coupling: Contact forces between chain links and wheels Macro step Multi-rate time integration: Engine / chain drive Subsystem 1: Core engine (DASSL), Subsystem 2: Chain drive (DOPRI5) Macro stepsize Higher order extrapolation and interpolation Numerical test 1: wheels, tensioner 2: chain links

Case study: Car with servo-hydraulic steering Servo-hy ydraulic steering Maneuver Coupling M. Busch (2007) ed car mo odel Detail Co-Simulation: Modular time integration Communication step / Macro step c s

Co-Simulation: Algorithmic and numerical aspects Parallel Serial (staggered)... and more 1 1 2 2 Felippa, Park, Farhat (2001) Co-Simulation: Two, three,... coupled subsystems Staggered algorithms exploit intermediate results in later stages Subsystems: Higher order methods, step size control, event handling,... Problem Benefits Data extrapolation (interpolation) to approximate coupling terms Additional error terms, Potential numerical instability Customized solvers and time step sizes for subsystems Modular time integration: State of the art vs. FMI Co-Simulation Constant signal extrapolation Fixed communication step size Coupling terms are handled explicitly Monolithic simulation tools Higher order time integration methods Variable time steps, Step size control Stiff ODEs, DAEs: Implicit methods FMI for Model Exchange and Co-Simulation v2.0 Higher order signal extrapolation: fmisetrealinputderivatives Communication step sizes of variable length: fmidostep Solver dumps to allow going back in time: fmigetfmustate, fmisetfmustate Evaluation of system Jacobians: fmigetpartialderivatives Capability flags canhandlevariablecommunicationstepsize,, cangetandsetfmustate providespartialderivativesof_... _wrt_... http://www.fmi-standard.org/

2. Co-Simulation: Local and global error FMI for Co-Simulation Block-oriented master-slave framework slave blocks Input-output coupling Mathematical problem: Coupled system of differential equations Co-Simulation Data exchange master-slave at discrete communication points Slave 1 Slave 2 Master Structure of the coupled system Coupled system (DAE) Special case

Benchmark: Quarter car Equations of motion z Suspension force Tyre force Quarter car: Co-Simulation Displacement Displacement coupling z Force Displacement coupling

Polynomial signal extrapolation: Local error Communication step Local error Order reduction Global error propagation and convergence Coupled error propagation (Kübler, Schiehlen 2000)

Exponential instability: DAE test problem Exponential instability and stabilization: Example Staggered algorithm Benchmark (A., Simeon 1998) Contact A. Veitl (1999) Catenary Pantograph High-speed train

Global error propagation: Structural Analysis Coupled error propagation (Kübler, Schiehlen 2000) Structural analysis Structural analysis to detect algebraic loops Displacement Displacement coupling Force Displacement coupling

Structural analysis to detect algebraic loops (II) Coupling by constraints Practical aspects Methods from graph theory (interpretation as adjacency matrix) Structural criterion: sufficient to exclude algebraic loops, not necessary Limitations: (Multiple) moving loads, e.g., railway bogie at track 3. Communication step size control Error estimate Richardson extrapolation (comparison of two numerical solutions)

Local error estimates: Asymptotic analysis Daraus lässt sich für die modulare Integration die Fehlerschätzung... angeben. (Kübler 2000) (Olsson 2011) Modified Richardson extrapolation Local error estimates: Benchmark Quarter car

Communication step size control: Quarter car 4. Stabilization of modular time integration Staggered time grids Park (2000),... Projection steps Kübler, Schiehlen (2000), [ Tseng, Hulbert (1999), Sicklinger, Belsky, Engelmann, Elmqvist, Olsson, Wüchner, Bletzinger (2014) ],...

Overlapping modular time integration Schierz, A. (2012),... Overlapping modular time integration (II) Communication step Theorem

Stability of modular time integration: Example Gauss-Seidel (standard) Benchmark (A., Simeon 1998) Contact A. Veitl (1999) Catenary Pantograph High-speed train Stabilization: The ODE case Strategy Consider a classical unconditionally stable implicit method Linear approximation of all coupling terms Ansatz

Stabilized extrapolation x 2 x 1 Summary Functional Mock-up Interface for Model Exchange and Co-Simulation Interface standard for industrial simulation tools (code export, co-simulation) Co-Simulation: Block-oriented master-slave framework Data exchange restricted to communication points: Modular time integration Variable communication steps, Solver dump functionality (fmisetfmustate) Advanced interface: Higher order derivatives of block inputs, System matrices Advanced master algorithms for co-simulation Higher order signal extrapolation Communication step size control for coupled systems without algebraic loops based on reliable local error estimates Numerically stable time integration of coupled stiff ODEs / DAEs using Jacobians Acknowledgements T. Schierz (U Halle, SIMPACK GmbH), Ch. Clauß (FhG IIS), H. Olsson (Dassault Systèmes), BMBF (01IS08002N)