Modelica3D. Platform Independent Simulation Visualization. Christoph Höger. Technische Universität Berlin Fraunhofer FIRST

Similar documents
OpenModelica. Workshop Chair of Construction Machines. Functional Design-Prototyping using. OpenModelica. Volker Waurich

Design Approach for a Generic and Scalable Framework for Parallel FMU Simulations

Functional Design-Prototyping using OpenModelica

OMEdit. OpenModelica Connection Editor. User Manual Version April 2011

Using Modelica for Interactive Simulations of Technical Systems in a Virtual Reality Environment

OMEdit OpenModelica Connection Editor

Using SPARK as a Solver for Modelica. Michael Wetter Philip Haves Michael A. Moshier Edward F. Sowell. July 30, 2008

Christoph Doblander. Joint work with: Christoph Goebel, Hans-Arno Jacobsen

3D Building Information Efficiently Acquired and Managed

CIM 2 Modelica Factory

A Modular. OpenModelica. Compiler Backend

Integrated Modeling, Control Synthesis and Code Generation with Modelica and Dymola

Institutionen för datavetenskap Department of Computer and Information Science

Advanced Modelica Tutorial Exercises

A Modelica Power System Library for Phasor Time-Domain Simulation

MOSAIC A modeling and code generation tool. Gregor Tolksdorf, M.Sc. Faculty of Process Sciences CAPE-OPEN 2013 Annual Meeting

Modeling Technical Systems [ ] Mag MA MA Schweiger Gerald TU Graz Spring 2017

Berechnung von Freiformächen für Strahlformung

Ray-Tracing. Misha Kazhdan

Model-Based Dynamic Optimization with OpenModelica and CasADi

Modelica Change Proposal MCP-0019 Flattening (In Development) Proposed Changes to the Modelica Language Specification Version 3.

Mo E A Communication Service Between Modelica Compilers and Text Editors

Analysis and Design Optimisation of Electronic Circuits using Oscad and OpenModelica

Creating Mercator s Map Projection

Towards more Insight with Functional Digital Mockup

Introduction Attributed Graphs Rule Specification Implementation Conclusion. AGG and PROGRES. Bernhard Scholz. 27th January 2006.

Hybrid dynamics in Modelica: should all events be considered synchronous. Ramine Nikoukhah INRIA. Modelica/Scicos

OpenModelica Compiler (OMC) Overview

OpenModelica Compiler (OMC) Overview

Scicos/Modelica for modeling and simulation

Institutionen för datavetenskap Department of Computer and Information Science

Pointer Analysis in the Presence of Dynamic Class Loading. Hind Presented by Brian Russell

ECE 3574: Dynamic Polymorphism using Inheritance

OpenModelica Environment and Modelica Overview

6.1 Rendering Wet Sand

The SiMoL Modeling Language for Simulation and (Re-)Configuration

Table of Contents Across and through variables. The Dymola Bond Graph Library. Gyro-bonds. Across and Through Variables

Room-Element-Aggregation Algorithm to Enhance the Quality of Observed 3D Building Information

Masterpraktikum - High Performance Computing

Towards a model driven Modelica IDE

Integration of OpenModelica in Ptolemy II

1st Annual OpenModelica Workshop Feb 2, 2009

Assignment 2 : Projection and Homography

INTEROPERABILITY WITH FMI TOOLS AND SOFTWARE COMPONENTS. Johan Åkesson

SIMULATOR TO FMU: A PYTHON UTILITY TO SUPPORT BUILDING SIMULATION TOOL INTEROPERABILITY

CS 4620 Midterm, March 21, 2017

Application: Programming Language Semantics

Classes and Objects 3/28/2017. How can multiple methods within a Java class read and write the same variable?

Learning to Localize Objects with Structured Output Regression

ModelicaML: Getting Started Issue April 2012

Translation of Modelica Code into Hybrid Automata

Domain Library Preprocessing in MWorks - a platform for Modeling and Simulation of Multi-domain Physical Systems Based on Modelica

Towards an EA View Template Marketplace

Activation Inheritance in Modelica

Rotational3D Efficient modelling of 3D effects in rotational mechanics

State Machines in OpenModelica

Modeling of Non-Trivial Data-Structures with a Generic Scientific Simulation Environment

MoUnit A Framework for Automatic Modelica Model Testing

Technical Overview of OpenModelica and its Development Environment

Applications. Human and animal motion Robotics control Hair Plants Molecular motion

Sirius 4.1: Let me Sirius that for you!

Efficient Clustering and Scheduling for Task-Graph based Parallelization

Accessing External Data on Local Media and Remote Servers Using a Highly Optimized File Reader Library

Variable Structure Modeling for Vehicle Refrigeration Applications

Geodesics in heat: A new approach to computing distance

Automated Modelica Package Generation of Parameterized Multibody Systems in CATIA

Towards Unified System Modeling with the ModelicaML UML Profile

Functional Mockup Interface (FMI) A General Standard for Model Exchange and Simulator Coupling

Guidelines for Writing C Code

Minimal Equation Sets for Output Computation in Object-Oriented Models

Chapter 1 Getting Started

Abi Farsoni, Department of Nuclear Engineering and Radiation Health Physics, Oregon State University

UberFlow: A GPU-Based Particle Engine

Improving Efficiency of Hybrid System Simulation in Modelica

Here are the updated comments as revised at the SCSI working group meeting.

Design and Implementation of Animation Post-processor Based on ACIS and HOOPS in MWorks

Modeling physical properties. Controller, plant and environment model

Hardware Description Language VHDL (1) Introduction

IKR SimLib-QEMU: TCP Simulations Integrating Virtual Machines

ANGULAR 2.X,4.X + TYPESRCIPT by Sindhu

HIGH PERFORMANCE NUMERICAL SIMULATIONS TO SUPPORT SYSTEM LEVEL DESIGN. Joshua D. Carl. Dissertation. Submitted to the Faculty of the

Sirius 4.0: Let me Sirius that for you! EclipseCon France, June 2016

A HYGROTHERMAL BUILDING MODEL BASED ON THE OBJECT-ORIENTED MODELING LANGUAGE MODELICA. Kekuléstr. 7, D Berlin,

Master s Thesis! Improvement of the Virtualization Support in the Fiasco.OC Microkernel! Julius Werner!

Microsoft Flow Overview

LCPC Arun Chauhan and Ken Kennedy

Examining the Code. [Reading assignment: Chapter 6, pp ]

Accessing external media data bases: The ExternalMedia Library

The use of the UML within the modelling process of Modelica-models

Evaluation of Asynchronous Offloading Capabilities of Accelerator Programming Models for Multiple Devices

Dependent Types and Irrelevance

An example of beneficial use of variable-structure modeling to enhance an existing rocket model

Modeling Structural - Dynamics Systems in MODELICA/Dymola, MODELICA/Mosilab and AnyLogic

Multi-bond Graphs. Table of Contents. A Planar Pendulum

Fault Tolerance Analysis using OpenModelica with Figaro Extensions for Modelica

Notes on the Separate Compilation of Modelica

UNIT V *********************************************************************************************

The Swarm Electrification Concept

Femtosecond Single Shot Autocorrelator. Model ASF-20 INSTRUCTION MANUAL

Panda directx exporter download. Panda directx exporter download.zip

Transcription:

Modelica3D Platform Independent Simulation Visualization Christoph Höger Technische Universität Berlin Fraunhofer FIRST c Fraunhofer FIRST/TU Berlin 6. Februar 2012

Motivation - Goal Dymola MultiBody Visualization Christoph Höger Modelica3D 2 / 22

Motivation - Goal Goal: Get those fancy 3D graphics standardized Christoph Höger Modelica3D 3 / 22

Modelica3D Design Modelica3D is... Platform-independent: Modelica3D can be used with OpenModelica, Dymola,.... Modelica3D uses only standardized techniques. Extensible: Modelica3D can be extended with new functionality (new shapes, different visualization tools etc.) Leightweight: Modelica3D does not depend on any Modelica or C libraries. It does not contain large layers of abstraction or multitudes of features. Christoph Höger Modelica3D 4 / 22

Modelica3D Design Modelica3D is... Platform-independent: Modelica3D can be used with OpenModelica, Dymola,.... Modelica3D uses only standardized techniques. Extensible: Modelica3D can be extended with new functionality (new shapes, different visualization tools etc.) Leightweight: Modelica3D does not depend on any Modelica or C libraries. It does not contain large layers of abstraction or multitudes of features. Christoph Höger Modelica3D 4 / 22

Modelica3D Design Modelica3D is... Platform-independent: Modelica3D can be used with OpenModelica, Dymola,.... Modelica3D uses only standardized techniques. Extensible: Modelica3D can be extended with new functionality (new shapes, different visualization tools etc.) Leightweight: Modelica3D does not depend on any Modelica or C libraries. It does not contain large layers of abstraction or multitudes of features. Christoph Höger Modelica3D 4 / 22

Modelica3D Design Modelica3D is... Platform-independent: Modelica3D can be used with OpenModelica, Dymola,.... Modelica3D uses only standardized techniques. Extensible: Modelica3D can be extended with new functionality (new shapes, different visualization tools etc.) Leightweight: Modelica3D does not depend on any Modelica or C libraries. It does not contain large layers of abstraction or multitudes of features. Christoph Höger Modelica3D 4 / 22

Modelica3D Design II Modelica3D is not... Declarative: Since Modelica3D is a small library it does not contain 3D-connectors or equation support or static graphics. Christoph Höger Modelica3D 5 / 22

Modelica3D Design II Modelica3D is not... Declarative: Since Modelica3D is a small library it does not contain 3D-connectors or equation support or static graphics. Christoph Höger Modelica3D 5 / 22

Architecture Christoph Höger Modelica3D 6 / 22

Modelica3D Architecture Client/Server approach Client: Simulation enhanced with Modelica3D Server: Visualization tool (e.g. Blender, 3DSMax, etc.) Unidirectional communication (via TCP/IP) Physics drive visualization Visualization can be ignored, stored, rendered Christoph Höger Modelica3D 7 / 22

Client Architecture Christoph Höger Modelica3D 8 / 22

Server Architecture Christoph Höger Modelica3D 9 / 22

API - Objects & Operations Christoph Höger Modelica3D 10 / 22

Modelica3D Shapes Christoph Höger Modelica3D 11 / 22

Modelica3D API - Objects 3D-shapes can be instantiated Christoph Höger Modelica3D 12 / 22

Modelica3D API - Objects II 3D-shapes are external objects (can be allocated directly) Shape definition is an operation. Christoph Höger Modelica3D 13 / 22

Modelica3D API - Operations Modelica3D Operations z Y z N(y') φ X x x Z θ ψ N T group y rotate y move scale Christoph Höger Modelica3D 14 / 22

Modelica3D API - Procedure Pattern Modelica3D.Translate(cylinder.id, 5.0, 0.0, 0.0, update3d.frame); Most operations follow this common pattern. Christoph Höger Modelica3D 15 / 22

Modelica3D API - Sampling Operations require a frame to take effect. Frames and simulation-time need to be synchronized Solution Update3D object and when-clause. Christoph Höger Modelica3D 16 / 22

Application Example: MultiBody Christoph Höger Modelica3D 17 / 22

MultiBody State-of-the-art in Modelica visualization Supports shapes, materials, tranformations Has a global state model bundled in Modelica.Utilities.Internal.PartialShape Modelica.Mechanics.MultiBody.Pendulum has 1500 variables Idea: Extend PartialShape to be extended by Modelica3D calls Problem: Conversion between state and Modelica3D nontrivial Hit some omc bugs Christoph Höger Modelica3D 18 / 22

Demo Video Christoph Höger Modelica3D 19 / 22

Interested? Mail me for an evaluation license (christoph.hoeger ÄT tu-berlin.de). Create an account at https://mlcontrol.uebb.tu-berlin.de/redmine/ Compile Modelica3D Get Blender / OSG Visualize the Demos Christoph Höger Modelica3D 20 / 22

Future Development Publish under free license Complete MultiBody Support Implement Utility Blocks More renderers Christoph Höger Modelica3D 21 / 22

Thank you for your attention! Any Questions? Christoph Höger Modelica3D 22 / 22