A configuration method and an operation method for AC-DC fault simulation
Through the configuration method of AC/DC fault simulation, the problem of low operational proficiency of AC/DC power supply system operation and maintenance personnel in the substation is solved, and the rapid development of efficient fault simulation systems is realized, and the grid stability is improved.
Patent Information
- Application Number
- CN202210764061.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2042-06-29
AI Technical Summary
Due to the inability of operation and drilling of the AC and DC power system of the substation, the proficiency of system operations and equipment abnormal handling is reduced, affecting the stable operation of the power grid.
A configuration method for AC and DC fault simulation is developed, and fault simulation is carried out through the configuration of type, point, operation, data and other information, supporting hardware and software simulation, simplifying the development process of fault simulation.
It greatly saves the development time of AC and DC fault simulation system, improves the development efficiency and accuracy of the system, helps operation and maintenance personnel improve their skills and management levels, and ensures the stable operation of the power grid.
Smart Images

Figure CN114912299B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a configuration method and an operation method for AC / DC fault simulation, belonging to the technical field of fault simulation in power training systems. Background Art
[0002] Based on the low failure rate and few operations of the AC / DC power supply system in substations, and the fact that operation and maintenance personnel cannot conduct operation drills on the operating system, this makes the operation and maintenance of substation AC / DC systems, the operation of equipment, and the handling of equipment abnormalities become unfamiliar. Therefore, it is necessary to build a substation AC / DC power supply simulation training system to effectively improve the comprehensive skills and management level of substation operation and maintenance personnel through standard operation training and accident deduction, and ensure the stable operation of the power grid.
[0003] After the substation AC / DC power supply fault simulation and teaching training system is built, it provides a perfect training platform for front-line technical personnel in substations, with functions such as safe operation, fault finding, maintenance, skills competition, and assessment that are consistent with the actual situation on site; through training, the business capabilities and operation levels of operating personnel can be quickly improved, potential accidents and safety hazards can be reduced, and the operation and maintenance management level of AC / DC power supply equipment can be enhanced.
[0004] Therefore, there is a need in this technical field for a simple AC / DC fault simulation training system to reduce the development difficulty and development time. Summary of the Invention
[0005] Aiming at the deficiencies of the prior art, the present invention discloses a configuration method for AC / DC fault simulation. The faults that can be simulated by the present invention include increased internal resistance of the battery, battery grounding fault, insulation fault, DC intermixing, AC intrusion, over-voltage / under-voltage of AC input, AC input phase loss, etc. That is, each step of operation of the simulated fault can be completed by configuring more than a dozen fields. Developers of the AC / DC fault simulation training system no longer need to write a lot of code to develop each step of the fault simulation operation, greatly saving development time.
[0006] The present invention also discloses an operation method using the above configuration method.
[0007] The detailed technical solution of the present invention is as follows:
[0008] A configuration method for AC / DC fault simulation, characterized by comprising:
[0009] Fault simulation is carried out by configuring information such as type, position, operation, and data. Fault simulation includes hardware simulation and software simulation: Before the hardware simulation, the actual device needs to be connected. The hardware simulation remotely controls and / or remotely adjusts the actual device through configuration operations; Before the software simulation, all device position information needs to be configured. The software simulation performs simulation operations on the device position information through configured operations;
[0010] Fault simulation is carried out using information configuration. Each fault simulation includes multiple operations, such as implanting voltage values, implanting resistance values, etc. Each operation includes an operation line composed of a fixed number of fields. Among them, the fields and physical meanings are as follows:
[0011] CFG_ID: It is the ID of each field operation line and is a unique identifier;
[0012] SIMUL_FLG: Represents the fault type. Among them, 0 represents simulation; 1 represents operation; 2 represents fault recovery;
[0013] CFG_ID_PT: It is the upper-level configuration ID, used to indicate whether the operation corresponding to the current line has preconditions: If there are no preconditions, the upper-level configuration ID is empty; If there are preconditions, the upper-level configuration ID is the CFG_ID corresponding to the preconditions;
[0014] SIMUL_TYPE: Used to describe the fault type, that is, the program executes according to the corresponding fault type. The code used to describe the fault type. If it is to recover the previously simulated fault, the "-hf" identifier needs to be added after the previous fault type;
[0015] SO_TP_ID: Represents the monitoring type number. Preset numbers are assigned to different monitoring types respectively. For example, 4 represents the battery pack, 6 represents the charging device, 7 represents insulation inspection, etc.;
[0016] SO_NUM: Represents the monitoring object number. Preset numbers are assigned to different monitoring objects respectively, starting from 0. When some faults require the user to select a monitoring object on the operation interface, then fill in P to indicate according to the user's selection. For example, if SO_TP_ID is filled with 4 and SO_NUM is filled with 1, it represents the #2 battery pack;
[0017] SD_ID: Represents the specific content under the monitoring object. Preset numbers are assigned to different contents under different monitoring objects respectively, starting from 0. When some faults require the user to select a monitoring object on the operation interface, then fill in P to indicate according to the user's selection. For example, if SP_TP_ID is filled with 4 and SD_ID is 0, it represents the group voltage, 1 represents the single-cell voltage, 2 represents the internal resistance, etc.;
[0018] SP_NUM: Represents the specific monitoring point in SO_TP_ID, SO_NUM, or SD_ID with multiple groups of data, that is, it represents the nth one from top to bottom. For some faults, the user needs to select the monitoring point on the operation interface. At this time, P can be filled in to indicate according to the user's selection;
[0019] The SO_TP_ID, SO_NUM, SD_ID, and SP_NUM are connected by the "|" symbol to determine a unique point in the program. The point is a piece of data that needs to be operated on. For example, if you want to modify the voltage of a specific battery, you can locate the voltage of the #2 battery in the #1 battery pack through the point "4|0|1|1" for modification.
[0020] Preferably according to the present invention, the configuration method of the AC / DC fault simulation further includes:
[0021] P_FLG: Data identifier, used to represent what kind of operation the current row of data corresponds to: Z represents implanting data and modifying the value of the point; R represents canceling the implanted data and restoring the implanted data to the data before implantation; C represents the operation of remotely controlling the hardware, such as opening and closing the circuit breaker; D is used for hardware simulation and represents remotely adjusting data, such as setting discharge parameters; S is used to query the value of the point; T represents the operation of conditional judgment according to the value of P_VAL; U represents uploading data and uploading the point information in P_VAL to the corresponding application program;
[0022] YK_TYPE: Represents the type of remote control, where 0 represents direct control and 1 represents pre-control;
[0023] P_VAL: The data corresponding to the operation is input here. P_FLG needs to be used together with P_VAL.
[0024] Preferably according to the present invention, the method of using P_FLG and P_VAL together includes:
[0025] a. When P_FLG is Z, C, or D, it means that a value needs to be implanted, and the corresponding specific value, such as voltage or current value, is filled in through P_VAL; when P_FLG is C, when P_VAL is 0 or 1, it represents the closing and opening of the switch;
[0026] When P_VAL is Z, P_VAL is a fixed value. For example, if you want to adjust the voltage to 999, then 999 is input in P_VAL;
[0027] When P_VAL is the value input by the user on the interface, then P is filled in P_VAL, indicating that the adjusted value is the value input by the user on the operation interface;
[0028] When P_VAL is filled with R, it means canceling the implantation and restoring to the initial state. When in software simulation, all point information data will have an initial value;
[0029] b. When an operation to query the data of a certain point information is required:
[0030] Set P_FLG to S, fill P_VAL with the query statement, and wrap the query statement with {}. Query the corresponding data through SO_TP_ID and SD_ID. When querying multiple data, separate the query statements with commas. For example, {"sd_id":"4|34,4|35"} is used to query two data, 4|34 and 4|35. Among them, 4 is the SO_TP_ID, that is, the monitoring type number, 4 indicates that the monitoring type is the battery pack, 34 and 35 are the SD_IDs, that is, the specific content under the monitoring object. 4|34 represents the bus-tie data of the battery pack, and 4|35 represents the bus-coupler data of the battery pack;
[0031] c. When a conditional judgment is required, set P_FLG to T, fill P_VAL with the conditional statement, and the conditional statement is a JSON format statement, wrapped with {}. The content inside is written in the form of key: val. Among them, there are three types of keys: and, or, not. The and means that all conditions in val must be met to execute the next step; the or means that as long as one of the conditions in val is met, the next step is executed; the not means that when all conditions in val are not met, the next step is executed; the val is an array, and the elements in the array are a judgment object, a group of judgment objects connected by and or or;
[0032] The judgment object is JSON format data, JSON format data wrapped with {}. It includes: val1, condition, val2. The judgment object is to compare the relationship between val1 and val2 according to conditions; val1 is a point, that is, determined by four points: SO_TP_ID|SO_NUM|SD_ID|SP_NUM; condition is a condition, expressed as ==, > or <; the val2 is a value to be compared with val1. For example, to compare whether the voltage of battery #2 in battery pack #1 is equal to 220, then fill val1 with the point 4|0|1|1 of the voltage of battery #2 in battery pack #1, fill condition with ==, and fill val2 with 220.
[0033] According to the preference of the present invention, the method of using P_FLG and P_VAL in combination includes:
[0034] d. Sometimes, after a fault simulation operation is performed and the value of a point is changed, it may cause the values of other associated points to also change. The changes in the values of the associated points also need to be displayed on the user operation interface. In this case, it is necessary to update the values of the associated points to the user operation interface:
[0035] Set P_FLG to U, and set P_VAL to the SO_TP_ID|SD_ID of the point whose value needs to be updated;
[0036] WAIT_TM: Sometimes, a period of time needs to be set between two operations. In this case, the time interval between the two operations can be set by setting the value of WAIT_TM, and the unit is milliseconds;
[0037] MARK: Used to describe how to operate on the corresponding row data filled in, so that it can be quickly recalled when looking at it later.
[0038] An operation method using the above configuration method, characterized in that the data configured above is configured in an EXCEL table, and the corresponding SQL statements are automatically generated;
[0039] Import the content of the EXCEL table into the database of the substation AC / DC power supply fault simulation and teaching training system by copying the SQL statements; the program preset in the substation AC / DC power supply fault simulation and teaching training system reads the content of the database to perform fault simulation.
[0040] An operation method using the above configuration method, characterized in that it further includes:
[0041] Edit and maintain the corresponding fields of the table according to the type of fault simulation and the corresponding steps:
[0042] Each row of the EXCEL table represents an operation. A unique piece of data is determined by four fields, and corresponding judgments and operations are performed according to the edited values; similarly, after corresponding configuration, the fault recovery operation is performed.
[0043] The present invention has the following technical advantages:
[0044] A configuration method and an operation method for AC-DC fault simulation and emulation perform a series of fault operation simulations through the configuration of data such as fault type, superior configuration, fault type number, monitoring object type, monitoring object, monitoring content, monitoring point, data representation, value, etc. The configuration method can not only implant and query specific point data, but also perform complex conditional judgments, so as to achieve 100% accuracy in fault simulation. For the operation method described in the present invention, developers of the AC-DC fault simulation and training system only need to complete relevant configurations in an EXCEL sheet, without having to write a lot of code to develop each step of the fault simulation operation, greatly saving development time. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a configuration schematic diagram when performing AC input open-phase fault simulation in AC-DC faults by using the method described in the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0046] The following will be described in detail in conjunction with the AC input open-phase fault simulation and the accompanying drawings of the specification, but not limited thereto.
[0047] Example 1
[0048] A configuration method for AC-DC fault simulation and emulation includes:
[0049] Performing fault simulation and emulation by using the configuration of information such as type, point, operation, data, etc. The fault simulation includes hardware simulation and software simulation: Before the hardware simulation, it is necessary to connect to the actual device, and the hardware simulation performs remote control and / or remote adjustment on the actual device through configuration operations; Before the software simulation, it is necessary to complete the configuration of all device point information, and the software simulation performs simulation operations on the device point information through the configured operations.
[0050] Performing fault simulation by using information configuration. Each fault simulation includes multiple operations, such as implanting voltage values, implanting resistance values, etc. Each operation includes an operation line composed of a fixed number of fields. Among them, the fields and physical meanings are as follows:
[0051] CFG_ID: It is the ID of each field operation row and is a unique identifier.
[0052] SIMUL_FLG: Represents the fault type. Among them, 0 represents simulation; 1 represents operation; 2 represents fault recovery.
[0053] CFG_ID_PT: It is the superior configuration ID, used to indicate whether the operation corresponding to the current row has a prerequisite: If there is no prerequisite, the superior configuration ID is empty; If there is a prerequisite, the superior configuration ID is the CFG_ID corresponding to the prerequisite.
[0054] SIMUL_TYPE: Used to describe the fault type. That is, the program executes correspondingly according to the fault type. The code used to describe the fault type. If it is to resume the previously simulated fault, the "-hf" identifier should be added after the previous fault type;
[0055] SO_TP_ID: Represents the monitoring type number. Preset numbers are assigned to different monitoring types respectively. For example, 4 represents the battery pack, 6 represents the charging device, 7 represents the insulation inspection, etc.;
[0056] SO_NUM: Represents the monitoring object number. Preset numbers are assigned to different monitoring objects respectively, starting from 0. When some faults require the user to select a monitoring object on the operation interface, P is filled in to indicate according to the user's selection. For example, if SO_TP_ID is filled with 4 and SO_NUM is filled with 1, it represents the #2 battery pack;
[0057] SD_ID: Represents the specific content under the monitoring object. Preset numbers are assigned to different contents under different monitoring objects respectively, starting from 0. When some faults require the user to select a monitoring object on the operation interface, P is filled in to indicate according to the user's selection. For example, if SP_TP_ID is filled with 4 and SD_ID is 0, it represents the battery pack voltage, 1 represents the single-cell voltage, 2 represents the internal resistance, etc.;
[0058] SP_NUM: Represents the specific monitoring point in SO_TP_ID, SO_NUM or SD_ID with multiple groups of data. That is, it represents the nth from top to bottom. When some faults require the user to select a monitoring point on the operation interface, P can be filled in to indicate according to the user's selection;
[0059] The SO_TP_ID, SO_NUM, SD_ID and SP_NUM are connected by the "|" symbol to determine a unique point in the program. The point is a data that needs to be operated on. For example, if you want to modify the voltage of a specific battery, you can locate to the voltage of the #2 battery in the #1 battery pack through the point "4|0|1|1" for modification.
[0060] P_FLG: Data identifier, used to indicate what kind of operation the current line of data corresponds to: Z indicates implanting data and modifying the value of the point; R indicates canceling the implanted data and restoring the implanted data to the data before implantation; C indicates the operation of remote control of hardware, such as opening and closing the circuit breaker; D is used for hardware simulation, indicating remote adjustment of data, such as setting discharge parameters; S is used to query the value of the point; T indicates the operation of conditional judgment according to the value of P_VAL; U indicates uploading data and uploading the point information in P_VAL to the corresponding application program;
[0061] YK_TYPE: Represents the type of remote control, where 0 indicates direct control and 1 indicates pre-control;
[0062] P_VAL: The data corresponding to the operation is input here, and P_FLG is used in conjunction with P_VAL.
[0063] The method of using P_FLG and P_VAL in combination includes:
[0064] a. When P_FLG is Z, C, or D, it means a value needs to be implanted, and the corresponding specific value is filled in through P_VAL, such as a voltage or current value; when P_FLG is C, then when P_VAL is 0 or 1, it represents the closing and opening of the switch;
[0065] When P_VAL is Z, then P_VAL is a fixed value. For example, if you want to adjust the voltage to 999, then enter 999 in P_VAL;
[0066] When P_VAL is the value input by the user on the interface, then P_VAL is filled with P, indicating that the adjusted value is the value input by the user on the operation interface;
[0067] When P_VAL is filled with R, it means canceling the implantation and restoring to the initial state. In the case of software simulation, all point information data will have an initial value;
[0068] b. When an operation to query the data of a certain point information is required:
[0069] P_FLG is set to S, and the query statement is filled in P_VAL. The query statement is enclosed in {}, and the corresponding data is queried through SO_TP_ID and SD_ID. When querying multiple data, the query statements are separated by commas. For example, {"sd_id":"4|34,4|35"} is used to query two data, 4|34 and 4|35. Here, 4 is the SO_TP_ID, that is, the monitoring type number, 4 indicates that the monitoring type is the battery pack, 34 and 35 are the SD_IDs, that is, the specific contents under the monitoring object, 4|34 represents the bus tie data of the battery pack, and 4|35 represents the bus transfer data of the battery pack;
[0070] c. When conditional judgment is required, set P_FLG to T and fill P_VAL with a conditional statement. The conditional statement is in JSON format, enclosed in {}, and the content inside is written in the form of key: val. There are three types of keys: and, or, and not. The "and" means that all conditions in val must be met to execute the next step; the "or" means that if any condition in val is met, execute the next step; the "not" means that the next step is executed only when all conditions in val are not met; val is an array, and the elements in the array are a judgment object, a group of judgment objects connected by "and" or "or".
[0071] The judgment object is data in JSON format, JSON data enclosed in {}, including: val1, condition, and val2; the judgment object is to compare the relationship between val1 and val2 according to conditions; val1 is a point position, which is determined by four points: SO_TP_ID|SO_NUM|SD_ID|SP_NUM; condition is a condition, expressed as ==, > or <; val2 is a value to be compared with val1. For example, to compare whether the voltage of battery pack #1 and battery #2 is equal to 220, then fill val1 with the point position 4|0|1|1 of the voltage of battery pack #1 and battery #2, fill condition with ==, and fill val2 with 220.
[0072] d. Sometimes, after performing a step of fault simulation operation and changing the value of a point position, it may cause the values of other associated point positions to also change. The change of the associated point position values also needs to be displayed on the user operation interface. At this time, it is necessary to update the values of the associated point positions to the user operation interface:
[0073] Set P_FLG to U and set P_VAL to SO_TP_ID|SD_ID of the point position whose value needs to be updated;
[0074] WAIT_TM: Sometimes, a period of time needs to be interposed between two operations. At this time, the time interval between the two operations can be set by setting the value of WAIT_TM, and the unit is milliseconds;
[0075] MARK: Used to describe how to operate the corresponding row data filled in, so that it can be quickly recalled when looking at it later.
[0076] According to the configuration method described in Embodiment 1 of the present invention, in combination with the attached Figure 1 A further detailed description is as follows:
[0077] When using the substation AC / DC power supply fault simulation and teaching training system to perform the simulation of the AC input phase loss fault, the specific steps are as follows:
[0078] Step1: First, implant the AC input:
[0079] ① Since it is the first one, set CFG_ID to 1;
[0080] ② Because SIMUL_FLG is a simulated fault and the fault needs to be restored, set it to 0;
[0081] ③ Since CFG_ID_PT has no superior, leave it blank;
[0082] ④ Set SIMUL_TYPE to ac3, indicating the type is AC phase loss;
[0083] ⑤ Set SO_TP_ID to 9, indicating the AC incoming line of the charging device;
[0084] ⑥ Since SO_NUM is based on the user's selection on the interface, set it to P;
[0085] ⑦ SD_ID is also filled in as P according to the user's selection. The possible values are 21, 22, and 23, all pre-configured, indicating AC incoming line Uab, AC incoming line Ubc, and AC incoming line Uca;
[0086] ⑧ Set SP_NUM to P according to the user's selection on the interface;
[0087] ⑨ P_FLG is the implanted data, fill in Z;
[0088] ⑩ Fill in the normal value 220 for P_VAL;
[0089] 11 Since WAIT_TM does not require waiting, leave it blank;
[0090] 12 Fill in the description information "Implant AC input" for MARK
[0091] Step2: Determine whether it is an AC fault:
[0092] Set CFG_ID to 2, and increment each subsequent line by 1. The other fields are the same as the first one. Since it is a judgment operation, fill in T for the P_FLG field and the judgment formula "{\"and\":[{\"val1\":\"{p_val}\",\"condition\":\"==\",\"val2\":\"3\"}}]" for the P_VAL field to determine whether the value of p_val passed by the program is equal to 3. p_val is obtained by the user's selection operation on the interface;
[0093] Step 3: If the second condition holds, perform the third operation, implant the data 0 into one-phase voltage; for the third operation, CFG_ID_PT needs to be filled with 2; SO_TP_ID, SO_NUM, SD_ID, and SP_NUM are all passed from the program and filled as P; P_FLG is filled with Z; P_VAL is filled with 0;
[0094] Step 4: Similar to Step 2, determine whether the user's selection is normal for AC, and P_VAL is filled with “{"and":[{"val1":"{p_val}","condition":"==","val2":"0"}]}”;
[0095] Step 5: Similar to Step 3, restore the voltage of the corresponding phase passed from the program to 220. For the fifth operation, CFG_ID_PT needs to be filled with 4, SO_TP_ID, SO_NUM, SD_ID, and SP_NUM are all passed from the program and filled as P; P_FLG is filled with Z; P_VAL is filled with 220;
[0096] Step 6: Simulate and restore the A-phase voltage for the AC input open-phase fault:
[0097] ① Fill CFG_ID with 6;
[0098] ② Fill SIMUL_FLG with 2 for the restoration operation;
[0099] ③ Leave CFG_ID_PT blank as there is no upper level;
[0100] ④ For the restoration operation, fill SIMUL_TYPE with -hf based on the simulation type, and fill it as ac3 - hf;
[0101] ⑤ Fill SO_TP_ID with 9, indicating the AC input line of the charging device;
[0102] ⑥ Leave SO_NUM blank, indicating that data is not screened through SO_NUM;
[0103] ⑦ Fill SD_ID with 21, indicating the AC input line Uab;
[0104] ⑧ Leave SP_NUM blank, indicating that data is not screened through SP_NUM;
[0105] ⑨ Fill P_FLG with Z to indicate implanting data;
[0106] ⑩ Fill P_VAL with R to cancel the original implant and restore the initial value;
[0107] 11 Leave WATI_TM blank, no waiting is required;
[0108] Fill in "Restore A-phase voltage value" for 12MARK;
[0109] Similarly, fill in the restored B-phase voltage value for Step 7: Fill in 22 for SD_ID, indicating the AC incoming line Ubc;
[0110] Similarly, fill in the restored C-phase voltage value for Step 8: Fill in 23 for SD_ID, indicating the AC incoming line Uca;
[0111] Similarly, fill in the restored loop fault status for Step 9: Fill in 47 for SD_ID, indicating the loop fault status.
[0112] Embodiment 2
[0113] An operation method using the configuration method described in Embodiment 1, configuring the data formed above in an EXCEL table, and automatically generating corresponding SQL statements;
[0114] Import the content of the EXCEL table into the database of the substation AC / DC power supply fault simulation and teaching training system by copying the SQL statements; the preset program in the substation AC / DC power supply fault simulation and teaching training system reads the content of the database to perform fault simulation.
[0115] According to the type of fault simulation and the corresponding steps, edit and maintain the fields corresponding to the table:
[0116] Each row of the EXCEL table represents an operation, and a unique piece of data is determined by four fields. Corresponding judgments and operations are performed according to the edited values; similarly, after corresponding configurations, fault recovery operations are carried out.
Claims
1. A configuration method for AC / DC fault simulation, characterized in that, it includes: Using information configuration for fault simulation, each fault simulation includes multiple operations, and each operation includes an operation line composed of a fixed number of fields. Among them, the fields and physical meanings are as follows: CFG_ID: It is the ID of each field operation line; SIMUL_FLG: Represents the fault type. Among them, 0 represents simulation; 1 represents operation; 2 represents fault recovery; CFG_ID_PT: It is the upper-level configuration ID, used to indicate whether the operation corresponding to the current line has preconditions: if there are no preconditions, the upper-level configuration ID is empty; if there are preconditions, the upper-level configuration ID is the CFG_ID corresponding to the preconditions; SIMUL_TYPE: Used to describe the code corresponding to the fault type. If it is to recover the previously simulated fault, the "-hf" identifier should be added after the previous fault type; SO_TP_ID: Represents the monitoring type number, and preset numbers are assigned to different monitoring types respectively; SO_NUM: Represents the monitoring object number, and preset numbers are assigned to different monitoring objects respectively, starting from 0. When some faults require the user to select a monitoring object on the operation interface, then fill in P to indicate according to the user's selection; SD_ID: Represents the specific content under the monitoring object, and preset numbers are assigned to different contents under different monitoring objects respectively, starting from 0. When some faults require the user to select a monitoring object on the operation interface, then fill in P to indicate according to the user's selection; SP_NUM: Represents the specific monitoring point in SO_TP_ID, SO_NUM or SD_ID with multiple groups of data, that is, it represents the nth from top to bottom. When some faults require the user to select a monitoring point on the operation interface, fill in P to indicate according to the user's selection; The SO_TP_ID, SO_NUM, SD_ID and SP_NUM are connected by the "|" symbol to determine a unique point in the program, and the point is a data that needs to be operated; P_FLG: Data identifier, used to indicate what kind of operation the current line of data corresponds to: Z indicates implanting data and modifying the value of the point; R indicates canceling the implanted data and restoring the implanted data to the state before implantation; C indicates the operation of remote control of hardware; D is used for hardware simulation, indicating remote adjustment of data; S is used to query the value of the point; T indicates an operation for conditional judgment according to the value of P_VAL; U indicates uploading data and uploading the point information in P_VAL to the corresponding application program; YK_TYPE: Represents the type of remote control, where 0 represents direct control and 1 represents pre-control; P_VAL: The data corresponding to the operation is input here.
2. The configuration method for AC / DC fault simulation according to claim 1, characterized in that, The method of using P_FLG and P_VAL in combination includes: a. When P_FLG is Z, C or D, it means that a value needs to be implanted, and the corresponding specific value is filled in through P_VAL; when P_FLG is C, then when P_VAL is 0 or 1, it represents the closing and opening of the switch; When P_VAL is Z, then P_VAL is a fixed value; When P_VAL is the value input by the user on the interface, then P_VAL is filled into P, indicating that the adjusted value is the value input by the user on the operation interface; When P_VAL is filled with R, it means to cancel the implantation and restore to the initial state. Among them, when the software simulation degree is concerned, all point information data will have an initial value; b. When an operation to query a certain point information data is required: P_FLG is set to S, and P_VAL is filled with the query statement. When querying multiple data, the query statements are separated by commas in the middle; c. When a conditional judgment is required, P_FLG is set to T, and P_VAL is filled with the conditional statement, and the conditional statement is a JSON-formatted statement; The judgment object is JSON-formatted data.
3. A configuration method for AC-DC fault simulation according to claim 2, characterized in that the method of using P_FLG and P_VAL in combination further includes: d. Update the values of the associated points to the user operation interface: Set P_FLG to U, and set P_VAL to the SO_TP_ID|SD_ID of the point where the value needs to be updated; WAIT_TM: Set the time interval between two operations by setting the value of WAIT_TM; MARK: Used to describe how to operate the corresponding row data filled in.
4. An operation method using the configuration method according to any one of claims 1-3, characterized in that The data configured above is configured in an EXCEL table, and the corresponding SQL statements are automatically generated; The content of the EXCEL table is imported into the database of the substation AC-DC power supply fault simulation and teaching training system by copying the SQL statements; the program preset in the substation AC-DC power supply fault simulation and teaching training system reads the content of the database to perform fault simulation.
5. The operation method according to claim 4, characterized in that further includes: Edit and maintain the corresponding fields of the table according to the type of fault simulation and the corresponding steps: Execute corresponding judgments and operations according to the edited values; similarly, after corresponding configurations, perform fault recovery operations.
Citation Information
Patent Citations
Real time digital simulator (RTDS) testing method of fault current limiter
CN102998571A
AC-DC power supply fault analog simulation system
CN112216174A