A construction machine whole machine simulation model construction system and method
By using hierarchical structure templates and graphical online modeling technology, the problem of low modeling efficiency of engineering machinery whole machine simulation models has been solved, achieving standardization and unification, improving modeling efficiency and user experience, and reducing skill requirements and costs.
Patent Information
- Application Number
- CN202210378828.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-12
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2042-04-12
AI Technical Summary
Existing modeling methods for engineering machinery whole machine simulation models are inefficient, error-prone, lack systematicity, are not easy to expand and maintain, and require high skills from modelers.
The Modelica model building method based on hierarchical structure templates is adopted. By acquiring base template selection data, connection relationship data and component parameter data, the connection relationship of the system and components is built layer by layer. Graphical online modeling technology is used to achieve standardization and unification of the whole machine simulation model.
It improves modeling efficiency, reduces the skill requirements for modelers, enhances user experience, and lowers modeling labor costs.
Smart Images

Figure CN114818286B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a system and method for constructing a simulation model of an engineering machinery unit, belonging to the field of engineering machinery modeling and simulation technology. Background Technology
[0002] Modelica is a tool language used for modeling and simulating physical systems in multiple fields. It boasts significant advantages such as non-causal and object-oriented features, and its component models are easily reusable. Modelica possesses powerful modeling capabilities in hydraulic systems, transmission systems, control systems, mechanical structure systems, circuit systems, and power systems. In the electromechanical-hydraulic integrated simulation analysis of engineering machinery, building the system model is a crucial task, serving as the prerequisite and foundation for the correct simulation operation of the system model.
[0003] Reliability block diagrams are representative graphical and computational tools used for system modeling. They can intuitively represent the interdependencies between all units of a system and the logical relationships between various assemblies. Traditional modeling methods, for a single system, involve designers first determining the system model's topology and then building multiple models to meet the needs of different system phases. For example, it might require building an independent complete system model while ensuring its topology is consistent with other models. This leads to low modeling efficiency, susceptibility to errors, poor model system integrity, and difficulty in expansion and maintenance. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a system and method for constructing simulation models of engineering machinery. This system not only standardizes and unifies the modeling process, improves modeling efficiency and user experience, but also reduces the skill requirements for modelers and the labor costs of modeling.
[0005] To achieve the above objectives, the present invention is implemented using the following technical solution:
[0006] In a first aspect, the present invention provides a method for constructing a simulation model of an entire engineering machinery machine, comprising:
[0007] Acquire externally input base template selection data, connection relationship data, and component parameter data;
[0008] Select a base template that matches the device model based on the base template selection data;
[0009] Based on the connection relationship data, the sequential connection relationships of each system and component of the whole machine are constructed in the base template respectively;
[0010] Based on the component parameter data, components are selected and parameters are set sequentially in each system to perform overall modeling;
[0011] Upon completion of the overall modeling, the SVG format graphical information is submitted to the backend server for parsing, enabling graphical online modeling, constructing the system model, and submitting a save request to the backend server. The backend server uses the Modelica modeling language to compile and describe the model.
[0012] Furthermore, the base template is constructed based on different models, and the base template can define the basic information of the model, including model type, subsystem information, and organizational structure relationship between subsystems.
[0013] Furthermore, based on the connection relationship data, the sequential connection relationships of each system and component of the whole machine are constructed in the base template, including: firstly, the connection relationship of each system of the whole machine is constructed, and then the connection relationship of the components in each system is constructed respectively. Among them, the starting connector and the ending connector connect the modules through orthogonal lines, the endpoints of the lines represent the module connectors, and the lines represent the data transmission relationship.
[0014] Furthermore, based on the component parameter data, components are selected and parameters are set sequentially down through each system to perform overall modeling, including:
[0015] Performance simulation and optimization design of the product model are performed by changing the parameters of the components.
[0016] Set the variable value for each parameter item through the dialog box, and select the unit used for the variable.
[0017] Furthermore, the parameter entries include variable name, variable value, variable unit, and corresponding descriptive information.
[0018] Furthermore, after receiving the save request, the backend server obtains the component linked list, traverses the component linked list and the connection linked list, adds component model code and connection commands, generates the MO text of the system model, and submits it to the server OpenModelica for compilation and solving.
[0019] Furthermore, the backend server compiles and solves the model by calling the OpenModelica software interface on the computing server, and then returns the solution to the client for data display.
[0020] Secondly, the present invention provides a system for constructing a simulation model of an engineering machinery whole machine, comprising:
[0021] Data receiving module: used to acquire external input base template selection data, connection relationship data, and component parameter data;
[0022] Base template selection module: Used to select a base template that matches the device model based on the base template selection data;
[0023] Complete machine construction module: used to construct the sequential connection relationships of each system and component of the complete machine in the base template based on the connection relationship data;
[0024] Overall modeling module: used to select components and set parameters sequentially from one system to another based on component parameter data, and to perform overall modeling;
[0025] Online modeling module: In response to the completion of the overall modeling, it submits SVG format graphic information to the backend server for parsing, realizes graphical online modeling, builds the system model, and submits a save request to the backend server.
[0026] Thirdly, the present invention provides a device for constructing a simulation model of an engineering machinery whole machine, including a processor and a storage medium;
[0027] The storage medium is used to store instructions;
[0028] The processor is configured to operate according to the instructions to perform the steps of the method according to any of the foregoing.
[0029] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.
[0030] Compared with the prior art, the beneficial effects achieved by the present invention are as follows:
[0031] This invention utilizes a block-based model on the browser side to construct the overall logical relationships between the various systems of a complete machine model. By clicking on the individual systems contained within the overall model, the component models and element models contained in each system are selected layer by layer, thereby establishing the interface relationships between the various systems and ultimately building the complete machine simulation model. This method is suitable for building dedicated rapid modeling and simulation platforms for specific types of products. It not only standardizes and unifies the modeling process, improving modeling efficiency and user experience, but also reduces the skill requirements for modelers and the labor costs associated with modeling. Attached Figure Description
[0032] Figure 1 This is an overall flowchart of the whole machine modeling process provided in Embodiment 1 of the present invention;
[0033] Figure 2 This is a top-down overall framework diagram of distributed modeling provided in Embodiment 1 of the present invention;
[0034] Figure 3 This is a design diagram of a distributed top-down model construction system provided in Embodiment 1 of the present invention. Detailed Implementation
[0035] The present invention will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and should not be used to limit the scope of protection of the present invention.
[0036] Example 1:
[0037] This embodiment discloses a method for rapid Modelica model construction based on a hierarchical structure template in a Web environment. This method is based on a B / S architecture, and the whole machine model construction method based on a hierarchical structure template has higher portability, scalability, and maintainability. The specific modeling process mainly includes the following steps:
[0038] S1, such as Figure 1 As shown, the hierarchical modeling structure establishes the overall logical relationship; the base templates built according to different models are used to define the basic information of the models, including model type, subsystem information, and organizational structure relationships between subsystems;
[0039] S2, Figure 2 To establish a top-down overall framework for distributed modeling, the sequential connection relationships of each system in the whole machine are constructed. Then, within each system, the components and elements included are selected from top to bottom to realize the specificity and refinement of the product system model layer by layer.
[0040] S3. Establish a unified and standardized expression standard for modeling target objects based on structural templates. Through the established template library, achieve the accumulation, management, reuse, and sharing of modeling knowledge. For specific modeling object types, construct corresponding graphical rapid modeling environments. First, establish the connection relationships between various systems of the entire machine, such as... Figure 2 As shown; then the connection relationship of the components is constructed in each system. When modeling and connecting, the starting connector and the ending connector of the model are connected to the modules through orthogonalized lines. The endpoints of the lines represent the module connectors (data transmission interfaces), and the lines represent the data transmission relationship, thus forming a network system to describe the organizational structure relationship between the modules.
[0041] S4. Select components and set parameters sequentially in each system. Select the required component model in the component model library, double-click the component icon, open the component-level view interface, and set the component parameters.
[0042] The component parameter setting function includes the following aspects:
[0043] (1) Performance simulation and optimization design of product model by changing component parameters: By changing the performance parameters of key components or parts, and by simulation calculation, the impact of the change of relevant parameters on the overall performance of the product is studied, and then the relevant parameters are optimized.
[0044] (2) Each parameter item in the parameter setting dialog box includes the variable name, variable value, variable unit and corresponding description information. Users can set the variable value and select the unit used by the variable.
[0045] (3) When a user double-clicks the model icon, the server is requested with the current model ID to access the model parameter list information, which is then displayed in a separate parameter window, facilitating efficient component editing and parameter modification. Clicking "New" opens a new model sub-window. The user fills in the model name, template type, and storage path, then clicks "Confirm" to create a new template. The system template library selects the base template for the desired product model, and the product is modularly decomposed from top to bottom. Each module is relatively independent in physical function, thus enabling hierarchical personalized configuration of template information.
[0046] S5. After the overall modeling is completed, the SVG format graphic information is submitted to the backend server for parsing, realizing graphical online modeling and quickly and easily building the system model.
[0047] S6. Submit a save request. The server retrieves the component linked list, traverses the list, and adds component model code. It then traverses the connection linked list and adds connection commands. The system model's MO text is generated and submitted to the server's OpenModelica for compilation and solving. The browser completes the graphical modeling, uploads the graphical information to the server in SVG format, calls the OpenModelica software interface on the computing server to compile and solve the model, and then returns the solution results to the client for data display.
[0048] Example 2:
[0049] A system for constructing a simulation model of an entire engineering machinery machine, which can implement the method for constructing a simulation model of an entire engineering machinery machine as described in Embodiment 1, includes:
[0050] Data receiving module: used to acquire external input base template selection data, connection relationship data, and component parameter data;
[0051] Base template selection module: Used to select a base template that matches the device model based on the base template selection data;
[0052] Complete machine construction module: used to construct the sequential connection relationships of each system and component of the complete machine in the base template based on the connection relationship data;
[0053] Overall modeling module: used to select components and set parameters sequentially from one system to another based on component parameter data, and to perform overall modeling;
[0054] Online modeling module: In response to the completion of the overall modeling, it submits SVG format graphic information to the backend server for parsing, realizes graphical online modeling, builds the system model, and submits a save request to the backend server.
[0055] Example 3:
[0056] This invention also provides a device for constructing a simulation model of an engineering machinery whole machine, which can realize the method for constructing a simulation model of an engineering machinery whole machine as described in Embodiment 1, including a processor and a storage medium;
[0057] The storage medium is used to store instructions;
[0058] The processor is configured to operate according to the instructions to perform the steps of the following method:
[0059] Acquire externally input base template selection data, connection relationship data, and component parameter data;
[0060] Select a base template that matches the device model based on the base template selection data;
[0061] Based on the connection relationship data, the sequential connection relationships of each system and component of the whole machine are constructed in the base template respectively;
[0062] Based on the component parameter data, components are selected and parameters are set sequentially in each system to perform overall modeling;
[0063] Once the overall modeling is complete, the SVG format graphic information is submitted to the backend server for parsing, enabling graphical online modeling, constructing the system model, and submitting a save request to the backend server.
[0064] Example 4:
[0065] This invention also provides a computer-readable storage medium that can implement the method for constructing a simulation model of an engineering machinery as described in Embodiment 1. The medium stores a computer program that, when executed by a processor, performs the steps of the following method:
[0066] Acquire externally input base template selection data, connection relationship data, and component parameter data;
[0067] Select a base template that matches the device model based on the base template selection data;
[0068] Based on the connection relationship data, the sequential connection relationships of each system and component of the whole machine are constructed in the base template respectively;
[0069] Based on the component parameter data, components are selected and parameters are set sequentially in each system to perform overall modeling;
[0070] Once the overall modeling is complete, the SVG format graphic information is submitted to the backend server for parsing, enabling graphical online modeling, constructing the system model, and submitting a save request to the backend server.
[0071] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0072] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0073] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0074] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0075] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for constructing a simulation model of a complete engineering machinery machine, characterized in that, include: Select the base template according to the different models; Based on the base template, the sequential connection relationships of each system and component of the whole machine are constructed respectively, including: firstly, the connection relationship of each system of the whole machine is constructed, and then the connection relationship of the component is selected in each system. Among them, the starting connector and the ending connector connect the modules through orthogonal lines. The endpoints of the lines represent the module connectors, and the lines represent the data transmission relationship. Components are selected and parameters are set sequentially within each system, and overall modeling is performed, including: Performance simulation and optimization design of the product model are performed by changing the parameters of the components. Set the variable value for each parameter item through the dialog box, and select the unit used for the variable; Upon completion of the overall modeling, the SVG format graphical information is submitted to the backend server for parsing, enabling graphical online modeling, constructing the system model, and submitting a save request to the backend server. The backend server uses the Modelica modeling language to compile and describe the model.
2. The method for constructing a simulation model of a complete engineering machinery machine according to claim 1, characterized in that, The base template is constructed based on different models, and the base template can define the basic information of the model, including model type, subsystem information and organizational structure relationship between subsystems.
3. The method for constructing a simulation model of a complete engineering machinery machine according to claim 1, characterized in that, Each parameter entry in the dialog box includes a variable name, variable value, variable unit, and corresponding descriptive information.
4. The method for constructing a simulation model of a complete engineering machinery machine according to claim 1, characterized in that, After receiving the save request, the backend server retrieves the component list, traverses the component list, and adds the component model code and connection commands.
5. The method for constructing a simulation model of a complete engineering machinery machine according to claim 1, characterized in that, The backend server uses the Modelica modeling language to compile and describe the model, including: the backend server compiles and solves the model by calling the OpenModelica software interface on the computing server, and then returns the solution results to the client for data display.
6. A system for constructing a simulation model of an engineering machinery unit, characterized in that, include: Selection module: Used to select the base template according to different models; The complete machine construction module is used to construct the sequential connection relationship of each system and component of the complete machine according to the base template. This includes: firstly, constructing the connection relationship of each system of the complete machine, and then selecting the connection relationship of the components in each system. The starting connector and the ending connector connect the modules through orthogonal lines. The endpoints of the lines represent the module connectors, and the lines represent the data transmission relationship. Overall modeling module: Used for selecting components and setting parameters sequentially from one system to the next, performing overall modeling, including: Performance simulation and optimization design of the product model are performed by changing the parameters of the components. Set the variable value for each parameter item through the dialog box, and select the unit used for the variable; Online modeling module: In response to the completion of the overall modeling, it submits SVG format graphic information to the backend server for parsing, realizes graphical online modeling, builds the system model, and submits a save request to the backend server. The backend server uses the Modelica modeling language to compile and describe the model.
7. A device for constructing a simulation model of an engineering machinery unit, characterized in that, Including processor and storage media; The storage medium is used to store instructions; The processor is configured to operate according to the instructions to perform the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Spacecraft information system modeling simulation method based on Modelica language
CN107341294A
Graphic icon translation system and method of Modelica model, electronic equipment and medium
CN114115851A