Efficient Software Tools in the Renewable Energy Domain: Maple and Maplesim

Total Page:16

File Type:pdf, Size:1020Kb

Efficient Software Tools in the Renewable Energy Domain: Maple and Maplesim EnviroInfo 2013: Environmental Informatics and Renewable Energies Copyright 2013 Shaker Verlag, Aachen, ISBN: 978-3-8440-1676-5 Efficient software tools in the renewable energy domain: Maple and MapleSim Ji ří H řebí ček 1, Jaroslav Urbánek 1,2 Abstract There are presented efficient software tools Maple and MapleSim for solving technical problems in the renewable energy domain using mathematics-based modelling. MapleSim represents the simulation environment, which has a graphical interface for interconnecting system components. The system models are then processed by the Maple (symbolic computation system) mathematics engine, and finally the differential-algebraic equations describing the solved systems are simulated numerically to produce and 2-D, 3-D visualise output results. Maple allows users to quickly focus and reliably solve problems with easy access to over 5000 algorithms and functions developed over 30 years of cutting-edge research and development. In the paper there are presented two solved problems in the renewa- ble energy domain, which are freely downloadable from the web of the Canadian company Maplesoft developing above software tools. 1. Introduction The Canadian company Maplesoft 3 has developed simple and friendly used software tools Maple® 4 and MapleSim® 5 which reduce the cost and effort of developing high-fidelity models of power generation and energy storage systems, including gas and steam turbine generator sets; wind, wave, and solar energy sys- tems and batteries. Maple information technology has been trusted as a cutting edge mathematical and technical tool for over 30 years. In that time, millions of users from around the world have used and relied on the power of Maple for their research, testing, analysis, design, teaching, and schoolwork (Gander/Hřebí ček 2004), (Lynch 2009), (Borwein/Skerritt 2011), (Fox 2011), (Hřebí ček et al 2011), (Hřebí ček 2012). MapleSim is a modelling environment for creating and simulating complex multidomain physical sys- tems. It allows users to build component diagrams that represent physical systems in a graphical form. Us- ing both symbolic and numeric approaches, MapleSim automatically generates model equations from a component diagram and runs high-fidelity simulations (Hřebí ček 2008), (H řebí ček/ Řezá č 2008), (MapleS- im 2013), (Cao/Wu 2013). These software tools reduce model development and analysis time for scientists and researchers; rapidly create system-level models to simulate the behaviour of the entire system in a single environment for en- gineers and academicians; take advantage of advanced analysis, visualization, and programming tools to perform customized analysis and model investigations not possible with other software tools. Users of these software tools get the fastest auto-generated code for optimization and real-time simulation, includ- 1 Masaryk University, Institute Biostatistics and Analyses, Kamenice 126/3, 62500 Brno, Czech Republic {hrebicek, ur- banek}@iba.muni.cz 2 Masaryk University, Research Centre for Toxic Compounds in the Environment, Kamenice 753/5, 62500 Brno, Czech Republic, [email protected] 3 http://www.maplesoft.com/ 4 http://www.maplesoft.com/products/Maple/ 5 http://www.maplesoft.com/products/maplesim/ ing hardware-in-the-loop (HIL) and pass their work down the tool-chain through smooth integration with other tools, including software tools MATLAB® 6, Simulink 7 and Modelica 8. 1.1 MapleSim We shall discuss solving renewable energy domain problems using MapleSim (release 6.1) as the simula- tion environment (MapleSim 2013). The MapleSim software allows engineers to use both causal and acausal modelling paradigms (H řebí ček 2008), (H řebí ček/ Řezá č 2008), (Cao/Wu 2013). Many simulation software tools are restricted to causal (or signal-flow) modelling. In these software tools, a unidirectional signal, which is essentially a time-varying number, flows into a block. The block then performs a well-defined mathematical operation on the signal and the result flows out of the other side. This approach is useful for modelling systems that are defined purely by signals that flow in a single direction, such as control systems and digital filters. MapleSim enables modelling and simulation of real engineered assemblies, such as motors and power- trains, turbines etc. consisting of a network of inter-acting physical components. They are commonly modelled in MapleSim by block diagrams. The lines connecting two blocks indicate that they are coupled by physical laws (MapleSim 2013). The Fig. 1 and Fig. 2 represent two versions of modelling behaviour of the same Double Mass Spring Damper with two masses M1 and M2 connected to springs k1, k2 and dampers d1, d2 with input strength F(t) and output mass movements x1(t) and x2(t). A causal approach of modelling the Double Mass Spring Damper in MapleSim is shown in the Fig. 1. Figure 1 Causal Modelling Double Mass Spring Damper in MapleSim Source: Maplesoft MapleSim provides a broad range of acausal physical components across several physical domains; the equations that define their behaviour do not have to be derived or entered manually. Users can also create their own components; these are generated from the differential equations, algebraic expressions, or trans- fer functions that define the dynamics of the component (Cao/Wu 2013). The MapleSim component li- brary contains over 500 components that its user can use to build different models. All of these compo- 6 http://www.mathworks.com/products/matlab/ 7 http://www.mathworks.com/products/simulink/ 8 https://www.modelica.org/ Copyright 2013 Shaker Verlag, Aachen, ISBN: 978-3-8440-1676-5 nents are organized in palettes of the Libraries menu of MapleSim windows, see Fig. 4, according to their respective domains: electrical, magnetic; hydraulic; 1-D mechanical; multibody; signal blocks and ther- mal, (MapleSim 2013). Most of these components are based on the Modelica Standard Library 3.1 (Fritzson 2011) and Modelica Standard Library 3.2. An acausal approach to the same Double Mass Spring Damper model in MapleSim is shown in the Fig. 2. Figure 2 Acausal Modelling Double Mass Spring Damper Source: Maplesoft Figure 3 MapleSim components used in modelling the Double Mass Spring Damper in the Fig. 2 Source: Maplesoft In the Fig. 3, we can see MapleSim components used for the acausal approach modelling the Double Mass Spring Damper in the Fig. 2 (MapleSim 2013): • Fig. 3a) describes a Step component which generates a constant real output, y (in our case F(t)), after a time offset, t = T0, during a simulation. • Fig 3b) describes the Translational Force component generates a force proportional to an input signal f (in our case F(t)). The component equation is fflange = f. • Fig 3c) describes the Mass component which models sliding mass m (in our case masses M1 and M2) with inertia and two rigidly connected flanges, without friction. The sliding mass has the length, L, and the position coordinate, s, is in the middle. A positive force at flange a moves the sliding mass m in the positive direction. A negative force at flange a moves the sliding mass to the negative direction. The component equations are: m · a = fa + fb v = ds / d t a = dv / d t. Copyright 2013 Shaker Verlag, Aachen, ISBN: 978-3-8440-1676-5 sa = s – L/2 sb = s + L/2 s(0) = s0. • Fig 3d) describes Translational Spring Damper component which consists of the linear 1-D transla- tional spring and damper components connected in parallel. Its equations are: f = c · ( srel - srel0 ) + d · vrel srel = sb - sa vrel = srel f = fb fa + fb = 0 • Fig 3e) describes the Translational Fixed component which models a flange of a 1-D translational mechanical system fixed at position, s0, in the housing. MapleSim user can use this component to con- nect a compliant element (for example, a spring or damper) between a sliding mass and the housing, or to fix a rigid element (for example, a mass) at a specific position. MapleSim allows users to use both causal and acausal approaches. Its user can simulate a physical sys- tem (with acausal modelling) together with the associated logic or control loop (with causal modelling) in a manner that suits either task best (MapleSim 2013). In the Fig. 4, there are two versions of the same model in Examples menu of MapleSim library (Users´ Guide Example, Chapter 1, Double Mass Spring Damper). The left diagram uses causal blocks and we can find it in the Signal Blocks palette of the MapleSim library. The right diagram uses 1-D translational blocks and we can find it in the 1-D Mechani- cal palette of the MapleSim library in menu on the left hand of the Fig. 4. These diagrams are compatible with Modelica blocks (Fritzson 2011). Simulation parameters are set up on the right hand of the Fig. 4. Figure 4 Comparison Models of Double Mass Spring Damper in MapleSim Source: Maplesoft MapleSim enables simulation process, where the results are generated and displayed using graphs showing the quantities of interest and, optionally for multibody mechanical systems, a 3-D animation. To view the behaviour or response of physical properties (for example displacements, velocity etc.), user can Copyright 2013 Shaker Verlag, Aachen, ISBN: 978-3-8440-1676-5 add named probes (see Output displacement velocity in the Fig. 2 and Causal Mass1 x, Causal Mass2 x, Acausal Mass1 x and Acausal Mass2 x in the Fig. 4), to connection lines, ports, or components in solved 2-D or 3-D model. These probes allow identifying the variables of interest that are associated with connec- tion ports. In the Fig. 5 plots, the positions x2(t) (displacements) of the upper mass M2 (Mass2) in probes Causal Mass2 x, Acausal Mass2 x and the positions x1(t) (displacement) of the lower mass M1 (Mass1) in probes Causal Mass1 x, Acausal Mass1 x are shown.
Recommended publications
  • Hosted by Indian Institute of Science, Bangalore
    Hosted by Indian Institute of Science, Bangalore 29 November 2018 30 November 2018 Modelica Tutorials – Beginners and 1st Modelica Users’ Meet – India Intermediate level with Hands on (MUMI 2018) Venue Class Room – 222, ICER, IISc, Bangalore Register here https://tinyurl.com/isadigitaltwins Silver Sponsor Bronze Sponsor About Modelica A non-proprietary, object-oriented, equation based language to conveniently model complex multi- domain systems used by many Industries for Modeling and Simulation Control Edge Designer MIKE from OpenModelica from from Bosch Rexroth DHI OSMC SimulationX from ESI ITI Technologies GmbH, Dresden, Germany. Simcenter Amesim from Siemens PLM Software SystemModeler from Wolfram Research, Sweden CATIA Systems Engineering Dymola from Dassault from Dassault Systèmes Systèmes Altair Activate from Altair OPTIMICA Compiler solidThinking Toolkit from Modelon AB ABB OPTIMAX PowerFit Twin Builder MapleSim from JModelica from from ABB Group from ANSYS Waterloo Maple Modelon with academia Application Tool Modelica Tutorial Modelica Users’ Meet India, 2018 Keynote: Dr Peter Fritzson Presenters from Professor and Research Director of the Programming Altair India Private Limited Environment Laboratory at Linköping University BMSCE Bangalore Director of the Open Source Modelica Consortium Dymola Director of the MODPROD center for model-based IISc Bangalore product development IIT Bombay Vice chairman of the Modelica Association ModeliCon InfoTech LLP Modelon Engineering Private Limited Tutorial Agenda SASTRA Deemed University
    [Show full text]
  • Automatic Calibrations Generation for Powertrain Controllers Using Maplesim
    2018-01-1458 Automatic Calibrations Generation for Powertrain Controllers Using MapleSim Abstract development costs. Furthermore, MapleSim’s symbolic capabilities, including symbolic simplification and symbolic optimization of gen- Modern powertrains are highly complex systems whose development erated code, enable complex models to be simulated at speeds that al- requires careful tuning of hundreds of parameters, called calibrations. low real-time simulation for Hardware-In-the-Loop testing. The tool These calibrations determine essential vehicle attributes such as per- has been used in different industries, including safety critical indus- formance, dynamics, fuel consumption, emissions, noise, vibrations, tries [3]. Furthermore, the tool has been applied in powertrain model- harshness, etc. This paper presents a methodology for automatic gen- ing and analysis [4, 5, 6]. For example, [4] uses MapleSim/Maple for eration of calibrations for a powertrain-abstraction software module modeling and rapid prototyping of a powertrain. within the powertrain software of hybrid electric vehicles. This mod- ule hides the underlying powertrain architecture from the remaining In model-based development, the calibration process makes up a sig- powertrain software. The module encodes the powertrain’s torque- nificant portion of overall development efforts [7]. The calibration speed equations as calibrations. The methodology commences with process deals with tuning system parameters—calibrations—to meet modeling the powertrain in MapleSim, a multi-domain modeling and multiple requirements. Within the powertrain controls, calibrations simulation tool. Then, the underlying mathematical representation of typically reflect parameters (e.g., filters’ parameters, delays, thresh- the modeled powertrain is generated from the MapleSim model using olds, etc.) that are used for fine-tuning performance, fuel-efficiency, Maple, MapleSim’s symbolic engine.
    [Show full text]
  • Lecture #4: Simulation of Hybrid Systems
    Embedded Control Systems Lecture 4 – Spring 2018 Knut Åkesson Modelling of Physcial Systems Model knowledge is stored in books and human minds which computers cannot access “The change of motion is proportional to the motive force impressed “ – Newton Newtons second law of motion: F=m*a Slide from: Open Source Modelica Consortium, Copyright © Equation Based Modelling • Equations were used in the third millennium B.C. • Equality sign was introduced by Robert Recorde in 1557 Newton still wrote text (Principia, vol. 1, 1686) “The change of motion is proportional to the motive force impressed ” Programming languages usually do not allow equations! Slide from: Open Source Modelica Consortium, Copyright © Languages for Equation-based Modelling of Physcial Systems Two widely used tools/languages based on the same ideas Modelica + Open standard + Supported by many different vendors, including open source implementations + Many existing libraries + A plant model in Modelica can be imported into Simulink - Matlab is often used for the control design History: The Modelica design effort was initiated in September 1996 by Hilding Elmqvist from Lund, Sweden. Simscape + Easy integration in the Mathworks tool chain (Simulink/Stateflow/Simscape) - Closed implementation What is Modelica A language for modeling of complex cyber-physical systems • Robotics • Automotive • Aircrafts • Satellites • Power plants • Systems biology Slide from: Open Source Modelica Consortium, Copyright © What is Modelica A language for modeling of complex cyber-physical systems
    [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]
  • Real-Time Simulation and HIL Testing
    Real-time Simulation and HIL Testing Advanced projects require advanced tools for meeting and exceeding system-level requirements. By incorporating the most recent progress in engineering design technology, MapleSimTM offers a modern approach to physical modeling and simulation. It dramatically reduces model development and analysis time while producing fast, high-fidelity simulations. MapleSim is a “white-box” Modelica® platform, giving you complete flexibility and openness for complex multidomain models. With MapleSim, you create, analyze, and run system-level models in a fraction of the time it takes with other tools. As a result of its symbolic equation-formulation, simplification, and optimization technologies, MapleSim replaces repeated calls to computationally MapleSim dramatically reduces the computational effort of simulation. With MapleSim, you do not expensive function calls and algebraic terms with have to choose between model fidelity and real-time performance. precomputed single values, prior to the iteration. Real-time Simulation and HIL Testing MapleSim produces high-performance, royalty-free code suitable even from inside iteration loops, MapleSim can decrease the number of for complex real-time simulations, including hardware-in-the-loop (HIL) calculations for a single common subexpression from thousands to one applications. With MapleSim, you do not have to choose between model in a typical application. fidelity and real-time performance. • Available code generation targets, using MapleSim or MapleSim with a connectivity
    [Show full text]
  • Numerical Analysis, Modelling and Simulation
    Numerical Analysis, Modelling and Simulation Griffin Cook Numerical Analysis, Modelling and Simulation Numerical Analysis, Modelling and Simulation Edited by Griffin Cook Numerical Analysis, Modelling and Simulation Edited by Griffin Cook ISBN: 978-1-9789-1530-5 © 2018 Library Press Published by Library Press, 5 Penn Plaza, 19th Floor, New York, NY 10001, USA Cataloging-in-Publication Data Numerical analysis, modelling and simulation / edited by Griffin Cook. p. cm. Includes bibliographical references and index. ISBN 978-1-9789-1530-5 1. Numerical analysis. 2. Mathematical models. 3. Simulation methods. I. Cook, Griffin. QA297 .N86 2018 518--dc23 This book contains information obtained from authentic and highly regarded sources. All chapters are published with permission under the Creative Commons Attribution Share Alike License or equivalent. A wide variety of references are listed. Permissions and sources are indicated; for detailed attributions, please refer to the permissions page. Reasonable efforts have been made to publish reliable data and information, but the authors, editors and publisher cannot assume any responsibility for the validity of all materials or the consequences of their use. Copyright of this ebook is with Library Press, rights acquired from the original print publisher, Larsen and Keller Education. Trademark Notice: All trademarks used herein are the property of their respective owners. The use of any trademark in this text does not vest in the author or publisher any trademark ownership rights in such trademarks, nor does the use of such trademarks imply any affiliation with or endorsement of this book by such owners. The publisher’s policy is to use permanent paper from mills that operate a sustainable forestry policy.
    [Show full text]
  • Building System Modeling in Modelica: a Next-Generation Open-Source Framework for Modeling, Simulation, Optimization and Operation
    Building system modeling in Modelica: A next-generation open-source framework for modeling, simulation, optimization and operation Michael Wetter Simulation Research Group Building Technologies Department Energy and Environmental Technologies Division Lawrence Berkeley National Laboratory August, 2010 1 Overview What is Modelica Toolkit needs & how they are addressed by Modelica Example applications 2 What is Modelica? Object-oriented equation-based modeling language Open standard Developed since 1996 because conventional approach for modeling was inadequate for integrated engineered systems Well positioned to become de-facto open standard for modeling multi-engineering systems − ITEA2: 370 person years investment over current three years. Graphical modeling - input/output free - block-diagram - state machines - bond-graphs C code a:=2; Algorithmic code b:=2*a; executable C*der(T) = Q_flow; Acausal equations solver 0 = T - TBoundary; 3 Toolkit Needs Low barrier to entry for new users & developers − modularization − transparent (open) models − free tools & commercial support Exchange of technologies − standardized interface (models, solvers) − encapsulation Critical mass − ecosystem of diverse developers and users Support for modeling, simulation, optimization, operation 4 Modularization & Transparency connector HeatPort_a "Thermal port for 1-dim. heat transfer" Modelica.SIunits.Temperature T "Port temperature"; flow Modelica.SIunits.HeatFlowRate Q_flow "Heat flow rate (positive if flowing from outside into the component)"; end HeatPort_a; model HeatCapacitor "Lumped thermal element storing heat" parameter Modelica.SIunits.HeatCapacity C "Heat capacity"; Modelica.SIunits.Temperature T "Temperature of element"; Interfaces.HeatPort_a port; equation T = port.T; C*der(T) = port.Q_flow; end HeatCapacitor; a b connect(a.port, b.port); a.port.T = b.port.T 0 = a.port.Q_flow + b.port.Q_flow 5 Tools Commercial Free Dymola JModelica SimulationX OpenModelica LMS Imagine.Lab SCICOS AMESim MapleSim MathModelica (links to Mathematica) 6 Modelica Standard Library.
    [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]
  • Approaches for Modelling the Physical Behavior of Technical Systems on the Example of Wind Turbines
    energies Article Approaches for Modelling the Physical Behavior of Technical Systems on the Example of Wind Turbines Ralf Stetter Department of Mechanical Engineering, Ravensburg-Weingarten University (RWU), 88250 Weingarten, Germany; [email protected] Received: 18 March 2020; Accepted: 16 April 2020; Published: 22 April 2020 Abstract: Models of technical systems are an essential means in design and product-development processes. A large share of technical systems, or at least subsystems, are directly or indirectly connected with the generation or transformation of energies. In design science, elaborated modelling approaches were developed for different levels of product concretization, for instance, requirement models and function models, which support innovation and new product-development processes, as well as for energy-generating or -transforming systems. However, on one product-concretization level, the abstract level that describes the physical behavior, research is less mature, and an overview of the approaches, their respective advantages, and the connection possibilities between them and other modelling forms is difficult to achieve. This paper proposes a novel discussion structure based on modelling perspectives and digital-engineering frameworks. In this structure, current approaches are described and illustrated on the basis of an example of a technical system, a wind turbine. The approaches were compared, and their specific advantages were elaborated. It is a central conclusion that all perspectives could contribute to holistic product modelling. Consequently, combination and integration possibilities were discussed as well. Another contribution is the derivation of future research directions in this field; these were derived both from the identification of “white spots” and the most promising modelling approaches.
    [Show full text]
  • Symbolic Computation Techniques for Efficient Control Plant Modeling and HIL Simulation: the Case of Maplesim
    IEEE NPSS (Toronto), UOIT, Oshawa, ON, 2-3 June, 2011 International Workshop on Real Time Measurement, Instrumentation & Control [RTMIC] Symbolic Computation Techniques for Efficient Control Plant Modeling and HIL Simulation: The Case of MapleSim Tom Lee, Maplesoft Orang Vahid, Mechanical and Mechatronic Engineering, University of Waterloo Abstract This paper describes recent developments in creating better models that still run efficiently for rapid virtual simulations, including realtime, or hardware-in-the-loop (HIL) simulations. The presented techniques have been motivated by the needs of the global automotive industries in particular. Progress in automotive model-based design (MBD), however, has faced very serious recent impediments due to increasing complexity of systems such as those required for hybrid electrical vehicle (HEV) or electric vehicle (EV) design. Such systems are naturally multi-domain and possess challenging dynamics. Conventional numerical simulation tools, many find, are unable to deliver either the necessary system fidelity, or sufficient speed in realtime. This paper describes the techniques embodied in recent simulation tools that deploy symbolic computation techniques. Symbolic approaches, as compared to conventional numeric approaches, manage inherent model equations in a natural algebraic way – i.e. the equations are both exposed and manipulable and not simply encased in compiled black boxes. With direct access to such techniques, various algebraic and computation optimization techniques can be readily applied. A case study applying these techniques for designing a radar-tracking gimbal controller, via inverse kinematic analysis is presented. Keywords: Dynamic modeling, Realtime simulation, Symbolic computation, MapleSim, Maple 1. Introduction Industry continues to seek more detailed and more efficient techniques for system simulation within control system design.
    [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]