Daes, Modelica

Total Page:16

File Type:pdf, Size:1020Kb

Daes, Modelica Equation-Based Object-Oriented Languages for Acausal Modeling and Simulation Lecture 12a in EECS 144/244 University of California, Berkeley April 17, 2013 David Broman [email protected] EECS Department University of California, Berkeley, USA and Linköping University, Sweden Some of the slides are based OSMC tutorials and contributed by Peter Fritzson (Based on book and lecture nodes), David Broman, Emma Larsdotter Nilsson, Peter Bunus, Adrian Pop, Jan Brugård, Mohsen Torabzadeh-Tari, and Adeel Asghar. Copyright © Open Source Modelica Consortium. 2 Agenda [email protected] Part I Part II EOO Languages for CPS Modelica Overview Platform 1 Physical Actuator Interface Physical Plant 2 Network Physical Platform 2 Interface Sensor Computation 1 Delay 1 Computation 4 Computation 2 Sensor Platform 3 Physical Delay 2 Interface Computation 3 Physical PPhhyyssicicaall Pllannt t1 2 Interface Actuator Part III Part IV OpenModelica Demo Modelyze – a research language Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 3 [email protected] Part I EOO Languages for CPS Platform 1 Physical Actuator Interface Physical Plant 2 Network Physical Platform 2 Interface Sensor Computation 1 Delay 1 Computation 4 Computation 2 Sensor Platform 3 Physical Delay 2 Interface Computation 3 Physical PPhhyyssicicaall Pllannt t1 2 Interface Actuator Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 4 Cyber-Physical Systems (CPS) [email protected] Aircraft Industrial Robots Power Plants Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 5 Modeling and Simulating Cyber-Physical Systems [email protected] Platform 1 Physical Actuator Physical Plant 2 Interface Network Physical Platform 2 Interface Sensor Computation 1 Delay 1 Computation 4 Computation 2 Sensor Platform 3 Physical Delay 2 Simulation with Interface Computation 3 Physical Physical Plant 1 timing properties Physical Plant 2 Interface Actuator Model Various models of computation (MoC) Equation-based model Hardware-in-the-loop Modeling (HIL) simulation Modeling Physical system available? Sensors System Actuators Physical system (the plant) Cyber system: Computation (embedded) + Networking Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 6 Equation-Based Object-Oriented (EOO) Languages [email protected] Domain-Specific Language (DSL) Models and Objects • Object in e.g., Java, C++: • Primarily domain: object = data + methods Modeling of physical Equation-Based systems Object-Oriented • Objects in EOO languages: (EOO) object = data + equations • Multiple physical domains: e.g., mechanical, electrical, hydraulic Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 7 Equation-Based Object-Oriented (EOO) Languages [email protected] Domain-Specific connections! objects (components)! Language (DSL) Models and Objects • Object in e.g., Java, C++: • Primarily domain: object = data + methods Modeling of physical Equation-Based systems portsObject-Oriented! • Objects in EOO languages: (EOO) object = data + equations • Multiple physical domains: e.g., mechanical, electrical, hydraulic EOO model (textual) EOO model (graphical) Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 8 Equation-Based Object-Oriented (EOO) Languages [email protected] Domain-Specific Language (DSL) Models and Objects • Object in e.g., Java, C++: • Primarily domain: object = data + methods Modeling of physical Equation-Based systems Object-Oriented • Objects in EOO languages: (EOO) object = data + equations • Multiple physical domains: e.g., mechanical, electrical, hydraulic • At the equation-level u = R * i Acausality • At the object connection level Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 9 Equation-Based Object-Oriented (EOO) Languages [email protected] Domain-Specific Direction not determined at modeling time! Language (DSL) Models and Objects • Object in e.g., Java, C++: • Primarily domain: object = data + methods Modeling of physical Equation-Based systems acausal (non-causal) Object-Oriented • Objects in EOO languages: (EOO) object = data + equations • Multiple physical domains: e.g., mechanical, electrical, hydraulic • At the equation-levelPhysical topology ! u = Ris * lost i ! Acausality • At the object connection level causal Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 10 Equation-Based Object-Oriented (EOO) Languages [email protected] Domain-Specific Language (DSL) Models and Objects • Object in e.g., Java, C++: • Primarily domain: object = data + methods Modeling of physical Equation-Based systems acausal (non-causal) Object-Oriented • Objects in EOO languages: (EOO) object = data + equations • Multiple physical domains: e.g., mechanical, electrical, hydraulic • At the equation-level u = R * i Acausality • At the object connection level causal Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 11 Equation-Based Object-Oriented (EOO) Languages [email protected] Domain-Specific Language (DSL) Models and Objects • Object in e.g., Java, C++: • Primarily domain: object = data + methods Modeling of physical Equation-Based systems Object-Oriented • Objects in EOO languages: (EOO) object = data + equations • Multiple physical domains: e.g., mechanical, electrical, hydraulic • Modelica • VHDL-AMS • At the equation-level • gPROMS u = R * i Acausality • Modelyze • At the object connection level • … Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 12 [email protected] Part II Modelica Overview Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 13 What is Modelica? [email protected] A language for modeling of complex physical systems • Robotics • Automotive • Aircrafts • Satellites • Power plants • Systems biology Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 14 What is Modelica? [email protected] A language for modeling of complex physical systems Primary designed for simulation, but there are also other usages of models, e.g. optimization. Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 15 What is Modelica? [email protected] A language for modeling of complex physical systems i.e., Modelica is not a tool Free, open language specification: Available at: www.modelica.org Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 16 Modelica Tools [email protected] Commercial Environments Free Environments Dymola by Dassault Systemes OpenModelica supported by OSMC SimulationX by ITI GmbH Jmodelica.org supported by Modelon LMS Imagine.Lab AMESim by LMS Modelicac (part of Scilab) MapleSim by Maplesoft SimForge MOSILAB by Fraunhofer FIRST CyModelica by CyDesign Labs OPTIMICA Studio by Modelon AB MWorks by Suzhou Tongyuan Wolfram SystemModeler by Wolfram Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 17 What is special about Modelica? [email protected] Multi-Domain Modeling Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 18 What is special about Modelica? [email protected] Multi-Domain Visual Acausal Modeling Keeps the physical structure! Component ! Modeling Acausal model (Modelica) Causal block-based model (Simulink) Part I ! Part II ! Part III Part IV EOO Languages! Modelica OpenModelica! Modelyze – a! for CPS! Overview! Demo! Research language! 19 What is special about Modelica? [email protected] Hierarchical system Multi-Domain Visual Acausal modeling Modeling Component k2 i Modeling axis6 qddRef cut joint qdRef qRef k1 r3Control r3Motor r3Drive1 tn 1 1 i 1 S S qd axis5 q: angle qd: angular velocity qdRef Kd qdd: angular acceleration S 0.03 rel joint=0 Jmotor=J spring=c axis4 S qRef pSum Kv sum wSum rate2 rate3 iRef gear=i +1 b(s) 340.8 0.3 - +1 - a(s) S fric=Rv0 axis3 rate1 tacho2 tacho1 b(s) b(s) PT1 a(s) a(s) g5 axis2 q Ra=250 qd Rp2=50 C=0.004*D/w m Rd1=100 Rp1=200 La=(250/(2*D*w m)) axis1 Rd2=100 Ri=10 - - - + + diff + pow er cut in OpI Vs Rd4=100 emf iRef g3 y g1 Rd3=100 x hall2 inertial Courtesy of Martin Otter hall1 w r g4 g2 qd q Part I ! Part II ! Part III Part IV EOO Languages! OpenModelica! Modelyze – a! Modelica for CPS! Overview! Demo! Research language! 20 What is special about Modelica? [email protected] Multi-Domain Visual Acausal Modeling A textual class-based language Component OO primary used for as a structuring concept Modeling Behaviour described declaratively using • Differential
Recommended publications
  • Exploitable Results by Third Parties 11004 MODRIO
    Exploitable Results by Third Parties 11004 MODRIO Project details Project leader: Daniel Bouskela Email: [email protected] Website: https://www.modelica.org/external-projects/modrio 4 Exploitable Results by Third Parties 11004 MODRIO Name: O3PRM editor Input(s): Main feature(s) Output(s): . PRM (Probabilistic . Syntactic editor for O3PRM . Probability Relational Model) language distributions of written in the . Bayesian inference engine the requested O3PRM modeling variables language . Observations and requests on some variables of the PRM Unique Selling . Supports object oriented PRM Proposition(s): . Will soon be connected to Modelica models . Performance of inference algorithms . Free, open source . Web site including documentation, ready to use executable, source code: http://o3prm.lip6.fr Integration . Uses the Agrum open source library for inference constraint(s): Intended user(s): . In a first step: researchers interested in creating diagnosis applications. Then the users of such applications in the industry. Provider: . Lip6 (Laboratoire d’informatique de Paris 6) and EDF Contact point: . Marc Bouissou (EDF R&D) Condition(s) for . This software is currently under a GPL license reuse: Latest update: 19/04/2016 5 Exploitable Results by Third Parties 11004 MODRIO Name: SKELBO Figaro library Input(s): Main feature(s) Output(s): . Thermohydraulic . This library can be exploited . Fault tree(s) system architecture by the Figaro processor in order to generate a fault tree describing the causes of a thermohydraulic system failure . Describes failure modes (on demand and in function) of the most common thermohydraulic components, with the way they can propagate in a system . Includes 29 classes of objects that can be used to describe a system .
    [Show full text]
  • A Modelica Power System Library for Phasor Time-Domain Simulation
    2013 4th IEEE PES Innovative Smart Grid Technologies Europe (ISGT Europe), October 6-9, Copenhagen 1 A Modelica Power System Library for Phasor Time-Domain Simulation T. Bogodorova, Student Member, IEEE, M. Sabate, G. Leon,´ L. Vanfretti, Member, IEEE, M. Halat, J. B. Heyberger, and P. Panciatici, Member, IEEE Abstract— Power system phasor time-domain simulation is the FMI Toolbox; while for Mathematica, SystemModeler often carried out through domain specific tools such as Eurostag, links Modelica models directly with the computation kernel. PSS/E, and others. While these tools are efficient, their individual The aims of this article is to demonstrate the value of sub-component models and solvers cannot be accessed by the users for modification. One of the main goals of the FP7 iTesla Modelica as a convenient language for modeling of complex project [1] is to perform model validation, for which, a modelling physical systems containing electric power subcomponents, and simulation environment that provides model transparency to show results of software-to-software validations in order and extensibility is necessary. 1 To this end, a power system to demonstrate the capability of Modelica for supporting library has been built using the Modelica language. This article phasor time-domain power system models, and to illustrate describes the Power Systems library, and the software-to-software validation carried out for the implemented component as well as how power system Modelica models can be shared across the validation of small-scale power system models constructed different simulation platforms. In addition, several aspects of using different library components. Simulations from the Mo- using Modelica for simulation of complex power systems are delica models are compared with their Eurostag equivalents.
    [Show full text]
  • Component-Oriented Acausal Modeling of the Dynamical Systems in Python Language on the Example of the Model of the Sucker Rod String
    Component-oriented acausal modeling of the dynamical systems in Python language on the example of the model of the sucker rod string Volodymyr B. Kopei, Oleh R. Onysko and Vitalii G. Panchuk Department of Computerized Mechanical Engineering, Ivano-Frankivsk National Technical University of Oil and Gas, Ivano-Frankivsk, Ukraine ABSTRACT Typically, component-oriented acausal hybrid modeling of complex dynamic systems is implemented by specialized modeling languages. A well-known example is the Modelica language. The specialized nature, complexity of implementation and learning of such languages somewhat limits their development and wide use by developers who know only general-purpose languages. The paper suggests the principle of developing simple to understand and modify Modelica-like system based on the general-purpose programming language Python. The principle consists in: (1) Python classes are used to describe components and their systems, (2) declarative symbolic tools SymPy are used to describe components behavior by difference or differential equations, (3) the solution procedure uses a function initially created using the SymPy lambdify function and computes unknown values in the current step using known values from the previous step, (4) Python imperative constructs are used for simple events handling, (5) external solvers of differential-algebraic equations can optionally be applied via the Assimulo interface, (6) SymPy package allows to arbitrarily manipulate model equations, generate code and solve some equations symbolically. The basic set of mechanical components (1D translational “mass”, “spring-damper” and “force”) is developed. The models of a sucker rods string are developed and simulated using these components. The comparison of results of the sucker rod string simulations with practical dynamometer cards and Submitted 22 March 2019 Accepted 24 September 2019 Modelica results verify the adequacy of the models.
    [Show full text]
  • Modelica and Fmi As Enablers for Virtual Product Innovation
    OPEN STANDARDS IN SIMULATION MODELICA AND FMI AS ENABLERS FOR VIRTUAL PRODUCT INNOVATION Hubertus Tummescheit Board member, Modelica Association & co-founder of Modelon 1 OVERVIEW • Background and Motivation • Introduction – why open standards matter • Innovation in Model Based Design • Modelica – the equation based modeling language • The Functional-Mockup-Interface (FMI) • Examples • What’s next: upcoming innovations • Conclusions 2 The Modelica Association • An independent non-profit organization registered in Sweden. https://www.modelica.org • Members: ▪ Tool vendors ▪ Government research organizations ▪ Service providers ▪ Power users • Two standards and four core projects: ▪ The Modelica Language ▪ The Modelica Standard Library ▪ The FMI Standard for model exchange and co-simulation ▪ The SSP project for an upcoming standard on system structure and parameterization • FMI web site: http://www.fmi-standard.org • Next Modelica Conference: May 15-17 in Prague MOTIVATION: THE COMPLEXITY ISSUE ▪ System complexity increases ▪ Required time to market decreases (most industries) ▪ Without disruptive changes, an impossible equation to solve. Source: DARPA Large part of AVM project complexity is in software! 4 WHY OPEN STANDARDS ARE NEEDED • Computer Aided Engineering is a very fragmented industry • Tools evolved domain by domain • Interoperability has been an afterthought, at best • Today’s complex systems require interoperability! • An everyday challenge for engineering design • Open standards drastically reduce the cost of creating interoperability between tools • There is an interplay with open source: open source can also increase the speed of software innovation 5 TIE YOURSELF TO STANDARDS, NOT TOOLS! 1. It will be cheaper 2. It will keep software vendors on their toes to compete on tool capability, not quality of lock-in 3.
    [Show full text]
  • 5Th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools
    Proceedings of the 5th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools University of Nottingham, UK, 19 April, 2013 Editor Henrik Nilsson EOOLT Supported by The Functional Programming Laboratory, School of Computer Science, University of Nottingham 2013 ISSN: 1650-3686 5th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools 19 April 2013, Nottingham, UK Proceedings Edited by Henrik Nilsson Copyright The publishers will keep this document online on the Internet — or its possible replacement — starting from the date of publication barring exceptional circumstances. The online availability of the document implies permanent permission for anyone to read, to down- load, or to print out single copies for his/her own use and to use it unchanged for noncommercial re- search and educational purposes. Subsequent transfers of copyright cannot revoke this permission. All other uses of the document are conditional upon the consent of the copyright owner. The publisher has taken technical and administrative measures to assure authenticity, security and accessibility. According to intellectual property law, the author has the right to be mentioned when his/her work is accessed as described above and to be protected against infringement. For additional information about Linkping University Electronic Press and its procedures for publication and for assurance of document integrity, please refer to its www home page: http://www.ep.liu.se/. Series: Link¨oping Electronic Conference Proceedings,
    [Show full text]
  • Wolfram Mathematica
    Wolfram bietet mit seinen Produkten die besten Technologien für Schulen an - in verschiedenen Themenbereichen und für jedes Bildungsniveau. Sie können dabei dieselbe Technologie einsetzen, wie sie an Universitäten, in der Industrie und an Forschungsinstituten von Wirtschaftswissenschaftlern, Ingenieuren und Lehrkräften weltweit verwendet wird. Wolfram-Produkte bieten Ihnen vollkommen neue Möglichkeiten für Ihren Unterricht. Berechnungen ohne Limit Unterrichtskonzepte zum Leben erwecken Gehen Sie Probleme jeglicher Größe und Komplexität an - ob Von Naturwissenschaften bis zu Sozialkunde oder Musik in der Schule oder außerhalb - und geben Sie Ihren Schülern - Wolframs interaktive Werkzeuge sind fesselnder als ein ein Werkzeug an die Hand, mit dem anspruchsvolle Aufgaben unbewegtes Lehrbuch und machen es einfacher, schwer verlässlich gelöst werden können. verständliche Konzepte zu erforschen. Analyse von experimentellen Ergebnissen Analysieren Sie Daten mithilfe von Funktionen für Wahrschein- lichkeit und Statistik und erwecken Sie Ihre Daten zum Leben. Die beste Wahl für die Schul- und Studienzeit Wolfram-Technologien können von Schülern und Studenten aller Fächer verwendet werden, von der Grundschulklasse bis zur Promotion. Steigen Sie ein: www.additive-mathematica.de Ihre Arbeit in Lehre und Forschung neu definieren Mathematica bietet eine vollständige Umgebung für Ihre Unterrichtsvorbereitung und Forschungsarbeit, indem es ein mächtiges Rechenwerkzeug mit einem dynamischen Visualisierungstool verbindet. Eine intuitive Benutzeroberfläche
    [Show full text]
  • Unambiguous Power System Dynamic Modeling and Simulation Using Modelica Tools L
    Unambiguous Power System Dynamic Modeling and Simulation using Modelica Tools L. Vanfretti, Member, IEEE, W. Li, Student Member, IEEE, T. Bogodorova, Student Member, IEEE, and P. Panciatici, Member, IEEE Abstract—Dynamic modeling and time-domain simulation for modeling of each component and to validate a power system power systems is inconsistent across different simulation plat- model as a whole. Explicitly exchanging the equations of forms, which makes it difficult for engineers to consistently the model may aid in achieving consistency across different exchange models and assess model quality. Therefore, there is a clear need for unambiguous dynamic model exchange. simulation platforms. In this article, a possible solution is proposed by using open A possible solution can be found by using an open model- modeling equation-based Modelica tools. The nature of the ing equation-based approach. Modelica is an object oriented Modelica modeling language supports model exchange at the language developed for equation-based modeling of physical “equation-level”, this allows for unambiguous model exchange systems and its components [3], [4]. There are several ad- between different Modelica-based simulation tools without loss of information about the model. An example of power system vantages for using equation-based modeling and simulation dynamic model exchange between two Modelica-based software approaches. First of all, the models of each component in Scilab/Xcos and Dymola is presented. In addition, common issues such software type are open for modification. They allow for related to simulation, including the extended modeling of complex straightforward implementation of new elements and libraries controls, the capabilities of the DAE solvers and initialization in order to simulate the behavior of each component and problems are discussed.
    [Show full text]
  • Bakalarska Prace
    ZÁPADOČESKÁ UNIVERZITA V PLZNI FAKULTA PEDAGOGICKÁ KATEDRA MATEMATIKY, FYZIKY A TECHNICKÉ VÝCHOVY ÚVOD DO VYUŽITÍ SOFTWARU MATHEMATICA V GEOGRAFII BAKALÁŘSKÁ PRÁCE Pavel Trenčan Přírodovědná studia, obor Matematická studia Vedoucí práce: RNDr. Václav Kohout, Ph. D. Plzeň 2019 Prohlašuji, že jsem bakalářskou práci vypracoval samostatně s použitím uvedené literatury a zdrojů informací. V Plzni, 4. dubna 2019 .................................................................. vlastnoruční podpis PODĚKOVÁNÍ Rád bych poděkoval vedoucímu své bakalářské práce panu RNDr. Václavu Kohoutovi Ph.D. za předané zkušenosti nejen ohledně používání programu Mathematica, ale i za cenné rady, doporučení a připomínky během psaní bakalářské práce. Dále bych chtěl poděkovat celé své rodině, přátelům a známým za podporu během celé doby mého studia. ZDE SE NACHÁZÍ ORIGINÁL ZADÁNÍ KVALIFIKAČNÍ PRÁCE. OBSAH OBSAH SEZNAM ZKRATEK ................................................................................................................................... 2 ÚVOD ................................................................................................................................................... 3 1 DEFINICE GEOGRAFIE .......................................................................................................................... 5 1.1 ČLENĚNÍ GEOGRAFIE ................................................................................................................... 5 1.2 STAVBA ZEMĚ A KRAJINNÁ SFÉRA .................................................................................................
    [Show full text]
  • Introduction to Object-Oriented Modeling
    Introduction to Object-Oriented Modeling, Modelica/OpenModelica Tutorial Plan for the Simulation, Debugging and Dynamic Optimization MOSES 2016 Workshop with Modelica using OpenModelica • Wednesday slot 24. The Modelica language part 1. MOSES 2016 Workshop Introductory hands-on Modelica modeling. Tutorial, Version May 18, 2016 Peter Fritzson Slides 8 – 49 Linköping University, [email protected] Director of the Open Source Modelica Consortium • Thursday slot 28. The OpenModelica tool. (slides Vice Chairman of Modelica Association Bernhard Thiele, Ph.D., [email protected] 50 – 78) The Modelica language part 2. (slides 95- Researcher at PELAB, Linköping University 115) Slides • Thursday slot 29. Hands-on with Modelica textual Based on book and lecture notes by Peter Fritzson Contributions 2004-2005 by Emma Larsdotter Nilsson, Peter Bunus equation-based modeling (slides 95-115) Contributions 2006-2008 by Adrian Pop and Peter Fritzson Contributions 2009 by David Broman, Peter Fritzson, Jan Brugård, and Mohsen Torabzadeh-Tari Contributions 2010 by Peter Fritzson Contributions 2011 by Peter F., Mohsen T,. Adeel Asghar, Contributions 2012, 2013, 2014, 2015, 2016 by Peter Fritzson, Lena Buffoni, Mahder Gebremedhin, Bernhard Thiele 2016-05-16 2 Copyright © Open Source Modelica Consortium Tutorial Based on Book, Decembr 2014 Introductory Download OpenModelica Software Modelica Book Peter Fritzson September 2011 232 pages Principles of Object Oriented Modeling and Simulation with 2015 –Translations Modelica 3.3 available in A Cyber-Physical
    [Show full text]
  • Comparative Study of Tools for Computer Modeling and Simulation
    Comparative study of tools for computer Modeling and Simulation (complex dynamical systems) Yuri Senichenkov Yuri Shornikov Vladimir Ryzhov Adi Maimun Abdul Malik Classification for educational purposes • free commercial • Windows Linux • cloud technologies campus network • student computer class-room Ideally • FREE • {WINDOS,LINUX} • licensed copy • for {cloud technology, campus network} • of PRACTICALLY IMPORTANT software • for using • in Campus Really PRACTICALLY IMPORTANT Acceptable «approximation» PRACTICALLY Acceptable «approximation» IMPORTANT Matlab Scilab Modelica OpenModelica Rand Model Designer Trial Rand Model Designer Simulink ( oriented , «causal» blocks) Trial Rand Model Designer Modelica (non-oriented, «physical» blocks) Trial Rand Model Designer Basis of Mathematical Modeling for engineers (complex dynamical systems) Variants for Single-component models a) A Tool for visual modeling b) A Mathematical package c) Mathematical package + Tool for visual modeling Technologies of Computer modeling for engineers (complex dynamical systems) Variants for multi-component models a) OpenModelica b) Trial Rand Model Designer c) Simulink + StateFlow + SimPowerSystems(?) d) SystemModeler Examples: Mathematical packages Mathematica SystemModeler Maple MapleSim MapleSim modeling and simulation software • Software – Control design: MapleSim is a physical modeling and simulation tool from Maplesoft built on a foundation of symbolic computation technology. This is a Control Engineering 2012 Engineers’ Choice honorable mention. • It efficiently handles all of the complex mathematics involved in the development of engineering models, including multidomain systems, plant modeling, and control design. MapleSim reduces model development time from months to days while producing high- fidelity, high-performance models. • www.maplesoft.com Wolfram SystemModeler • Build high-fidelity models using predefined components in an easy drag-and-drop environment. Perform numerical experiments on your models to explore and tune system behavior.
    [Show full text]
  • Bachelor Thesis Integration of Modelica-Based Models with The
    LehrstuhlAUT für Automatisierungstechnik Bachelor Thesis Integration of Modelica-based Models with the JModelica Platform Daniel Kraus Cabo ( 2 5 5 2 4 3 1 ) S UPERVISORS Prof. Dr.-Ing. Georg Frey Lehrstuhl für Automatisierungstechnik M.Sc. Fethi Belkhir Lehrstuhl für Automatisierungstechnik Saarbrücken 2014 B004-2014 Abstract In this thesis, an introduction to Nonlinear Model Predictive Control (NMPC) combin- ing both theory and application is presented. The basis of the NMPC is described to give a general idea how this process control strategy works. For this purpose, two test case- studies are implemented. The first one is a simple two tanks in series to get acquainted with open-source platform the JModelica.org and the Optimica extension.Finally, a more complex example, which consists of solving a start-up problem of a steam boiler using the JModelica framework, is provided. The results demonstrate the effort saved in solving an optimal control problem when using the JModelica framework in comparison to individual, case-specifically arranged solutions. I Contents 1 Introduction 1 1.1 Aim and structure of thesis . .1 1.2 Thesis Outline . .1 2 Nonlinear Model Predictive Control (NMPC) 2 2.1 Mathematical formulation of NMPC . .3 2.2 Properties of NMPC . .3 2.3 Nonlinear Constrained Optimization Algorithms . .4 2.4 Methods for dynamic optimization . .4 2.5 Direct methods . .4 2.5.1 Direct Single Shooting . .5 2.5.2 Direct collocation . .6 2.5.3 Direct Multiple Shooting . .7 2.5.4 Sequential quadratic programming (SQP) . .7 3 Open Source Tools 9 3.1 Modelica . .9 3.2 OpenModelica .
    [Show full text]
  • Openmodelica User's Guide
    OpenModelica User’s Guide Release v1.19.0-dev-270-g618c742bb2 Open Source Modelica Consortium 2021 CONTENTS 1 Introduction 3 1.1 System Overview...........................................4 1.2 Interactive Session with Examples..................................5 1.3 Summary of Commands for the Interactive Session Handler.................... 24 1.4 Running the compiler from command line.............................. 25 2 OMEdit – OpenModelica Connection Editor 27 2.1 Starting OMEdit........................................... 27 2.2 MainWindow & Browsers...................................... 28 2.3 Perspectives............................................. 32 2.4 File Menu............................................... 37 2.5 Edit Menu.............................................. 38 2.6 View Menu.............................................. 38 2.7 Simulation Menu........................................... 38 2.8 Debug Menu............................................. 39 2.9 SSP Menu.............................................. 39 2.10 Sensitivity Optimization Menu.................................... 39 2.11 Tools Menu.............................................. 39 2.12 Help Menu.............................................. 39 2.13 Modeling a Model.......................................... 40 2.14 Simulating a Model......................................... 42 2.15 2D Plotting.............................................. 45 2.16 Re-simulating a Model........................................ 47 2.17 3D Visualization..........................................
    [Show full text]