CN106682323A - Transformation system for transforming architecture models into dynamic simulation models, and method thereof - Google Patents

Transformation system for transforming architecture models into dynamic simulation models, and method thereof Download PDF

Info

Publication number
CN106682323A
CN106682323A CN201611256216.XA CN201611256216A CN106682323A CN 106682323 A CN106682323 A CN 106682323A CN 201611256216 A CN201611256216 A CN 201611256216A CN 106682323 A CN106682323 A CN 106682323A
Authority
CN
China
Prior art keywords
model
dynamic simulation
framework
module
behavior
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611256216.XA
Other languages
Chinese (zh)
Other versions
CN106682323B (en
Inventor
赵旭峰
邵进涛
江雷
周凡利
谢刚
刘奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUZHOU TOPRANK INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SUZHOU TOPRANK INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUZHOU TOPRANK INFORMATION TECHNOLOGY Co Ltd filed Critical SUZHOU TOPRANK INFORMATION TECHNOLOGY Co Ltd
Priority to CN201611256216.XA priority Critical patent/CN106682323B/en
Publication of CN106682323A publication Critical patent/CN106682323A/en
Application granted granted Critical
Publication of CN106682323B publication Critical patent/CN106682323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a transformation system for transforming architecture models into dynamic simulation models, and a method thereof. The transformation system comprises an architecture model component library, a dynamic simulation model library, a user interface module, an architecture analysis module, a behavior injection module, a model management module and a data management module. According to the method, model behavior transformation is realized through the steps of architecture model component library construction, architecture model construction, architecture model import, architecture model analysis, mapping relation data generation, dynamic simulation model library construction, behavior equation injection, driving model simulation and the like. The transformation system and the method thereof have the advantages that the architecture models can be transformed into the dynamic simulation models or other models, reuse of the architecture models is realized, repetitive work is reduced, and modeling efficiency is improved; one architecture model can be used for multiple simulation, and construction of multiple models is not needed, so that only one model needs modification when the topological structures of the architecture models are needed, and model maintenance is facilitated.

Description

A kind of converting system and its method that framework model is converted to Dynamic Simulation Model
Technical field
The invention belongs to Computer Simulation modeling field, and in particular to framework model is converted to Dynamic Simulation Model by one kind Converting system and its method.
Background technology
Modelica is a kind of brand-new multidomain uniform modeling language of opening that international emulation circle proposed in 1997, it Conclude and unified previous multi-modeling language, and merged the non-causal idea about modeling of bond graph, Java language towards right As technology and the numerical value and matrix mechanism of Matlab, thus possesses extremely powerful modeling function.
Object orientedness and non-causality are Modelica language biggest advantages.Object -Oriented Model method has number According to encapsulation, layering, connection and inherit etc. feature, it is easy to reduce mistake occur and easily implementation model reuse.So-called unprovoked Fruit property is modeled, and is exactly, with neutral, the natural form expression model equation of one kind, computation sequence to be considered from without more, is kept away The cumbersome derivation to model equation is exempted from, so as to improve modeling efficiency, and has made partial model be easy to be reused. Modelica language sets up model using statement formula, the non-causal modeling method based on equation, by defining interface, connects model Mouthful standardization, therefore can make be completely independent between each subsystem of physical system and can unite mutually using Modelica modelings One.
In actual Modelica modeling process, can run into will to same system for different operating conditions, no The situation that same emulation emphasis is modeled.Now, although the topological structure between the component of system is completely the same, but interior But it is not quite similar in behavior.Traditional modeling method will be built multiple models comprising different behaviors and meet to same system Different emulation demands.Model by this method, Model Reuse rate is low, to carry out the duplication of labour, and due to same system System will respectively be emulated by multiple different models, change multiple models during modification simultaneously, be not easy to the maintenance of model.
The content of the invention
In order to solve above-mentioned problems of the prior art, the present invention is intended to provide one kind framework model is converted to it is dynamic The converting system and its method of state simulation model, maintenance in order to model simultaneously improve modeling efficiency.
To realize above-mentioned technical purpose, above-mentioned technique effect is reached, the present invention is achieved through the following technical solutions:
A kind of converting system that framework model is converted to Dynamic Simulation Model, by framework model Component Gallery, Dynamic Simulation Model Storehouse, subscriber interface module, framework parsing module, behavior injection module, model management module and data management module composition;
The framework model Component Gallery, is responsible for storage for the component of structure composed model;
The Dynamic Simulation Model storehouse, Dynamic Simulation Model that is that responsible storage builds and defining behavior;
The subscriber interface module, the responsible treatment converting system is interacted with user's, the information of user input is received, with exhibition Show operation conditions;
The framework parsing module, is responsible for the structure of Analytical framework model;
The behavior injection module, is responsible for for model behavior equation writing into target location;
The model management module, the additions and deletions of responsible model file change looks into, and the membership credentials between administrative model file;
The data management module, is responsible for the data of output in the whole converting system operation, and be responsible for holding for data Longization.
A kind of conversion method that framework model is converted to Dynamic Simulation Model, comprises the following steps:
Step 0, using Modelica Modular Modeling Softwares, build the framework model Component Gallery;The framework model Component Gallery In component need not define behavior, only need defining interface;
Step 1, framework model is built using the component in the framework model Component Gallery, line is carried out to component, determine framework The topological structure of model;
Step 2, the framework model that will be put up by the model management module are imported into the converting system;
Step 3, the framework parsing module are analyzed to the framework model after importing, it would be desirable to be mapped as Dynamic Simulation Model Collect components get up, submit to the subscriber interface module, allow user to be selected;
After step 4, user confirm, a original framework model of subscriber interface module generation is closed with the mapping of Dynamic Simulation Model Coefficient evidence, and give the data management module management;
Step 5, the behavior injection module extract mapping relations from the data management module, and according to mapping relations, refer to Wave the model management module and generate a Dynamic Simulation Model storehouse for sky;
The content that step 6, the behavior injection module are lacked according to the Dynamic Simulation Model storehouse, notifies the user interface mould Block formation component equation inputting interface, for the equation code of user input descriptive model behavior;
Step 7, user are completed after the input of equation code, and the behavior injection module commands the model management module, will Behavior equation writes the Dynamic Simulation Model storehouse, is built into Dynamic Simulation Model, and give the model management module management;
The Dynamic Simulation Model storehouse is completely the same with the structure of the framework model Component Gallery, the Dynamic Simulation Model storehouse with The difference of the framework model Component Gallery is the behavior for defining Dynamic Simulation Model;
The models switching interface that step 8, user are generated by the subscriber interface module, switching model behavior, by framework model Switch to Dynamic Simulation Model;
When step 9, driving model are emulated, Dynamic Simulation Model storehouse and framework mould described in the model management module loading Type, framework model can search corresponding Dynamic Simulation Model and be loaded into from the Dynamic Simulation Model storehouse;Now, framework model Topological structure it is constant, but be provided with the behavior of Dynamic Simulation Model, that is, change for Dynamic Simulation Model;
Step 10, end.
Compared with prior art, the beneficial effects of the invention are as follows:
1st, modeling efficiency is improved:The topological structure of framework model simulation system, can be converted to Dynamic Simulation Model or other Model, realizes the multiplexing of framework model, reduces the duplication of labour.
2nd, it is easy to the maintenance of model:Various emulation can be carried out with same framework model, without building multiple models, Therefore when framework model needs modification topological structure, it is only necessary to change a model, and traditional modeling method needs to repair Change multiple models.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, and can It is practiced according to the content of specification, with presently preferred embodiments of the present invention and coordinates accompanying drawing to describe in detail below.It is of the invention Specific embodiment is shown in detail by following examples and its accompanying drawing.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the structured flowchart of converting system of the present invention;
The step of Fig. 2 is conversion method of the present invention flow chart.
Specific embodiment
Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
It is shown in Figure 1, a kind of converting system that framework model is converted to Dynamic Simulation Model, by framework model component Storehouse 1, Dynamic Simulation Model storehouse 2, subscriber interface module 3, framework parsing module 4, behavior injection module 5, the and of model management module 6 Data management module 7 is constituted;
The framework model Component Gallery 1, is responsible for storage for the component of structure composed model;
The Dynamic Simulation Model storehouse 2, it is responsible to store Dynamic Simulation Model that is building and defining behavior;
The subscriber interface module 3, the responsible treatment converting system is interacted with user's, receives the information of user input, with Displaying operation conditions;
The framework parsing module 4, is responsible for the structure of Analytical framework model;
The behavior injection module 5, is responsible for for model behavior equation writing into target location;
The model management module 6, the additions and deletions of responsible model file change looks into, and the membership credentials between administrative model file;
The data management module 7, is responsible for the data of output in the whole converting system operation, and be responsible for holding for data Longization.
Referring to shown in Fig. 1 and Fig. 2, a kind of conversion method that framework model is converted to Dynamic Simulation Model, including it is as follows Step:
Step 0, using Modelica Modular Modeling Softwares, build the framework model Component Gallery 1;The framework model Component Gallery Component in 1 need not define behavior, only need defining interface;
Step 1, framework model is built using the component in the framework model Component Gallery 1, line is carried out to component, determine framework The topological structure of model;
Step 2, the framework model that will be put up by the model management module 6 are imported into the converting system;
Framework model after step 3,4 pairs of importings of the framework parsing module is analyzed, it would be desirable to be mapped as dynamic simulation mould The collect components of type get up, and submit to the subscriber interface module 3, allow user to be selected;
After step 4, user confirm, the subscriber interface module 3 generates the mapping of a original framework model and Dynamic Simulation Model Relation data, and give the data management module 7 and manage;
Step 5, the behavior injection module 5 extract mapping relations from the data management module 7, and according to mapping relations, The model management module 6 is commanded to generate a Dynamic Simulation Model storehouse 2 for sky;
The content that step 6, the behavior injection module 5 are lacked according to the Dynamic Simulation Model storehouse 2, notifies the user interface The formation component equation inputting interface of module 3, for the equation code of user input descriptive model behavior;
Step 7, user are completed after the input of equation code, and the behavior injection module 5 commands the model management module 6, Behavior equation is write into the Dynamic Simulation Model storehouse 2, Dynamic Simulation Model is built into, and give the model management module 6 Management;
The Dynamic Simulation Model storehouse is completely the same with the structure of the framework model Component Gallery, the Dynamic Simulation Model storehouse with The difference of the framework model Component Gallery is the behavior for defining Dynamic Simulation Model;
The models switching interface that step 8, user are generated by the subscriber interface module 3, switching model behavior, by framework model Switch to Dynamic Simulation Model;
When step 9, driving model are emulated, the model management module 6 loads the Dynamic Simulation Model storehouse 2 and framework mould Type, framework model can search corresponding Dynamic Simulation Model and be loaded into from the Dynamic Simulation Model storehouse 2;Now, framework mould The topological structure of type is constant, but is provided with the behavior of Dynamic Simulation Model, that is, change for Dynamic Simulation Model;
Step 10, end.
Above-described embodiment simply to illustrate that technology design of the invention and feature, the purpose is to be to allow in the art Those of ordinary skill will appreciate that present disclosure and implement according to this that it is not intended to limit the scope of the present invention.It is all It is the equivalent change or modification according to done by the essence of present invention, should all covers within the scope of the present invention.

Claims (2)

1. a kind of converting system that framework model is converted to Dynamic Simulation Model, it is characterised in that:By framework model Component Gallery (1), Dynamic Simulation Model storehouse(2), subscriber interface module(3), framework parsing module(4), behavior injection module(5), model pipe Reason module(6)And data management module(7)Composition;
The framework model Component Gallery(1), it is responsible for storage for the component of structure composed model;
The Dynamic Simulation Model storehouse(2), it is responsible to store Dynamic Simulation Model that is building and defining behavior;
The subscriber interface module(3), it is responsible for interacting for the treatment converting system and user, the information of reception user input, With displaying operation conditions;
The framework parsing module(4), it is responsible for the structure of Analytical framework model;
The behavior injection module(5), it is responsible for for model behavior equation writing into target location;
The model management module(6), the additions and deletions of responsible model file change looks into, and the membership credentials between administrative model file;
The data management module(7), the data of output in the whole converting system operation are responsible for, and be responsible for number According to persistence.
2. a kind of conversion method using converting system as claimed in claim 1, it is characterised in that comprise the following steps:
Step 0, using Modelica Modular Modeling Softwares, build the framework model Component Gallery(1);The framework model component Storehouse(1)In component need not define behavior, only need defining interface;
Step 1, use the framework model Component Gallery(1)In component build framework model, line is carried out to component, determine frame The topological structure of structure model;
Step 2, by the model management module(6)The framework model that will be put up is imported into the converting system;
Step 3, the framework parsing module(4)Framework model after importing is analyzed, it would be desirable to be mapped as dynamic simulation The collect components of model get up, and submit to the subscriber interface module(3), allow user to be selected;
After step 4, user confirm, the subscriber interface module(3)A original framework model of generation reflects with Dynamic Simulation Model Relation data is penetrated, and gives the data management module(7)Management;
Step 5, the behavior injection module(5)From the data management module(7)Middle extraction mapping relations, and closed according to mapping System, commands the model management module(6)One Dynamic Simulation Model storehouse of sky of generation(2);
Step 6, the behavior injection module(5)According to the Dynamic Simulation Model storehouse(2)The content of missing, notifies the user Interface module(3)Formation component equation inputting interface, for the equation code of user input descriptive model behavior;
Step 7, user are completed after the input of equation code, the behavior injection module(5)Command the model management module (6), behavior equation is write into the Dynamic Simulation Model storehouse(2), Dynamic Simulation Model is built into, and give the model management Module(6)Management;
The Dynamic Simulation Model storehouse is completely the same with the structure of the framework model Component Gallery, the Dynamic Simulation Model storehouse with The difference of the framework model Component Gallery is the behavior for defining Dynamic Simulation Model;
Step 8, user pass through the subscriber interface module(3)The models switching interface of generation, switching model behavior, by framework mould Type switches to Dynamic Simulation Model;
When step 9, driving model are emulated, the model management module(6)Load the Dynamic Simulation Model storehouse(2)And frame Structure model, framework model can be from the Dynamic Simulation Model storehouse(2)It is middle to search corresponding Dynamic Simulation Model and be loaded into;Now, The topological structure of framework model is constant, but is provided with the behavior of Dynamic Simulation Model, that is, change for Dynamic Simulation Model;
Step 10, end.
CN201611256216.XA 2016-12-30 2016-12-30 A kind of converting system and its method that framework model is converted to Dynamic Simulation Model Active CN106682323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611256216.XA CN106682323B (en) 2016-12-30 2016-12-30 A kind of converting system and its method that framework model is converted to Dynamic Simulation Model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611256216.XA CN106682323B (en) 2016-12-30 2016-12-30 A kind of converting system and its method that framework model is converted to Dynamic Simulation Model

Publications (2)

Publication Number Publication Date
CN106682323A true CN106682323A (en) 2017-05-17
CN106682323B CN106682323B (en) 2019-11-12

Family

ID=58873404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611256216.XA Active CN106682323B (en) 2016-12-30 2016-12-30 A kind of converting system and its method that framework model is converted to Dynamic Simulation Model

Country Status (1)

Country Link
CN (1) CN106682323B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108875151A (en) * 2018-05-07 2018-11-23 哈尔滨工程大学 Nuclear power secondary coolant circuit system parameterized simulation model rapid build system and construction method
CN111368391A (en) * 2019-12-25 2020-07-03 北京宇航系统工程研究所 Model conversion method for carrier rocket system simulation
CN111522731A (en) * 2020-03-13 2020-08-11 中国电子科技集团公司第二十九研究所 Model integration method and device for online overloading of simulation model
CN113656889A (en) * 2021-08-02 2021-11-16 西安航天动力研究所 Rocket engine system architecture model and static calculation model mapping system and method
CN115023668A (en) * 2020-01-24 2022-09-06 珀金斯发动机有限公司 Powertrain controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521461A (en) * 2011-12-20 2012-06-27 李明 Simulation modeling method of electro-hydraulic servo valve based on Modelica language
CN102915388A (en) * 2012-09-19 2013-02-06 上海交通大学 Object-oriented nonlinear and non-causal modeling and simulation method for rotor dynamics system
CN103048929A (en) * 2012-12-25 2013-04-17 中南大学 Visualization process control real-time simulation method based on matrix laboratory (MATLAB) engine
CN105468837A (en) * 2015-11-23 2016-04-06 苏州同元软控信息技术有限公司 IDS based automatic generation method for spacecraft electric simulation model

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521461A (en) * 2011-12-20 2012-06-27 李明 Simulation modeling method of electro-hydraulic servo valve based on Modelica language
CN102915388A (en) * 2012-09-19 2013-02-06 上海交通大学 Object-oriented nonlinear and non-causal modeling and simulation method for rotor dynamics system
CN103048929A (en) * 2012-12-25 2013-04-17 中南大学 Visualization process control real-time simulation method based on matrix laboratory (MATLAB) engine
CN105468837A (en) * 2015-11-23 2016-04-06 苏州同元软控信息技术有限公司 IDS based automatic generation method for spacecraft electric simulation model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
VANFRETTI L, LI W, BOGODOROVA T, ET AL: "Unambiguous power system dynamic modeling and simulation using modelica tools", 《POWER & ENERGY SOCIETY GENERAL MEETING》 *
熊会元, 陈承鹤, 宗志坚,等: "基于Modelica太阳能电动汽车多领域统一建模与仿真", 《武汉理工大学学报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108875151A (en) * 2018-05-07 2018-11-23 哈尔滨工程大学 Nuclear power secondary coolant circuit system parameterized simulation model rapid build system and construction method
CN111368391A (en) * 2019-12-25 2020-07-03 北京宇航系统工程研究所 Model conversion method for carrier rocket system simulation
CN111368391B (en) * 2019-12-25 2023-12-12 北京宇航系统工程研究所 Model conversion method oriented to carrier rocket system simulation
CN115023668A (en) * 2020-01-24 2022-09-06 珀金斯发动机有限公司 Powertrain controller
CN111522731A (en) * 2020-03-13 2020-08-11 中国电子科技集团公司第二十九研究所 Model integration method and device for online overloading of simulation model
CN113656889A (en) * 2021-08-02 2021-11-16 西安航天动力研究所 Rocket engine system architecture model and static calculation model mapping system and method

Also Published As

Publication number Publication date
CN106682323B (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN106682323A (en) Transformation system for transforming architecture models into dynamic simulation models, and method thereof
CN110705078B (en) Simulation model development system and analysis method of nuclear power plant
CN103810646B (en) Improved projection integral algorithm based active power distribution system dynamic simulation method
CN103107895B (en) A kind of call charge service regulation engine combined system and method thereof based on Command Line Parsing application rule
CN111144025B (en) Simulation model parameterized integration system and method based on multi-level reconstruction
CN106681726B (en) Python model conversion is the method for Modelica model
CN104866371A (en) Combat modeling method and simulation system based on Agent action graphs
CN104598240A (en) Platform-spanning simulation model development method and system
CN108228995A (en) Radar mechanical electrical and hydraulic system associative simulation research/development platform
CN108663948A (en) A kind of design method of aeroengine control system Numerical Simulation Analysis platform
CN102331720A (en) Modelica language based design method of system for stimulating cantilever crane of concrete pump truck
CN107908830A (en) Model conversion method and model conversion system based on FMI standards
CN111181164B (en) Improved master-slave split transmission and distribution cooperative power flow calculation method and system
CN107644252A (en) A kind of recurrent neural networks model compression method of more mechanism mixing
CN106874562B (en) Conversion system and method for converting architecture model into static calculation model
CN108763741A (en) A kind of hydraulic hose fluid structurecoupling Numerical Predicting Method
CN104063231B (en) Test resource rapid access method based on HIT-TENA
CN105335161A (en) Method for conversion from TASM time abstract state machine to extension NTA automatic machine
CN102540903A (en) Modelica-language-based simulation modeling method for pump truck boom system
CN106682324A (en) System for visually modeling complicated equations on basis of Modelica
Pucyk et al. DOOCS server and client application for FPGA-based TESLA cavity controller and simulator
CN105653772A (en) Method and system of PBX (Plastic-Bonded Explosives) particle compression moulding numerical simulation automatic modeling
CN105243238A (en) Integrated quick product iteration forming device and method
CN112882696B (en) Full-element model training system based on supercomputer
CN103049615A (en) Graph-based real-time simulation modeling method for control logics of engineering machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant