CN114692383B - Modeling method and device for full-range analog machine simulation object and computer equipment - Google Patents

Modeling method and device for full-range analog machine simulation object and computer equipment Download PDF

Info

Publication number
CN114692383B
CN114692383B CN202111357509.8A CN202111357509A CN114692383B CN 114692383 B CN114692383 B CN 114692383B CN 202111357509 A CN202111357509 A CN 202111357509A CN 114692383 B CN114692383 B CN 114692383B
Authority
CN
China
Prior art keywords
design
simulation object
simulation
configuration information
full
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.)
Active
Application number
CN202111357509.8A
Other languages
Chinese (zh)
Other versions
CN114692383A (en
Inventor
石宇涵
王苏
丁炜堃
陈纲
余慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Power Investment Group Science and Technology Research Institute Co Ltd
Original Assignee
State Power Investment Group Science and Technology Research Institute 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 State Power Investment Group Science and Technology Research Institute Co Ltd filed Critical State Power Investment Group Science and Technology Research Institute Co Ltd
Priority to CN202111357509.8A priority Critical patent/CN114692383B/en
Publication of CN114692383A publication Critical patent/CN114692383A/en
Application granted granted Critical
Publication of CN114692383B publication Critical patent/CN114692383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

The application provides a modeling method and device of a full-range analog machine simulation object, computer equipment and a storage medium, and relates to the technical field of nuclear power station analog machines. The method comprises the following steps: obtaining a design data packet of a full-range simulator, wherein the design data packet comprises a plurality of design documents; according to the design document, determining a simulation object of the full-range simulator and design parameters of the simulation object; generating structured configuration information according to the design parameters of the simulation object; and generating a model code file of the simulation object according to the configuration information so that a simulation platform runs the model code file. Therefore, the simulation object model of the full-range simulator is quickly established, and the development efficiency of the full-range simulator is improved.

Description

Modeling method and device for full-range analog machine simulation object and computer equipment
Technical Field
The application relates to the technical field of nuclear power station simulators, in particular to a modeling method and device, computer equipment and storage medium for a full-range simulator simulation object.
Background
The full-range simulator is used for reproducing all technical processes of a nuclear power plant realistically in real time on a computer through a mathematical model so as to train and examine operators and advanced operators of the nuclear power plant, and is key equipment for nuclear power plant engineering construction. In the development process of the full-range simulator, a simulation model needs to be established for a simulation object so as to simulate the real operation process of the power plant. However, the number of simulation objects involved in the full-range simulator is large, and the research on how to realize the rapid establishment of the simulation object model is of great significance.
Disclosure of Invention
The present application is directed to solving, at least in part, one of the technical problems in the related art.
An embodiment of a first aspect of the present application provides a modeling method for a full-range analog machine simulation object, including:
obtaining a design data packet of a full-range simulator, wherein the design data packet comprises a plurality of design documents;
according to the design document, determining a simulation object of the full-range simulator and design parameters of the simulation object;
generating structured configuration information according to the design parameters of the simulation object;
and generating a model code file of the simulation object according to the configuration information so that a simulation platform runs the model code file.
The embodiment of the second aspect of the present application provides a modeling apparatus for a full-range analog machine simulation object, including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a design data packet of a full-range simulator, and the design data packet comprises a plurality of design documents;
the first determining module is used for determining a simulation object of the full-range simulator and design parameters of the simulation object according to the design document;
the first generation module is used for generating structured configuration information according to the design parameters of the simulation object;
and the second generation module is used for generating a model code file of the simulation object according to the configuration information so as to enable the simulation platform to operate the model code file.
An embodiment of a third aspect of the present application provides a computer device, including: the simulation system comprises a memory, a processor and computer instructions stored on the memory and capable of running on the processor, wherein the processor executes the instructions to realize the modeling method of the full-range simulation machine simulation object according to the embodiment of the first aspect of the application.
An embodiment of a fourth aspect of the present application provides a non-transitory computer-readable storage medium storing computer instructions, which when executed by a processor, implement the modeling method for the full-scope simulation object as provided in the embodiment of the first aspect of the present application.
An embodiment of a fifth aspect of the present application provides a computer program product, wherein when being executed by a processor, the instructions of the computer program product implement the modeling method for the full-scope simulation machine simulation object as set forth in the embodiment of the first aspect of the present application.
The modeling method, the modeling device, the computer equipment and the storage medium for the full-range analog machine simulation object have the following beneficial effects:
firstly, obtaining a design data packet of a full-range simulator, wherein the design data packet comprises a plurality of design documents; then according to the design document, determining a simulation object of the full-range simulator and design parameters of the simulation object; then, according to the design parameters of the simulation object, generating structured configuration information; and finally, generating a model code file of the simulation object according to the configuration information so that the simulation platform runs the model code file. Therefore, the simulation object model of the full-range simulator is quickly established, and the development efficiency of the full-range simulator is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart illustrating a modeling method for a full-scope simulation object according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating a modeling method for a full-scope simulation object according to another embodiment of the present application;
FIG. 3 is a schematic structural diagram of a modeling apparatus for simulating an object by a full-scope simulation machine according to an embodiment of the present application;
FIG. 4 illustrates a block diagram of an exemplary computer device suitable for use in implementing embodiments of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
A modeling method, an apparatus, a computer device, and a storage medium of a full-scope simulation object according to an embodiment of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a modeling method for a full-range simulator simulation object according to an embodiment of the present application.
The embodiment of the present application exemplifies that the modeling method of the full-range analog machine simulation object is configured in a modeling apparatus of the full-range analog machine simulation object, and the modeling apparatus of the full-range analog machine simulation object can be applied to any computer device, so that the computer device can execute the modeling function of the full-range analog machine simulation object.
The Computer device may be a Personal Computer (PC), a cloud device, a mobile device, and the like, and the mobile device may be a hardware device having various operating systems, touch screens, and/or display screens, such as a mobile phone, a tablet Computer, a Personal digital assistant, a wearable device, and an in-vehicle device.
As shown in fig. 1, the modeling method of the full-range simulator simulation object may include the following steps:
step 101, obtaining a design data package of a full-range simulator, wherein the design data package comprises a plurality of design documents.
It should be noted that, in the design and development stage of the full-range simulator, the system range to be simulated by the simulator can be divided according to the actual design data of the power plant. Furthermore, the corresponding design data can be determined according to the simulation range of the full-range simulator.
The design data includes a series of design drawings in document form and design parameters. In the embodiment of the present application, a plurality of design documents can be formed into a design data package and uploaded. The design data packet may be in the form of a compressed file packet, and the like, which is not limited in this application.
And 102, determining a simulation object of the full-range simulator and design parameters of the simulation object according to the design document.
The simulation object of the full-range simulator means components and equipment actually existing in the power plant. Such as electrically operated valves, circuit breakers, sensors, thermal systems, etc. For each simulation object, there is a corresponding design parameter.
It will be appreciated that design documentation for a full range of simulation machines, i.e. a nuclear power plant, is typically presented in a particular format. For example, the shape of the component is shown in a picture, the design parameters of the component are listed in a table, and the like.
Therefore, in the embodiment of the application, the simulation objects of the full-range simulator and the design parameters corresponding to each simulation object can be extracted from the design document.
Step 103, generating structured configuration information according to the design parameters of the simulation object.
It should be noted that, for each simulation object, the corresponding design parameter may include a plurality of parameters. For example, for an electrically actuated valve, the design parameters may include dimensional parameters, performance parameters, and the like.
Therefore, in the embodiment of the present application, the design parameters of the simulation object may be stored in a structured format as the configuration information of the simulation object. Therefore, the quick calling of the configuration information can be realized.
And 104, generating a model code file of the simulation object according to the configuration information so that the simulation platform runs the model code file.
It should be noted that, in the full-range analog machine, the simulation object finally runs on the simulation platform in the form of a code to realize the simulation function. That is, modeling a simulation object requires generating a code file for the simulation object.
The configuration information contains design parameters of the simulation object, so that a model file in a code form, namely a model code file, can be generated according to the configuration information. The simulation platform can obtain a model of a simulation object by running the code file.
For example, the structural specification of the code file may be determined first, then corresponding configuration information is extracted from the system, design parameters in the code file are automatically filled, and finally the code file that can be used for the operation of the simulation platform is generated.
In the embodiment of the application, firstly, a design data packet of the full-range simulator is provided, wherein the design data packet comprises a plurality of design documents; then according to the design document, determining a simulation object of the full-range simulator and design parameters of the simulation object; then, generating structured configuration information according to the design parameters of the simulation object; and finally, generating a model code file of the simulation object according to the configuration information so that the simulation platform operates the model code file. Therefore, the simulation object model of the full-range simulator is quickly established, and the development efficiency of the full-range simulator is improved.
FIG. 2 is a schematic flow chart diagram of a modeling method for a full-scope simulation machine simulation object according to another embodiment of the present application. As shown in fig. 2, the modeling method of the full-range simulator simulation object may include the following steps:
step 201, obtaining a design data package of a full-range simulator, wherein the design data package includes a plurality of design documents and a design document information table.
The specific implementation manner of the design document may refer to the detailed description of other embodiments of the present application, and is not described herein again.
It should be noted that the design document is a basic design data for developing a full-range simulator, and needs to be stored and organized in the system. Therefore, in the embodiment of the application, the document information can be recorded by using the design document information table, and the design document information table are uploaded to the system together, so that the corresponding design document can be searched according to the design document information table.
Wherein the design document information table may include related information of each design document. For example, the document title, the document number, the version number, the related system, the document type, the document source, the release date, the receiving date, the uploading date, etc., which are not limited in the present application.
In addition, in the development project of the simulator, the number of files is large, the types are various, and the files are possibly subjected to repeated iterative updating along with the progress of the project, so that all design documents and the design document information table can be packaged, compressed and uploaded together, and the efficiency is greatly improved.
In step 202, each design document is stored in association with the design document information table.
In order to facilitate the user to check, delete and the like each design document in the system, each design document can be automatically stored according to the design document information table, and the storage position or the storage path of the design document is associated with the document information in the design document information table, so that the user can search the corresponding design document according to the file list in the design document information table.
Further, as for the design document information table, the document can be searched by a keyword, a document number, a version number, and the like. Meanwhile, the basic screening and sorting function can be realized in the design document information table.
Step 203, performing text recognition on the design document to extract the simulation object and the design parameters of the simulation object in the design document.
Among other things, because of the large number of design documents, and because each design document may contain a large number of design parameters. In order to quickly and accurately extract the design information in the design document, a text recognition mode can be adopted to extract the simulation object information from the design document, wherein the simulation object information comprises the type of the simulation object, the design parameters of the simulation object and the like.
And step 204, generating structured configuration information according to the design parameters of the simulation object.
It should be noted that, for a specific implementation manner of step 204, reference may be made to the detailed description of other embodiments of the present application, and details are not described herein again.
And step 205, storing the configuration information and the simulation object in an associated manner.
The configuration information records design parameters of the simulation object. In order to facilitate the developer to inquire and record the design parameters, the configuration information and the simulation object can be stored in association.
It will be appreciated that for each simulation object, distinction may be made by a respective identification. Such as object name, object number, belonging system, etc.
Therefore, the storage position or the storage path of the configuration information and the like can be associated with the corresponding identifier of the simulation object, so as to obtain the corresponding configuration information according to the identifier.
And step 206, generating a model design report of the full-range simulator according to the configuration information.
It should be noted that, in the development process of the full-range simulation machine, a corresponding design report may be formed according to the actual design model and parameters of the full-range simulation machine.
In the embodiment of the application, a document template of a model design report may be determined first, and a position where a design parameter needs to be filled is formed into an interface file, and information that needs to be filled in a corresponding position of a document is determined in the interface file. Therefore, the corresponding configuration information can be obtained from the system through the interface file and filled in the document to generate the model design report.
Step 207, obtaining the updated model code file from the simulation platform.
It should be noted that, during the running and debugging process of the full-range simulator, the simulation model may be modified and updated many times. Accordingly, the configuration information of the simulation object may be changed accordingly.
Therefore, in order to synchronously update the configuration information stored in the system, the updated model code file can be acquired from the simulation platform after the model debugging is completed.
Step 208, determining the updated configuration information of the simulation object according to the updated model code file.
It will be appreciated that the model code file for the simulation object is generated based on the configuration information, from which updated configuration information may be extracted after the model code file is updated.
For example, when the model code file is a template file based on a canonical structure and is generated by filling configuration information into a corresponding location, the configuration information may be extracted from the corresponding location according to a set rule.
And step 209, storing the updated configuration information and the simulation object in an associated manner.
It should be noted that the updated configuration information records the current design parameters of the simulation object. In order to facilitate the developer to query and record the current design parameters, the updated configuration information may be stored in association with the simulation object.
Since the configuration information may be modified and updated many times, in order to distinguish the initial configuration information of the simulation object from the configuration information updated each time, version control may be performed each time the configuration information is stored.
For example, the initial configuration information of the simulation object may be recorded as a V1.0 version, the configuration information updated for the first time may be recorded as a V1.1 version, the configuration information updated for the second time may be recorded as a V1.2 version, and so on.
In the embodiment of the application, the updated model code file is obtained from the simulation platform, the updated configuration information of the simulation object is determined according to the updated model code file, and the updated configuration information and the simulation object are stored in a correlation mode, so that the automatic updating of the configuration information of the simulation object is realized, and the timeliness and the accuracy of the updating of the configuration information of the simulation object in the development process of a full-range simulator are improved.
In order to implement the above embodiments, the present application further provides a modeling apparatus for a full-range simulation object.
Fig. 3 is a schematic structural diagram of a modeling apparatus for simulating an object by using a full-scope simulation machine according to an embodiment of the present application.
As shown in fig. 3, the modeling apparatus 100 for the full-scope simulation machine simulation object may include: a first obtaining module 110, a first determining module 120, a first generating module 130, and a second generating module 140.
The first obtaining module 110 is configured to obtain a design package of the full-scope simulation machine, where the design package includes a plurality of design documents.
The first determining module 120 is configured to determine a simulation object of the full-range simulator and design parameters of the simulation object according to the design document.
The first generating module 130 is configured to generate structured configuration information according to the design parameters of the simulation object.
And a second generating module 140, configured to generate a model code file of the simulation object according to the configuration information, so that the simulation platform runs the model code file.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
and the third generation module is used for generating a model design report of the full-range simulator according to the configuration information.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
and the first storage module is used for storing the configuration information and the simulation object in an associated manner.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
the second acquisition module is used for acquiring the updated model code file from the simulation platform;
the second determining module is used for determining the updated configuration information of the simulation object according to the updated model code file;
and the second storage module is used for storing the updated configuration information and the simulation object in an associated manner.
In a possible implementation manner of the embodiment of the present application, the first determining module 120 is specifically configured to:
and performing text recognition on the design document to extract the simulation object and the design parameters of the simulation object in the design document.
In a possible implementation manner of the embodiment of the present application, the design package further includes a design document information table, and the apparatus further includes:
and the third storage module is used for storing each design document and the design document information table in a correlation manner.
The functions and specific implementation principles of the modules in the embodiments of the present application may refer to the embodiments of the methods, which are not described herein again.
The modeling device of the simulation object of the full-range simulator in the embodiment of the application comprises a design data packet of the full-range simulator, wherein the design data packet comprises a plurality of design documents; then according to the design document, determining a simulation object of the full-range simulator and design parameters of the simulation object; then, generating structured configuration information according to the design parameters of the simulation object; and finally, generating a model code file of the simulation object according to the configuration information so that the simulation platform operates the model code file. Therefore, the simulation object model of the full-range simulator is quickly established, and the development efficiency of the full-range simulator is improved.
In order to implement the foregoing embodiments, the present application also provides a computer device, including: the simulation system comprises a memory, a processor and computer instructions stored on the memory and capable of running on the processor, wherein when the processor executes the instructions, the modeling method of the simulation object of the full-range simulation machine is realized.
In order to achieve the above embodiments, the present application further proposes a non-transitory computer readable storage medium storing computer instructions which, when executed by a processor, implement the modeling method of the full-scope simulation engine simulation object as proposed in the foregoing embodiments of the present application.
In order to implement the foregoing embodiments, the present application also proposes a computer program product, which when executed by an instruction processor in the computer program product, executes the modeling method of the full-scope simulation machine simulation object as proposed by the foregoing embodiments of the present application.
FIG. 4 illustrates a block diagram of an exemplary computer device suitable for use in implementing embodiments of the present application. The computer device 12 shown in fig. 4 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present application.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro Channel Architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination of which may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via Network adapter 20. As shown, the network adapter 20 communicates with the other modules of the computer device 12 over the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, to name a few.
The processing unit 16 executes various functional applications and data processing, for example, implementing the methods mentioned in the foregoing embodiments, by executing programs stored in the system memory 28.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (12)

1. A modeling method for a full-range analog machine simulation object is characterized by comprising the following steps:
obtaining a design data packet of a full-range simulator, wherein the design data packet comprises a plurality of design documents;
according to the design document, determining a simulation object of the full-range simulator and design parameters of the simulation object;
generating structured configuration information according to the design parameters of the simulation object;
generating a model code file of the simulation object according to the configuration information so that a simulation platform runs the model code file;
generating a model code file of the simulation object according to the configuration information, wherein the model code file comprises: determining the structural specification of the code file, extracting corresponding configuration information from the system, automatically filling design parameters in the code file, and generating a model code file for the operation of a simulation platform;
after the generating the model code file of the simulation object according to the configuration information, the method further includes:
obtaining an updated model code file from the simulation platform;
determining the updated configuration information of the simulation object according to the updated model code file;
and storing the updated configuration information and the simulation object in an associated manner.
2. The method of claim 1, after said generating structured configuration information based on design parameters of said simulation object, further comprising:
and generating a model design report of the full-range simulator according to the configuration information.
3. The method of claim 1, after said generating structured configuration information from design parameters of said simulation object, further comprising:
and storing the configuration information and the simulation object in an associated manner.
4. The method of claim 1, wherein said determining, from said design documents, simulated objects for said full-scope simulation engine and design parameters for said simulated objects comprises:
and performing text recognition on the design document to extract the simulation object in the design document and the design parameters of the simulation object.
5. The method according to any one of claims 1-4, wherein said design package further includes a design documentation information table, and further comprising, after said obtaining the design package for the full-scope simulation engine:
and storing each design document and the design document information table in an associated manner.
6. A modeling apparatus for a full-range simulator simulation object, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a design data packet of a full-range simulator, and the design data packet comprises a plurality of design documents of design drawings and design parameters;
the first determining module is used for determining a simulation object of the full-range simulator and design parameters of the simulation object according to the design document;
the first generation module is used for generating structured configuration information according to the design parameters of the simulation object;
a second generating module, configured to generate a model code file of the simulation object according to the configuration information, so that a simulation platform runs the model code file, where the generating a model code file of the simulation object according to the configuration information includes: determining the structural specification of the code file, extracting corresponding configuration information from the system, automatically filling design parameters in the code file, and generating a model code file for the operation of a simulation platform;
further comprising:
the second acquisition module is used for acquiring the updated model code file from the simulation platform;
the second determining module is used for determining the updated configuration information of the simulation object according to the updated model code file;
and the second storage module is used for storing the updated configuration information and the simulation object in a correlation manner.
7. The apparatus of claim 6, further comprising:
and the third generation module is used for generating a model design report of the full-range simulator according to the configuration information.
8. The apparatus of claim 6, further comprising:
and the first storage module is used for storing the configuration information and the simulation object in an associated manner.
9. The apparatus of claim 6, wherein the first determination module is to:
and performing text recognition on the design document to extract the simulation object in the design document and the design parameters of the simulation object.
10. The apparatus according to any one of claims 6-9, wherein said design package further includes a design document information table, said apparatus further comprising:
and the third storage module is used for storing each design document and the design document information table in a correlation manner.
11. A computer device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, the processor when executing the instructions implementing a modeling method for a full-scope simulation engine simulation object as claimed in any of claims 1-5.
12. A computer readable storage medium storing computer instructions which, when executed by a processor, implement a method of modeling a full-scope simulation engine simulation object as claimed in any of claims 1 to 5.
CN202111357509.8A 2021-11-16 2021-11-16 Modeling method and device for full-range analog machine simulation object and computer equipment Active CN114692383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111357509.8A CN114692383B (en) 2021-11-16 2021-11-16 Modeling method and device for full-range analog machine simulation object and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111357509.8A CN114692383B (en) 2021-11-16 2021-11-16 Modeling method and device for full-range analog machine simulation object and computer equipment

Publications (2)

Publication Number Publication Date
CN114692383A CN114692383A (en) 2022-07-01
CN114692383B true CN114692383B (en) 2023-04-14

Family

ID=82136449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111357509.8A Active CN114692383B (en) 2021-11-16 2021-11-16 Modeling method and device for full-range analog machine simulation object and computer equipment

Country Status (1)

Country Link
CN (1) CN114692383B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116132308B (en) * 2023-02-28 2024-05-14 重庆长安汽车股份有限公司 Simulation design method, device, equipment and medium based on data distribution service
CN116644580B (en) * 2023-05-29 2024-01-19 苏州异格技术有限公司 Electronic product model design automation method, device, equipment and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002952700A0 (en) * 2002-11-18 2002-11-28 Vpisystems Pty Ltd Simulation player
US10839011B2 (en) * 2018-04-18 2020-11-17 International Business Machines Corporation Application programing interface document generator
CN111506588A (en) * 2020-04-10 2020-08-07 创景未来(北京)科技有限公司 Method and device for extracting key information of electronic document
CN111709117A (en) * 2020-05-13 2020-09-25 中核武汉核电运行技术股份有限公司 Method and device for managing life-cycle process of nuclear power analog machine
CN113138757B (en) * 2021-05-11 2024-03-29 中国工商银行股份有限公司 Front-end code automatic generation method, device, server, system and medium

Also Published As

Publication number Publication date
CN114692383A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
CN114692383B (en) Modeling method and device for full-range analog machine simulation object and computer equipment
CN109063829B (en) Neural network construction method and device, computer equipment and storage medium
CN108897724B (en) Function completion progress determining method and device
CN109448100B (en) Three-dimensional model format conversion method, system, computer device and storage medium
WO2016026328A1 (en) Information processing method and device and computer storage medium
EP1626359A2 (en) Methods and systems for electronic device modelling
CN114282752A (en) Method and device for generating flow task, electronic equipment and storage medium
CN110941934A (en) FPGA prototype verification development board segmentation simulation system, method, medium and terminal
CN106709985A (en) Generation method and device for virtual three-dimensional sacrifice scene
CN114662427B (en) Debugging method and device for logic system design
CN111708704B (en) Cloud real machine testing method, device, terminal and storage medium
CN109189688A (en) A kind of generation method, generating means and the electronic equipment of test case script
CN107133072A (en) One kind operation performs method and apparatus
CN110399396A (en) Efficient data processing
US10223077B2 (en) Determination of signals for readback from FPGA
Shah et al. A top-down design methodology using virtual platforms for concept development
CN111859985A (en) AI customer service model testing method, device, electronic equipment and storage medium
CN112329124A (en) CAE model error checking method and device, computer equipment and storage medium
US20230267253A1 (en) Automated synthesis of virtual system-on-chip environments
CN115292102B (en) Simulation method, electronic device, and readable storage medium
CN117076335A (en) Model test method, system, medium and electronic equipment
CN117950983A (en) User interface testing method, device, electronic equipment and storage medium
CN115438605A (en) Data processing method, data processing device, computer equipment and storage medium
CN109284519A (en) A kind of construction method and device of model component
JP2024014250A (en) Electronic control device, and method for outputting data for evaluating sufficiency of evaluation

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