CN117744398A - Simulation method, simulation system, simulation device and storage medium for modeling software - Google Patents

Simulation method, simulation system, simulation device and storage medium for modeling software Download PDF

Info

Publication number
CN117744398A
CN117744398A CN202311843120.3A CN202311843120A CN117744398A CN 117744398 A CN117744398 A CN 117744398A CN 202311843120 A CN202311843120 A CN 202311843120A CN 117744398 A CN117744398 A CN 117744398A
Authority
CN
China
Prior art keywords
simulation
user
component
predefined
flow
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.)
Pending
Application number
CN202311843120.3A
Other languages
Chinese (zh)
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.)
Shanghai Gulun Electronics Co ltd
Original Assignee
Shanghai Gulun Electronics 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 Shanghai Gulun Electronics Co ltd filed Critical Shanghai Gulun Electronics Co ltd
Priority to CN202311843120.3A priority Critical patent/CN117744398A/en
Publication of CN117744398A publication Critical patent/CN117744398A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses a simulation method, a simulation system, simulation equipment and a storage medium of modeling software. The simulation method comprises the following steps: providing a predefined simulation flow having a predetermined order of execution and providing a component library containing a plurality of predefined components associated with executing the predefined simulation flow; responsive to a user's simulation requirements, enabling a graphical interface to allow a user to select a target component from the component library and edit the target component for the predefined simulation flow; allowing the user to connect the edited target components into a class flow chart; and starting the predefined simulation flow according to the predetermined execution sequence based on the class flow chart. By utilizing the scheme of the application, the learning difficulty and the hand-up difficulty of a user on simulation operation of modeling software can be reduced.

Description

Simulation method, simulation system, simulation device and storage medium for modeling software
Technical Field
The present application relates generally to the field of modeling simulation techniques. More particularly, the present application relates to a simulation method, a simulation system, a simulation device, and a computer-readable storage medium for modeling software.
Background
Currently, for simulation operations of modeling software (e.g., SPICE models), the simulation engines of modeling software are typically operated using programming languages. However, by operating the simulation engine of the modeling software using the programming language, a user who is not familiar with the programming language is required to spend a great deal of time and effort to learn to write the code, or is required to learn and memorize the code functions and parameters provided in the simulation engine of the modeling software, so that the threshold for the simulation operation of the modeling software is high.
In view of this, it is desirable to provide a simulation scheme for modeling software so as to reduce the difficulty of learning and the difficulty of the hands on the simulation operation of the modeling software by the user.
Disclosure of Invention
In order to solve at least one or more of the technical problems mentioned above, the present application proposes, in various aspects, a simulation scheme for modeling software.
In a first aspect, the present application provides a simulation method for modeling software, comprising: providing a predefined simulation flow having a predetermined order of execution and providing a component library containing a plurality of predefined components associated with executing the predefined simulation flow; responsive to a user's simulation requirements, enabling a graphical interface to allow a user to select a target component from the component library and edit the target component for the predefined simulation flow; allowing the user to connect the edited target components into a class flow chart; and starting the predefined simulation flow according to the predetermined execution sequence based on the class flow chart.
In one embodiment, the component library containing a plurality of predefined components related to executing the predefined simulation flow is obtained by: extracting at least simulation code annotation, simulation parameters and simulation types of an application program interface in the modeling software; and obtaining the component library comprising a plurality of predefined components related to executing the predefined simulation flow from the simulation code annotation, the simulation parameters and the simulation type.
In another embodiment, wherein selecting the target component comprises: in response to a first operation by a user, providing a component menu mode and/or a component drag mode in the graphical interface to allow the user to select a target component from the component library using the component menu mode and/or the component drag mode for the predefined simulation flow.
In yet another embodiment, wherein editing the target component comprises: in response to a second operation by the user, at least an add mode, a delete mode, and a modify mode are provided in the graphical interface to allow the user to edit the target component with the add mode, the delete mode, and the modify mode for the predefined simulation flow.
In yet another embodiment, wherein editing the target component using the modification mode comprises: providing a parameter control display in the target component; and responding to the operation of the user on the parameter control display so as to allow the user to modify the target parameters in the target component by adopting the modification mode for the predefined simulation flow to edit the target component.
In yet another embodiment, the parameter control display includes one or more of a text box, a drop down menu, a button, a radio box, a multi-box, a file browser, or a color selector.
In yet another embodiment, wherein editing the target component using the modification mode further comprises: providing a hidden control display in the target component; and responding to the operation of the user on the display of the hiding control, so as to allow the user to display or hide redundant parameters in the target component by adopting the modification mode for the predefined simulation flow, so as to edit the target component.
In yet another embodiment, wherein allowing the user to connect the edited target assembly into a class flow diagram comprises: in response to a third operation by the user, a wiring pattern is provided in the graphical interface to allow the user to employ the wiring pattern to connect the edited target assembly into the class flow diagram.
In yet another embodiment, the method further comprises: providing a component markup display displaying input parameters and output parameters in the target components to allow a user to link output and input between edited target components based on the component markup display in the link mode to be connected into the class flow diagram.
In a second aspect, the present application provides a simulation system for modeling software, comprising: a flow display module for providing a predefined simulation flow having a predetermined execution order; a component library display module for providing a component library containing a plurality of predefined components associated with performing the predefined simulation flow; a graphical editing module for: responsive to a user's simulation requirements, enabling a graphical interface to allow a user to select a target component from the component library and edit the target component for the predefined simulation flow; allowing the user to connect the edited target components into a class flow chart; and a simulation starting module for starting the predefined simulation flow according to the preset execution sequence based on the class flow chart.
In a third aspect, the present application provides an emulation device for modeling software, comprising: a processor; and a memory having stored therein program instructions for modeling a simulation of software, which when executed by the processor, cause the apparatus to implement the plurality of embodiments of the first aspect described above.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-readable instructions for simulation of modeling software, which when executed by one or more processors, implement the embodiments of the first aspect described above.
Through the simulation scheme for modeling software provided above, the embodiment of the application provides a component library containing a plurality of predefined components related to a predefined simulation flow, and a user only needs to select target components and edit the target components on a graphical interface according to simulation requirements, and connects the edited target components into a class flow chart so as to realize simulation operation. Based on the method, the device and the system, the codes related to the simulation flow are packaged into the components, and a user only needs to select and edit the required components and does not need to learn to write the codes or learn and memorize complex functions and parameters, so that the learning difficulty and the hands-on difficulty of the user on the simulation operation of the modeling software are greatly reduced. Further, the embodiment of the application provides various modes for selecting and editing the target component, various control display or connection modes and the like, so that simulation operation of a user on modeling software is facilitated and simplified, and simulation efficiency is improved.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present application will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present application are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar or corresponding parts and in which:
FIG. 1 is an exemplary flow diagram illustrating a simulation method for modeling software according to an embodiment of the present application;
FIG. 2 is an exemplary block diagram illustrating a simulation system for modeling software in accordance with an embodiment of the present application;
FIG. 3 is an exemplary schematic diagram illustrating a simulation system for modeling software in accordance with an embodiment of the present application;
FIG. 4 is an exemplary schematic diagram illustrating individual components according to an embodiment of the present application;
FIG. 5 is an exemplary block diagram illustrating an emulation device for modeling software in accordance with an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
It should be understood that the terms "comprises" and "comprising," when used in this specification and in the claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only, and is not intended to be limiting of the application. As used in the specification and claims of this application, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in the present specification and claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Specific embodiments of the present application are described in detail below with reference to the accompanying drawings.
FIG. 1 is an exemplary flow diagram illustrating a simulation method 100 for modeling software according to an embodiment of the present application. As shown in fig. 1, at step S101, a predefined simulation flow having a predetermined execution order is provided and a component library containing a plurality of predefined components related to executing the predefined simulation flow is provided. In one embodiment, the predefined simulation flow may include a main flow and one or more sub-flows (e.g., shown on the left side of the simulation system shown in fig. 3), wherein the sub-flows may be inserted as a block into the main flow and the entire predefined simulation flow has a predetermined execution order (e.g., top-down). When the simulation flow is subsequently started, the entire predefined simulation flow may be executed according to the predetermined execution order.
In one implementation scenario, a component library containing a plurality of predefined components related to executing a predefined simulation flow is obtained by: at least a simulation code annotation, a simulation parameter and a simulation type of an application program interface in the modeling software are extracted, and a component library comprising a plurality of predefined components related to executing a predefined simulation flow is obtained according to the simulation code annotation, the simulation parameter and the simulation type. In some embodiments, the aforementioned modeling software may be, for example, SPICE models. It is understood that the components are objects, which are simple packages of data and methods. An application program interface (Application Programming Interface, "API") is an application program interface that may be used to operate a component, an application program, or a set of functions of an operating system. In an embodiment of the present application, the data and methods related to the simulation operations are packaged into multiple independent components based on the API, thereby forming a component library (e.g., shown on the right side of the simulation system shown in fig. 3) for direct use by the user.
Next, at step S102, responsive to the user' S simulation requirements, a graphical interface is enabled to allow the user to select a target component from a library of components and edit the target component for a predefined simulation flow. In one embodiment, in response to a first operation by a user, a component menu mode and/or a component drag mode is provided in a graphical interface to allow the user to select a target component from a component library using the component menu mode and/or the component drag mode for a predefined simulation flow. In one implementation scenario, the foregoing first operation of the user may include, but is not limited to, clicking, double clicking, or long pressing a left or right mouse button, or the like. In some embodiments, the aforementioned component menu modes may be implemented by setting, for example, a drop down menu. The aforementioned component drag mode can be realized by, for example, long-pressing a mouse button movement. Specifically, for each of the predefined simulation flows, the user may select a desired target component through, for example, a drop-down menu or drag (or move) the target component from the component library into the corresponding flow by pressing a mouse button for a long time to set the desired target component in the corresponding flow.
In accordance with the selected target component, in one embodiment, at least an add mode, a delete mode, and a modify mode are provided in the graphical interface in response to a second operation by the user to allow the user to edit the target component with the add mode, the delete mode, and the modify mode for the predefined simulation flow. In one implementation scenario, the aforementioned second operation by the user may also include, but is not limited to, clicking, double clicking, or long pressing a left or right mouse button, etc. In some embodiments, the foregoing addition mode, deletion mode, and modification mode may also be implemented by setting, for example, a pull-down menu. For the addition mode and the deletion mode, this can also be achieved by, for example, long-pressing a mouse button in or out. That is, the user may add or delete components by, for example, clicking (single-clicking, double-clicking) a mouse button or pressing a mouse button for a long time, depending on the simulation requirements. In some implementations, the foregoing modification target component may include at least a target parameter in the modification component, displaying or hiding an excess parameter in the component, where the modification mode may be implemented by receiving an input value from an external input device (e.g., keyboard, etc.) or clicking on a control display.
In one embodiment, the target component may be edited by providing a parameter control display in the target component in response to a user's manipulation of the parameter control display to allow the user to modify target parameters in the target component in a modification mode for a predefined simulation flow. In some implementations, the aforementioned parameter control displays may include, but are not limited to, one or more of a text box, a drop down menu, a button, a radio box, a multi-box, a file browser, or a color selector. The foregoing user operation on the parameter control display may be, for example, a single click, a double click on a left mouse button, or a right mouse button, etc. In this scenario, the user may click on a corresponding control to select a target parameter or edit a target component by receiving an input target parameter such as an external input device, according to the simulation requirements.
In one embodiment, the target component may also be edited by providing a hidden control display in the target component, in response to a user's manipulation of the hidden control display, to allow the user to employ a modified mode display or to hide unwanted parameters in the target component for a predefined simulation flow. In one implementation, the aforementioned hidden control display may be, for example, an arrow button. The operation of the hidden control display can be, for example, clicking, double clicking a left mouse button or a right mouse button, etc. In this scenario, the user may display or hide the excess parameters (e.g., non-essential parameters) in the target component by clicking on the arrow button.
Next, at step S103, the user is allowed to connect the edited target components into a class flow diagram. In particular, in response to a third operation by the user, a wiring pattern is provided in the graphical interface to allow the user to connect the edited target assembly into a class flow diagram using the wiring pattern. In one implementation scenario, the aforementioned third operation in response to the user may be, for example, a long press mouse movement, or the like. In some embodiments, the aforementioned connection mode may be implemented by moving the connection by long mouse. More specifically, a component markup display is provided in the target components that displays input parameters and output parameters to allow a user to wire output and input between edited target components based on the component markup display in a wired mode to connect into a class flow diagram (e.g., as shown in the middle portion of the simulation system shown in FIG. 3). In some embodiments, the input parameters may be represented by a component markup display with diamond-shaped markup, and the output parameters may be represented by a component markup display with circular markup, such that a user connects the input parameters with the input of an edited target component and connects the output of the edited target component to another edited target component to form a complete class flow diagram with a sequence. It should be understood that not all components need be wired. For example, when the target component is not sequentially dependent with the rest of the components, the target component may be directly invoked at the corresponding execution position without connecting the target component.
After the above-described class flow chart is obtained, at step S104, a predefined simulation flow is started in a predetermined execution order based on the class flow chart. That is, when a user selects and edits a target component to a corresponding flow according to a simulation demand, and connects the target component to a completed class flow chart, a simulation operation can be realized by starting (or running) a predefined simulation flow.
As can be seen from the above description, the embodiments of the present application provide a component library including a plurality of predefined components related to a predefined simulation flow, that is, by encapsulating codes related to the simulation flow into a plurality of components, when a user needs to perform simulation, by enabling a graphical interface to allow the user to select a target component at the graphical interface and edit the target component, and connect the edited target component into a class flow chart, so as to implement a simulation operation. Based on the method, a user does not need to learn to write codes or learn and memorize complex functions and parameters, and only needs to select and edit required components, so that the learning difficulty and the hands-on difficulty of the user for the simulation operation of modeling software are greatly reduced. In addition, the embodiment of the application also provides various modes for selecting and editing the target component, control display or connection modes and the like, so that simulation operation of a user on modeling software is facilitated and simplified, and simulation efficiency is improved.
FIG. 2 is an exemplary block diagram illustrating an emulation system 200 for modeling software in accordance with an embodiment of the present application. As shown in FIG. 2, the simulation system 200 may include a flow display module 201, a component library display module 202, a graphical editing module 203, and a simulation initiation module 204. In one embodiment, the aforementioned flow display module 201 may be used to provide a predefined simulation flow with a predetermined execution order. As previously described, the predefined simulation flow may include a main flow and one or more sub-flows, wherein the sub-flows may be inserted as a block into the main flow and the entire predefined simulation flow has a predetermined execution order (e.g., top-down).
In one embodiment, the component library display module 202 may be used to provide a component library containing a plurality of predefined components related to performing a predefined simulation flow. In one implementation scenario, a component library containing a plurality of predefined components associated with executing a predefined simulation flow may be obtained from at least extracting simulation code annotations, simulation parameters, and simulation types of an application program interface in modeling software.
In one embodiment, the graphical editing module 203 may be used to enable a graphical interface to allow a user to select target components from a library of components for a predefined simulation flow and edit the target components and to allow the user to connect the edited target components into a class flow diagram in response to the user's simulation requirements. In some embodiments, for each flow, the user may select the target component by an operation such as a drop down menu or a direct long press mouse drag; the target component is added or deleted by an operator, e.g., pressing a mouse key long in or out, or edited by selecting a target parameter, e.g., by clicking on a corresponding control. In addition, non-important parameters in the target component may also be displayed or hidden, for example, by clicking on a hidden control display, to edit the target component. Based on the edited target components, the user can connect the edited target components into a complete class flow chart with sequence through operations such as long-press mouse moving connection line. Alternatively, by directly invoking the target component at the corresponding execution location, no wiring is required.
In one embodiment, the simulation initiation module 204 may be configured to initiate the predefined simulation flow in a predetermined order of execution based on the class flow diagram. That is, when a user selects and edits a target component to a corresponding flow according to a simulation demand, and connects the target component to a completed class flow diagram, a predefined simulation flow is started (or run) by the simulation start module 204, so as to conveniently, simply and efficiently implement a simulation operation.
FIG. 3 is an exemplary schematic diagram illustrating a simulation system for modeling software according to an embodiment of the present application. It should be appreciated that the simulation system of FIG. 3 is one particular embodiment of the simulation system 200 of FIG. 2 described above, and thus the description of the simulation system 200 of FIG. 2 described above applies equally to FIG. 3.
As shown in fig. 3, the simulation system may include a flow display module 201, a component library display module 202, a graphical editing module 203, and a simulation initiation module (not shown). From the foregoing, it will be appreciated that the flow display module 201 may be configured to provide a predefined simulation flow with a predetermined execution order, which may include a main flow and one or more sub-flows. For example, main represents a main flow, sub-flow1, sub-flow2, sub-flow3, sub-flow4, and sub-flow5 represent sub-flows, and form an execution sequence of a tree shape. In one implementation scenario, the predefined simulation flow has a predetermined execution sequence, for example, from top to bottom. In some embodiments, other predetermined execution orders may also be provided (e.g., left to right), embodiments of the application are not limited in this respect. The component library display module 202 may be used to provide a component library containing a plurality of predefined components related to executing a predefined simulation flow, such as a definition variable component ("definition variable"), a Region selection component ("Region selector"), a drawing component ("Plot graphs"), a Condition judgment component ("Condition"), etc., shown in the figure, and a setup option component ("Set option"), an annotation component ("command"), and a Run program component ("Run program"), etc.
The graphical editing module 203 is configured to enable a graphical interface to allow a user to select target components from a component library and edit the target components for a predefined simulation flow and to allow the user to connect the edited target components into a class flow diagram in response to a simulation requirement of the user. By way of example, the selection and editing of a target component for sub-flow5 is illustrated in the graphical editing module 203. It will be appreciated that the specific content of the sub-flow5 is shown in the graphical editing module 203, which is implemented by the user by selecting and editing the target component. For example, for the sub-flow5, the user selects the target components Define variable, region selector, plot graphs, condition, comment, and Run program by an operation such as a drop down menu or a direct long press mouse drag. For each target component, the user may edit the target component by selecting a target parameter, for example, by clicking on a corresponding control, such as editing a Name, value, type, etc. in the target component defined variable. Or by displaying or hiding non-important parameters in the target component, for example, by clicking on the hidden control display 301, to edit the target component.
As further shown, the user may form a complete class flow diagram by wiring the edited target assembly. For example, the target component definition variable is wired to the target component Region selector, the target component Region selector is wired to the target component Plot graph, and the target component Condition is wired to the target component Run program without the target component Comment. Further, the predefined simulation flow is started (or run) by the simulation starting module, so that the simulation operation is conveniently, simply and efficiently realized. For further details of this system, reference is made to the description of fig. 2 above, and this application is not repeated here.
Fig. 4 is an exemplary schematic diagram illustrating individual components according to an embodiment of the present application. The component Region selector, as shown in fig. 4, may include a component name 401, an input parameter 402, an output parameter 403, a parameter editing area 404, and unnecessary parameters displayed or hidden by a hidden control display (e.g., arrow buttons) 301, and the like. Wherein input parameters 402 may be represented by a component mark display with diamond shaped marks and output parameters 403 may be represented by a component mark display with circular shaped marks. In one implementation scenario, a user may form a complete class flow diagram with order by connecting input parameters to inputs of an edited target component and connecting outputs of the edited target component to another edited target component. Referring to FIG. 3, the output of the component definition variable is wired to the component Region selector, and the output of the component Region selector is wired to the component Plot graph.
In one implementation scenario, parameter control displays such as text boxes, drop-down menus, buttons, radio boxes, multi-boxes, file browsers, or color selectors are set at the parameter values in the parameter editing area 404, and the user may click on a corresponding control to select a target parameter or edit the target component by receiving an input target parameter, such as an external input device, according to the simulation requirement. In addition, the user may also display or hide unwanted parameters (e.g., non-essential parameters) in the target component by clicking on the arrow button. Therefore, through the embodiment of the application, the simulation operation of a user on modeling software can be greatly facilitated and simplified, and the simulation efficiency is improved.
Fig. 5 is an exemplary block diagram illustrating an emulation device 500 for modeling software according to an embodiment of the present application. As shown in fig. 5, an emulation device 500 of the present application may include a processor 501 and a memory 502, where the processor 501 and the memory 502 communicate over a bus. The memory 502 stores program instructions for simulation of modeling software, which when executed by the processor 501, cause implementation of the method steps according to the previous description in connection with the accompanying drawings: providing a predefined simulation flow having a predetermined order of execution and providing a component library containing a plurality of predefined components associated with executing the predefined simulation flow; responsive to a simulation demand of a user, enabling a graphical interface to allow the user to select a target component from a component library and edit the target component for a predefined simulation flow; allowing the user to connect the edited target components into a class flow chart; and starting a predefined simulation flow according to the predetermined execution sequence based on the class flow chart.
Those skilled in the art will also appreciate from the foregoing description, taken in conjunction with the accompanying drawings, that embodiments of the present application may also be implemented in software programs. The present application thus also provides a computer readable storage medium. The computer readable storage medium has stored thereon computer readable instructions for simulation of modeling software, which when executed by one or more processors, implement the simulation method for modeling software described herein in connection with fig. 1.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
It should be noted that although the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in that particular order or that all of the illustrated operations be performed in order to achieve desirable results. Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
It should be understood that when the terms "first," "second," "third," and "fourth," etc. are used in the claims, the specification and the drawings of this application, they are used merely to distinguish between different objects and not to describe a particular sequence. The terms "comprises" and "comprising," when used in the specification and claims of this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only, and is not intended to be limiting of the application. As used in the specification and claims of this application, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in the present specification and claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
While various embodiments of the present application have been shown and described herein, it will be obvious to those skilled in the art that such embodiments are provided by way of example only. Numerous modifications, changes, and substitutions will occur to those skilled in the art without departing from the spirit and scope of the present application. It should be understood that various alternatives to the embodiments of the present application described herein may be employed in practicing the application. The appended claims are intended to define the scope of the application and are therefore to cover all equivalents and alternatives falling within the scope of these claims.

Claims (12)

1. A simulation method for modeling software, comprising:
providing a predefined simulation flow having a predetermined order of execution and providing a component library containing a plurality of predefined components associated with executing the predefined simulation flow;
responsive to a user's simulation requirements, enabling a graphical interface to allow a user to select a target component from the component library and edit the target component for the predefined simulation flow;
allowing the user to connect the edited target components into a class flow chart; and
and starting the predefined simulation flow according to the preset execution sequence based on the class flow chart.
2. The simulation method of claim 1, wherein a component library comprising a plurality of predefined components related to executing the predefined simulation flow is obtained by:
extracting at least simulation code annotation, simulation parameters and simulation types of an application program interface in the modeling software; and
the component library including a plurality of predefined components related to executing the predefined simulation flow is obtained from the simulation code annotation, the simulation parameters, and the simulation type.
3. The simulation method of claim 1, wherein selecting a target component comprises:
in response to a first operation by a user, providing a component menu mode and/or a component drag mode in the graphical interface to allow the user to select a target component from the component library using the component menu mode and/or the component drag mode for the predefined simulation flow.
4. The simulation method of claim 3, wherein editing the target component comprises:
in response to a second operation by the user, at least an add mode, a delete mode, and a modify mode are provided in the graphical interface to allow the user to edit the target component with the add mode, the delete mode, and the modify mode for the predefined simulation flow.
5. The simulation method of claim 4, wherein editing the target component with the modification pattern comprises:
providing a parameter control display in the target component; and
and responding to the operation of the user on the parameter control display so as to allow the user to modify the target parameters in the target component by adopting the modification mode for the predefined simulation flow to edit the target component.
6. The simulation method of claim 5, wherein the parameter control display comprises one or more of a text box, a drop down menu, a button, a radio box, a multi-box, a file browser, or a color selector.
7. The simulation method of claim 4, wherein editing the target component with the modification pattern further comprises:
providing a hidden control display in the target component; and
and responding to the operation of the user on the display of the hiding control, so as to allow the user to display or hide the redundant parameters in the target component in the modification mode for the predefined simulation flow, so as to edit the target component.
8. The simulation method of claim 4, wherein allowing the user to connect the edited target assembly into a class flow diagram comprises:
in response to a third operation by the user, a wiring pattern is provided in the graphical interface to allow the user to employ the wiring pattern to connect the edited target assembly into the class flow diagram.
9. The simulation method of claim 8, further comprising:
providing a component markup display displaying input parameters and output parameters in the target components to allow a user to link output and input between edited target components based on the component markup display in the link mode to be connected into the class flow diagram.
10. A simulation system for modeling software, comprising:
a flow display module for providing a predefined simulation flow having a predetermined execution order;
a component library display module for providing a component library containing a plurality of predefined components associated with performing the predefined simulation flow;
a graphical editing module for:
responsive to a user's simulation requirements, enabling a graphical interface to allow a user to select a target component from the component library and edit the target component for the predefined simulation flow;
allowing the user to connect the edited target components into a class flow chart; and
and the simulation starting module is used for starting the predefined simulation flow according to the preset execution sequence based on the class flow chart.
11. A simulation apparatus for modeling software, comprising:
a processor; and
a memory in which program instructions for modeling a simulation of software are stored which, when executed by the processor, cause the apparatus to implement the simulation method according to any one of claims 1-9.
12. A computer readable storage medium having stored thereon computer readable instructions for simulation of modeling software, which when executed by one or more processors, implement the simulation method of any of claims 1-9.
CN202311843120.3A 2023-12-28 2023-12-28 Simulation method, simulation system, simulation device and storage medium for modeling software Pending CN117744398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311843120.3A CN117744398A (en) 2023-12-28 2023-12-28 Simulation method, simulation system, simulation device and storage medium for modeling software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311843120.3A CN117744398A (en) 2023-12-28 2023-12-28 Simulation method, simulation system, simulation device and storage medium for modeling software

Publications (1)

Publication Number Publication Date
CN117744398A true CN117744398A (en) 2024-03-22

Family

ID=90254502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311843120.3A Pending CN117744398A (en) 2023-12-28 2023-12-28 Simulation method, simulation system, simulation device and storage medium for modeling software

Country Status (1)

Country Link
CN (1) CN117744398A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118034659A (en) * 2024-04-10 2024-05-14 北京云庐科技有限公司 Method, system and medium for automatically generating CAE simulation program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118034659A (en) * 2024-04-10 2024-05-14 北京云庐科技有限公司 Method, system and medium for automatically generating CAE simulation program

Similar Documents

Publication Publication Date Title
US10592211B2 (en) Generation of application behaviors
RU2474874C2 (en) Method and apparatus for generating parametric model associated with geometry of three-dimensional objects
US9459780B1 (en) Documenting interactive graphical designs
CN117744398A (en) Simulation method, simulation system, simulation device and storage medium for modeling software
CN111862699B (en) Method and device for visually editing teaching courses, storage medium and electronic device
US20070038947A1 (en) Method and device for generation of a parametric model associated with a 3D geometry
WO2019133224A1 (en) Interactive learning tool
JP5658364B2 (en) Program visualization device
CN112364496B (en) Avionics simulation panel generation system based on HTML5 and VUE technologies
JP4731335B2 (en) ASSEMBLY EVALUATION METHOD, SYSTEM, AND PROGRAM
WO2022061027A1 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
JP2010020635A (en) Programming language conversion apparatus, conversion method and conversion program
JP2001216142A (en) Program preparation aiding device
US20150248232A1 (en) Touch gesture for connection of streams in a flowsheet simulator
CN107491311B (en) Method and system for generating page file and computer equipment
US7177784B2 (en) Mechanical model simulator, interlock system setting method, and storage medium therefor
JP3535354B2 (en) Stall detection display device and method
KR20180135654A (en) Intuitive method of making a program
US20130125032A1 (en) Visual and functional transform
CN111126012A (en) Method and device for generating expression in customization mode
WO2014136210A1 (en) Execution-flow creation support program
CN115115316B (en) Method for simulating storage material flowing-out and warehousing operation direction-guiding type animation based on Cesium
JP4652072B2 (en) Design support apparatus and method with simulation function, and operation support apparatus and method with simulation function
US20230082639A1 (en) Plugin management system for an interactive system or platform
KR102285287B1 (en) User interaction method and apparatus

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