Modelica within Simcenter Amesim Combining causal & a-causal paradigms David ALMER - Siemens PL CoE

Restricted © Siemens AG 2018 All Siemens Divisions are driving digitalization technologies

Power and Gas, Digital Factory Energy Management Wind Power Power Generation Services

Process Industries and Healthineers Building Technologies Mobility Drives

Restricted © Siemens AG 2018 Page 22018-10-08 Siemens PLM Software Our business – Digital Factory

Power and Gas, Digital Factory Energy Management Wind Power Power Generation Services

Process Industries and Healthineers Building Technologies Mobility Drives

Restricted © Siemens AG 2018 Page 32018-10-08 Siemens PLM Software The Digital Factory business follows a long-term strategy with the systematic expansion of our portfolio

1958 1996 2007 2013 2016 2017 Siemens receives TIA enables UGS acquisition LMS acquisition CD-adapco Mentor Graphics patent for SIMATIC. interaction between acquisition acquisition all automation components.

2016

1958 1958 1995/96 2001 2009 2012 2013 2014 2015 2017

2014 Production engineering 2013 2012 and execution € 10+ billion 2011 in investments 2007 since 2007

Restricted © Siemens AG 2018 Page 42018-10-08 Siemens PLM Software Siemens PLM Software Business Segments

Manufacturing Product Mainstream Specialized and Manufacturing Lifecycle Digital Operations Engineering Engineering Engineering Test Solutions Engineering Collaboration Services Management

SIMATIC IT Fibersim Simcenter IBS QMS Solid Edge Tecnomatix Teamcenter MindSphere NX Syncrofit STAR-CCM+ & Camstar Femap NX CAM Polarion Omneo Mastertrim HEEDS WinCC Preactor

End-to-end design Product design, Composites, air frame Simulation, test Process design Collaboration, Process, MES, Quality, HMI and IoT operating system and engineering simulation and assembly and systems and simulation; Change and BOM Production and analytics manufacturing and seat design engineering NC programming Management

Product design and Rich domain and Enabling closed-loop Build & support Collect and analyze Design & engineer better Collaborate & innovate Realize products faster engineering for the industry driven Systems Driven products more data to optimize plants, products faster more intelligently and increase quality mainstream market solutions Product Development efficiently products, and machine

Business Ready Cloud Solutions Product-driven Services Restricted © Siemens AG 2018 Page 52018-10-08 Siemens PLM Software Simcenter system simulation solutions

Industry Pre-design Sector Scalable Performance simulation Automotive & Transportation analysis Connecting “mechanical” – Aerospace & Design Co-simulation Defense Optimization “controls” Controls Heavy Equipment Multi-physics Open and validation customizable Industrial Machinery

Marine Mechanical Energy & Utilities >40 libraries Hydraulics/Pneumatics Thermal Electrical >5,000 models Magnetic Model Architecture Chemical

Restricted © Siemens AG 2018 Page 72018-10-08 Siemens PLM Software Applications in auto & aero industries

Restricted © Siemens AG 2018 Page 82018-10-08 Siemens PLM Software Simcenter Amesim: an open platform

Platform facilities: Solvers and numerics: Data management, pack, libraries, supercomponents… Solver technology, , HPC, ..

MIL/SIL/HIL and real-time: Analysis tools: Blackbox, RT FMUs, Eigenvalues, Modal shapes, Bode plots, … Precompiled objects for RT targets…

Software interfaces: Optimization, robustness, design of experiments: FMI export/import 1.0-2.0 NLPQL, Parameter sweep, Monte Carlo, Genetic dedicated interfaces (,etc…), Excel import, in- Algorithms house codes…

Simulator scripting & APIs: 1D/3D CAE: /C++, python, VBA, , , console… CAD import, FE import, CFD coupling,…

Customization: platform App designer, customized components…

Restricted © Siemens AG 2018 Page 92018-10-08 Siemens PLM Software Modelica within Simcenter Amesim

Diagram view

Text view

Embedded Library Doc original tree view Modelica model

Modelica Editor Simcenter Amesim

Dedicated Simcenter Physical connector Two worlds in a same environment libraries ports require a translator able to ease integration and interactions

Restricted © Siemens AG 2018 Page 102018-10-08 Siemens PLM Software Siemens partners with Modelon

NA Modelica Conference, Boston, October 9th, 2018

Siemens partners Modelon to use Optimica’s Toolkit as its Modelica engine starting from Simcenter Amesim 17

Siemens & Modelon signed an agreement to integrate Modelon’s OCT compiler within next Simcenter Amesim release (*). This agreement will allow Simcenter users develop, enhance and reuse Modelica libraries to describe dynamic multi-physics systems, and combine them seamlessly with the Simcenter Amesim native libraries.

Such model will benefit from full Modelica standard support and optimized code generated by Modelon compiler, and will be simulated by Simcenter Amesim solver while being compatible with all useful Simcenter Amesim platform capabilities such as e.g. analysis tools, .... Support of Modelon industrial libraries through this workflow will come in future releases.

“Do not choose between causal & acausal approach: get the best of both worlds in a same environment!”

10/2018 04/2019 (*): available on demand in Simcenter Amesim 17

Simcenter Amesim 17 Simcenter Amesim 17.1 inside

Restricted © Siemens AG 2018 Page 112018-10-08 Siemens PLM Software Value proposition

• Modelica well suited for some physical domains • Usable to extend Simcenter Amesim capabilities

• Unique causal and a-causal execution platform • Unique value of solution • Compatibility with popular libraries (full MSL 3.2.2 support, Modelon  support to be implemented in future release)

• Integration into Simcenter Amesim • Modelica Editor calls OCT (Optimica Compiler Toolkit) and generates a 2.0 Model Exchange FMU behind the scenes, extended with physical ports ► Tight coupling & compatibility with Simcenter Amesim analysis tools (e.g. Performance Analyzer, Linear Analysis)

• CAE portfolio consolidation opportunity (one tool supports both)

Restricted © Siemens AG 2018 Page 122018-10-08 Siemens PLM Software A new FMI specification being advocated by Siemens

Modelica external connectors are translated to … … FMI 3.0-like physical terminals that are converted into … … Simcenter Amesim physical ports

Mixing standard FMI 2.0 signal-type ports with FMI 3.0 physical connectors

The FMI import tool is enhanced with the new FMI 3.0 “Terminals and Icons” FCP feature. Its first application is the import of FMUs produced by Modelon’s Optimica Compiler Toolkit

Restricted © Siemens AG 2018 Page 132018-10-08 Siemens PLM Software A streamlined workflow

Create Compile Connect Simulate Analyze

• Full-featured, configurable IDE Compatible with • editor Simcenter Amesim Solved as whole system, • Graphical component platform capabilities: no cosimulation. assembly Performance analyzer, Compatible with • MSL v3.2.1 linear analysis Simcenter Amesim • Easy library loading (eigenvalues, modal simulation capabilities: Automated compiling shapes, frequency Connection with native Batch/Design when model added to response, root libraries through Exploration, HPC, Simcenter Amesim locus…), dashboards, dedicated physical MIL/SIL/HIL… scripting,… Restricted © Siemens AG 2018 connectors Page 142018-10-08 Siemens PLM Software Demo: heterogeneous modelling of an injector

Restricted © Siemens AG 2018 Page 152018-10-08 Siemens PLM Software FMI 2.0 model exchange export

Start the FMU export assistant with an FMI interface block on the sketch Software interfaces

• Export Simcenter Amesim models as 2.0 Functional Mock-up Units (FMUs) for model exchange and simulate the coupled system in various Functional Mock-up Interface (FMI) compatible tools

Select “model exchange 2.0” as export setting and select your platform … generate your FMU and optionally test it with the compliance checker

FMU model description XML file

FMU compliance checker report

Restricted © Siemens AG 2018 Page 322018-10-08 Siemens PLM Software Application: export a Simcenter Amesim model without its solver to any FMI 2.0 compliant importing tool for continuous or strong coupling applications “1D” Any 3rd-party FMI CFD Control (Simcenter Amesim) tool X X

Cosim ME Import ME Export Cosim Slave Master X

2.0 or

Simcenter Amesim MODEL

Under Windows or , a Simcenter Amesim user exports his model A user of a 3rd party FMI 2.0 compliant tool imports the FMU and selects as a 2.0 FMU for model exchange, i.e. without the solver embedded. The a solver suitable for solving both the 3rd party part of the assembled FMU is compiled for both the 32-bit and the 64-bit architectures and coupled model and the Simcenter Amesim part contained in the FMU embeds all the tables used by the model

Restricted © Siemens AG 2018 Page 332018-10-08 Siemens PLM Software Thank you.