MOSILAB: Development of a Modelica based generic simulation tool supporting model structural dynamics



Similar documents
Model-Driven Software Development for Robotics: an overview

Effective Java Programming. efficient software development

zen Platform technical white paper

Programming and Software Development CTAG Alignments

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

Domains and Competencies

Cyclic Architectures in UML

Fuel Economy Simulation for the Vehicle Fleet

Introduction. 1.1 Motivation. Chapter 1

isolar Integrated Solution for AUTOSAR

Software Engineering. Software Processes. Based on Software Engineering, 7 th Edition by Ian Sommerville

HPC Deployment of OpenFOAM in an Industrial Setting

Flexible Engineering Process Automation Process: Continuous Integration & Test

Characteristics of a future mechatronic product creation process in the automobile industry

Software Development with Real- Time Workshop Embedded Coder Nigel Holliday Thales Missile Electronics. Missile Electronics

Making model-based development a reality: The development of NEC Electronics' automotive system development environment in conjunction with MATLAB

Physical Modeling with SimScape

Application Architectures

Model-based online applications in the ABB Dynamic Optimization framework

Towards a Benchmark Suite for Modelica Compilers: Large Models

Data Center and Cloud Computing Market Landscape and Challenges

SignalDraw: GUI Tool For Generating Pulse Sequences

Decomposition into Parts. Software Engineering, Lecture 4. Data and Function Cohesion. Allocation of Functions and Data. Component Interfaces

OpenMI 'in a nutshell'

Visual Programming of Logic, Motion, and Robotics

Reusable Knowledge-based Components for Building Software. Applications: A Knowledge Modelling Approach

Modeling and Simulation of Heavy Truck with MWorks

Eastern Washington University Department of Computer Science. Questionnaire for Prospective Masters in Computer Science Students

Software Design Models, Tools & Processes *

Modelling and optimization of renewable energy supply for electrified vehicle fleet

Product Synthesis. CATIA - Product Engineering Optimizer 2 (PEO) CATIA V5R18

Model Based Systems Engineering for Aircraft Systems How does Modelica Based Tools Fit?

THE CFD SIMULATION OF THE FLOW AROUND THE AIRCRAFT USING OPENFOAM AND ANSA

Application Development for Mobile and Ubiquitous Computing

CERTS Microgrid Research and Lessons Learned

To introduce software process models To describe three generic process models and when they may be used

Introduction to Simulink & Stateflow. Coorous Mohtadi

EXAM FOR INFOTECH SOFTWARE ENGINEERING FOR REAL-TIME SYSTEMS. Suggested Solution WS 13/14. - Without Engagement -

Simulation Data Management with Interoperability across domains

Eastern Washington University Department of Computer Science. Questionnaire for Prospective Masters in Computer Science Students

From Big Data to Smart Data Thomas Hahn

Feasibility of a Software Process Modeling Library based on MATLAB / Simulink

CS 589 Project Smart Home Hub, Phase I Due before 9am on October 21, 2015

In this Lecture you will Learn: Implementation. Software Implementation Tools. Software Implementation Tools

Course Title: Software Development

UML-based Test Generation and Execution

Mastering increasing product complexity with Collaborative Systems Engineering and PLM

A UML Introduction Tutorial

Designing Event-Controlled Continuous Processing Systems Class 325

A Multi-layered Domain-specific Language for Stencil Computations

Software Module Test for an Electronic Steering Lock

GEDAE TM - A Graphical Programming and Autocode Generation Tool for Signal Processor Applications

Anwendungsintegration und Workflows mit UNICORE 6

Echtzeittesten mit MathWorks leicht gemacht Simulink Real-Time Tobias Kuschmider Applikationsingenieur

Poznan University of Technology Faculty of Electrical Engineering

Integrating MBD and CBD Workflows for Automotive Control Software

The V8 JavaScript Engine

Agile Business Suite: a 4GL environment for.net developers DEVELOPMENT, MAINTENANCE AND DEPLOYMENT OF LARGE, COMPLEX BACK-OFFICE APPLICATIONS

Outline. Definitions. Course schedule

In this Lecture you will Learn: Development Process. Unified Software Development Process. Best Practice

What is a life cycle model?

Hybrid Modeling and Control of a Power Plant using State Flow Technique with Application

Model Engineering using Multimodeling

Information systems modelling UML and service description languages

Computational Fluid Dynamics in Automotive Applications

On One Approach to Scientific CAD/CAE Software Developing Process

Designing Real-Time and Embedded Systems with the COMET/UML method

How To Test Automatically

StateFlow Hands On Tutorial

How To Build A Financial Messaging And Enterprise Service Bus (Esb)

A Visual Language Based System for the Efficient Management of the Software Development Process.

OPEN-SOURCE CFD ANALYSIS OF MULTI-DOMAIN UNSTEADY HEATING WITH NATURAL CONVECTION

NEW CHALLENGES IN COLLABORATIVE VIRTUAL FACTORY DESIGN

MODELICA VERSUS TRNSYS A COMPARISON BETWEEN AN EQUATION-BASED AND A PROCEDURAL MODELING LANGUAGE FOR BUILDING ENERGY SIMULATION

SCADE Suite in Space Applications

SWISSOLAR 2104 TASK 44 SOLAR AND HEAT PUMP SYSTEMS

Open S-BPM: Goals and Architecture

Hardware in the Loop (HIL) Testing VU 2.0, , WS 2008/09

ME6130 An introduction to CFD 1-1

A MODERN DISTRIBUTION MANAGEMENT SYSTEM FOR REGIONAL ELECTRICITY COMPANIES

In: Proceedings of RECPAD th Portuguese Conference on Pattern Recognition June 27th- 28th, 2002 Aveiro, Portugal

Master of Science in Computer Science

Integrated Development of Distributed Real-Time Applications with Asynchronous Communication

Control Development and Modeling for Flexible DC Grids in Modelica

CFD simulation of fibre material transport in a PWR core under loss of coolant conditions

Chapter 3 Simulation Software. Simulation Modeling and Analysis Chapter 3 Simulation Software Slide 1 of 13

Real Time Simulation for Off-Road Vehicle Analysis. Dr. Pasi Korkealaakso Mevea Ltd., May 2015

Federated, Generic Configuration Management for Engineering Data

Improving Interoperability in Mechatronic Product Developement. Dr. Alain Biahmou, Dr. Arnulf Fröhlich, Dr. Josip Stjepandic

Java 6 'th. Concepts INTERNATIONAL STUDENT VERSION. edition

(BA122) Software Engineer s Workshop (SEW)

Example of Standard API

EHOOKS Prototyping is Rapid Again

Budapest University of Technology and Economics Department of Measurement and Information Systems. Business Process Modeling

F-16 Modular Mission Computer Application Software

Electrical Drive Modeling through a Multiphysics System Simulation Approach

Transcription:

MOSILAB: Development of a Modelica based generic simulation tool supporting model structural dynamics Christoph Nytsch-Geusen (Contact: christoph.nytsch@first.fhg.de) Thilo Ernst, André Nordwig Peter Schneider, Peter Schwarz, Matthias Vetter, Christof Wittwer Andreas Holm, Thierry Nouidui, Jürgen Leopold, Gerhard Schmidt Ulrich Doll, Alexander Mattes Overview GENSIM Project Motivation: Model Structural Dynamics Modelica Language Extension MOSILAB Simulator MOSILAB Development Environment MOSILAB Applications Summary Seite 2

Project GENSIM - Objectives Joint project of the six Fraunhofer Institutes FIRST, IIS/EAS, ISE, IBP, IPK and IWU A) Generic simulation tool MOSILAB for heterogeneous technical systems - Model structural dynamics of equations and objects - Interfaces for simulator coupling (e.g. Simulink, FEM-tools) Integration framework - Object-oriented, non-causal and equation based modelling (Modelica ) - Mixed continuous/discrete (hybrid) systems - Integrated development environment for modelling and simulation (MOSILAB-IDE) - Open, scalable system architecture (embedded applications web-services/grid) - Supported platforms: Windows, Unix, MacOS X B) Model libraries and their application in three technical domains - Fuel cell systems (Time scale: seconds to hours) - Hygrothermal building analysis (Time scale: hours to years) - Cutting tool systems (Time scale: milliseconds to seconds) Seite 3 Project GENSIM - Roles and cooperation of the project partners Numerical algorithms Simulator development FIRST, IIS, ISE Model compiler Spezielle spezielle Bibliotheken Bibliotheken Special Libraries Description techniques GUI-elements Base Libraries Interfaces - Generic simulation system - Support - Requirements - Knowledge - User feedback Fuel cell systems ISE + IIS/EAS Cutting tool systems IPK + IWU Hygro-thermal Building analysis IBP + FIRST spezielle Special Algorithmen algorithms Seite 4

Model structural dynamics in the analysis of technical systems Heterogeneous technical systems show a high degree of structural dynamics during simulation: - Change of the structure of the system model (e.g. model of a flying object on the ground or in the air) - Change of the qualitative model behaviour (e.g. laminar or turbulent flow condition) - Adaptation of the modelling depth / -precision Example: transport car on a ramp Start (car and balll) Collision of car and ramp end Ball in free fall Bounce of the ball Behavioural model (Statechart) Simulation practice: available simulation tools insufficiently support model structural dynamics Seite 5 Modelica Language Extension - Motivation Idea: Encapsulation of replaceable behaviour Re-use of behaviour objects State dependent reconfiguration of objects with behaviour-subobjects Realisation? Extension of the Modelica syntax (MOSILA): Object oriented statecharts State-type, transitions, entry and exit actions, hierarchical statecharts etc. Dynamical objects prefix dynamic, o := new O, add(), remove() etc. Sum Connector prefix sum, motivated by dynamic terms within equations Seite 6

Modelica Language Extension Example Landing Device (1) Initial Conditions m0 = 100 kg (20 kg + 80 kg fuel) v0 = 0 m/s, s0 = 100 m, v_min = -5 m/s Effects Gravitation Booster (F = 1200 N, m = -10 kg/s) model Body extends BodyInterface(p.m=100); Real a=0, v=0, s=100; equation der(v) = a; der(s) = v; a = p.f / p.m; end Body; model Gravity extends BodyInterface; parameter Real g=9.81; equation p.f = - p.m * g; end Gravity; Model class diagram model Booster extends BodyInterface; discrete Boolean empty=false; Real m; equation p.m = m; empty = (not m>20); der(m) = if empty then 0 else -10; p.f = if empty then 0 else 1200; end Booster; Dynamical object declaration model System Body body; dynamic Gravity gr; dynamic Booster boost; end System; Seite 7 Modelica Language Extension Example Landing Device (2) Object oriented statecharts model System statechart state SystemSC extends State; state Moving extends State; state SlowDown extends State; State declaration end SlowDown; State falling, State start(isinitial=true); SlowDown slowdown; transition t2 : falling -> slowdown event sw guard sw==1 action body.add(boost); end transition; transition t3 : slowdown -> falling event sw guard sw==0 Entry action end transition; Statechart diagram end Moving; State stop, start(isinitial=true); Moving moving; entry action Transition implementation gr := new Gravity(); boost := new Boost(empty=false); end entry; end SystemSC; end System; Seite 8

MOSILAB Development Environment Modeling Mode Simulation workflow Class-browser Graphical Editors (UML H ): Class-diagrams Statechart-diagrams Collaboration-diagrams Text editor (Modelica/MOSILA) Information density Seite 9 MOSILAB Development Environment Simulation Mode Simulation Mode: Definition of simulation projects Model compilation Definition and control of simulation experiments Seite 10

MOSILAB Development Environment Postprocessing Mode Monitors for model state variables Seite 11 MOSILAB Simulator Dataflow within the simulation kernel MOSILA- Compiler MOSILA Model Classes Executable Simulator C++ Simulator- Kernel Classes C++ Model Classes MOSILA Standard- Library gcc/g++ Compiler C++ Experiment 010110101 O10100101 111010101 MOSILAB- IDE MOSILAB-Simulator Possible configurations of MOSILAB: Small monolithic simulator e.g. embedded systems Standard simulator with MOSILAB-IDE standard users MOSILAB as WebServices E-Sciences, GRID applications Seite 12

MOSILAB Simulator Model structural dynamics in the simulation main loop o := new O() add(o) Numerical algorithms: Trapez, Euler, IDA Seite 13 MOSILAB-Applications Model structural dynamics in the stack model (Simple-/detailed model) Model structural dynamics in a component model (Simple and detailed hygrothermal model) Simulation of fuel cell systems Schneide Schneide Schneide Model structural dynamics in a tool model (Contact with work piece exists or not exists) Hygrothermal building simulation Simulation of cutting tool systems Seite 14

Application Fuel Cell Systems Development of models for fuel cell systems with different levels of detail Design and improvement of control strategies for fuel cell systems Seite 15 Application - Fuel Cell Systems: Combination of model structural dynamics and simulator coupling Device Subsystem Symplified Mechanics system model System Plant components, Sensorics Thermodynamics Complete system (FS, Heatingsystem, Building, ) Controller Fuel cell stack Stack Stack model model Chemical effects Fluidics Electr./mag. Fields Electrical load model Channelmodel (CFD) MOSILAB-Framework System model (MOSILA) Stack model (MOSILA) Simulator coupling Channel Electrical model (commercial load model CFD-Solver) (MOSILA) Interface Interface Interface Simulation time Seite 16

Application Hygrothermal Building Analysis Development of hygrothermal building model, including the physical models of: Validation of the building Building component hygrothermal simulation (WUFI) model with test rooms at IBP Thermal building simulation (SMILE) Analysis of the interaction between the hygrothermal component behaviour and the room climate Seite 17 Application Cutting Tool Systems F(t) M(t) Analysed Cutting Tool applications Drilling and Milling Integration of simplified fast Modelica models with detailled slow FE-models Parametrization of Modelica-models by using FE-models MOSILAB produces time series of boundary conditions for the FE-models Seite 18

Summary Model Structural Dynamics SciTE-Editor with Modelica-Mode (will be soon as possible available at - New method for the behaviour-description of simulation models http://www.modelica.org) - Realisation of dynamic object structures during the runtime Modelica Language Extension (MOSILA) An offer from the GENSIM project to the Modelica community: - Supports Model Structural Dynamics - Object-oriented statecharts, object dynamics MOSILAB Simulation environment for complex, heterogeneous technical systems - Current MOSILAB prototype supports the most important elements of Modelica - Numerical framework of algorithms for switched ADGL-systems Outlook, future works - Integration of further Modelica elements in MOSILAB (to be 100 percent Modelica compatible) - Integration complex numerical algorithms in MOSILAB - Coupling with standard- and specialised-simulators (Simulink, FEM-tools) - Completion of the MOSILAB-IDE - Evaluation of MOSILAB with the help of the three technical Application areas Seite 19