CN111580895B - Nuclear fuel performance analysis software integration method and device, terminal and readable storage medium - Google Patents

Nuclear fuel performance analysis software integration method and device, terminal and readable storage medium Download PDF

Info

Publication number
CN111580895B
CN111580895B CN202010265762.XA CN202010265762A CN111580895B CN 111580895 B CN111580895 B CN 111580895B CN 202010265762 A CN202010265762 A CN 202010265762A CN 111580895 B CN111580895 B CN 111580895B
Authority
CN
China
Prior art keywords
software
type
name
preset
executed
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
CN202010265762.XA
Other languages
Chinese (zh)
Other versions
CN111580895A (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.)
China General Nuclear Power Corp
China Nuclear Power Technology Research Institute Co Ltd
CGN Power Co Ltd
Lingdong Nuclear Power Co Ltd
Original Assignee
China General Nuclear Power Corp
China Nuclear Power Technology Research Institute Co Ltd
CGN Power Co Ltd
Lingdong Nuclear Power 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 China General Nuclear Power Corp, China Nuclear Power Technology Research Institute Co Ltd, CGN Power Co Ltd, Lingdong Nuclear Power Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN202010265762.XA priority Critical patent/CN111580895B/en
Publication of CN111580895A publication Critical patent/CN111580895A/en
Application granted granted Critical
Publication of CN111580895B publication Critical patent/CN111580895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • 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)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a nuclear fuel performance analysis software integration method and a device, a terminal and a readable storage medium thereof, wherein the method comprises the following steps: dividing analysis software into first-class software and second-class software according to file formats; receiving input parameters, judging whether the software to be executed belongs to the first type of software or the second type of software, calling analysis software corresponding to the name of the software to be executed, executing preset execution command operation according to the name and format of the file to be executed, and outputting an operation result; the method solves the problems of integration and unified management of the nuclear fuel performance analysis software such as different development languages, input and output, interface commands and the like on the nuclear fuel performance analysis platform, improves the development, management and use efficiency and quality of the nuclear fuel performance analysis platform, improves the quality and efficiency of the nuclear fuel engineering design analysis aspect, and better provides services for nuclear fuel research and development and nuclear power station support.

Description

Nuclear fuel performance analysis software integration method and device, terminal and readable storage medium
Technical Field
The present invention relates to the field of computer systems, and in particular, to a method and apparatus for integrating nuclear fuel performance analysis software, a terminal, and a readable storage medium.
Background
The nuclear fuel analysis software application engineering has the characteristics of more input and output parameters, more data transmission among the nuclear fuel analysis software application engineering, complicated calculation process, more mass calculation and long analysis time. However, for various reasons, the actual situation of the software engineering application is not considered in the research and development of the nuclear fuel performance software, so that at present, all types of software are singly applied in the engineering application and do not form a complete organism, and therefore, data transmission among all types of software is realized through a complex resource lifting process, which is different from the requirements of integration and unified management of nuclear fuel designers to a certain extent. For this difference, it is very necessary to integrate and uniformly manage the nuclear fuel analysis software, so as to improve the working efficiency of the designer and avoid human error.
Considering that the fuel rod performance analysis software is researched and developed by a plurality of different domestic and foreign research and development institutions, various software development languages, input and output, calculation execution commands, interface commands and the like are different from each other, and therefore the existing method is difficult to realize the efficient integrated and unified management of the input and output file names and formats, calculation execution commands and interface commands of the various software. In order to solve the problem, a nuclear fuel performance analysis software integration method based on an adapter principle is developed and applied to a nuclear fuel design and performance analysis platform, so that the requirements of designers are met.
Disclosure of Invention
The invention aims to solve the technical problem of providing a nuclear fuel performance analysis software integration method and device, a terminal and a readable storage medium.
The technical scheme adopted for solving the technical problems is as follows: a nuclear fuel performance analysis software integration method is constructed, which comprises the following steps:
software classification step S1: classifying analysis software according to a file format, wherein the analysis software comprises first-class software and second-class software; each analysis software is provided with a unique preset software name, a preset execution file name and format and a preset execution command;
the software executes step S2, comprising the steps of:
s21: receiving input parameters, wherein the input parameters comprise a to-be-executed software name, a to-be-executed file name and a format;
s22: judging whether the software to be executed corresponding to the input parameter belongs to the first type of software or the second type of software according to the name of the software to be executed;
when the software to be executed belongs to the first type of software, executing a step S23; when the software to be executed belongs to the second type of software, executing a step S24;
s23: calling the analysis software corresponding to the name of the software to be executed, executing the preset execution command operation according to the name and format of the file to be executed, and outputting an operation result;
s24: calling the analysis software corresponding to the name of the software to be executed, modifying the name and format of the file to be executed into the name and format of the preset execution file corresponding to the analysis software, executing the preset execution command operation, and outputting an operation result;
the first type of software is self-grinding type software, and the second type of software is commercial type software.
Preferably, the step S1 further includes:
the second type of software is also classified according to the execution rules, and comprises first type of execution rule software and second type of execution rule software;
the step S24 includes:
s241: judging whether the software to be executed corresponding to the input parameter belongs to the first type of execution rule software or the second type of execution rule software according to the name of the software to be executed;
when the software to be executed belongs to the first type of execution rule software, executing step S2411; when the software to be executed belongs to the second type of execution rule software, executing step S2412;
s2411: when the software to be executed belongs to the first type of execution rule software, calling the analysis software corresponding to the first type of execution rule software name, modifying the first type of execution rule software to be executed file name and format into the preset execution file name and format corresponding to the first type of execution rule software, executing the preset execution command operation, and outputting an operation result;
s2412: and when the software to be executed belongs to the second type of execution rule software, calling the analysis software corresponding to the second type of execution rule software name, modifying the name and format of a file to be executed of the second type of execution rule software into the name and format of the preset execution file corresponding to the second type of execution rule software, executing the preset execution command operation, and outputting an operation result.
Preferably, the executing the preset execution command operation in step S2412 includes:
and analyzing the preset execution command and the format, filling interaction parameters into a pipeline file, and calling the pipeline command for calculation.
Preferably, each analysis software is provided with a unique preset output file name;
after the first type software and the second type software execute the preset execution command operation, judging whether the output file name accords with a preset output file name;
if yes, directly outputting an operation result;
if not, modifying the output file name into a preset output file name and then outputting the operation result.
Preferably, the preset software name of the first type of software is bin.exe, the preset execution file name is input.ini, the preset output file name is output.res, and the format is zh and/or en;
the preset software name of the first type of execution rule software is COV.exe, the preset execution file name is fort.1, the preset output file name is output.res, and the format is cal;
the preset software name of the second type of execution rule software is SM.exe, the preset execution file name is sm-int, the preset output file name is output.res, and the format is zh and/or en.
A nuclear fuel performance analysis software integration device comprises
The classification module classifies the analysis software according to the file format and comprises first-class software and second-class software; each analysis software is provided with a unique preset software name, a preset execution file name and format and a preset execution command;
a processing module, comprising:
a receiving unit that receives input parameters including a name of software to be executed, a name of a file to be executed, and a format;
the judging unit judges that the software to be executed corresponding to the input parameter belongs to the first type of software or the second type of software according to the name of the software to be executed;
the processing unit is used for calling the analysis software corresponding to the name of the software to be executed, executing the preset execution command operation according to the name and format of the file to be executed and outputting an operation result; or (b)
Calling the analysis software corresponding to the name of the software to be executed, modifying the name and format of the file to be executed into the name and format of the preset execution file corresponding to the analysis software, executing the preset execution command operation, and outputting an operation result;
the first type of software is self-grinding type software, and the second type of software is commercial type software.
Preferably, the classification module further performs the following functions:
classifying the second type of software according to the execution rules, wherein the second type of software comprises first type of execution rule software and second type of execution rule software;
the judging unit also performs the following functions:
judging whether the software to be executed corresponding to the input parameter belongs to the first type of execution rule software or the second type of execution rule software according to the name of the software to be executed;
the processing unit also performs the following functions:
calling the analysis software corresponding to the first type of execution rule software name, modifying the file name and format to be executed of the first type of execution rule software into the preset execution file name and format corresponding to the first type of execution rule software, executing the preset execution command operation, and outputting an operation result; or (b)
And calling the analysis software corresponding to the second type of execution rule software name, modifying the file name and format to be executed of the second type of execution rule software into the preset execution file name and format corresponding to the second type of execution rule software, executing the preset execution command operation, and outputting an operation result.
Preferably, the executing the preset execution command operation by the second class of execution rule software includes: and analyzing the preset execution command and the format, filling interaction parameters into a pipeline file, and calling the pipeline command for calculation.
Preferably, each analysis software is provided with a unique preset output file name;
the judging unit also performs the following functions:
after the first type software and the second type software execute the preset execution command operation, judging whether the output file name accords with a preset output file name;
the processing module further includes:
an output unit that performs the following functions:
if the output file name accords with the preset output file name, directly outputting an operation result;
and if the output file name does not accord with the preset output file name, modifying the output file name into the preset output file name and then outputting the operation result.
Pre-selecting, wherein the preset software name of the first type of software is BIN.exe, the preset execution file name is input.ini, the preset output file name is output.res, and the format is zh and/or en;
the preset software name of the first type of execution rule software is COV.exe, the preset execution file name is fort.1, the preset output file name is output.res, and the format is cal;
the preset software name of the second type of execution rule software is SM.exe, the preset execution file name is sm-int, the preset output file name is output.res, and the format is zh and/or en.
A terminal comprises the nuclear fuel performance analysis software integrated device.
A readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the nuclear fuel performance analysis software integration method of the above claims.
The implementation of the invention has the following beneficial effects: the method and the device, the terminal and the readable storage medium for integrating the nuclear fuel performance analysis software solve the problems of integration and unified management of the nuclear fuel performance analysis software such as different development languages, input and output, interface commands and the like on the nuclear fuel performance analysis platform, improve the efficiency and quality of development, management and use of the nuclear fuel performance analysis platform, improve the quality and efficiency of nuclear fuel engineering design analysis, and better provide services for nuclear fuel research and development and nuclear power station support.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic diagram of a method of integrating nuclear fuel performance analysis software of the present invention;
FIG. 2 is a schematic diagram of the software implementation step S24 according to the present invention;
FIG. 3 is a schematic diagram of the components of the integrated device for analyzing the performance of nuclear fuel according to the present invention;
FIG. 4 is a schematic diagram of the components of the process module of the integrated device for analyzing the performance of nuclear fuel according to the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
As shown in fig. 1-2, the method for integrating the nuclear fuel performance analysis software of the invention comprises the following steps:
software classification step S1: classifying analysis software according to a file format, wherein the analysis software comprises first-class software and second-class software; each analysis software is provided with a unique preset software name, a preset execution file name and format and a preset execution command, and meanwhile, each analysis software is provided with a unique preset output file name.
The software executes step S2, comprising the steps of:
s21: receiving input parameters, wherein the input parameters comprise a to-be-executed software name, a to-be-executed file name and a format;
s22: judging whether the software to be executed corresponding to the input parameters belongs to the first type of software or the second type of software according to the names of the software to be executed;
when the software to be executed belongs to the first type of software, executing step S23; when the software to be executed belongs to the second type of software, executing step S24;
s23: calling analysis software corresponding to the name of the software to be executed, executing preset execution command operation according to the name and format of the file to be executed, and outputting an operation result;
s24: and calling analysis software corresponding to the name of the software to be executed, modifying the name and format of the file to be executed into the name and format of a preset execution file corresponding to the analysis software, executing preset execution command operation, and outputting an operation result.
Further, step S1 further includes:
the second type of software is also classified according to the execution rules, and comprises first type of execution rule software and second type of execution rule software;
step S24 includes:
s241: judging whether the software to be executed corresponding to the input parameter belongs to first-class execution rule software or second-class execution rule software according to the name of the software to be executed;
when the software to be executed belongs to the first type of execution rule software, executing step S2411; when the software to be executed belongs to the second type of execution rule software, executing step S2412;
s2411: when the software to be executed belongs to the first type of execution rule software, calling analysis software corresponding to the first type of execution rule software name, modifying the first type of execution rule software to be executed file name and format into preset execution file name and format corresponding to the first type of execution rule software, executing preset execution command operation, and outputting operation result;
s2412: when the software to be executed belongs to the second class of execution rule software, calling analysis software corresponding to the name of the second class of execution rule software, modifying the name and format of a file to be executed of the second class of execution rule software into a preset execution file name and format corresponding to the second class of execution rule software, executing preset execution command operation, and outputting an operation result.
In step S2412, "execute preset execution command operation" includes: analyzing the preset execution command and format, filling the interaction parameters into the pipeline file, and calling the pipeline command for calculation.
Further, the method for integrating the nuclear fuel performance analysis software further comprises the following steps:
after the first type software and the second type software execute the preset execution command operation, judging whether the output file name accords with the preset output file name;
if yes, directly outputting an operation result;
if not, modifying the output file name into a preset output file name and then outputting the operation result.
Nuclear fuel is a core component of a reactor, is a first safety barrier of the reactor, and the performance of the nuclear fuel directly affects the economy and safety of the operation of the reactor. Because nuclear fuel has complex performance in the reactor, nuclear fuel performance analysis software is generally adopted internationally to simulate the in-reactor behavior of the nuclear fuel, so as to achieve the aim of accurately predicting the performance of the nuclear fuel.
The nuclear fuel performance analysis software is not a single software, but a series of software, which is divided into three categories:
fuel rod class analysis software, including fuel rod performance analysis software, fuel rod cladding creep collapse analysis software, and fuel rod pellet-cladding mechanical interaction analysis software;
the fuel assembly type analysis software comprises fuel assembly compression plate spring mechanics analysis software, fuel assembly grid spring relaxation analysis software, control rod falling buffer analysis software, fuel assembly hydraulic lifting force analysis software and fuel assembly accident analysis software;
related component class analysis software, which includes control rod performance analysis software.
In this embodiment, according to the difference of input and output, calculation execution command and interface command of the nuclear fuel performance analysis software, the nuclear fuel performance analysis software is divided into two types for integration, including:
first type of software: the self-research software is independently researched and developed by a middle-and-broad-core group, and a unified calling interface design is adopted, so that the integration difficulty is low; the main characteristics are as follows: input and output, computation execution commands, and interface commands and formats are free;
the second type of software: commercial software, which is developed by an external unit, has various calling commands, generally does not grasp source codes and cannot directly adjust the calling mode, so that the integration difficulty is high; the main characteristics are as follows: the software for inputting and outputting, calculating the execution command and fixing the interface command is divided into two execution commands, namely a direct command type and an interactive command type.
In this embodiment, the first type of execution rule software is direct command type business software, and the second type of execution rule software is interactive command type business software.
In this embodiment, the preset software name of the first type of software is bin.exe, the preset execution file name is input.ini, the preset output file name is output.res, and the format is zh and/or en;
the preset software name of the first type of execution rule software is COV.exe, the preset execution file name is fort.1, the preset output file name is output.res, and the format is cal;
the second type of execution rule software has preset software names sm.exe, preset execution file names sm-int, preset output file names output.res, and formats zh and/or en. Wherein formats zh and en represent chinese and english, respectively.
It can be understood that the input parameters are received, including the name of the software to be executed, the name of the file to be executed and the format, and the software type is determined according to the name of the software to be executed in the input parameters.
Assume that the input parameters are a to-be-executed software name BIN, a to-be-executed file name input.ini, an output file name output.res and a format en; at this time, according to the name BIN of the software to be executed, judging that the software is self-grinding software, entering a self-grinding software module for calculation, and preparing a BIN software calculation command: bin.exe, input.ini, -o output.res, -lang en.
And preparing a BIN software calculation command, calling the command and transmitting the command to BIN software, so that the BIN software calculates according to the command requirement, the output file name of the operation result file is output.
Assume that the received input parameters are the name COV of the software to be executed, the name input. Ini of the file to be executed, the name output. Res of the output file, and the format en; then, according to the name COV of the software to be executed, the software is the commercial software, and the commercial software module is entered. Further, judging whether the name input.ini of the file to be executed in the input parameters is consistent with the name for 1 of the preset execution file in the COV software, if not, modifying the name input.ini of the file to be executed into the name for 1 of the preset execution file, and then judging whether the COV software is interactive software; if so, further judging whether the COV software is interactive software.
After the COV software is judged to be the direct command software, preparing a COV software calculation command: COV.exe, cal, then executing COV software calculation, judging whether the output file name OUTPUT.RES of the operation result is consistent with the preset input file name output.res, and if not, modifying the OUTPUT.RES into the output.res; if the result files are consistent, the operation result files are directly output.
Assume that the received input parameters are SM, file name input. Ini to be executed, output file name output. Res, and format en; at this time, according to the name SM of the software to be executed, it is determined that the software is commercial software, and the commercial software module will be entered.
Further, judging whether the name input.ini of the file to be executed in the input parameters is consistent with the preset executing file name SM-int of the SM software, if not, modifying the name input.ini of the file to be executed into SM-int, and then judging whether the SM software is interactive software; if so, it is further determined whether the SM software is interactive software.
After judging the SM software as interactive command software, preparing parameters needed by the SM software for interactive input, and then calling a pipeline command to execute calculation, wherein the processing of the interactive mode command is as follows: and analyzing the SM software interactive command and format, filling the interactive parameters into the pipeline file, and calling the pipeline command to operate. The complexity of the original interactive command and format of SM software is avoided, and the interactive efficiency and quality are improved.
After the operation is finished, judging whether the operation result file sm-out is consistent with a preset output file name output. Res, and if not, modifying the sm-out into the output. Res; if the result files are consistent, the operation result files are directly output.
As an example: the SM software interactive commands and formats are as follows: when prompting to input a software name, inputting SM.exe; when the first type of working condition needs to be calculated, 1 needs to be input; if the S1 and S2 data need to be fitted, Y needs to be input, and N does not need to be input; when only the falling time is needed to be calculated, 8t is input; when only the falling speed needs to be calculated, 8v is input; when different drop times and speeds need to be calculated, 8TV is input. When the second type of working condition needs to be calculated, 2 needs to be input; inputting 8F if the falling impact force needs to be calculated; when the calculation is completed once, the calculation is prompted to end or restarted, the OK is input to end the calculation, and ST is input.
The operation result files are stored under the appointed directory and are stored for the operator to check.
The present application also discloses a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the nuclear fuel performance analysis software integration method as described above.
As shown in fig. 3-4, the integrated device of the present embodiment comprises
The classification module 1 classifies analysis software according to file formats, and comprises first-class software and second-class software; each analysis software is provided with a unique preset software name, a preset execution file name and format and a preset execution command;
a processing module 2 comprising:
a receiving unit 21 that receives input parameters including a name of software to be executed, a name of a file to be executed, and a format;
the judging unit 22 judges that the software to be executed corresponding to the input parameter belongs to the first type of software or the second type of software according to the name of the software to be executed;
a processing unit 23 that invokes analysis software corresponding to the name of the software to be executed, executes a preset execution command operation according to the name and format of the file to be executed, and outputs an operation result; or (b)
And calling analysis software corresponding to the name of the software to be executed, modifying the name and format of the file to be executed into the name and format of a preset execution file corresponding to the analysis software, executing preset execution command operation, and outputting an operation result.
The classification module 1 also performs the following functions:
classifying the second type of software according to the execution rules, wherein the second type of software comprises first type of execution rule software and second type of execution rule software;
the judging unit 22 also performs the following functions:
judging whether the software to be executed corresponding to the input parameter belongs to first-class execution rule software or second-class execution rule software according to the name of the software to be executed;
the processing unit 23 also performs the following functions:
calling analysis software corresponding to the first type of execution rule software name, modifying the file name and format to be executed of the first type of execution rule software into a preset execution file name and format corresponding to the first type of execution rule software, executing preset execution command operation, and outputting an operation result; or (b)
And calling analysis software corresponding to the second class execution rule software name, modifying the file name and format to be executed of the second class execution rule software into a preset execution file name and format corresponding to the second class execution rule software, executing preset execution command operation, and outputting an operation result.
Further, the second type of execution rule software executing the preset execution command operation includes: analyzing the preset execution command and format, filling the interaction parameters into the pipeline file, and calling the pipeline command for calculation.
Further, each analysis software is provided with a unique preset output file name;
the judging unit 22 also performs the following functions:
after the first type software and the second type software execute the preset execution command operation, judging whether the output file name accords with the preset output file name;
the processing module 2 further comprises:
an output unit 24 that performs the following functions:
if the output file name accords with the preset output file name, directly outputting an operation result;
if the output file name does not accord with the preset output file name, the output file name is modified into the preset output file name, and then the operation result is output.
Nuclear fuel is a core component of a reactor, is a first safety barrier of the reactor, and the performance of the nuclear fuel directly affects the economy and safety of the operation of the reactor. Because nuclear fuel has complex performance in the reactor, nuclear fuel performance analysis software is generally adopted internationally to simulate the in-reactor behavior of the nuclear fuel, so as to achieve the aim of accurately predicting the performance of the nuclear fuel.
The nuclear fuel performance analysis software is not a single software, but a series of software, which is divided into three categories:
fuel rod class analysis software, including fuel rod performance analysis software, fuel rod cladding creep collapse analysis software, and fuel rod pellet-cladding mechanical interaction analysis software;
the fuel assembly type analysis software comprises fuel assembly compression plate spring mechanics analysis software, fuel assembly grid spring relaxation analysis software, control rod falling buffer analysis software, fuel assembly hydraulic lifting force analysis software and fuel assembly accident analysis software;
related component class analysis software, which includes control rod performance analysis software.
In this embodiment, according to the difference of input and output, calculation execution command and interface command of the nuclear fuel performance analysis software, the nuclear fuel performance analysis software is divided into two types for integration, including:
first type of software: the self-research software is independently researched and developed by a middle-and-broad-core group, and a unified calling interface design is adopted, so that the integration difficulty is low; the main characteristics are as follows: input and output, computation execution commands, and interface commands and formats are free;
the second type of software: commercial software, which is developed by an external unit, has various calling commands, generally does not grasp source codes and cannot directly adjust the calling mode, so that the integration difficulty is high; the main characteristics are as follows: the software for inputting and outputting, calculating the execution command and fixing the interface command is divided into two execution commands, namely a direct command type and an interactive command type.
In this embodiment, the first type of execution rule software is direct command type business software, and the second type of execution rule software is interactive command type business software.
In this embodiment, the preset software name of the first type of software is bin.exe, the preset execution file name is input.ini, the preset output file name is output.res, and the format is zh and/or en;
the preset software name of the first type of execution rule software is COV.exe, the preset execution file name is fort.1, the preset output file name is output.res, and the format is cal;
the second type of execution rule software has preset software names sm.exe, preset execution file names sm-int, preset output file names output.res, and formats zh and/or en. Wherein formats zh and en represent chinese and english, respectively.
It can be understood that the classification module 1 classifies the analysis software according to the file format, and includes a first type of software and a second type of software; each analysis software is provided with a unique preset software name, a preset execution file name and format and a preset execution command.
Meanwhile, the classification module 1 classifies the second type of software into the first type of execution rule software and the second type of execution rule software according to the execution rules.
And receiving input parameters including the name of the software to be executed, the name of the file to be executed and the format, and judging the type of the software according to the name of the software to be executed in the input parameters.
Assume that the input parameters received by the receiving unit 21 are a software name BIN to be executed, a file name input.ini to be executed, an output file name output.res, and a format en; at this time, the judging unit 22 judges that the software is self-grinding software according to the name BIN of the software to be executed, and the processing unit 23 calls the self-grinding software module to calculate and prepares a BIN software calculation command: bin.exe, input.ini, -o output.res, -lang en.
The BIN software calculation command is prepared, the command is called and transmitted to the BIN software, so that the BIN software calculates according to the command requirement, and an operation calculation file is output by the output unit 24, the output file name of the operation result file is output.
Let the input parameters received by the receiving unit 21 be the software name COV to be executed, the file name input.ini to be executed, the output file name output.res, and the format en; the judging unit 22 at this time outputs that the software is commercial class software according to the name COV of the software to be executed, and the processing unit 23 invokes the commercial class software module to perform calculation. Further, the judging unit 22 judges whether the name input.ini of the file to be executed in the input parameter is consistent with the preset execution file name for.1 in the COV software, if not, the processing unit 23 modifies the name input.ini of the file to be executed into the preset execution file name for.1, and the judging unit 22 further judges whether the COV software is interactive software; if so, further judging whether the COV software is interactive software.
After the judging unit 22 judges that the COV software is the direct command software, the processing unit 23 prepares the COV software calculation command: COV.exe, cal, then executing COV software calculation, judging whether the output file name output.RES of the operation result is consistent with the preset input file name output.res by the judging unit 22, if not, modifying the output.RES into the output.res by the processing unit 23, and then outputting the operation result file by the output unit 24; if the result file matches, the operation result file is directly outputted by the output unit 24.
Assume that the input parameters received by the receiving unit 21 are the file name input.ini to be executed, the output file name output.res, and the format en; at this time, the judging unit 22 judges that the software is commercial type software according to the name SM of the software to be executed, and the processing unit 23 invokes the commercial type software module to perform calculation.
Further, the judging unit 22 judges whether the name input of the file to be executed in the input parameter is consistent with the SM software preset execution file name SM-int, if not, the processing unit 23 modifies the name input of the file to be executed into SM-int, and then the judging unit 22 further judges whether the SM software is interactive software; if so, it is further determined whether the SM software is interactive software.
After the judging unit 22 judges that the SM software is interactive command software, the processing unit 23 prepares parameters needed by the interactive input of the SM software, and then invokes the pipeline command to execute calculation, and processes the interactive mode command as follows: and analyzing the SM software interactive command and format, filling the interactive parameters into the pipeline file, and calling the pipeline command to operate. The complexity of the original interactive command and format of SM software is avoided, and the interactive efficiency and quality are improved.
After the operation is completed, the judging unit 22 judges whether the operation result file sm-out is consistent with the preset output file name output. Res, if not, the processing unit 23 modifies the sm-out into the output file, and then the output unit 24 outputs the operation result file; if the result file matches, the operation result file is directly outputted by the output unit 24.
As an example: the SM software interactive commands and formats are as follows: when prompting to input a software name, inputting SM.exe; when the first type of working condition needs to be calculated, 1 needs to be input; if the S1 and S2 data need to be fitted, Y needs to be input, and N does not need to be input; when only the falling time is needed to be calculated, 8t is input; when only the falling speed needs to be calculated, 8v is input; when different drop times and speeds need to be calculated, 8TV is input. When the second type of working condition needs to be calculated, 2 needs to be input; inputting 8F if the falling impact force needs to be calculated; when the calculation is completed once, the calculation is prompted to end or restarted, the OK is input to end the calculation, and ST is input.
The application also discloses a terminal which comprises the nuclear fuel performance analysis software integration device.
The method and the device, the terminal and the readable storage medium for integrating the nuclear fuel performance analysis software solve the problems of integration and unified management of the nuclear fuel performance analysis software such as different development languages, input and output, interface commands and the like on the nuclear fuel performance analysis platform, improve the efficiency and quality of development, management and use of the nuclear fuel performance analysis platform, improve the quality and efficiency of nuclear fuel engineering design analysis, and better provide services for nuclear fuel research and development and nuclear power station support.
It is to be understood that the above examples only represent preferred embodiments of the present invention, which are described in more detail and are not to be construed as limiting the scope of the invention; it should be noted that, for a person skilled in the art, the above technical features can be freely combined, and several variations and modifications can be made without departing from the scope of the invention; therefore, all changes and modifications that come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims (12)

1. The nuclear fuel performance analysis software integration method is characterized by comprising the following steps:
software classification step S1: classifying analysis software according to a file format, wherein the analysis software comprises first-class software and second-class software; each analysis software is provided with a unique preset software name, a preset execution file name and format and a preset execution command;
the software executes step S2, comprising the steps of:
s21: receiving input parameters, wherein the input parameters comprise a to-be-executed software name, a to-be-executed file name and a format;
s22: judging whether the software to be executed corresponding to the input parameter belongs to the first type of software or the second type of software according to the name of the software to be executed;
when the software to be executed belongs to the first type of software, executing a step S23; when the software to be executed belongs to the second type of software, executing a step S24;
s23: calling the analysis software corresponding to the name of the software to be executed, executing the preset execution command operation according to the name and format of the file to be executed, and outputting an operation result;
s24: calling the analysis software corresponding to the name of the software to be executed, modifying the name and format of the file to be executed into the name and format of the preset execution file corresponding to the analysis software, executing the preset execution command operation, and outputting an operation result;
the first type of software is self-grinding type software, and the second type of software is commercial type software.
2. The method of integrating nuclear fuel performance analysis software according to claim 1, wherein the step S1 further comprises:
the second type of software is also classified according to the execution rules, and comprises first type of execution rule software and second type of execution rule software;
the step S24 includes:
s241: judging whether the software to be executed corresponding to the input parameter belongs to the first type of execution rule software or the second type of execution rule software according to the name of the software to be executed;
when the software to be executed belongs to the first type of execution rule software, executing step S2411; when the software to be executed belongs to the second type of execution rule software, executing step S2412;
s2411: when the software to be executed belongs to the first type of execution rule software, calling the analysis software corresponding to the first type of execution rule software name, modifying the first type of execution rule software to be executed file name and format into the preset execution file name and format corresponding to the first type of execution rule software, executing the preset execution command operation, and outputting an operation result;
s2412: and when the software to be executed belongs to the second type of execution rule software, calling the analysis software corresponding to the second type of execution rule software name, modifying the name and format of a file to be executed of the second type of execution rule software into the name and format of the preset execution file corresponding to the second type of execution rule software, executing the preset execution command operation, and outputting an operation result.
3. The method according to claim 2, wherein the executing the preset execution command operation in step S2412 includes:
and analyzing the preset execution command and the format, filling interaction parameters into a pipeline file, and calling the pipeline command for calculation.
4. The method of claim 2, wherein each of the analysis software is provided with a unique preset output file name;
after the first type software and the second type software execute the preset execution command operation, judging whether the output file name accords with a preset output file name;
if yes, directly outputting an operation result;
if not, modifying the output file name into a preset output file name and then outputting the operation result.
5. The method for integrating the nuclear fuel performance analysis software according to claim 4, wherein the first type of software has a preset software name of bin.exe, a preset execution file name of input.ini, a preset output file name of output.res, and a format of zh and/or en;
the preset software name of the first type of execution rule software is COV.exe, the preset execution file name is fort.1, the preset output file name is output.res, and the format is cal;
the preset software name of the second type of execution rule software is SM.exe, the preset execution file name is sm-int, the preset output file name is output.res, and the format is zh and/or en.
6. A nuclear fuel performance analysis software integration device, comprising
The classification module classifies the analysis software according to the file format and comprises first-class software and second-class software; each analysis software is provided with a unique preset software name, a preset execution file name and format and a preset execution command;
a processing module, comprising:
a receiving unit that receives input parameters including a name of software to be executed, a name of a file to be executed, and a format;
the judging unit judges that the software to be executed corresponding to the input parameter belongs to the first type of software or the second type of software according to the name of the software to be executed;
the processing unit is used for calling the analysis software corresponding to the name of the software to be executed, executing the preset execution command operation according to the name and format of the file to be executed and outputting an operation result; or (b)
Calling the analysis software corresponding to the name of the software to be executed, modifying the name and format of the file to be executed into the name and format of the preset execution file corresponding to the analysis software, executing the preset execution command operation, and outputting an operation result;
the first type of software is self-grinding type software, and the second type of software is commercial type software.
7. The nuclear fuel performance analysis software integration apparatus of claim 6, wherein the classification module further performs the following functions:
classifying the second type of software according to the execution rules, wherein the second type of software comprises first type of execution rule software and second type of execution rule software;
the judging unit also performs the following functions:
judging whether the software to be executed corresponding to the input parameter belongs to the first type of execution rule software or the second type of execution rule software according to the name of the software to be executed;
the processing unit also performs the following functions:
calling the analysis software corresponding to the first type of execution rule software name, modifying the file name and format to be executed of the first type of execution rule software into the preset execution file name and format corresponding to the first type of execution rule software, executing the preset execution command operation, and outputting an operation result; or (b)
And calling the analysis software corresponding to the second type of execution rule software name, modifying the file name and format to be executed of the second type of execution rule software into the preset execution file name and format corresponding to the second type of execution rule software, executing the preset execution command operation, and outputting an operation result.
8. The integrated nuclear fuel performance analysis software apparatus of claim 7, wherein the second type of execution rule software executing the preset execution command operation comprises: and analyzing the preset execution command and the format, filling interaction parameters into a pipeline file, and calling the pipeline command for calculation.
9. The integrated device of claim 7, wherein each of said analysis software is provided with a unique preset output file name;
the judging unit also performs the following functions:
after the first type software and the second type software execute the preset execution command operation, judging whether the output file name accords with a preset output file name;
the processing module further includes:
an output unit that performs the following functions:
if the output file name accords with the preset output file name, directly outputting an operation result;
and if the output file name does not accord with the preset output file name, modifying the output file name into the preset output file name and then outputting the operation result.
10. The integrated device of claim 9, wherein the first type of software has a preset software name bin.exe, a preset execution file name input.ini, a preset output file name output.res, and a format zh and/or en;
the preset software name of the first type of execution rule software is COV.exe, the preset execution file name is fort.1, the preset output file name is output.res, and the format is cal;
the preset software name of the second type of execution rule software is SM.exe, the preset execution file name is sm-int, the preset output file name is output.res, and the format is zh and/or en.
11. A terminal comprising a nuclear fuel performance analysis software integration apparatus according to any one of claims 6-9.
12. A readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the nuclear fuel performance analysis software integration method of any one of claims 1-5.
CN202010265762.XA 2020-04-07 2020-04-07 Nuclear fuel performance analysis software integration method and device, terminal and readable storage medium Active CN111580895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010265762.XA CN111580895B (en) 2020-04-07 2020-04-07 Nuclear fuel performance analysis software integration method and device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010265762.XA CN111580895B (en) 2020-04-07 2020-04-07 Nuclear fuel performance analysis software integration method and device, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN111580895A CN111580895A (en) 2020-08-25
CN111580895B true CN111580895B (en) 2023-06-09

Family

ID=72111509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010265762.XA Active CN111580895B (en) 2020-04-07 2020-04-07 Nuclear fuel performance analysis software integration method and device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN111580895B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252374A (en) * 2014-10-17 2014-12-31 北京奇虎科技有限公司 Program control method and device on basis of architecture change
CN105183649A (en) * 2015-09-08 2015-12-23 武汉虹信通信技术有限责任公司 Automatic telnet method and system used for automatic testing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007113809A2 (en) * 2006-03-30 2007-10-11 Saban Asher S Protecting children and passengers with respect to a vehicle

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252374A (en) * 2014-10-17 2014-12-31 北京奇虎科技有限公司 Program control method and device on basis of architecture change
CN105183649A (en) * 2015-09-08 2015-12-23 武汉虹信通信技术有限责任公司 Automatic telnet method and system used for automatic testing

Also Published As

Publication number Publication date
CN111580895A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
US20120109618A1 (en) Accident parameter identification method for severe accidents
CN102446090B (en) Method and device for automatically generating test script
CN111581920A (en) Document conversion method, device, equipment and computer storage medium
CN110109658B (en) ROS code generator based on formalized model and code generation method
CN109977012B (en) Joint debugging test method, device, equipment and computer readable storage medium of system
CN106325860B (en) A kind of automated maintenance method of space flight embedded software interface data
CN114138674A (en) Automatic testing method and device and computer equipment
CN111309751A (en) Big data processing method and device
US11935664B2 (en) Dynamic characteristic analysis method of DET and RELAP5 coupling based on universal instrumental variable method
CN114357916B (en) Chip FPGA prototype verification method and system
CN111103861A (en) Method and apparatus for developing an integrated system based on vehicle after-market diagnostic needs
CN111580895B (en) Nuclear fuel performance analysis software integration method and device, terminal and readable storage medium
CN115115048A (en) Model conversion method, device, computer equipment and storage medium
CN112633502B (en) Cross-platform execution method and device of deep learning model and electronic equipment
CN112084735B (en) FPGA cutting method and system based on RTL source code
Renault et al. Adapting models to model checkers, a case study: Analysing aadl using time or colored petri nets
CN102129483A (en) Method for automatically generating test vector of design rule checking (DRC) rule file
JP2007535013A (en) Computer program design
WO2023103574A1 (en) Unit test method and apparatus, electronic device, storage medium, and program
CN111427582A (en) Management method, device and equipment of RT L code and computer readable storage medium
CN109545285A (en) A kind of knowledge application method of nuclear reactor digital experiment platform
CN112559359B (en) S-based 2 ML security critical system analysis and verification method
CN112163270B (en) CFD automatic modeling and analyzing system and method based on ANSA and StarCCM + platform
CN114373563A (en) Design method of nuclear power plant accident handling guide rule man-machine interface
Popić et al. The benefits of the coding standards enforcement and it's influence on the developers' coding behaviour: A case study on two small projects

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