- Research Article
26
- 10.1016/s1474-6670(17)58424-4
Modeling and Simulation of Hybrid Systems in MATLAB
- Jun 01, 1996
- IFAC Proceedings Volumes
- James H Taylor + 1 more +1
Modeling and Simulation of Hybrid Systems in MATLAB
Previous research in the area of modeling and simulation of hybrid systems led to the development of a general hybrid systems modeling language (HSML), part of which was implemented in a preliminary way by extending MATLAB. This paper describes the second phase of algorithmic implementation of the HSML ideas and language constructs for dealing with state-event handling and model structural changes in continuous-time system components. Specifically, the standard MATLAB model framework and integration algorithms are extended to support these phenomena. An example is presented to show the efficacy of these extensions within the MATLAB environment.
Modeling and Simulation of Hybrid Systems in MATLAB
Modeling and Simulation of Hybrid Systems in MATLAB
Rigorous handling of state events in MATLAB
Previous research in the area of modeling and simulation of hybrid systems led to the development of a general hybrid systems modeling language (hsml) that has been described elsewhere. Features of hsml include: hierarchical, modular construction of models from components; consistent yet distinctive definition of continuoustime, discrete-time and logic-based components; prioritized scheduling of discrete-time components; mechanisms for state-event handling; approaches for dealing with vector-field conflicts and changing model order and structure; rigorous type and range checking; and a strict semantic basis that permits extensive checking and validation of the model. This paper describes a first step towards algorithmic implementation of the hsml ideas and language constructs for dealing with state-event handling and vector-field conflicts in continuous-time components. Specifically, the standard matlab model framework and integration algorithms are extended to support these phenomena. An example is presented to show the efficacy of these extensions within the matlab environment.
Read moreRigorous hybrid systems simulation with continuous-time discontinuities and discrete-time components
Previous research in the modeling and simulation of hybrid systems led to the development of a general hybrid systems modeling language (HSML). In more recent work, we have implemented this concept in software. The standard Matlab model framework and integration algorithms have been extended to support state-event handling in continuous-time components and to deal with embedded discrete-time components, with utmost accuracy and efficiency. In this paper we overview the algorithmic implementation of the HSML ideas and language constructs for dealing with state events and embedded discrete-time components in Matlab. A practical example (a separately-excited DC motor coupled via a gear-train to a load driven by a digital controller) is presented to demonstrate the efficacy of these extensions.
Read moreRigorous hybrid systems simulation of an electro-mechanical pointing system with discrete-time control
Earlier research in the modeling and simulation of hybrid systems led to the development of a general hybrid systems modeling language (HSML). Effort is underway to implement this concept in software. The standard MATLAB model framework and integration algorithms have been extended to support state-event handling in continuous-time components and to handle embedded discrete-time components. In this paper we overview the algorithmic implementation of the HSML language constructs for dealing with state events and embedded discrete-time modules in MATLAB. An extensive example of an electro-mechanical pointing system with stiction under discrete-time control is presented to demonstrate the efficacy of these extensions.
Read moreModeling, simulation, sensitivity analysis, and optimization of hybrid systems
Hybrid (discrete/continuous) systems exhibit both discrete state and continuous state dynamics which interact to such a significant extent that they cannot be decoupled and must be analyzed simultaneously. We present an overview of the work that has been done in the modeling, simulation, sensitivity analysis, and optimization of hybrid systems, paying particular attention to the interaction between discrete and continuous dynamics. A concise intuitive framework for hybrid system modeling is presented, together with discussions on robust state event location, transfer functions of the continuous state at discontinuities, parametric sensitivity analysis of hybrid systems, and challenges in optimization.
Read moreModeling, simulation and sensitivity analysis of hybrid systems
Hybrid (discrete/continuous) systems are systems that exhibit both discrete state and continuous state dynamics. In addition, these two aspects of system behavior interact to such a significant extent that they cannot be decoupled and must be analyzed simultaneously. We consider the modeling, simulation and sensitivity analysis of hybrid systems, with particular emphasis on the interactions between discrete and continuous subsystems. The discussion focuses on the hybrid automation representation of continuous time hybrid systems. Topics discussed include state event location, transfer functions for the continuous state at discontinuities, and parametric sensitivity analysis of hybrid systems.
Read moreEquation-based modelling and simulation of hybrid systems
Equation-based 1 modelling of hybrid systems has to consider dynamical systems consisting of components with continuous and/or discrete behavior. The paper focuses on such systems under special consideration of systems with variable model structure. Some ideas are presented how a simulation of continuous and discrete phenomena can be handled correctly. The main process is a continuing alternation between continuous and discrete simulation phases, where in the discrete phase the changeover can be performed to a new model structure which is valid during the next continuous phase. The paper addresses the problem of finding a new valid model structure as a process within the discrete phase. This new valid model structure has to be found under consideration of the time history of the model's variables within the preceding continuous phase. To this end, the usage of the Linear Complementarity Problem (LCP) is proposed. After a definition of hybrid systems and the term model structure, different types of events - with and without influence on the model structure - are listed and properties of complementarity are presented. To find the correct switchover from continuous to discrete phase, so-called indicator functions are used. On the contrary, to find the correct switchover from discrete to continuous phase, the LCP is applied. Some simulation results for an electromechanical system are briefly presented.
Read moreDEVS framework for modelling, simulation, analysis, and design of hybrid systems
We make the case that Discrete Event System Specification (DEVS) is a universal formalism for discrete event dynamical systems (DEDS). DEVS offers an expressive framework for modelling, design, analysis and simulation of autonomous and hybrid systems. We review some known features of DEVS and its extensions. We then focus on the use of DEVS to formulate and synthesize supervisory level controllers.
Read moreDesign and implementation of a knowledge-based framework for the modelling and simulation of hybrid systems
The paper describes a knowledge-based framework for the modelling and simulation of hybrid systems and its implementation in the G2 Expert System tool. The approach is based on three key notions : a hybrid model base, hybrid simulation, and interactions between dissimilar model elements. The hybrid model base is a repository of model building paradigms, including Grafcets, equations, rules, and object-orientation. Hybrid simulation is based on the concurrent execution of the G2 continuous simulator, a Grafcet simulator, and the G2 inference engine. The three simulators exchange information through interactions which are dynamically created during a simulation. Interactions are modelled as notional objects with attributes specifying the variables and variable types involved in the exchange of information. This represents a form of causality between the source and receptor variables. The approach is illustrated by applying it to the modelling and simulation of a rolling mill.
Read moreBehavioural Hybrid Process Calculus for Modelling and Analysis of Hybrid and Electronic Systems
Progress in electronics requires novel techniques for modelling, design and production. Formal modelling is a well-known tool for modelling and analysis of diverse systems. Recent studies of the hybrid process algebras show that their application in electronics could improve design quality and reliability of the electronic systems. We present Behavioural Hybrid Process Calculus (BHPC), a formalism for modelling and analysis of hybrid systems combining process algebraic techniques and the behavioural approach in such a way providing means for modelling of instantaneous changes as well as continuous evolution. It is supported by Bhave toolset, a tool collection for modelling, simulation and visualisation of hybrid systems. The toolset contains msp-svg, a tool that provides a novel way for visualisation of hybrid systems – Message Sequence Plots and related tool. Moreover, we illustrate application of BHPC, and in particular, show how it can be effectively used for modelling and analysis of electronic systems in combination with OpenModelica System.KeywordsHybrid systemsProcess algebrasVisualisationElectronics
Read moreIntegrated modelling and simulation method of hybrid systems based on X language
Model‐based systems engineering is now leading the way in supporting the design of complex products or systems. The integration of modelling and simulation of continuous‐discrete hybrid systems is the key of model‐based systems engineering. But the existing languages, formalisms and tools cannot support the unified modelling and simulation of hybrid systems and therefore reduces the efficiency of complex system development. To address this issue, this paper develops a design method of complex hybrid systems, which integrates modelling and simulation of the continuous‐discrete hybrid behaviour. Specifically, the authors provided a modelling method of hybrid systems based on the X language, a simulation method based on XDEVS, and a compilation algorithm to transform the hybrid model constructed with X language into XDEVS simulation files. In this way, the X language hybrid model can be automatically translated into XDEVS simulation files by a compiler. The simulation files can then be simulated by the XDEVS simulation engine. The obtained simulation results will be used to verify whether the design scheme meets the design requirements of the hybrid system. Finally, the correctness and feasibility of the proposed method are verified using a car‐driving model.
Read moreAdvanced Smart Grid Functionalities Based on PowerFactory
Part I: Fundamentals -- Special features of PowerFactory for Smart Grids -- DIgSILENT Simulation Language (DSL) -- DIgSILENT Programming Language (DPL) -- Interfacing PowerFactory with Third-party-Software -- Potentials for Co-simulation and HIL -- Part II: Applications for smart grid planning -- Co-simulation for modelling and simulation of hybrid systems -- Model identification and dynamic equivalencing i. Transmission systems ii. Active distribution networks -- EMT models of RES -- Offshore-onshore grids -- HVDC-HVAC systems -- Dynamic modelling of electric vehicles infrastructure -- Advanced electricity energy storage systems -- Part III: Applications for smart grid operation -- Real-time load measurement and management -- Diagnosis & notification of equipment condition -- Dynamic capability rating -- Fault current limiting in hybrid systems -- Smarter adaptive and enhanced protections -- Automated islanding and restoration -- Wide area monitoring, visualization, & control -- Customer Electricity Use Optimization -- Risk-based security assessment.
Read moreControlled Switched Structures for Bond-Graph Modelling and Simulation of Hybrid Systems
This chapter discusses in detail two simulation-oriented bond-graph modelling devices for hybrid systems. They are the Switchable-Structure Bond and the Generalized Switched Junction or, for short, SS-Bond and GSJ. They are extensions of the standard power bond and the 1– and 0– junctions, respectively, allowing to model structural changes in a system and yielding a single bond graph with fixed causality representing all the commutation modes. Besides illustrating their properties with simple examples, some technical applications are addressed. Related results previously presented in the bond-graph literature either as hybrid-, switched or variable-topology systems are reviewed and shown to be representable by these two new formalisms, so that the formers can be considered as special or particular cases of the latter.
Read moreConstraint-Based Modeling and Symbolic Simulation of Hybrid Systems with HydLa and HyLaGI
Hybrid systems are dynamical systems that include both continuous and discrete changes. Modeling and simulation of hybrid systems can be challenging due to various kinds of subtleties of their behavior. The declarative modeling language HydLa aims at concise description of hybrid systems by means of constraints and constraint hierarchies. HyLaGI, a publicly available symbolic simulator of HydLa, featured error-free computation with symbolic parameters. Based on symbolic computation, HyLaGI provides various functionalities including nondeterministic execution, handling of infinitesimal quantities, and construction of hybrid automata. Nondeterministic execution in the framework of constraint programming enables us to solve inverse problems by automatic parameter search. This paper introduces these features by means of example programs. This paper also discusses our experiences with HydLa programming, which is unique in that its data and control structures are both based on constraint technologies. We discuss its expressive power and our experiences with modeling using constraint hierarchies.
Read moreStrategy and gaps for modeling, simulation, and control of hybrid systems
The purpose of this report is to establish a strategy for modeling and simulation of candidate hybrid energy systems. Modeling and simulation is necessary to design, evaluate, and optimize the system technical and economic performance. Accordingly, this report first establishes the simulation requirements to analysis candidate hybrid systems. Simulation fidelity levels are established based on the temporal scale, real and synthetic data availability or needs, solution accuracy, and output parameters needed to evaluate case-specific figures of merit. Accordingly, the associated computational and co-simulation resources needed are established; including physical models when needed, code assembly and integrated solutions platforms, mathematical solvers, and data processing. This report first attempts to describe the figures of merit, systems requirements, and constraints that are necessary and sufficient to characterize the grid and hybrid systems behavior and market interactions. Loss of Load Probability (LOLP) and effective cost of Effective Cost of Energy (ECE), as opposed to the standard Levelized Cost of Electricty (LCOE), are introduced as technical and economical indices for integrated energy system evaluations. Financial assessment methods are subsequently introduced for evaluation of non-traditional, hybrid energy systems. Algorithms for coupled and iterative evaluation of the technical and economic performance are subsequently discussed. This report further defines modeling objectives, computational tools, solution approaches, and real-time data collection and processing (in some cases using real test units) that will be required to model, co-simulate, and optimize; (a) an energy system components (e.g., power generation unit, chemical process, electricity management unit), (b) system domains (e.g., thermal, electrical or chemical energy generation, conversion, and transport), and (c) systems control modules. Co-simulation of complex, tightly coupled, dynamic energy systems requires multiple simulation tools, potentially developed in several programming languages and resolved on separate time scales. Whereas further investigation and development of hybrid concepts will provide a more complete understanding of the joint computational and physical modeling needs, this report highlights areas in which co-simulation capabilities are warranted. The current development status, quality assurance, availability and maintainability of simulation tools that are currently available for hybrid systems modeling is presented. Existing gaps in the modeling and simulation toolsets and development needs are subsequently discussed. This effort will feed into a broader Roadmap activity for designing, developing, and demonstrating hybrid energy systems.
Read more