Sound effect playing implementation method of time domain simulation element operation state for power system
By designing target sound effects components in real-time monitoring and feedback on the operating status of electrical components in time-domain simulation, the problem of low visual analysis efficiency in the prior art is solved, and intuitive perception of the operating status of the power system and the efficiency of simulation analysis are improved.
Patent Information
- Application Number
- CN202510163722.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-05-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing time-domain simulation software for power systems mainly relies on visual analysis, and human visual analysis capabilities are limited, resulting in low efficiency and long-term simulation analysis.
Design target sound effect components to monitor the operating status of the target electrical components in time domain simulation in real time, and process the acquired operating status data and transmit it to the corresponding target sound effect components, and play the corresponding sound effects according to the received data.
Through sound feedback, intuitive perception of the operating status of the power system is achieved, reducing the duration of simulation analysis and improving the efficiency of simulation analysis.
Smart Images

Figure CN120068433A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system simulation analysis, and particularly relates to a method for realizing sound effect playback of the operating state of time-domain simulation components in a power system. Background Art
[0002] Currently, common power system time-domain simulation software such as PSD, ADPSS, PSCAD, RTDS, MATLAB, etc. all monitor the simulation progress and analyze the simulation data through the curves output by the components. In the case of a large number of curves stacked, the vision can only compare the change trends of each curve and has no ability to obtain the detailed information of each curve. Only by observing the curves one by one can detailed numerical analysis be carried out, thus consuming a lot of time.
[0003] It can be seen that the current power system digital simulation software only provides a data visualization analysis tool, which can only mobilize human vision for analysis. However, the human vision analysis ability is limited, and there is no room for further improving the simulation analysis efficiency in the visual dimension. Moreover, the simulation analysis takes a long time. Therefore, how to reduce the simulation analysis duration and improve the simulation analysis efficiency has become one of the current research focuses.
[0004] Therefore, the present invention provides a method for realizing sound effect playback of the operating state of time-domain simulation components in a power system. Summary of the Invention
[0005] The present invention provides a method for realizing sound effect playback of the operating state of time-domain simulation components in a power system, which is used to design target sound effect components, monitor the operating state of target electrical components in time-domain simulation in real time, and transmit the obtained operating state data to the corresponding target sound effect components after processing; the target sound effect components play corresponding sound effects according to the received data, which can realize the intuitive perception of the operating state of the power system, help reduce the simulation analysis duration, and thus improve the simulation analysis efficiency.
[0006] The present invention provides a method for realizing sound effect playback of the operating state of time-domain simulation components in a power system, including: Step 1: Design target sound effect components and set parameters for the target sound effect components; Step 2: Monitor the operating state of target electrical components in time-domain simulation in real time, and transmit the obtained operating state data to the corresponding target sound effect components after processing; Step 3: The target sound effect components play corresponding sound effects according to the received data.
[0007] Preferably, designing target sound effect components and setting parameters for the target sound effect components includes: For the target sound effect component, build a built-in sound effect library which is used to store preset audio files of electrical equipment and supports users to upload and store self-made audio files; Deploy two setting parameters, namely the sound effect file and the playback mode, for the target sound effect component. The sound effect file is used to select an audio from the built-in audio files or user-uploaded audio files, and the playback mode is used to select a mode from two playback modes: loop playback and single playback; Design three input pins, namely Enable, Volume, and Speed, for the target sound effect component.
[0008] Preferably, the Enable input pin is used to control the playback and stop of the sound effect, and only receives two numbers, 0 and 1. When receiving 1, the sound effect starts to play, and when receiving 0, the sound effect stops playing; the Volume input pin is used to control the volume of the sound effect, and receives any numerical value between 0 and 1, where 1 is the maximum volume and 0 is the minimum volume; the Speed input pin is used to control the playback speed of the sound effect, and receives any numerical value greater than 0, where 1 represents the normal playback speed, less than 1 represents decelerated playback, and greater than 1 represents accelerated playback.
[0009] Preferably, the operating state of the target electrical component in the time-domain simulation is monitored in real time, and the obtained operating state data is processed and then transmitted to the corresponding target sound effect component, including: Monitor the operating state of the target electrical component in the time-domain simulation in real time to obtain the first operating state data; Obtain the set sound effect logic-data list and the set target sound effect component list according to the component type of the current target electrical component; According to the component number of the current target electrical component, obtain the corresponding first target sound effect component and the corresponding key setting parameters from the set target sound effect component list; Use the key setting parameters to set the setting parameters of the first target sound effect component; Use the set sound effect logic-data list to divide the first operating state data to obtain the logic-state data under different sound effect playback logics; Process the obtained logic-state data according to the set data processing scheme corresponding to the corresponding sound effect playback logic to obtain the key logic data under different sound effect playback logics; Label the pins of the key logic data according to the input pins corresponding to the sound effect playback logic to which they belong; Input the key logic data into the corresponding input pins of the first target sound effect component that is consistent with the labeled pins.
[0010] Preferably, it further includes: Obtain the set state threshold list of the current target electrical component; Compare the first operating state data of the target electrical component with the operating state threshold ranges in the corresponding set of state threshold values; Label the first operating state data that does not belong to the corresponding operating state threshold range as abnormal state data; If there is abnormal state data for the current target electrical component, calculate a state abnormality coefficient based on all the obtained abnormal state data; Determine the level of state abnormality based on the obtained state abnormality coefficient; Using the level of state abnormality and the component type of the current target electrical component as matching conditions, match abnormal - setting parameters from a preset abnormal setting mapping table; Intelligently adjust the sound effect file and playback mode of the corresponding first target sound effect component of the current target electrical component using the abnormal - setting parameters.
[0011] Preferably, the calculation formula for the state abnormality coefficient is as follows: ; where, represents the state abnormality coefficient of the current target electrical component; represents the upper limit of the operating state threshold corresponding to the i - th abnormal state data of the current target electrical component, where i = 1, 2, 3, , n; n represents the total number of abnormal state data of the current target electrical component; represents the value of the i - th abnormal state data of the target electrical component at the current t - th moment; represents the lower limit of the operating state threshold corresponding to the i - th abnormal state data of the current target electrical component; represents the contribution weight of the i - th abnormal state data of the current target electrical component to the component operation; e represents a constant with a value of 2.7; represents the value of the i - th abnormal state data of the current target electrical component at the (t - 1) - th moment; represents the value of the i - th abnormal state data of the current target electrical component at the (t - 2) - th moment; represents the value of the i - th abnormal state data of the current target electrical component at the (t - 3) - th moment.
[0012] Preferably, it further includes: Update and adjust the priority of the target electrical component in the current target power system; When multiple sound effects are triggered simultaneously in the target power system, the system establishes a volume - priority list in descending order of the priority of the corresponding target electrical components of the currently triggered sound effects; When the list length of the volume - priority list is odd, the priority of the corresponding target electrical component located in the middle of the volume - priority list is used as the reference priority; When the list length of the volume - priority list is even, the smaller priority among the priorities of the two corresponding target electrical components located in the middle of the volume - priority list is used as the reference priority; Mark the corresponding target electrical components in the volume - priority list whose priorities are higher than the reference priority as the first adjustment components, and obtain the first level difference between the priority of the first adjustment component and the reference priority; Increase - adjust the volume of the playback sound effect corresponding to the first adjustment component based on the first level difference; Mark the corresponding target electrical components in the volume - priority list whose priorities are lower than the reference priority as the second adjustment components, and obtain the second level difference between the priority of the second adjustment component and the reference priority; Decrease - adjust the volume of the playback sound effect corresponding to the second adjustment component based on the second level difference.
[0013] Preferably, updating and adjusting the priorities of the target electrical components in the current target power system includes: Set a temporary priority flag bit. When there are intelligent adjustment setting parameters for the target electrical components, temporarily increase the priority of the target electrical components, and determine the increased priority according to the status exception level, and record them together in the temporary priority flag bit; When there are user priority requirements, change the priorities of the corresponding target electrical components in the priority configuration library according to the user priority requirements; Regularly obtain the historical maintenance data and historical trigger data of the target electrical components, and correspondingly obtain the historical maintenance frequency and historical trigger frequency; Calculate the adjustment expectation coefficient of the current target electrical component based on the historical maintenance frequency and historical trigger frequency; Among them, the calculation formula of the adjustment expectation coefficient is as follows: ; In the formula, represents the adjustment expectation coefficient of the current target electrical component; represents the standard value of the usage duration difference between the current target electrical component and the other electrical components in the target power system; represents the historical maintenance frequency of the current target electrical component; represents the set maintenance frequency threshold of the electrical component; represents the historical maintenance frequency of the a - th target electrical component other than the current target electrical component in the target power system, where a = 1, 2, 3, , d - 1; d represents the total number of target electrical components in the target power system; represents the average historical maintenance frequency of all target electrical components in the current target power system; represents the influence weight of the component maintenance status on the priority adjustment; represents the historical trigger frequency of the current target electrical component; represents the set trigger frequency threshold of the electrical component; represents the historical trigger frequency of the a - th target electrical component other than the current target electrical component in the target power system; represents the average historical trigger frequency of all target electrical components in the current target power system; represents the influence weight of the component trigger status on the priority adjustment; Label the target electrical components with an adjustment expectation coefficient greater than the set adjustment expectation threshold as expected adjustment components; Determine the priority adjustment direction and the adjusted priority based on the adjustment expectation coefficient of the expected adjustment component, and use the priority adjustment direction and the adjusted priority to change the corresponding priority of the current expected adjustment component in the priority configuration library.
[0014] Compared with the prior art, the beneficial effects of the present application are as follows: By designing the target sound effect component, the running state of the target electrical component in the time - domain simulation is monitored in real time, and the obtained running state data is processed and then transmitted to the corresponding target sound effect component; the target sound effect component plays the corresponding sound effect according to the received data, which can realize the intuitive perception of the running state of the power system, help reduce the number of simulation analysis times, and thus improve the simulation analysis efficiency.
[0015] Other features and advantages of the present invention will be described in the following specification, and, in part, will become apparent from the specification or will be understood by implementing the present invention. The objectives and other advantages of the present invention can be realized and obtained by the structure specifically pointed out in the written specification and the drawings.
[0016] The technical solutions of the present invention will be further described in detail below through the drawings and embodiments. Description of the Drawings
[0017] The drawings are used to provide a further understanding of the present invention, and constitute a part of the specification. They are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention. In the drawings: Figure 1 is a flowchart of a method for realizing the sound effect playback of the running state of a time - domain simulation component for a power system in an embodiment of the present invention; Figure 2This is a schematic diagram of a simulation example built in a time-domain simulation software in an embodiment of the present invention for demonstrating the use and effects of sound effect components. Detailed implementation manners
[0018] The following describes the preferred embodiments of the present invention with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only for the purpose of illustrating and explaining the present invention, and are not intended to limit the present invention.
[0019] An embodiment of the present invention provides a method for realizing sound effect playback of the operating state of a time-domain simulation component for a power system, as Figure 1 shown, including: Step 1: Design a target sound effect component and set parameters for the target sound effect component; Step 2: Real-time monitor the operating state of the target electrical component in the time-domain simulation, and process the obtained operating state data and transmit it to the corresponding target sound effect component; Step 3: The target sound effect component plays the corresponding sound effect according to the received data.
[0020] In this embodiment, the target sound effect component refers to a sound effect component that plays a sound effect related to the operating state by obtaining the operating state of the electrical component in the time-domain simulation. The target sound effect component has a built-in sound effect library, set parameters, and input pins. Among them, the input pins include Enable, Volume, and Speed; the target electrical component refers to an electrical component selected for sound effect playback feedback in the time-domain simulation of the power system, such as a circuit breaker, a transformer, etc.; the operating state data refers to various operating state data that the electrical component generates in real time during the simulation, such as current, voltage, power factor, etc. After being processed, the data is transmitted to the target sound effect component through a pre-set communication protocol and interface.
[0021] In this embodiment, for example, a simulation example built in a certain time-domain simulation software for demonstrating the use and effects of sound effect components, as Figure 2 shown.
[0022] The beneficial effects of the above technical solution are: by designing the target sound effect component, real-time monitoring the operating state of the target electrical component in the time-domain simulation, and processing the obtained operating state data and transmitting it to the corresponding target sound effect component; the target sound effect component plays the corresponding sound effect according to the received data, which can realize the intuitive perception of the operating state of the power system, help reduce the number of simulation analysis times, and thus improve the simulation analysis efficiency.
[0023] An embodiment of the present invention provides a method for realizing sound effect playback of the operating state of a time-domain simulation component for a power system. Design a target sound effect component and set parameters for the target sound effect component, including: For the target sound effect component, an internal sound effect library is provided. The sound effect library is used to store preset audio files of electrical equipment and supports users to upload and store self-made audio files; Two setting parameters, namely the sound effect file and the playback mode, are deployed for the target sound effect component. The sound effect file is used to select an audio from the built-in audio files or user-uploaded audio files, and the playback mode is used to select a mode from two playback modes: loop playback and single playback; Three input pins, namely Enable, Volume, and Speed, are designed for the target sound effect component.
[0024] In this embodiment, the preset electrical equipment refers to electrical equipment with sound, including equipment such as motors, transformers, circuit breakers, and converters; The Enable input pin is used to control the playback and stop of the sound effect, and only receives two numbers, 0 and 1. When receiving 1, the sound effect starts to play, and when receiving 0, the sound effect stops playing; The Volume input pin is used to control the volume of the sound effect and receives any digital quantity between 0 and 1. 1 is the maximum volume, and 0 is the minimum volume; The Speed input pin is used to control the playback speed of the sound effect and receives any digital quantity greater than 0. Among them, 1 represents the normal playback speed, less than 1 represents decelerated playback, and greater than 1 represents accelerated playback.
[0025] The beneficial effects of the above technical solutions are: By designing the target sound effect component and setting parameters, the personalization and practicality of the simulation can be further enhanced, providing effective support for realizing the sound effect feedback of the operation state of the power system.
[0026] An embodiment of the present invention provides a method for realizing the sound effect playback of the operation state of a time-domain simulation component in a power system, which real-time monitors the operation state of a target electrical component in the time-domain simulation and transmits the obtained operation state data to the corresponding target sound effect component after processing, including: Real-time monitor the operation state of the target electrical component in the time-domain simulation to obtain the first operation state data; Obtain the set sound effect logic-data list and the set target sound effect component list according to the component type of the current target electrical component; According to the component number of the current target electrical component, obtain the corresponding first target sound effect component and the corresponding key setting parameters from the set target sound effect component list; Use the key setting parameters to set the setting parameters of the first target sound effect component; Use the set sound effect logic-data list to divide the first operation state data to obtain the logic-state data under different sound effect playback logics; Process the obtained logic-state data according to the set data processing scheme of the corresponding sound effect playback logic to obtain the key logic data under different sound effect playback logics; Pin-label the key logic data to the input pins corresponding to the associated sound effect playback logic. Input the key logic data into the corresponding input pins of the first target sound effect component that is consistent with the labeled pins.
[0027] In this embodiment, the first operating state data refers to the real-time operating data of the target electrical component monitored in real time during time-domain simulation, such as current, voltage, power factor, etc.; the component type refers to the classification of the target electrical component in the power system, such as load, transformer, circuit breaker; the set sound effect logic-data list is composed of the preset sound effect playback logic and the corresponding associated operating state data. Among them, the sound effect playback logic includes the Enable pin logic (the associated operating state data includes the opening and closing of the circuit breaker, voltage change, etc.), the Volume pin logic (the associated operating state data includes load current, etc.), and the Speed pin logic (the associated operating state data includes grid frequency, etc.).
[0028] In this embodiment, the set target sound effect component list refers to the preset list of target sound effect components associated with each component type; the key setting parameters refer to the configuration of the setting parameters of the first target sound effect component; the logic-state data refers to the data obtained by dividing the first operating state data according to the sound effect playback logic; the set data processing scheme refers to the preset data processing flow for each sound effect playback logic. For example, the operating state data associated with the Enable pin logic generates a pulse signal that lasts for a certain period of time through a logic circuit (such as an edge detector, a monostable flip-flop, etc.); the operating state data associated with the Volume pin logic (such as load current) is converted into a digital quantity between 0 and 1; the operating state data associated with the Speed pin logic (such as grid frequency) is converted into a digital quantity greater than 0; the key logic data refers to the data that matches a specific sound effect playback logic after being processed by the set data processing scheme, and is used to trigger the sound effect component to play the corresponding sound effect.
[0029] In this embodiment, for example, there is a sound effect component 1 for playing the sound effect of the circuit breaker. The playback mode is set to single playback. The sound effect file is selected as "circuit breaker sound effect". The Speed pin and the Volume pin input the constant 1, indicating that the sound effect is played at the normal speed and the maximum volume. The Enable pin receives a signal related to the states of the three phases A, B, and C of the circuit breaker, so that any phase state change causes the Enable to receive a pulse signal lasting for 0.5 s. (Logical explanation: BRK_status is the states of the three phases A, B, and C of the circuit breaker, outputting 1 when closed and 0 when open. The edge detector outputs a spike pulse with an amplitude of 1 when detecting a transition from 0 to 1 or from 1 to 0. The monostable flip-flop converts the narrow pulse into a wide pulse lasting for 0.5 s. The three monostable flip-flops are input to the Enable pin through an OR gate, achieving the effect that any phase state change of the three phases A, B, and C starts the sound effect component 1.) There is a sound effect component 2 for playing the sound effect of the transformer. The playback mode is set to repeat playback (this can ensure continuous playback when the simulation time is greater than the sound effect file time). The sound effect file is selected as "transformer sound effect". The Volume pin inputs the constant 1, indicating that the sound effect is played at the maximum volume; the Speed pin inputs a signal related to the power grid frequency. When the frequency is 50 Hz, the sound effect is played at the normal speed, but when the frequency deviates from 50 Hz, the playback speed also deviates from 1, so that the change of the system frequency can be distinguished from the sound effect; the Enable pin receives a signal related to the voltage. When the voltage is higher than 0.3, the sound effect component 2 is started to simulate the operating sound effect after the transformer is energized. (Logical explanation: The output signal VT of the voltmeter is the three-phase voltage at the access point. The PLL can measure the frequency from the three-phase voltage VT.) There is a sound effect component 3 for playing the sound effect of the load. The playback mode is set to repeat playback (this can ensure continuous playback of the sound effect when the simulation time is greater than the sound effect file time). The sound effect file is selected as "load sound effect". The Volume pin inputs the constant 1, indicating that the sound effect is played at the maximum volume; the Speed pin inputs the constant 1, indicating that the sound effect is played at the normal speed; the Volume pin inputs a signal related to the load current. The rated load current is 0.577 kA, and IL_rms is the current measured from the load component. When the load current changes, the volume of the sound effect component 3 also changes accordingly, so that the magnitude of the load current can be distinguished from the sound effect; the Enable pin is connected to the Enable pin of the transformer sound effect component because the load will be energized after the transformer is energized.
[0030] The beneficial effects of the above technical solutions are as follows: By real-time monitoring the operating states of various target electrical components in the time-domain simulation and transmitting the obtained operating state data to the corresponding target sound effect components after processing, the operating states of the electrical components can be intuitively reflected, improving the intuitiveness and interactivity of the simulation.
[0031] An embodiment of the present invention provides a method for realizing sound effect playback of the operating state of a time-domain simulation component in a power system, further including: Obtain a set of state threshold lists of the current target electrical component; Compare the first operating state data of the target electrical component with the operating state threshold ranges in the corresponding set of state threshold lists; Mark the first operating state data that does not belong to the corresponding operating state threshold range as abnormal state data; If there is abnormal state data in the current target electrical component, calculate a state abnormality coefficient based on all the obtained abnormal state data; Determine a state abnormality level based on the obtained state abnormality coefficient; Using the state abnormality level and the component type of the current target electrical component as matching conditions, match abnormal-setting parameters from a preset abnormal setting mapping table; Intelligently adjust the sound effect file and playback mode of the corresponding first target sound effect component of the current target electrical component using the abnormal-setting parameters.
[0032] In this embodiment, the set of state threshold lists refers to a series of preset operating state threshold ranges for each type of target electrical component, and the operating state threshold ranges are used to determine whether the operating state of the electrical component is normal; abnormal state data refers to the first operating state data that does not belong to the corresponding operating state threshold range; the state abnormality coefficient is used to characterize the degree of state abnormality of the current target electrical component; the state abnormality level is obtained from a set abnormal level table with the state abnormality coefficient as the matching condition, where the set abnormal level table consists of an abnormal coefficient value range and the corresponding abnormal levels, and the abnormal levels include three levels: slight abnormality, normal abnormality, and special abnormality; the abnormal-setting parameters are a combination of the sound effect file and playback mode matched from the preset abnormal setting mapping table according to the state abnormality level and the component type.
[0033] The beneficial effects of the above technical solution are: By comparing the operating state data with the set of state threshold lists, abnormal state data can be accurately identified, thus timely issuing a fault warning; According to the state abnormality coefficient and the component type, intelligently adjusting the sound effect file and playback mode of the target sound effect component can make the sound effect feedback more in line with the actual operating state of the electrical component, improving the fault warning ability of the simulation system.
[0034] An embodiment of the present invention provides a method for realizing sound effect playback of the operating state of a time-domain simulation component in a power system, and the calculation formula of the state abnormality coefficient is as follows: ; where, represents the state abnormality coefficient of the current target electrical component; It represents the upper limit of the corresponding operating state threshold for the i-th abnormal state data of the current target electrical component, where i = 1, 2, 3, , n; n represents the total number of abnormal state data of the current target electrical component; It represents the value of the i-th abnormal state data of the target electrical component at the current time t; It represents the lower limit of the corresponding operating state threshold for the i-th abnormal state data of the current target electrical component; It represents the contribution weight of the i-th abnormal state data of the current target electrical component to the operation of the component; e represents a constant with a value of 2.7; It represents the value of the i-th abnormal state data of the current target electrical component at the time t - 1; It represents the value of the i-th abnormal state data of the current target electrical component at the time t - 2; It represents the value of the i-th abnormal state data of the current target electrical component at the time t - 3.
[0035] In this embodiment, the weights assigned to different abnormal state data are obtained by solving the matrix constructed after pairwise comparison and relative importance scoring using the analytic hierarchy process.
[0036] The beneficial effects of the above technical solution are: By calculating the state anomaly coefficient, it can provide a data basis for obtaining the anomaly level of the target electrical component, and then realize the intelligent adjustment of the sound effect file and playback mode of the corresponding first target sound effect component of the target electrical component.
[0037] The embodiment of the present invention provides a method for realizing sound effect playback of the operating state of a time-domain simulation component in a power system, further including: Updating and adjusting the priority of the target electrical component in the current target power system; When multiple sound effects are triggered simultaneously in the target power system, the system establishes a volume-priority list in descending order of the priority of the corresponding target electrical components of the currently triggered sound effects; When the length of the volume-priority list is odd, the priority of the corresponding target electrical component located in the middle of the volume-priority list is used as the reference priority; When the length of the volume-priority list is even, the smaller priority among the priorities of the two corresponding target electrical components located in the middle of the volume-priority list is used as the reference priority; Mark the corresponding target electrical components in the volume-priority list whose priorities are higher than the reference priority as the first adjustment components, and obtain the first level difference between the priority of the first adjustment component and the reference priority; The volume of the sound effect played corresponding to the first adjustment element is increased based on the first level difference; Mark the target electrical components with priorities lower than the reference priority in the volume - priority list as the second adjustment elements, and obtain the second level difference between the priority of the second adjustment element and the reference priority; The volume of the sound effect played corresponding to the second adjustment element is decreased based on the second level difference.
[0038] In this embodiment, the volume - priority list refers to a list established in descending order according to the priorities of the target electrical components corresponding to these sound effects when multiple sound effects are triggered simultaneously in the target power system; the reference priority refers to the priority of the target electrical component corresponding to the middle of the volume - priority list (when the length of the list is odd) or the smaller priority of the two target electrical components corresponding to the middle of the volume - priority list (when the length of the list is even); the first adjustment element refers to the target electrical component with a priority higher than the reference priority in the volume - priority list; the first level difference refers to the difference between the priority of the first adjustment element and the reference priority.
[0039] In this embodiment, the second adjustment element refers to the target electrical component with a priority lower than the reference priority in the volume - priority list; the second level difference refers to the difference between the priority of the second adjustment element and the reference priority.
[0040] In this embodiment, for example, there is a first adjustment element r1 with a priority of level 6, a second adjustment element r2 with a priority of level 2, and the current reference priority is level 4; at this time, the first level difference b1 is +2 levels, and the second level difference b2 is -2 levels; The volume of the sound effect played corresponding to the first adjustment element r1 is increased based on the first level difference, and the calculation formula for the first adjusted volume is expressed as ; in the formula, represents the first adjusted volume of the sound effect played corresponding to the first adjustment element r1; represents the volume before adjustment of the sound effect played corresponding to the first adjustment element r1; represents the total number of priorities of the target electrical components; represents the first level difference; ln represents the natural logarithm; e represents a constant with a value of 2.7; The volume of the sound effect played corresponding to the second adjustment element r2 is increased based on the second level difference, and the calculation formula for the second adjusted volume is expressed as ; in the formula, h represents the first adjusted volume of the sound effect played corresponding to the second adjustment element r2; h represents the volume before adjustment of the sound effect played corresponding to the second adjustment element r2; It is expressed as the second level difference.
[0041] The beneficial effects of the above technical solution are as follows: By introducing the concept of the priority of the target electrical component and carefully planning the sound effect playback strategy, the effective management and optimization of sound effect playback in a complex power system simulation environment are achieved.
[0042] The embodiment of the present invention provides a method for realizing the sound effect playback of the operating state of a time-domain simulation component in a power system, which updates and adjusts the priority of the target electrical component in the current target power system, including: Set a temporary priority flag bit. When there is a target electrical component that intelligently adjusts the set parameters, temporarily increase the priority of the target electrical component, and determine the increased priority according to the status exception level, and record it in the temporary priority flag bit together; When there is a user's priority requirement, correspondingly change the priority of the corresponding target electrical component in the priority configuration library according to the user's priority requirement; Regularly obtain the historical maintenance data and historical trigger data of the target electrical component, and correspondingly obtain the historical maintenance frequency and historical trigger frequency; Calculate the adjustment expectation coefficient of the current target electrical component based on the historical maintenance frequency and historical trigger frequency; Among them, the calculation formula of the adjustment expectation coefficient is as follows: ; In the formula, It is expressed as the adjustment expectation coefficient of the current target electrical component; It is expressed as the standard value of the usage time difference between the current target electrical component and the other electrical components in the target power system; It is expressed as the historical maintenance frequency of the current target electrical component; It is expressed as the set maintenance frequency threshold of the electrical component; It is expressed as the historical maintenance frequency of the a-th target electrical component other than the current target electrical component in the target power system, where a = 1, 2, 3, , d - 1; d represents the total number of target electrical components in the target power system; It is expressed as the average value of the historical maintenance frequencies of all target electrical components in the current target power system; It is expressed as the influence weight of the component maintenance status on the priority adjustment; It is expressed as the historical trigger frequency of the current target electrical component; It is expressed as the set trigger frequency threshold of the electrical component; It is expressed as the historical trigger frequency of the a-th target electrical component other than the current target electrical component in the target power system; It is expressed as the average value of the historical trigger frequencies of all target electrical components in the current target power system; It is expressed as the influence weight of the component trigger status on the priority adjustment; Label the target electrical components with an adjustment expectation coefficient greater than the set adjustment expectation threshold as expected adjustment components; Determine the priority adjustment direction and the adjusted priority based on the adjustment expectation coefficient of the expected adjustment component, and use the priority adjustment direction and the adjusted priority to change the corresponding priority of the current expected adjustment component in the priority configuration library.
[0043] In this embodiment, the temporary priority flag bit is used to temporarily store the priority information increased by the target electrical component due to the intelligent adjustment setting parameters; the user's priority requirement refers to the adjustment request made by the user for the priority of the target electrical component; the priority configuration library refers to the database that stores the priority information of all target electrical components in the target power system; the adjustment expectation coefficient is used to evaluate the necessity of the priority adjustment of the target electrical component; the expected adjustment component refers to the target electrical component with an adjustment expectation coefficient greater than the set adjustment expectation threshold.
[0044] The beneficial effects of the above technical solution are: through the intelligent management and optimization of the priorities of the target electrical components in the target power system, the flexibility and response speed of the sound effect playback are effectively improved, and the personalized needs of users are also met, thereby helping to improve the simulation analysis efficiency.
[0045] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these changes and modifications.
Claims
1. A method for playing sound effects of the operating state of a time-domain simulation element for a power system, characterized in that: include: Step 1: Design a target sound effect element and set parameters for the target sound effect element; Step 2: monitor the operating status of the target electrical component in the time domain simulation in real time, and process the acquired operating status data and transmit it to the corresponding target sound effect component; Step 3: The target sound effect component plays the corresponding sound effect according to the received data.
2. The method for playing sound effects of the operating status of a time-domain simulation element for a power system according to claim 1, characterized in that: Designing a target sound effect element and setting parameters of the target sound effect element include: A built-in sound effect library is provided for the target sound effect element, wherein the sound effect library is used to store preset audio files of electrical equipment and supports users to upload and store self-made audio files; Deploy two setting parameters, namely, sound effect file and play mode, for the target sound effect element. The sound effect file is used to select audio from built-in audio files or audio files uploaded by users, and the play mode is used to select a mode from two play modes, namely, loop play and single play. Design three input pins: Enable, Volume, and Speed for the target audio component.
3. The method for playing sound effects of the operating status of a time-domain simulation element for a power system according to claim 2, characterized in that: The Enable input pin is used to control the play and stop of the sound effect. It only receives two numbers, 0 and 1. When 1 is received, the sound effect starts playing, and when 0 is received, the sound effect stops playing. The Volume input pin is used to control the volume of the sound effect. It receives any digital value between 0 and 1, where 1 is the maximum volume and 0 is the minimum volume. The Speed input pin is used to control the playback speed of the sound effect. It receives any digital value greater than 0, where 1 represents normal playback speed, less than 1 represents decelerated playback, and greater than 1 represents accelerated playback.
4. The method for playing sound effects of the operating state of a time-domain simulation element for a power system according to claim 1, characterized in that: Real-time monitoring of the operating status of the target electrical components in the time domain simulation, and processing of the acquired operating status data transmitted to the corresponding target sound effect components, including: Real-time monitoring of the operating state of the target electrical component in the time domain simulation to obtain first operating state data; According to the component type of the current target electrical component, a list of set sound effect logic-data and a list of set target sound effect components are obtained; According to the component number of the current target electrical component, obtaining a corresponding first target sound effect component and a corresponding key setting parameter from the set target sound effect component list; Using the key setting parameters to set the setting parameters of the first target sound effect element; Using the set sound effect logic-data list to divide the first running state data, and obtain logic-state data under different sound effect playback logics; The acquired logic-state data is processed according to the set data processing scheme of the corresponding sound effect playback logic to obtain key logic data under different sound effect playback logics; Pin-mark the key logic data according to the input pins corresponding to the corresponding sound effect playback logic; Input the key logic data into the corresponding input pin of the first target audio effect element that is consistent with the marked pin.
5. The method for playing sound effects of the operating status of a time-domain simulation element for a power system according to claim 4, characterized in that: Also includes: Obtain a list of set state thresholds of the current target electrical component; comparing the first operating state data of the target electrical component with the operating state threshold range in the corresponding set state threshold list; Marking first operating status data that does not belong to the corresponding operating status threshold range as abnormal status data; If the current target electrical component has abnormal state data, the state abnormality coefficient is calculated based on all acquired abnormal state data; Determine the state abnormality level according to the acquired state abnormality coefficient; Using the state abnormality level and the component type of the current target electrical component as matching conditions, matching the abnormality-setting parameters from a preset abnormality setting mapping table; The abnormal-setting parameters are used to intelligently adjust the sound effect file and the play mode of the first target sound effect element corresponding to the current target electrical element.
6. According to the method for implementing the sound effect playback of the operating state of a time-domain simulation element for a power system in claim 5, the calculation formula of the state abnormality coefficient is as follows: ; In the formula, It is expressed as the state abnormality coefficient of the current target electrical component; It is represented as the upper limit of the operating state threshold corresponding to the i-th abnormal state data of the current target electrical component, where: i=1,2,3, , n; n represents the total number of abnormal status data of the current target electrical component; It is represented as the value of the i-th abnormal state data of the target electrical component at the current time t; It is represented as the lower limit of the corresponding operating state threshold of the i-th abnormal state data of the current target electrical component; It is represented as the contribution weight of the i-th abnormal state data of the current target electrical component to the operation of the component; e is represented as a constant with a value of 2.7; It is represented by the value of the i-th abnormal state data of the current target electrical component at time t-1; It is represented as the value of the i-th abnormal state data of the current target electrical component at time t-2; It is represented by the value of the i-th abnormal state data of the current target electrical component at time t-3.
7. The method for playing sound effects of the operation status of a time-domain simulation element for a power system according to claim 4, further comprising: Updating and adjusting the priorities of target electrical components in the current target power system; When multiple sound effects are triggered simultaneously in the target power system, the system establishes a volume-priority list from high to low according to the priorities of the corresponding target electrical components of the currently triggered sound effects; When the list length of the volume-priority list is an odd number, the priority of the corresponding target electrical component located in the middle of the volume-priority list is used as the reference priority; When the length of the volume-priority list is an even number, the smaller priority of the two corresponding target electrical components located in the middle of the volume-priority list is taken as the reference priority; Marking a corresponding target electrical component having a priority higher than a reference priority in the volume-priority list as a first adjustment component, and obtaining a first level difference between the priority of the first adjustment component and the reference priority; increasing the volume of the sound effect played by the first adjustment element based on the first level difference; Marking a corresponding target electrical component whose priority in the volume-priority list is lower than the reference priority as a second adjustment component, and obtaining a second level difference between the priority of the second adjustment component and the reference priority; The volume of the sound effect played corresponding to the second adjustment element is reduced and adjusted based on the second level difference.
8. According to the method for implementing the sound effect playing of the operation status of the time-domain simulation component of the power system of claim 7, the priority of the target electrical component in the current target power system is updated and adjusted, comprising: A temporary priority flag is set. When there is a target electrical component intelligently adjusting the setting parameters, the priority of the target electrical component is temporarily increased, and the increased priority is determined according to the abnormal state level, and recorded in the temporary priority flag; When there is a user priority requirement, the priority of the corresponding target electrical component in the priority configuration library is changed accordingly according to the user priority requirement; Periodically obtain historical maintenance data and historical trigger data of target electrical components, and obtain corresponding historical maintenance frequency and historical trigger frequency; Calculating an adjustment expectation coefficient of a current target electrical component based on the historical maintenance frequency and the historical trigger frequency; The calculation formula for adjusting the expected coefficient is as follows: ; In the formula, It is expressed as the adjustment expected coefficient of the current target electrical component; It is expressed as a standard value of the difference in usage time between the current target electrical component and the remaining electrical components in the target power system; It is represented by the historical maintenance frequency of the current target electrical component; It is represented as a set maintenance frequency threshold of the electrical component; It is represented by the historical maintenance frequency of the ath target electrical component in the target power system except the current target electrical component, where a=1, 2, 3, , d-1; d represents the total number of target electrical components in the target power system; It is represented by the average historical maintenance frequency of all target electrical components in the current target power system; It is expressed as the weight of the impact of component maintenance status on priority adjustment; It is represented as the historical trigger frequency of the current target electrical component; It is represented as a set trigger frequency threshold of an electrical component; It is represented by the historical triggering frequency of the ath target electrical component other than the current target electrical component in the target power system; It is represented as the average value of the historical trigger frequencies of all target electrical components in the current target power system; It is expressed as the weight of the impact of the component triggering condition on the priority adjustment; Marking a target electrical component whose adjustment expectation coefficient is greater than a set adjustment expectation threshold as an expected adjustment component; The priority adjustment direction and the adjusted priority are determined based on the adjustment expected coefficient of the expected adjustment element, and the corresponding priority of the current expected adjustment element in the priority configuration library is changed using the priority adjustment direction and the adjusted priority.
Citation Information
Patent Citations
Equipment fault early warning method based on maintenance records
CN108023782A
Temperature vibration detection device and fault feature recognition system for axial flow fan in pipe gallery
CN118779742A
Operation prompting method, device and equipment of nuclear power unit and storage medium
CN119377814A
Display control system of building sand table
CN221200737U
Information terminal and program
JP2006079311A