Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

System for visually modeling complicated equations on basis of Modelica

An equation and view technology, applied in the field of modeling system based on Modelica, can solve problems such as dragging and connecting of limited components, unsupported visual modeling of complex equations, etc., to facilitate modification and maintenance, lower threshold, and readability Good results

Inactive Publication Date: 2017-05-17
苏州同元软控信息技术有限公司
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main work of modeling focuses on encoding the equations that reflect the behavior of components. However, the support of existing software for visual modeling is basically limited to dragging and connecting components, and visual modeling of complex equations inside components. does not support

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System for visually modeling complicated equations on basis of Modelica
  • System for visually modeling complicated equations on basis of Modelica

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Further, see figure 2 As shown, this embodiment describes the conditional equation of Modelica, an example of the visual modeling process of the if equation.

[0031] In this process, the blocks provided by the graphic view module 1 are used, including equation block, if block, else if block and else block.

[0032] The equation block is the most basic block, which represents a Modelica equation code segment, which can be opened by double-clicking, and the equation can be input in text mode or through visual modeling.

[0033] The if block inherits all the functions of the equation block, but there are more judgment conditions for whether to execute, if the condition is satisfied, it will be executed, otherwise it will not be executed.

[0034] The else if block inherits all the functions of the equation block, can only be connected in parallel with the if block, and is executed when the if block is not triggered and the condition of the current else if block is met. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a system for visually modeling complicated equations on the basis of Modelica. The system comprises a graph view module, a text view module, a block diagram parsing module, a code generating module, a model management module and a data management module. The graph view module is used for receiving graph input of users, the text view module is used for receiving code text input of the users, the block diagram parsing module is used for parsing code block diagrams, the code generating module is used for combining code organization relations obtained by the block diagram parsing module and code fragments acquired by the text view module with one another to obtain complete Modelica equation codes, the model management module is used for inputting the Modelica equation codes into models specified by the users, and the data management module is used for managing all process data and result data in system operation processes and is responsible for the persistence of the data. The system has the advantage that the users can edit the equations in assemblies in dragging connection modes via graphical user interfaces.

Description

technical field [0001] The invention belongs to the field of computer simulation and modeling, in particular to a modeling system based on Modelica. Background technique [0002] Modelica is an open new multi-domain unified modeling language proposed by the international simulation community in 1997. Object-oriented technology and Matlab's numerical and matrix mechanism, so it has extremely powerful modeling functions. Object-oriented and non-causal are the biggest advantages of Modelica language. The object-oriented modeling method has the characteristics of data encapsulation, layering, connection and inheritance, etc. It is easy to reduce the occurrence of errors and realize the reuse of models. The so-called non-causal modeling is to express the model equation in a neutral and natural form, so that there is no need to consider the calculation sequence more, avoiding the tedious derivation of the model equation, thereby improving the modeling efficiency and making the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/50G06F9/44
CPCG06F8/31G06F30/20
Inventor 郭俊峰赵旭峰杨浩刘奇张和华周凡利
Owner 苏州同元软控信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products