Font Size: a A A

Research And Implementation Of Process Modeling Mechanism In Multi-domain Unified Modeling Language

Posted on:2008-01-31Degree:MasterType:Thesis
Country:ChinaCandidate:X WeiFull Text:PDF
GTID:2132360272467225Subject:Digital design and manufacturing
Abstract/Summary:PDF Full Text Request
Modern product become more and more complex, and commonly is compose of multi-system of multi-domain. These mulit-sysytem shows tight coupling trait, requesting simulating in unified multi-domain environment. To optimizing design and find exact simulating result of total performance of product, experts in industry need a new theory and method which can span different domains and different subjects. As next generation simulating language, Modelica support oriented-object inheritance modeling, integration of multi-domain modeling, declarative modeling, continuous and discrete hybrid modeling. Modelica suit describe modern complex physical system, representing new current of modern system modeling and simulating technology.This article aims at multi-domain physics unified modeling and simulation platform MWorks, studying process modeling of Modelica language. Comparing different method of declarative and process modeling, analyze theory of modeling and simulation of Modelica. Considering the analyzing simulating model procedure of MWorks compiler, research deeply the kernel mechanism of process modeling, such as function, algorithm and C code mapping.The function mechanism is kernel of Modelica process modeling. Base on procedure of MWorks compiling simulation model, studying content of function mechanism such as common function, function recall, built-in function, and external function; According to standard resolve and instantiation, propose adding function type restriction checking and input/output component collection to complete function type resolving. Reducing instantiation procedure, the compiler can judge legality of default parameters. Through parameters matching procedure, achieve formal parameters mapping real parameters. Solve built-in function in MWorks complier can make simulate quickly. Aim at interface of function in Modelica, solve recall function of other language, such as C, FORTRAN.Algorithm is another important method of Modelica process modeling. Comparing with algorithm and function, studying property of Modelica algorithm, discussing input/output analyze of algorithm, importance of algorithm clause, and give a solution to achieve algorithm.C code mapping is key mechanism from modeling to simulation of Modelica process modeling. Author divide function declaration to five parts: prototype declaration, algorithm clause, return clause and complex type declare, then assembly these parts to complete C code. Through depend analyzing, solves different usage of variable in C and Modelica.Based on the study, achievement Modelica process modelings have been carried out in the platform MWorks. At the end of this article, author introduces the modeling procedure of MWorks, and gives instances of process modeling.
Keywords/Search Tags:Multi-domain Unified Modeling, Modelica, Process Modeling, Simulation
PDF Full Text Request
Related items