CN103559071A - Method for integrating engineering analysis software in nuclear power simulation system and nuclear power simulation system - Google Patents
Method for integrating engineering analysis software in nuclear power simulation system and nuclear power simulation system Download PDFInfo
- Publication number
- CN103559071A CN103559071A CN201310476399.6A CN201310476399A CN103559071A CN 103559071 A CN103559071 A CN 103559071A CN 201310476399 A CN201310476399 A CN 201310476399A CN 103559071 A CN103559071 A CN 103559071A
- Authority
- CN
- China
- Prior art keywords
- engineering analysis
- analysis software
- nuclear power
- analogue system
- power analogue
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The invention discloses a method for integrating engineering analysis software in a nuclear power simulation system. The method is characterized by comprising the following steps of creating a data exchange mechanism, to be more specific, establishing an interface variable of the engineering analysis software and a first call function of the interface variable, and performing data exchange through the interface variable; creating a synchronous operation mechanism: establishing a marking variable, a calling period and a second calling function for calling the engineering analysis software, and judging whether calling the engineering analysis software is performed for the first time or not to enter an engineering analysis calculation stage. The invention further discloses the nuclear power simulation system. By means of the method for integrating the engineering analysis software in the nuclear power simulation system and the nuclear power simulation system, accuracy and credibility of nuclear power simulation can be improved.
Description
Technical field
The present invention relates to nuclear power emulation field, more particularly, relate to a kind of method and nuclear power analogue system of nuclear power analogue system integration engineering analysis software.
Background technology
In nuclear power station emulation, nuclear power analogue system self can be carried out engineering analysis calculating, still, nuclear power analogue system analytical calculation program in precision and the degree of depth often not as the engineering analysis program of independent running.For example, self includes thermal-hydraulic calculation procedure conventionally nuclear power analogue system, still, and for generally acknowledged, the special RELAP5 thermal-hydraulic software for calculation of industry, thermal technology's hydraulic calculation program in nuclear power analogue system, is still having some gaps aspect computer capacity and computational accuracy.
If use RELAP5 thermal-hydraulic software for calculation to carry out the simulation calculation aspect hot-working hydraulic characteristic in nuclear power analogue system, free problem synchronous, that control the aspects such as synchronous and exchanges data and reset operation needs to coordinate, therefore adopt existing engineering analysis software (as: RELAP5 thermal-hydraulic software for calculation) to carry out simulation calculation in nuclear power analogue system, has certain technical difficulty.
Summary of the invention
The present invention is directed to the problem that existing engineering analysis software application runs in nuclear power emulation solution is provided, these problems comprise: computing time synchronous, control procedure synchronous, data-interface, reset operation function, provides a kind of method and nuclear power analogue system of nuclear power analogue system integration engineering analysis software.
One of the technical solution adopted for the present invention to solve the technical problems is: a kind of method that nuclear power analogue system integration engineering analysis software is provided, comprise the following steps: create data exchange mechanism, comprise following sub-step: S11: the interface variables of setting up described engineering analysis software in the shared drive district of described nuclear power analogue system; S12: set up the first call function that visits described interface variables for described engineering analysis software; S13: described engineering analysis software is accessed described interface variables by described the first call function and read and write data in described interface variables, described nuclear power analogue system is carried out exchanges data by reading and writing data from described interface variables with described engineering analysis software; Create synchronization, comprise following sub-step: S21: set up for distinguishing initialization calculation stages and the engineering analysis of described engineering analysis software and calculate the marking variable in stage, and set up that described nuclear power analogue system is called the cycle of calling of described engineering analysis software and for calling the second call function of described engineering analysis software; S22: call the cycle described, by described the second call function, call described engineering analysis software, and determine whether to call first described engineering analysis software, when being while calling first described engineering analysis software, by described marking variable, enter described initialization calculation stages, otherwise enter described engineering analysis by described marking variable, calculate the stage; S23: enter described engineering analysis calculating during the stage, record the initial problem time; And after finishing, the calculating of each step-length records the current problem time, described in whether the difference that judges described current problem time and described initial problem time is more than or equal to, call the cycle, as call the cycle as described in being more than or equal to, described nuclear power analogue system is carried out exchanges data by described data exchange mechanism and described engineering analysis software, and exit described engineering analysis software, and wait for that the next one calls the cycle, otherwise, proceed the calculating of next step-length.
The method of nuclear power analogue system integration engineering analysis software of the present invention, also comprise: create and freeze controlling mechanism, for judging that before entering described initialization calculation stages whether described nuclear power analogue system is in frozen state, and when described nuclear power analogue system when freezing bypass this call the engineering analysis calculating work in the cycle.
The method of nuclear power analogue system integration engineering analysis software of the present invention, described engineering analysis software is RELAP5 thermal-hydraulic software for calculation.
The method of nuclear power analogue system integration engineering analysis software of the present invention, in described synchronization, by automated manner or the data of restarting of preserving described engineering analysis software according to user instruction, preserve the corresponding relation of restarting described in correspondence between the number of restarting of data and the original state of described nuclear power analogue system number simultaneously, and in independent mapped file, preserve described corresponding relation.
The method of nuclear power analogue system integration engineering analysis software of the present invention, also comprises and creates reset operating mechanism, comprises following sub-step: S31: when described nuclear power analogue system resets operation, unload described engineering analysis software; S32: obtain the number of restarting of the described engineering analysis software number corresponding with the original state of described nuclear power analogue system by described mapped file, and write in the input file of described engineering analysis software; S33: described engineering analysis software restarts and reads described input file, and according to the number of restarting described in described input file, reads and restarts the initialization of data while restarting described in corresponding.
Two of the technical solution adopted for the present invention to solve the technical problems is: a kind of nuclear power analogue system is provided, comprise: data exchange module, for set up the interface variables of described engineering analysis software in the shared drive district of described nuclear power analogue system, and set up the first call function that visits described interface variables for described engineering analysis software, also for controlling described engineering analysis software, by described the first call function, in described interface variables, read and write data, also for by reading and writing data to realize described nuclear power analogue system from described interface variables and described engineering analysis software carries out exchanges data, synchronous operation module, for setting up, distinguish initialization calculation stages and the engineering analysis of described engineering analysis software and calculate the marking variable in stage, and set up that described nuclear power analogue system is called the cycle of calling of described engineering analysis software and for calling the second call function of described engineering analysis software, also for calling in the cycle described, by described the second call function, call described engineering analysis software, and determine whether to call first described engineering analysis software, when being while calling first described engineering analysis software, by described marking variable, control described engineering analysis software and enter described initialization calculation stages, otherwise by described marking variable, control described engineering analysis software and enter the described engineering analysis calculating stage, when entering described engineering analysis calculating during the stage, also for recording the initial problem time, and after finishing, the calculating of each step-length records the current problem time, described in whether the difference that judges described current problem time and described initial problem time is more than or equal to, call the cycle, as call the cycle as described in being more than or equal to, by described data exchange module and described engineering analysis software, carry out exchanges data, and exit described engineering analysis software, and wait for that the next one calls the cycle, otherwise, proceed the calculating of next step-length.
Nuclear power analogue system of the present invention, also comprises: freeze control module, for judging at the described engineering analysis software of control whether described nuclear power analogue system is freezed, and call the cycle described in exiting when described nuclear power analogue system is freezed.
Nuclear power analogue system of the present invention, described engineering analysis software is RELAP5 thermal-hydraulic software for calculation.
Nuclear power analogue system of the present invention, synchronous operation module is also for by automated manner or the data of restarting of preserving described engineering analysis software according to user instruction, preserve the corresponding relation of restarting described in correspondence between the number of restarting of data and the original state of described nuclear power analogue system number simultaneously, and in independent mapped file, preserve described corresponding relation.
Nuclear power analogue system of the present invention, also comprise: restart control module, while moving for resetting when described nuclear power analogue system, unload described engineering analysis software, and the number of restarting of obtaining the described engineering analysis software number corresponding with the original state of described nuclear power analogue system by described mapped file, and the described number of restarting is write in the input file of described engineering analysis software, also for controlling described engineering analysis software, restart and read described input file, and read and restart the initialization of data while restarting described in corresponding according to the number of restarting described in described input file.
Implement technical scheme of the present invention, there is following beneficial effect: solved the problem of nuclear power analogue system integration engineering analysis software, made nuclear power analogue system can move engineering analysis software and carry out nuclear power emulation, improved precision and the degree of depth of nuclear power emulation.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the process flow diagram of engineering analysis software in the method for nuclear power analogue system integration engineering analysis software of the present invention;
Fig. 2 is the process flow diagram of method one embodiment of nuclear power analogue system integration engineering analysis software of the present invention;
Fig. 3 is the process flow diagram of another embodiment of method of nuclear power analogue system integration engineering analysis software of the present invention;
Fig. 4 is the process flow diagram of another embodiment of method of nuclear power analogue system integration engineering analysis software of the present invention;
Fig. 5 is the process flow diagram of another embodiment of method of nuclear power analogue system integration engineering analysis software of the present invention;
Fig. 6 is the process flow diagram of another embodiment of method of nuclear power analogue system integration engineering analysis software of the present invention;
Fig. 7 is the process flow diagram of another embodiment of method of nuclear power analogue system integration engineering analysis software of the present invention;
Fig. 8 is the functional block diagram of nuclear power analogue system one embodiment of the present invention;
Fig. 9 is the functional block diagram of another embodiment of nuclear power analogue system of the present invention;
Figure 10 is the functional block diagram of another embodiment of nuclear power analogue system of the present invention.
Embodiment
For technical characterictic of the present invention, object and effect being had more clearly, understand, now contrast accompanying drawing and describe the specific embodiment of the present invention in detail.
Fig. 1 is the process flow diagram of engineering analysis software in the present invention.As shown in Figure 1, comprising:
Step S100: engineering analysis software enters initialization calculation stages, wherein, initial phase specifically comprises reading to be inputted data and carries out stable state calculating.
Step S102: engineering analysis software enters engineering analysis and calculates the stage, described engineering analysis is calculated and is comprised that relatively determining whether between data input, simulation time and problem time finish engineering analysis and calculate, select to calculate step-length, carry out transient state calculating, judge whether result of calculation restrains concrete calculation procedures such as determining whether double counting and calculating step-length, data output.
The structure of engineering analysis software is carried out to the desired control of simulation calculation according to analogue system and require to carry out suitability modification.By the transformation to the encapsulation of the entrance function of engineering analysis software and inner structure, set up the engineering analysis software that can be called by nuclear power analogue system, realized by nuclear power analogue system to the loading of engineering analysis software and unloading, freeze and continue operation control requirement.Process below in conjunction with accompanying drawing explanation nuclear power analogue system integration engineering analysis software.
Fig. 2 is the process flow diagram of method one embodiment of nuclear power analogue system integration engineering analysis software of the present invention, specifically for explanation, creates data exchange mechanism, comprises the following steps:
Step S11: the interface variables of setting up described engineering analysis software in the shared drive district of nuclear power analogue system.
Step S12: set up the first call function that visits described interface variables for described engineering analysis software.
Step S13: described engineering analysis software is accessed described interface variables by described the first call function and read and write data in described interface variables, described nuclear power analogue system is carried out exchanges data by reading and writing data from described interface variables with described engineering analysis software.
Fig. 3 is the process flow diagram of method one embodiment of nuclear power analogue system integration engineering analysis software of the present invention, specifically for explanation, sets up synchronization, comprises the following steps:
Step S21: set up for distinguishing initialization calculation stages and the engineering analysis of described engineering analysis software and calculate the marking variable in stage, and set up that described nuclear power analogue system is called the cycle of calling of described engineering analysis software and for calling the second call function of described engineering analysis software.
Step S22: call the cycle described, by described the second call function, call described engineering analysis software, and determine whether to call first described engineering analysis software, when being while calling first described engineering analysis software, by described marking variable, enter described initialization calculation stages, otherwise enter described engineering analysis by described marking variable, calculate the stage.Described engineering analysis software repeatably, the continuous method of operation.Due to the execution that need to periodically circulate of nuclear power analogue system, this should realize the recursive call of nuclear power analogue system to engineering analysis software, guarantees that again this computation process of calling is to complete on the basis of the result of calculation called in last time.In one embodiment of the present invention, be according to the original design feature of engineering analysis software, they have been divided into initialization calculation stages and engineering analysis calculating stage, by increasing marking variable, control when calling at every turn, whether carry out initialization calculation stages.That is: only have engineering analysis software calling first after loading in, just carry out initialization calculating, and in follow-up calling, no longer carry out initialization calculating, and only performance of work analytical calculation.
Step S23: enter described engineering analysis calculating during the stage, record the initial problem time; And after finishing, the calculating of each step-length records the current problem time, described in whether the difference that judges described current problem time and described initial problem time is more than or equal to, call the cycle, as call the cycle as described in being more than or equal to, described nuclear power analogue system is carried out exchanges data by described data exchange mechanism and described engineering analysis software, and exit described engineering analysis software, and wait for that the next one calls the cycle, otherwise, proceed the calculating of next step-length.
Fig. 4 is the process flow diagram of method one embodiment of nuclear power analogue system integration engineering analysis software.The RELAP5 thermal-hydraulic software for calculation of one of 3keymaster nuclear power analogue system and engineering analysis software of take is example, the method that illustrates 3keymaster nuclear power analogue system integrated RELAP5 thermal-hydraulic software for calculation in an embodiment of the present invention and carry out nuclear power emulation, concrete steps are as follows:.
Step S1:3keymaster nuclear power analogue system is set up the call function that calls RELAP5 thermal-hydraulic software for calculation, and set up interface variables in the shared drive district of 3keymaster nuclear power analogue system, determine and call the cycle of calling of RELAP5 thermal-hydraulic software for calculation and set up for distinguishing initialization calculation stages and the marking variable in cycle calculations stage of described thermal-hydraulic software for calculation; Wherein, 3keymaster nuclear power analogue system, after nuclear power emulation starts, can once be called RELAP5 thermal-hydraulic software for calculation every a period of time at each, and this time interval is calling the cycle of RELAP5 thermal-hydraulic software for calculation; In addition,, by above-mentioned marking variable, 3keymaster nuclear power analogue system can select the initialization calculation stages that enters RELAP5 thermal-hydraulic software for calculation still to enter the cycle calculations stage.
Step S2: when entering one while calling the cycle, the call function that 3keymaster nuclear power analogue system has created calls RELAP5 thermal-hydraulic software for calculation, now, also need to determine whether to call first RELAP5 thermal-hydraulic software for calculation, when being, while calling first RELAP5 thermal-hydraulic software for calculation, by the recognition reaction of described marking variable, enters step S3, if not calling first, enter step S4.
Step S3:RELAP5 thermal-hydraulic software for calculation enters initialization calculation stages, and described initialization calculation stages is identical with step S100 in Fig. 1, repeats no more herein.
Step S4:3keymaster nuclear power analogue system is carried out exchanges data by interface variables and the RELAP5 thermal-hydraulic software for calculation of setting up in shared drive district, and records the initial problem time.
Step S5:RELAP5 thermal-hydraulic software for calculation enters thermal-hydraulic calculation stages, carries out the calculating of a step-length, and this computation process is identical with step S102 in Fig. 1, repeats no more herein.
Step S6: judge this step calculating result whether effectively (convergence) decide follow-up work, if effectively, record the current problem time that RELAP5 thermal-hydraulic software for calculation completes, whether the difference that judges current problem time and initial problem time is more than or equal to the cycle of calling, as be more than or equal to the cycle of calling, enter step S7, otherwise, enter described step S5, then carry out the calculating of next step-length; If invalid, to retreat previous step long for problem time, after step-length is reduced by half, reenters described step S5, carries out cycle calculations.
Step S7:3keymaster nuclear power analogue system is carried out exchanges data again by described interface variables and RELAP5 thermal-hydraulic software for calculation.
Step S8: so far, all evaluation works in this cycle finish, and exit RELAP5 thermal-hydraulic software for calculation, and wait for when the next one cycle of calling arrives, step S2 entered.
In the embodiment of the following stated, the RELAP5 thermal-hydraulic software for calculation of take describes as example, but the present invention is not limited to RELAP5 thermal-hydraulic software for calculation, also can use other engineering analysis software.In the present embodiment, because RELAP5 thermal-hydraulic software for calculation calculates step-length and the cycle of calling may be inconsistent, and it calculates step-length and can change in computation process, so need to record initial problem time and current problem time, to realize synchronizeing of RELAP5 thermal-hydraulic software for calculation and 3keymaster nuclear power analogue system operation time.For example, suppose that the cycle of calling is 50 milliseconds, the initial problem time of recording in step S4 is 120 milliseconds, the current problem time of recording in step S6 is if 140 milliseconds, because the difference of current problem time and initial problem time is 20 milliseconds of 50 milliseconds of being less than the cycle of calling, so repeating step S5, carries out thermal-hydraulic calculation stages again; After thermal-hydraulic calculation stages completes, when if current problem time is 170 milliseconds, so, because the difference of current problem time and initial problem time is 50 milliseconds of 50 milliseconds of equaling the cycle of calling, represent that an evaluation work that calls the cycle completes, start to carry out exchanges data and exit RELAP5 thermal-hydraulic software for calculation.But, now can't enter the next one and call the cycle, because RELAP5 thermal-hydraulic software for calculation only actual computation 20 milliseconds of calculating that just complete 50 milliseconds of problem times, so, still need and wait for that again the time of 30 milliseconds calls time corresponding to cycle and carry out next round after finishing again and call calling of cycle to current, thereby realized synchronizeing of RELAP5 thermal-hydraulic software for calculation and 3keymaster nuclear power analogue system simulation time.
In addition, RELAP5 thermal-hydraulic software for calculation is to adopt Fortran high-level programming language to write, data are wherein all to preserve in static mode, so, although 3keymaster nuclear power analogue system is repeatedly called RELAP5 thermal-hydraulic software for calculation by the division cycle of calling, but the data and the built-in variable that in the time of can inheriting last being called when RELAP5 thermal-hydraulic software for calculation is called at every turn, produce, thereby can guarantee that RELAP5 thermal-hydraulic software for calculation calls the continuity of calculating between the cycle in difference, avoided the distortion of result of calculation.
In an embodiment of the present invention, nuclear power analogue system also creates freezes controlling mechanism, for judging whether described nuclear power analogue system is in frozen state controlling described engineering analysis software, and be in frozen state when described nuclear power analogue system, its cycle calculations of bypass.
In an embodiment of the present invention, in synchronization, nuclear power analogue system can be by automated manner or the data of restarting of preserving described engineering analysis software according to user instruction, preserve the corresponding relation of restarting described in correspondence between the number of restarting of data and the original state of described nuclear power analogue system number simultaneously, and in independent mapped file, preserve described corresponding relation.Under the control of nuclear power analogue system, engineering analysis software has been realized (periodically) and the manual function of restarting data of preserving automatically.Automatically hold function has been realized the control of nuclear power analogue system to the time interval of data preservation on the original function of engineering analysis software basis.Manual hold function, according to the call format of restarting data, has completed according to user's demand and has preserved the object of restarting data.
Fig. 5 is the process flow diagram of another embodiment of method of nuclear power analogue system integration engineering analysis software of the present invention.Wherein, nuclear power analogue system is set up and is restarted operating mechanism, comprises the following steps:
Step S31: when described nuclear power analogue system resets operation, unload described engineering analysis software.
Step S32: obtain the number of restarting of the described engineering analysis software number corresponding with the original state of described nuclear power analogue system by described mapped file, and write in the input file of described engineering analysis software.
Step S33: described engineering analysis software restarts and reads described input file, and read described in corresponding and restart data, the initialization while restarting according to the number of restarting described in described input file.
Refer to Fig. 6 and Fig. 7, the process flow diagram that be in the method for nuclear power analogue system integration engineering analysis software of the present invention, nuclear power analogue system and engineering analysis software carries out exchanges data.The RELAP5 thermal-hydraulic software for calculation of take is example, and the exchanges data in step S4 in Fig. 3 is illustrated:
Step S41: nuclear power analogue system writes input variable in interface variables;
Step S42:RELAP5 thermal-hydraulic software for calculation access interface variable also reads input variable.
In Fig. 7, the exchanges data in step S7 in Fig. 4 is illustrated:
S71:RELAP5 thermal-hydraulic software for calculation writes the result of calculation of thermal-hydraulic calculation stages in described interface variables;
S72: nuclear power analogue system is accessed described interface variables and read described result of calculation.
Refer to Fig. 8, be depicted as the functional block diagram of nuclear power analogue system 100 1 embodiments of the present invention.Below with reference to Fig. 1-7, couple Fig. 8 is illustrated.
Nuclear power analogue system 100 is the running environment calculated for Nuclear Power Plant Simulation as an operating platform of various analog computations, and described analog computation comprises that thermal-hydraulic calculates.Nuclear power analogue system 100 comprises data exchange module 1010, synchronous operation module 1020, memory module 1030 and computing module 1040, executable program and other data of memory module 1030 storage nuclear power analogue systems 100.Described computing module 1040 calculates for performance of work, and data exchange module 1010 is synchronous for the computation process between the different calculation procedure in computing module inside for the exchanges data between computing module, synchronous operation module 1020.Wherein, described computing module 1040 can be the device that processor etc. has computing power.
Synchronous operation module 1020 is distinguished initialization calculation stages and the engineering analysis of described engineering analysis software and is calculated the marking variable in stage for setting up, and set up that described nuclear power analogue system is called the cycle of calling of described engineering analysis software and for calling the second call function of described engineering analysis software, also for calling in the cycle described, by described the second call function, call described engineering analysis software, and determine whether to call first described engineering analysis software, when being while calling first described engineering analysis software, by described marking variable, control described engineering analysis software and enter described initialization calculation stages, otherwise by described marking variable, control described engineering analysis software and enter the described engineering analysis calculating stage, when entering described engineering analysis calculating during the stage, also for recording the initial problem time, and after finishing, the calculating of each step-length records the current problem time, described in whether the difference that judges described current problem time and described initial problem time is more than or equal to, call the cycle, as call the cycle as described in being more than or equal to, by described data exchange module 1010, carry out exchanges data with described engineering analysis software, and exit described engineering analysis software, and wait for that the next one calls the cycle, otherwise, proceed the calculating of next step-length.
Refer to Fig. 9, be depicted as the functional block diagram of nuclear power analogue system 100 another embodiments of the present invention.Wherein, nuclear power analogue system 100 also comprises and freezes control module 1050.Freeze control module 1050 for judging at the described engineering analysis software of control whether nuclear power analogue system 100 is freezed, and call the cycle described in exiting when nuclear power analogue system 100 is freezed.
In an embodiment of the present invention, described engineering analysis software is RELAP5 thermal-hydraulic calculation procedure.
In an embodiment of the present invention, synchronous operation module 1020 is also for by automatically or the data of restarting of preserving described engineering analysis software according to user instruction, preserve the corresponding relation of restarting described in correspondence between the number of restarting of data and the original state of nuclear power analogue system No. 100 simultaneously, and in independent mapped file, preserve described corresponding relation.
Refer to Figure 10, be depicted as the functional block diagram of nuclear power analogue system 100 another embodiments of the present invention.Wherein, nuclear power analogue system 100 also comprises and restarts control module 1060.Restart control module 1060 for reset when operation when nuclear power analogue system 100, unload described engineering analysis software, and the number of restarting of obtaining the described engineering analysis software No. 100 corresponding with the original state of nuclear power analogue system by described mapped file, and the described number of restarting is write in the input file of described engineering analysis software, also for controlling described engineering analysis software, restart and read described input file and read described in corresponding and restart data, the initialization while restarting according to the number of restarting described in described input file.
The method of above-mentioned nuclear power analogue system integration engineering analysis software and nuclear power analogue system can guarantee synchronous operation engineering analysis software when carrying out nuclear power emulation, and realize exchanges data and restart synchronously, and utilize engineering analysis software software to improve precision and the degree of depth of nuclear power emulation.
By reference to the accompanying drawings embodiments of the invention are described above; but the present invention is not limited to above-mentioned embodiment; above-mentioned embodiment is only schematic; rather than restrictive; those of ordinary skill in the art is under enlightenment of the present invention; not departing from the scope situation that aim of the present invention and claim protect, also can make a lot of forms, within these all belong to protection of the present invention.
Claims (10)
1. a method for nuclear power analogue system integration engineering analysis software, is characterized in that, the method comprises the following steps:
Create data exchange mechanism, comprise following sub-step:
S11: the interface variables of setting up described engineering analysis software in the shared drive district of described nuclear power analogue system;
S12: set up the first call function that described engineering analysis software is used for calling described interface variables;
S13: described engineering analysis software is accessed described interface variables by described the first call function and read and write data in described interface variables, described nuclear power analogue system is carried out exchanges data by reading and writing data from described interface variables with described engineering analysis software;
Create synchronization, comprise following sub-step:
S21: set up for distinguishing initialization calculation stages and the engineering analysis of described engineering analysis software and calculate the marking variable in stage, and set up that described nuclear power analogue system is called the cycle of calling of described engineering analysis software and for calling the second call function of described engineering analysis software;
S22: call the cycle described, by described the second call function, call described engineering analysis software, and determine whether to call first described engineering analysis software, when being while calling first described engineering analysis software, by described marking variable, enter described initialization calculation stages, otherwise enter described engineering analysis by described marking variable, calculate the stage;
S23: enter described engineering analysis calculating during the stage, record the initial problem time; And after finishing, the calculating of each step-length records the current problem time, described in whether the difference that judges described current problem time and described initial problem time is more than or equal to, call the cycle, as call the cycle as described in being more than or equal to, described nuclear power analogue system is carried out exchanges data by described data exchange mechanism and described engineering analysis software, and exit described engineering analysis software, and wait for that the next one calls the cycle, otherwise, proceed the calculating of next step-length.
2. the method for nuclear power analogue system integration engineering analysis software as claimed in claim 1, is characterized in that, also comprises:
Controlling mechanism is freezed in establishment, for judging before entering described initialization calculation stages whether described nuclear power analogue system is freezed, and suspension of engineering work analytical calculation when described nuclear power analogue system is freezed.
3. the method for nuclear power analogue system integration engineering analysis software as claimed in claim 1, is characterized in that, described engineering analysis software is RELAP5 thermal-hydraulic software for calculation.
4. the method for nuclear power analogue system integration engineering analysis software as claimed in claim 1, it is characterized in that, also comprise: in described synchronization, by automated manner or the data of restarting of preserving described engineering analysis software according to user instruction, preserve the corresponding relation of restarting described in correspondence between the number of restarting of data and the original state of described nuclear power analogue system number simultaneously, and in independent mapped file, preserve described corresponding relation.
5. the method for nuclear power analogue system integration engineering analysis software as claimed in claim 4, is characterized in that, also comprises:
Operating mechanism is restarted in establishment, comprises following sub-step:
S31: when described nuclear power analogue system resets operation, unload described engineering analysis software;
S32: obtain the number of restarting of the described engineering analysis software number corresponding with the original state of described nuclear power analogue system by described mapped file, and write in the input file of described engineering analysis software;
S33: described engineering analysis software, when restarting, reads described input file, and read and restart the initialization of data while restarting described in corresponding according to the number of restarting described in described input file.
6. a nuclear power analogue system, described nuclear power analogue system application project analysis software carries out nuclear power emulation, comprising:
Data exchange module, for set up the interface variables of described engineering analysis software in the shared drive district of described nuclear power analogue system, and set up the first call function that visits described interface variables for described engineering analysis software, also for controlling described engineering analysis software, by described the first call function, in described interface variables, read and write data, described data exchange module, by reading and writing data from described interface variables, is realized with described engineering analysis software and is carried out exchanges data;
Synchronous operation module, for setting up, distinguish initialization calculation stages and the engineering analysis of described engineering analysis software and calculate the marking variable in stage, and set up that described nuclear power analogue system is called the cycle of calling of described engineering analysis software and for calling the second call function of described engineering analysis software, also for calling in the cycle described, by described the second call function, call described engineering analysis software, and determine whether to call first described engineering analysis software, when being while calling first described engineering analysis software, by described marking variable, control described engineering analysis software and enter described initialization calculation stages, otherwise by described marking variable, control described engineering analysis software and enter the described engineering analysis calculating stage, when entering described engineering analysis calculating during the stage, also for recording the initial problem time, and after finishing, the calculating of each step-length records the current problem time, described in whether the difference that judges described current problem time and described initial problem time is more than or equal to, call the cycle, as call the cycle as described in being more than or equal to, by described data exchange module and described engineering analysis software, carry out exchanges data, and exit described engineering analysis software, and wait for that the next one calls the cycle, otherwise, proceed the calculating of next step-length.
7. nuclear power analogue system as claimed in claim 6, is characterized in that, also comprises:
Freeze control module, before entering described initialization calculation stages at the described engineering analysis software of control, judge whether described nuclear power analogue system is freezed, and when described nuclear power analogue system is during in frozen state, control described engineering analysis program and do not carry out this engineering analysis of calling in the cycle and calculate.
8. nuclear power analogue system as claimed in claim 6, is characterized in that, described engineering analysis software is RELAP5 thermal-hydraulic software for calculation.
9. nuclear power analogue system as claimed in claim 6, it is characterized in that, synchronous operation module is also for by automatically or the data of restarting of preserving described engineering analysis software according to user instruction, preserve the corresponding relation of restarting described in correspondence between the number of restarting of data and the original state of described nuclear power analogue system number simultaneously, and in independent mapped file, preserve described corresponding relation.
10. nuclear power analogue system as claimed in claim 9, is characterized in that, also comprises:
Restart control module, while moving for resetting when described nuclear power analogue system, unload described engineering analysis software, and the number of restarting of obtaining the described engineering analysis software number corresponding with the original state of described nuclear power analogue system by described mapped file, and the described number of restarting is write in the input file of described engineering analysis software, also for restarting described engineering analysis software and reading described input file and read and restart the initialization of data while restarting described in corresponding according to the number of restarting described in described input file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310476399.6A CN103559071B (en) | 2013-10-12 | 2013-10-12 | Method for integrating engineering software in nuclear power simulation system and nuclear power simulation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310476399.6A CN103559071B (en) | 2013-10-12 | 2013-10-12 | Method for integrating engineering software in nuclear power simulation system and nuclear power simulation system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103559071A true CN103559071A (en) | 2014-02-05 |
CN103559071B CN103559071B (en) | 2017-01-18 |
Family
ID=50013324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310476399.6A Active CN103559071B (en) | 2013-10-12 | 2013-10-12 | Method for integrating engineering software in nuclear power simulation system and nuclear power simulation system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103559071B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107479983A (en) * | 2017-07-11 | 2017-12-15 | 核动力运行研究所 | Variable step multiprogram based on temporal scalable technology synchronously calculates system and method |
CN108205596A (en) * | 2016-12-16 | 2018-06-26 | 中广核研究院有限公司 | Realize the method that nuclear power plant's major accident analysis calculates procedure simulation function |
CN109543349A (en) * | 2018-12-21 | 2019-03-29 | 核动力运行研究所 | A kind of how plug-in integrated approach of nuclear power analog machine |
CN111327510A (en) * | 2018-12-13 | 2020-06-23 | 国家电投集团科学技术研究院有限公司 | Communication system for nuclear power calculation analysis service |
CN111352648A (en) * | 2018-12-21 | 2020-06-30 | 核动力运行研究所 | Anti-interference output method for switching multiple kinds of software |
CN113051726A (en) * | 2021-03-12 | 2021-06-29 | 哈尔滨工程大学 | Dynamic characteristic analysis method based on coupling of discrete dynamic event tree and RELAP5 |
CN113051725A (en) * | 2021-03-12 | 2021-06-29 | 哈尔滨工程大学 | DET and RELAP5 coupled dynamic characteristic analysis method based on universal auxiliary variable method |
CN113051722A (en) * | 2021-03-12 | 2021-06-29 | 哈尔滨工程大学 | Method for improving safety performance analysis of nuclear power plant by embedding discrete dynamic event tree |
CN113052443A (en) * | 2021-03-12 | 2021-06-29 | 哈尔滨工程大学 | Dynamic characteristic analysis method for coupling DDET (distributed double entry transient) with RELAP (equal energy density) 5 based on auxiliary variable method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090106001A1 (en) * | 2007-10-17 | 2009-04-23 | Atomic Energy Council - Institute Of Nuclear Energy Research | Digital I&C software failure simulation test facility |
CN101847454A (en) * | 2010-01-21 | 2010-09-29 | 中广核工程有限公司 | Simulation adjustment method of digitized control configuration for nuclear power plant and system thereof |
US20110060582A1 (en) * | 2009-09-09 | 2011-03-10 | Atomic Energy Council-Institute Of Nuclear Energy Research | Diversity and Defense-In-Depth Simulation Apparatus |
CN102073680A (en) * | 2010-12-17 | 2011-05-25 | 中广核(北京)仿真技术有限公司 | Data switching method and system of nuclear simulation platform and configuration management system |
CN102541009A (en) * | 2012-01-04 | 2012-07-04 | 中广核检测技术有限公司 | Remote analysis and management platform for eddy current data of steam generator tubes in nuclear power station |
-
2013
- 2013-10-12 CN CN201310476399.6A patent/CN103559071B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090106001A1 (en) * | 2007-10-17 | 2009-04-23 | Atomic Energy Council - Institute Of Nuclear Energy Research | Digital I&C software failure simulation test facility |
US20110060582A1 (en) * | 2009-09-09 | 2011-03-10 | Atomic Energy Council-Institute Of Nuclear Energy Research | Diversity and Defense-In-Depth Simulation Apparatus |
CN101847454A (en) * | 2010-01-21 | 2010-09-29 | 中广核工程有限公司 | Simulation adjustment method of digitized control configuration for nuclear power plant and system thereof |
CN102073680A (en) * | 2010-12-17 | 2011-05-25 | 中广核(北京)仿真技术有限公司 | Data switching method and system of nuclear simulation platform and configuration management system |
CN102541009A (en) * | 2012-01-04 | 2012-07-04 | 中广核检测技术有限公司 | Remote analysis and management platform for eddy current data of steam generator tubes in nuclear power station |
Non-Patent Citations (1)
Title |
---|
史觊 等: "核电站仪控系统数字化开发仿真测试技术研究", 《核技术》, vol. 28, no. 2, 28 February 2005 (2005-02-28), pages 163 - 168 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108205596A (en) * | 2016-12-16 | 2018-06-26 | 中广核研究院有限公司 | Realize the method that nuclear power plant's major accident analysis calculates procedure simulation function |
CN107479983A (en) * | 2017-07-11 | 2017-12-15 | 核动力运行研究所 | Variable step multiprogram based on temporal scalable technology synchronously calculates system and method |
CN111327510A (en) * | 2018-12-13 | 2020-06-23 | 国家电投集团科学技术研究院有限公司 | Communication system for nuclear power calculation analysis service |
CN111327510B (en) * | 2018-12-13 | 2022-02-08 | 国家电投集团科学技术研究院有限公司 | Communication system for nuclear power calculation analysis service |
CN109543349A (en) * | 2018-12-21 | 2019-03-29 | 核动力运行研究所 | A kind of how plug-in integrated approach of nuclear power analog machine |
CN111352648A (en) * | 2018-12-21 | 2020-06-30 | 核动力运行研究所 | Anti-interference output method for switching multiple kinds of software |
CN109543349B (en) * | 2018-12-21 | 2023-10-24 | 核动力运行研究所 | Multi-plug-in integration method for nuclear power simulator |
CN111352648B (en) * | 2018-12-21 | 2023-09-08 | 核动力运行研究所 | Anti-interference output method for switching multiple software |
CN113052443A (en) * | 2021-03-12 | 2021-06-29 | 哈尔滨工程大学 | Dynamic characteristic analysis method for coupling DDET (distributed double entry transient) with RELAP (equal energy density) 5 based on auxiliary variable method |
CN113051722A (en) * | 2021-03-12 | 2021-06-29 | 哈尔滨工程大学 | Method for improving safety performance analysis of nuclear power plant by embedding discrete dynamic event tree |
CN113051722B (en) * | 2021-03-12 | 2022-03-11 | 哈尔滨工程大学 | Method for improving safety performance analysis of nuclear power plant by embedding discrete dynamic event tree |
CN113051726B (en) * | 2021-03-12 | 2022-05-13 | 哈尔滨工程大学 | Dynamic characteristic analysis method based on coupling of discrete dynamic event tree and RELAP5 |
CN113051725B (en) * | 2021-03-12 | 2022-09-09 | 哈尔滨工程大学 | DET and RELAP5 coupled dynamic characteristic analysis method based on universal auxiliary variable method |
CN113052443B (en) * | 2021-03-12 | 2022-09-09 | 哈尔滨工程大学 | Dynamic characteristic analysis method for coupling DDET (distributed double entry transient) with RELAP (equal energy density) 5 based on auxiliary variable method |
WO2022188895A1 (en) * | 2021-03-12 | 2022-09-15 | 哈尔滨工程大学 | Det and relap5 coupled dynamic characteristic analysis method based on universal auxiliary variable method |
CN113051725A (en) * | 2021-03-12 | 2021-06-29 | 哈尔滨工程大学 | DET and RELAP5 coupled dynamic characteristic analysis method based on universal auxiliary variable method |
CN113051726A (en) * | 2021-03-12 | 2021-06-29 | 哈尔滨工程大学 | Dynamic characteristic analysis method based on coupling of discrete dynamic event tree and RELAP5 |
Also Published As
Publication number | Publication date |
---|---|
CN103559071B (en) | 2017-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103559071A (en) | Method for integrating engineering analysis software in nuclear power simulation system and nuclear power simulation system | |
JP2019512126A (en) | Method and system for training a machine learning system | |
KR102333845B1 (en) | Method, apparatus, device and storage medium for generating chip-based computing functions | |
CN113029167B (en) | Map data processing method, map data processing device and robot | |
CN107589719A (en) | A kind of origin apparatus resetting method and device | |
KR20200075769A (en) | Method and apparatus for accessing tensor data | |
CN102681941A (en) | Extensible embedded simulation test system | |
CN111989655A (en) | SOC chip, method for determining hotspot function and terminal equipment | |
CN103970967A (en) | Electromagnetic transient simulation analysis system of electric power system | |
JP7163941B2 (en) | Data management system, data management method, and data management program | |
KR100781340B1 (en) | System and method for processing user defined extended operation | |
US3701973A (en) | Data processing arrangement for processing waiting time commands | |
JP2021196316A (en) | Data management system, data management method, and data management program | |
CN108205596B (en) | Method for realizing simulation function of serious accident analysis and calculation program of nuclear power plant | |
US11221851B2 (en) | Method executed by computing device, apparatus, device and computer-readable storage medium | |
CN110673877B (en) | Parallel computing method based on manual vectorization | |
CN115205419A (en) | Instant positioning and map construction method and device, electronic equipment and readable storage medium | |
CN110414353B (en) | Robot startup positioning and operation repositioning method, electronic equipment and storage medium | |
CN113779756A (en) | Method and device for performing simulation analysis on adapter separation and electronic equipment | |
CN109344545A (en) | The accuracy method of adjustment of scantling, device in architectural design software | |
JPS6055864B2 (en) | vector processor | |
US10671780B2 (en) | Information processing device that executes simulation and a simulation method | |
CN110275596A (en) | Power-up initializing accelerated method, device and computer equipment based on solid state hard disk | |
CN109960188A (en) | A kind of general-purpose servo control processor | |
CN113985885B (en) | Equipment operation control method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |