CN117435308A - Modelica model simulation method and system based on parallel computing algorithm - Google Patents
Modelica model simulation method and system based on parallel computing algorithm Download PDFInfo
- Publication number
- CN117435308A CN117435308A CN202311534960.1A CN202311534960A CN117435308A CN 117435308 A CN117435308 A CN 117435308A CN 202311534960 A CN202311534960 A CN 202311534960A CN 117435308 A CN117435308 A CN 117435308A
- Authority
- CN
- China
- Prior art keywords
- model
- pulley rope
- parallel
- modelica
- simulation
- 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
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 75
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000004422 calculation algorithm Methods 0.000 title claims abstract description 37
- 238000004458 analytical method Methods 0.000 claims abstract description 23
- 238000011156 evaluation Methods 0.000 claims abstract description 8
- 238000005457 optimization Methods 0.000 claims abstract description 7
- 238000004364 calculation method Methods 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 13
- 238000003860 storage Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 5
- 238000012937 correction Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 238000005094 computer simulation Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000012407 engineering method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001364 causal effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a Modelica model simulation method and system based on a parallel computing algorithm, which belongs to the technical field of parallel simulation, and the method specifically comprises the following steps: according to the modeling requirement of a pulley rope system, a model of a pulley rope is built by using a model language, parallel computing algorithm is utilized to conduct parallelization processing on the model of the pulley rope, a model simulation tool is used to run the parallelized model of the pulley rope, simulation is conducted on the model of the pulley rope, analysis and evaluation of simulation results are conducted after the parallel simulation is completed, performance optimization is conducted on the parallelized model according to actual conditions, the problem that the model of the pulley rope is divided into a plurality of sub-models and the running speed is low is effectively solved through parallel computing, and the operation efficiency and performance of the model are greatly improved.
Description
Technical Field
The invention belongs to the technical field of parallel simulation, and particularly relates to a Modelica model simulation method and system based on a parallel computing algorithm.
Background
With the maturity of computer technology, the model-based system engineering method is widely applied to the fields of system design and simulation modeling, and has the advantages of reusability, no ambiguity, easy understanding, easy replication and propagation and the like, so that the traditional text-based system engineering method is gradually replaced. As the functional requirements of electromechanical systems become increasingly complex, it often involves many fields and disciplines such as mechanical, electronic, electrical, hydraulic, thermal, and control, making the scale of the systems increasingly large, the structure and behavior increasingly complex, and multi-domain system design and simulation modeling become increasingly important.
The rise of the Modelica language provides convenience for large-scale, time-varying, complex multi-domain system modeling. Modelica has a broad development prospect as a multi-domain system modeling simulation language. It is a new generation of CAE technology for complex engineering system design and has become a de facto standard for engineering system physical modeling. The model has high computational complexity.
For example, chinese patent with the publication number CN115293056B discloses a model-oriented multi-objective optimization method, which includes: acquiring each input parameter and each output parameter to be optimized in a Modelica model; generating an initial population formed by N value combinations of each input parameter; substituting individuals of various groups in the current group into the Modelica model for simulation; executing a rapid non-dominant sorting algorithm on the current population to obtain a first non-dominant level and a first crowding degree of each population of individuals, and calculating a first fitness of each population of individuals; generating a new current population and N new value combinations of the corresponding output parameters according to the first fitness and the priority of each input parameter, and returning to the calculation operation of the first non-dominant level and the first crowding degree until a set optimal termination condition is reached; and selecting at least one optimal value combination of each input parameter from the final current population.
For example, chinese patent with the publication number CN111967128B discloses a method for improving the solving efficiency of a model simulation model, which includes the following steps: dividing a Modelica simulation model to be processed into a large time scale model and a small time scale model by taking variable variation frequency as a reference; the large time scale model is a discrete system model which is easy to converge, and the small time scale model is a continuous system model which is difficult to converge; modeling a split large time scale model and a split small time scale model respectively; modeling a large time scale model by adopting a discrete system, and modeling a small time scale model by adopting a continuous system; and carrying out model reconstruction on the modeled large time scale model and small time scale model by adopting a continuous-discrete mixed modeling method. According to the invention, the Modelica model is reconstructed, and the Modelica model is deconstructed at a code layer and split into a continuous system model and a discrete system model, so that the operation efficiency of the Modelica model is remarkably improved.
Problems with the above patents are: when the system model is constructed, the system model includes a plurality of sub-models, and when calculation simulation is performed, the calculation efficiency is reduced.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a model simulation method and a model simulation system based on a parallel computing algorithm, which are used for establishing a model of a pulley rope by using a model language according to the modeling requirement of a pulley rope system, parallelizing the model of the pulley rope by using the parallel computing algorithm, operating the parallelized model of the pulley rope by using a model simulation tool, simulating the model of the pulley rope, analyzing and evaluating simulation results after the parallel simulation is completed, optimizing the performance of the parallelized model according to actual conditions, effectively solving the problems that the model of the pulley rope is divided into a plurality of sub-models and the operating speed is low by parallel computing, and greatly improving the operation efficiency and the performance of the model of the pulley rope.
In order to achieve the above purpose, the present invention provides the following technical solutions:
a Modelica model simulation method based on a parallel computing algorithm comprises the following specific steps:
step S1: establishing a Modelica model of the pulley rope by using Modelica language according to modeling requirements of the pulley rope system;
step S2: parallelizing the pulley rope model by using a parallelization calculation algorithm;
step S3: running a parallelized pulley rope model by using a model simulation tool, and simulating the pulley rope model;
step S4: after the parallel simulation is completed, the simulation result is analyzed and evaluated, and the performance of the parallelized model is optimized according to the actual situation.
Specifically, the pulley rope model in step S1 includes: rope model, pulley and hoisting model and slip pair model.
Specifically, the specific method in step S2 is as follows:
step S201: setting the parallel computing task of the pulley rope model as a parallel computing state, and distributing the parallel computing task of the pulley rope model to a container of a running client through client management;
step S202: the set of tasks of parallel calculation of the pulley rope model is set to be N, the set of clients of the server is set to be M, and N= { N 1 ,n 2 ,...,n m },M={m 1 ,m 2 ,...,m n N is }, where n m Representing the task of parallel computation of the mth pulley rope model, m n Representing the nth client, weighting the machine performance of the ith client, and calculating the formula:
wherein,weights representing i-th client machine performance, W cpu Representing the computing power parameter of CPU thread of computer, W kcpu Indicating the idle condition of CPU thread of computer, alpha and beta indicate correction parameters, N xc Representing the number of processes running on the computer;
step S203: according to the weight of the performance of the client, the tasks of parallel calculation of the pulley rope model are sequentially carried out, the running time of the task of parallel calculation of the pulley rope model at the j-th client is calculated, and the calculation formula is as follows:
wherein,representing the running time of the pulley rope Modelica model parallel computing task at the jth client, wherein lambda represents a running time adjusting parameter;
step S204: the parallel efficiency of the pulley rope Modelica model parallel calculation during task parallel calculation is calculated, and the calculation formula is as follows:
where XL represents the parallel efficiency of the pulley rope Modelica model in task parallel computation,representing the run time of the task of the pulley rope model parallel computation at the kth client, +.>Representing the run time of the task of the pulley rope model parallel computation at the p-th client, +.>Representing the running time of the pulley rope model parallel computing task at the q-th client,// representing the sign of the division return integer between integers,% representing the sign of the division return remainder between integers;
step S205: and (3) adjusting the tasks of the parallel calculation of the pulley rope model by using a task adjustment strategy until the parallel efficiency tends to the maximum value.
Specifically, the steps are as followsThe task adjustment policy in S205 includes: when m is less than or equal to n, no adjustment is needed, and when m is more than n, the method leads
Specifically, the Modelica simulation tool in step S3 includes: mworks. Sysplorer and dymia.
A model simulation system based on a parallel computing algorithm, comprising: the modeling requirement analysis module, the parallelization module, the Modelica simulation module, the analysis and evaluation module;
the modeling requirement analysis module is used for establishing a model of the pulley rope by using a model language according to the modeling requirement of the pulley rope system;
the parallelization module is used for parallelizing the pulley rope model by using a parallelization calculation algorithm;
the model simulation module is used for running a parallelized pulley rope model by using a model simulation tool and simulating the pulley rope model;
the analysis and evaluation module is used for analyzing and evaluating simulation results after the parallel simulation is completed, and performing performance optimization on the parallelized model according to actual conditions.
Specifically, the modeling requirement analysis module comprises a modeling requirement analysis unit and a Modelica model establishment unit,
the modeling demand analysis unit is used for analyzing the modeling demand of the pulley rope system;
the Modelica model building unit is used for building the Modelica model of the pulley rope by using Modelica language.
An electronic device comprising a memory storing a computer program and a processor implementing the steps of a model simulation method based on a parallel computing algorithm when executing the computer program.
A computer readable storage medium having stored thereon computer instructions which when executed perform the steps of a model simulation method based on a parallel computing algorithm.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention provides a Modelica model simulation method system based on a parallel computing algorithm, which performs optimization and improvement on architecture, operation steps and flow, and has the advantages of simple flow, low investment and operation cost and low production and working cost.
2. The invention provides a model simulation method based on a parallel computing algorithm, which is characterized in that a model of a pulley rope is built by using a model language according to modeling requirements of a pulley rope system, the parallel computing algorithm is utilized to parallelize the model of the pulley rope, a model simulation tool is used to run the parallelized model of the pulley rope, the model of the pulley rope is simulated, analysis and evaluation of simulation results are carried out after the parallel simulation is completed, performance optimization is carried out on the parallelized model according to actual conditions, and the problems that the model of the pulley rope is divided into a plurality of sub-models and the running speed is low are effectively solved by parallel computing, so that the operation efficiency and performance of the model of the pulley rope are greatly improved.
Drawings
FIG. 1 is a flow chart of a Modelica model simulation method based on a parallel computing algorithm;
FIG. 2 is a schematic diagram of a Modelica model simulation system based on a parallel computing algorithm according to the present invention;
fig. 3 is a diagram of an electronic device of a model simulation method based on a parallel computing algorithm.
Detailed Description
In order that the technical means, the creation characteristics, the achievement of the objects and the effects of the present invention may be easily understood, it should be noted that in the description of the present invention, the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or elements to be referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "a", "an", "the" and "the" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The invention is further described below in conjunction with the detailed description.
Example 1
Referring to fig. 1, an embodiment of the present invention is provided: a Modelica model simulation method based on a parallel computing algorithm comprises the following specific steps:
step S1: establishing a Modelica model of the pulley rope by using Modelica language according to modeling requirements of the pulley rope system;
step S2: parallelizing the pulley rope model by using a parallelization calculation algorithm;
step S3: running a parallelized pulley rope model by using a model simulation tool, and simulating the pulley rope model;
step S4: after the parallel simulation is completed, the simulation result is analyzed and evaluated, and the performance of the parallelized model is optimized according to the actual situation.
The biggest feature of Modelica is the support of physical modeling. By physical modeling is meant that a modeling approach is employed that is as close as possible to the engineering system design process and that is consistent with the design habits of the engineer. This means that the engineer does not need to cross mathematical equations during modeling, only processes components and parameters. Modelica provides complete support for direct physical modeling through typical features such as object-oriented modeling, multi-domain modeling, declarative non-causal modeling, continuous-discrete hybrid modeling, and the like.
The pulley rope model in said step S1 comprises: rope model, pulley and hoisting model and slip pair model.
The specific method of the step S2 is as follows:
step S201: setting the parallel computing task of the pulley rope model as a parallel computing state, and distributing the parallel computing task of the pulley rope model to a container of a running client through client management;
step S202: the set of tasks of parallel calculation of the pulley rope model is set to be N, the set of clients of the server is set to be M, and N= { N 1 ,n 2 ,...,n m },M={m 1 ,m 2 ,...,m n N is }, where n m Representing the task of parallel computation of the mth pulley rope model, m n Representing the nth client, weighting the machine performance of the ith client, and calculating the formula:
wherein,weights representing i-th client machine performance, W cpu Representing the computing power parameter of CPU thread of computer, W kcpu Indicating the idle condition of CPU thread of computer, alpha and beta indicate correction parameters, N xc Representing the number of processes running on the computer;
step S203: according to the weight of the performance of the client, the tasks of parallel calculation of the pulley rope model are sequentially carried out, the running time of the task of parallel calculation of the pulley rope model at the j-th client is calculated, and the calculation formula is as follows:
wherein,representing the running time of the pulley rope Modelica model parallel computing task at the jth client, wherein lambda represents a running time adjusting parameter;
step S204: the parallel efficiency of the pulley rope Modelica model parallel calculation during task parallel calculation is calculated, and the calculation formula is as follows:
where XL represents the parallel efficiency of the pulley rope Modelica model in task parallel computation,representing the run time of the task of the pulley rope model parallel computation at the kth client, +.>Representing the run time of the task of the pulley rope model parallel computation at the p-th client, +.>Representing the running time of the pulley rope model parallel computing task at the q-th client,// representing the sign of the division return integer between integers,% representing the sign of the division return remainder between integers;
step S205: and (3) adjusting the tasks of the parallel calculation of the pulley rope model by using a task adjustment strategy until the parallel efficiency tends to the maximum value.
The task adjustment strategy in step S205 includes: when m is less than or equal to n, no adjustment is needed, and when m is more than n, the method leads
The Modelica simulation tool in the step S3 comprises: mworks. Sysplorer and dymia.
The main functions and characteristics of the MWORKS. Sysplorer are as follows: 1) Modeling a system in the field of multi-process; 2) A multi-view multi-document modeling environment; 3) A multi-form modeling support; 4) A customizable model library; 5) Physical unit derivation and inspection; 6) Automatically generating a simulation code; 7) Analyzing and post-processing results; 8) Hardware in-loop simulation; 9) Good scalability.
Example 2
Referring to fig. 2, another embodiment of the present invention is provided: a model simulation system based on a parallel computing algorithm, comprising: the modeling requirement analysis module, the parallelization module, the Modelica simulation module, the analysis and evaluation module;
the modeling requirement analysis module is used for establishing a model of the pulley rope by using a model language according to the modeling requirement of the pulley rope system;
the parallelization module is used for parallelizing the pulley rope model by using a parallelization calculation algorithm;
the model simulation module is used for running a parallelized pulley rope model by using a model simulation tool and simulating the pulley rope model;
the analysis and evaluation module is used for analyzing and evaluating simulation results after the parallel simulation is completed, and performing performance optimization on the parallelized model according to actual conditions.
The modeling requirement analysis module comprises a modeling requirement analysis unit and a Modelica model establishment unit,
the modeling demand analysis unit is used for analyzing the modeling demand of the pulley rope system;
the Modelica model building unit is used for building the Modelica model of the pulley rope by using Modelica language.
Example 3
Referring to fig. 3, an electronic device includes a memory and a processor, where the memory stores a computer program, and the processor implements steps of a model simulation method based on a parallel computing algorithm when executing the computer program.
A computer readable storage medium having stored thereon computer instructions which when executed perform the steps of a model simulation method based on a parallel computing algorithm.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may 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, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are all within the protection of the present invention.
Finally: the foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.
Claims (9)
1. The Modelica model simulation method based on the parallel computing algorithm is characterized by comprising the following specific steps of:
step S1: establishing a Modelica model of the pulley rope by using Modelica language according to modeling requirements of the pulley rope system;
step S2: parallelizing the pulley rope model by using a parallelization calculation algorithm;
step S3: running a parallelized pulley rope model by using a model simulation tool, and simulating the pulley rope model;
step S4: after the parallel simulation is completed, the simulation result is analyzed and evaluated, and the performance of the parallelized model is optimized according to the actual situation.
2. The model simulation method based on the parallel computing algorithm as claimed in claim 1, wherein the pulley rope model in step S1 comprises: rope model, pulley and hoisting model and slip pair model.
3. The Modelica model simulation method based on the parallel computing algorithm according to claim 2, wherein the specific method of the step S2 is as follows:
step S201: setting the parallel computing task of the pulley rope model as a parallel computing state, and distributing the parallel computing task of the pulley rope model to a container of a running client through client management;
step S202: the set of tasks of parallel calculation of the pulley rope model is set to be N, the set of clients of the server is set to be M, and N= { N 1 ,n 2 ,...,n m },M={m 1 ,m 2 ,...,m n N is }, where n m Representing the task of parallel computation of the mth pulley rope model, m n Representing the nth client, weighting the machine performance of the ith client, and calculating the formula:
wherein W is ni Weights representing i-th client machine performance, W cpu Representing the computing power parameter of CPU thread of computer, W kcpu Indicating the idle condition of CPU thread of computer, alpha and beta indicate correction parameters, N xc Representing the number of processes running on the computer;
step S203: according to the weight of the performance of the client, the tasks of parallel calculation of the pulley rope model are sequentially carried out, the running time of the task of parallel calculation of the pulley rope model at the j-th client is calculated, and the calculation formula is as follows:
wherein,representing the running time of the pulley rope Modelica model parallel computing task at the jth client, wherein lambda represents a running time adjusting parameter;
step S204: the parallel efficiency of the pulley rope Modelica model parallel calculation during task parallel calculation is calculated, and the calculation formula is as follows:
where XL represents the parallel efficiency of the pulley rope Modelica model in task parallel computation,representing the run time of the task of the pulley rope model parallel computation at the kth client, +.>Representing the run time of the task of the pulley rope model parallel computation at the p-th client, +.>Representing the running time of the pulley rope model parallel computing task at the q-th client,// representing the sign of the division return integer between integers,% representing the sign of the division return remainder between integers;
step S205: and (3) adjusting the tasks of the parallel calculation of the pulley rope model by using a task adjustment strategy until the parallel efficiency tends to the maximum value.
4. A model simulation method based on a parallel computing algorithm as claimed in claim 3, wherein the task adjustment strategy in step S205 comprises: when m is less than or equal to n, no adjustment is needed, and when m is more than n, the method leads
5. The Modelica model simulation method according to claim 4, wherein the Modelica simulation tool in step S3 comprises: mworks. Sysplorer and dymia.
6. Modelica model simulation system based on a parallel computing algorithm, implemented on the basis of a Modelica model simulation method based on a parallel computing algorithm according to any of claims 1-5, characterized in that it comprises: the modeling requirement analysis module, the parallelization module, the Modelica simulation module, the analysis and evaluation module;
the modeling requirement analysis module is used for establishing a model of the pulley rope by using a model language according to the modeling requirement of the pulley rope system;
the parallelization module is used for parallelizing the pulley rope model by using a parallelization calculation algorithm;
the model simulation module is used for running a parallelized pulley rope model by using a model simulation tool and simulating the pulley rope model;
the analysis and evaluation module is used for analyzing and evaluating simulation results after the parallel simulation is completed, and performing performance optimization on the parallelized model according to actual conditions.
7. The Modelica model simulation system based on the parallel computing algorithm according to claim 6, wherein the modeling requirement analysis module comprises a modeling requirement analysis unit and a Modelica model establishment unit,
the modeling demand analysis unit is used for analyzing the modeling demand of the pulley rope system;
the Modelica model building unit is used for building the Modelica model of the pulley rope by using Modelica language.
8. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of a model simulation method based on a parallel computing algorithm as claimed in any one of claims 1-5.
9. A computer readable storage medium having stored thereon computer instructions which when run perform the steps of a model simulation method based on a parallel computing algorithm as claimed in any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311534960.1A CN117435308B (en) | 2023-11-17 | 2023-11-17 | Modelica model simulation method and system based on parallel computing algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311534960.1A CN117435308B (en) | 2023-11-17 | 2023-11-17 | Modelica model simulation method and system based on parallel computing algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117435308A true CN117435308A (en) | 2024-01-23 |
CN117435308B CN117435308B (en) | 2024-05-17 |
Family
ID=89549726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311534960.1A Active CN117435308B (en) | 2023-11-17 | 2023-11-17 | Modelica model simulation method and system based on parallel computing algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117435308B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140019104A1 (en) * | 2012-07-16 | 2014-01-16 | Siemens Corporation | Context-based synthesis of simulation models from functional models of cyber-physical systems |
CN114117640A (en) * | 2021-11-30 | 2022-03-01 | 苏州同元软控信息技术有限公司 | Engine interference factor analysis method and device based on parallel computing |
-
2023
- 2023-11-17 CN CN202311534960.1A patent/CN117435308B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140019104A1 (en) * | 2012-07-16 | 2014-01-16 | Siemens Corporation | Context-based synthesis of simulation models from functional models of cyber-physical systems |
CN114117640A (en) * | 2021-11-30 | 2022-03-01 | 苏州同元软控信息技术有限公司 | Engine interference factor analysis method and device based on parallel computing |
Non-Patent Citations (3)
Title |
---|
SIGURD HOFSMO JAKOBSEN 等: "Modelica-based parallel computing framework for power system adaptive special protection schemes", 2022 OPEN SOURCE MODELLING AND SIMULATION OF ENERGY SYSTEMS (OSMSES), 9 May 2022 (2022-05-09), pages 1 - 6 * |
张越 等: "基于ANCF的松弛绳索动力学建模与仿真", 航空学报, vol. 38, no. 4, 25 April 2017 (2017-04-25), pages 220586 - 1 * |
贺东京 等: "基于扩充Modelica的复杂系统多层次并行仿真", 北京航空航天大学学报, vol. 38, no. 9, 30 September 2012 (2012-09-30), pages 1240 - 1244 * |
Also Published As
Publication number | Publication date |
---|---|
CN117435308B (en) | 2024-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109993299A (en) | Data training method and device, storage medium, electronic device | |
JP6784780B2 (en) | How to build a probabilistic model for large-scale renewable energy data | |
Khaleghzadeh et al. | A novel data-partitioning algorithm for performance optimization of data-parallel applications on heterogeneous HPC platforms | |
CN111427750B (en) | GPU power consumption estimation method, system and medium of computer platform | |
WO2019017983A1 (en) | Method and system for automated model building, validation and selection of best performing models | |
CN112200300B (en) | Convolutional neural network operation method and device | |
CN111325223A (en) | Deep learning model training method and device and computer readable storage medium | |
CN114218875A (en) | Acceleration method and device for flow field prediction | |
CN110210654A (en) | Product model designing system and method | |
CN110689136B (en) | Deep learning model obtaining method, device, equipment and storage medium | |
CN116644804A (en) | Distributed training system, neural network model training method, device and medium | |
Wen et al. | MapReduce-based BP neural network classification of aquaculture water quality | |
Tang et al. | Parallel architecture and optimization for discrete-event simulation of spike neural networks | |
CN117435308B (en) | Modelica model simulation method and system based on parallel computing algorithm | |
CN107038244A (en) | A kind of data digging method and device, a kind of computer-readable recording medium and storage control | |
CN110610140A (en) | Training method, device and equipment of face recognition model and readable storage medium | |
CN115310209A (en) | VAE-based pneumatic shape migration optimization method and related device | |
CN113609585B (en) | Multi-level model construction method and device for ship power system and electronic equipment | |
CN111090508B (en) | OpenCL-based dynamic task scheduling method between heterogeneous cooperative parallel computing devices | |
CN103793745B (en) | A kind of distributed particle group optimizing method | |
Franceschini et al. | Decentralized approach for efficient Simulation of DEVS models | |
CN112560326A (en) | Method and device for determining pressure field | |
Kriauzienė et al. | A three-level parallelisation scheme and application to the Nelder-Mead algorithm | |
CN117724851B (en) | Data processing method, device, storage medium and equipment | |
Buchta | Estimation of Algorithm Execution Time Using Machine Learning |
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 |