CN110426967B - Analog simulation method, device and storage medium for household load data - Google Patents

Analog simulation method, device and storage medium for household load data Download PDF

Info

Publication number
CN110426967B
CN110426967B CN201910728031.1A CN201910728031A CN110426967B CN 110426967 B CN110426967 B CN 110426967B CN 201910728031 A CN201910728031 A CN 201910728031A CN 110426967 B CN110426967 B CN 110426967B
Authority
CN
China
Prior art keywords
preset
script
active power
test
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910728031.1A
Other languages
Chinese (zh)
Other versions
CN110426967A (en
Inventor
汤博
任智仁
刘宇轩
汪龙峰
刘建
梁家阁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wasion Group Co Ltd
Original Assignee
Wasion Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wasion Group Co Ltd filed Critical Wasion Group Co Ltd
Priority to CN201910728031.1A priority Critical patent/CN110426967B/en
Publication of CN110426967A publication Critical patent/CN110426967A/en
Application granted granted Critical
Publication of CN110426967B publication Critical patent/CN110426967B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/20End-user application control systems
    • Y04S20/242Home appliances

Abstract

The invention discloses a simulation method of household load data, which comprises the following steps: acquiring test scene information; generating a corresponding script sequence and an active power curve according to the test scene information; acquiring a preset test sampling rate, preset signal frequency, preset amplitude information and preset phase angle information corresponding to test scene information; respectively generating a voltage instantaneous value test waveform and a current instantaneous value test waveform according to a preset test sampling rate, a preset signal frequency, preset amplitude information, preset phase angle information and an active power curve; and converting the voltage instantaneous value test waveform and the current instantaneous value test waveform through a DA device according to a preset test sampling rate, and outputting an analog signal value. The invention also discloses a simulation device and a storage medium for the household load data. The invention can realize and provide a simpler and more convenient method for obtaining the household load data, and is used for providing a test sample for a non-intrusive power load monitoring method.

Description

Analog simulation method, device and storage medium for household load data
Technical Field
The invention relates to the technical field of power load monitoring, in particular to a simulation method and device for household load data and a computer readable storage medium.
Background
Non-intrusive load monitoring is one of the important development directions for future power load monitoring. Compared with invasive monitoring, the non-invasive load monitoring only needs to install non-invasive detection equipment at an inlet of power supply, and the monitoring of the internal load of a local system is realized. The power supply can not be interrupted, a large amount of detection equipment does not need to be installed, and the economical efficiency is improved.
At present, more algorithms and researches on non-invasive power load monitoring are carried out, and a new method and a new mode for non-invasive power load monitoring are infinite. Such as a non-invasive load identification method for improving self-learning ability and a non-invasive power load identification method based on a neural network. Before the methods are widely used in actual life, the accuracy and the applicability of the methods need to be tested, and a large amount of simulation power load data are needed as test samples in the testing process. In reality, the collection of the power load data is difficult, the collection workload is large, the collection channels are limited, and the difficulty of execution and implementation is large.
Disclosure of Invention
The invention mainly aims to provide a simulation method, a simulation device and a computer readable storage medium for household load data, and aims to provide a simple method for obtaining household load data, which is used for providing a test sample for a non-invasive power load monitoring method.
In order to achieve the above object, the present invention provides an analog simulation method of home load data, comprising the steps of:
acquiring test scene information;
generating a corresponding script sequence and an active power curve according to the test scene information;
acquiring a preset test sampling rate, preset signal frequency, preset amplitude information and preset phase angle information corresponding to the test scene information;
respectively generating a voltage instantaneous value test waveform and a current instantaneous value test waveform according to the preset test sampling rate, the preset signal frequency, the preset amplitude information, the preset phase angle information and the active power curve;
and converting the voltage instantaneous value test waveform and the current instantaneous value test waveform through a DA device according to the preset test sampling rate, and then outputting an analog signal value.
Optionally, the test scenario information includes a type of a fixed-frequency compressor, and the script sequence and the active power curve generated according to the test scenario information are generated by the following formula:
COMPERSSOR=[A,B,C,P1,T1,T2,T3,θ] (1)
Y=-A(X-C) 2 +B,X∈[T1,T2] (2)
Y=P1,X∈[T2,T3] (3)
the method comprises the steps of generating a script sequence, generating a script active power curve at the starting moment of fixed-frequency compressor equipment by using a script sequence, generating a script active power curve at the starting moment of the fixed-frequency compressor equipment by using a formula (1), generating a script sequence by using a formula (2), and generating a script active power curve at the stable working interval of the fixed-frequency compressor equipment by using a formula (3), wherein the script phase difference between current instantaneous signals is theta, the script active power value corresponding to a cycle is P1, the script active power values are T1, T2 and T3 are script time values, the unit is a cycle, A, B and C are script parameter values, and Y is an active power value.
Optionally, the test scenario information includes a resistance type, and the script sequence and the active power curve generated according to the test scenario information are generated by the following formulas:
RESISTOR=[P,T1,T2,θ] (4)
Y=P,X∈[T1,T2] (5)
the RESISTOR is a script sequence, theta is voltage, script phase difference between current instantaneous signals, P is a script active power value corresponding to a cycle, T1 and T2 are script time values, the unit is a cycle, Y is an active power value, a formula (4) is a script sequence generation model, and a formula (5) is an active power curve of a stable working interval of the resistance type equipment.
Optionally, the test scenario information includes a microwave type, and the script sequence and the active power curve generated according to the test scenario information are generated by the following formulas:
MICROWAVE=[P1,P2,T1,T2,T3,θ] (6)
Figure BDA0002159194810000021
the method comprises the following steps of generating a script sequence, generating a script phase difference between current instantaneous signals, generating a script active power value by using a script time value, generating a script sequence generating model by using a script (6), and generating an active power curve by using a formula (7), wherein the script sequence is MICROWAVE, theta is voltage, and the script phase difference between the current instantaneous signals is P1, and P2 are script active power values corresponding to cycles, T1, T2, and T3 are script time values, the unit is a cycle, Y is an active power value.
Optionally, the test scenario information includes an electromagnetic type, and the script sequence and the active power curve generated according to the test scenario information are generated by the following formulas:
INDUCTION=[P1,P2,T1,T2,T3,T4,θ] (8)
Figure BDA0002159194810000031
Y=P2,X∈[T3,T4] (11)
the method comprises the steps that input is a script sequence, theta is voltage, script phase difference between current instantaneous signals, P1 and P2 are script active power values corresponding to cycles, T1, T2, T3 and T4 are script time values, the unit is a cycle, Y is an active power value, a formula (8) is a script sequence generation model, a formula (9) is a first-stage active power curve for starting microwave equipment, a formula (10) is a second-stage active power curve for starting the microwave equipment, and a formula (11) is an active power curve of a stable working interval for starting the microwave equipment.
Optionally, the step of presetting the signal frequency includes presetting the voltage signal frequency and presetting the current signal frequency, the preset amplitude information includes presetting the voltage amplitude information, the preset phase angle information includes presetting the current phase angle information, the step of generating the voltage instantaneous value test waveform and the current instantaneous value test waveform according to the preset test sampling rate, the preset signal frequency, the preset amplitude information, the preset phase angle information and the active power curve includes:
generating a voltage instantaneous value test waveform according to the preset test sampling rate, the preset voltage signal frequency and the preset voltage amplitude information;
and generating a current instantaneous value test waveform according to the active power curve, a preset test sampling rate, a preset current signal frequency and preset current phase angle information.
Optionally, the step of converting the voltage instantaneous value test waveform and the current instantaneous value test waveform by a DA device according to the preset test sampling rate and outputting an analog signal value includes:
acquiring preset environment background noise data, wherein the preset environment background noise data comprises Gaussian noise, Rayleigh noise and/or uniform noise;
and respectively superposing the voltage instantaneous value test waveform and the current instantaneous value test waveform on the preset environment background noise data, and converting the preset environment background noise data through a DA device according to the preset test sampling rate to output an analog signal value.
Optionally, the voltage instantaneous value test waveform and the current instantaneous value test waveform are respectively superimposed on the preset environment background noise data and converted by a DA device according to the preset test sampling rate, and then an output analog signal value is converted by the following formula:
S final (t)=S original (t)+N(t)
wherein S is final (t) is the DA device input signal value, S original And (t) is a voltage instantaneous value test waveform and a current instantaneous value test waveform, and N (t) is preset environment background noise data.
In addition, to achieve the above object, the present invention provides an analog simulation apparatus of home load data, comprising: a memory, a processor and a simulation program of home load data stored on the memory and executable on the processor, the simulation program of home load data implementing the steps of the simulation method of home load data as described above when executed by the processor.
In addition, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon an analog simulation program of home load data, which when executed by a processor, implements the steps of the above-described analog simulation method of home load data.
The invention provides a simulation method and a simulation device for household load data and a computer storage medium. In the method, test scene information is acquired; generating a corresponding script sequence and an active power curve according to the test scene information; acquiring a preset test sampling rate, preset signal frequency, preset amplitude information and preset phase angle information corresponding to the test scene information; respectively generating a voltage instantaneous value test waveform and a current instantaneous value test waveform according to the preset test sampling rate, the preset signal frequency, the preset amplitude information, the preset phase angle information and the active power curve; and converting the voltage instantaneous value test waveform and the current instantaneous value test waveform through a DA device according to the preset test sampling rate, and outputting an analog signal value. Through the mode, the method can generate the corresponding step sequence and the active power curve according to different test scene information, generate the voltage instantaneous value test waveform and the current instantaneous value test waveform according to the preset test sampling rate corresponding to the active power curve and the test scene information, preset signal frequency, preset amplitude information and preset phase angle information, convert and output the voltage instantaneous value test waveform and the current instantaneous value test waveform to obtain the analog signal value for simulating the household power consumption condition and obtaining the simulated value of the household power consumption condition, and provide effective support for algorithm simulation and product test.
Drawings
Fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a simulation method for household load data according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of the simulation method for the household load data according to the present invention;
fig. 4 is a flowchart illustrating a simulation method for home load data according to a third embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be terminal equipment with a data processing function, such as a smart phone, a tablet computer, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a Wi-Fi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an analog simulation program of home load data.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call an analog simulation program of the home load data stored in the memory 1005, and perform the following operations:
acquiring test scene information;
generating a corresponding script sequence and an active power curve according to the test scene information;
acquiring a preset test sampling rate, preset signal frequency, preset amplitude information and preset phase angle information corresponding to the test scene information;
respectively generating a voltage instantaneous value test waveform and a current instantaneous value test waveform according to the preset test sampling rate, the preset signal frequency, the preset amplitude information, the preset phase angle information and the active power curve;
and converting the voltage instantaneous value test waveform and the current instantaneous value test waveform through a DA device according to the preset test sampling rate, and then outputting an analog signal value.
Further, the processor 1001 may call an analog simulation program of the home load data stored in the memory 1005, and also perform the following operations:
the test scene information comprises the type of the fixed-frequency compressor, and the corresponding script sequence and the active power curve generated according to the test scene information are generated through the following formulas:
COMPERSSOR=[A,B,C,P1,T1,T2,T3,θ] (1)
Y=-A(X-C) 2 +B,X∈[T1,T2] (2)
Y=P1,X∈[T2,T3] (3)
the method comprises the steps of generating a script sequence, generating a script active power curve at the starting moment of fixed-frequency compressor equipment by using a script sequence, generating a script active power curve at the starting moment of the fixed-frequency compressor equipment by using a formula (1), generating a script sequence by using a formula (2), and generating a script active power curve at the stable working interval of the fixed-frequency compressor equipment by using a formula (3), wherein the script phase difference between current instantaneous signals is theta, the script active power value corresponding to a cycle is P1, the script active power values are T1, T2 and T3 are script time values, the unit is a cycle, A, B and C are script parameter values, and Y is an active power value.
Further, the processor 1001 may call an analog simulation program of the home load data stored in the memory 1005, and also perform the following operations:
the test scenario information comprises a resistance type, and the corresponding script sequence and the active power curve generated according to the test scenario information are generated through the following formulas:
RESISTOR=[P,T1,T2,θ] (4)
Y=P,X∈[T1,T2] (5)
the RESISTOR is a script sequence, theta is voltage, script phase difference between current instantaneous signals, P is a script active power value corresponding to a cycle, T1 and T2 are script time values, the unit is a cycle, Y is an active power value, a formula (4) is a script sequence generation model, and a formula (5) is an active power curve of a stable working interval of the resistance type equipment.
Further, the processor 1001 may call an analog simulation program of the home load data stored in the memory 1005, and also perform the following operations:
the test scenario information comprises a microwave type, and the corresponding script sequence and the active power curve generated according to the test scenario information are generated through the following formulas:
MICROWAVE=[P1,P2,T1,T2,T3,θ] (6)
Figure BDA0002159194810000071
the method comprises the following steps of generating a script sequence, generating a script phase difference between current instantaneous signals, generating a script active power value by using a script time value, generating a script sequence generating model by using a script (6), and generating an active power curve by using a formula (7), wherein the script sequence is MICROWAVE, theta is voltage, and the script phase difference between the current instantaneous signals is P1, and P2 are script active power values corresponding to cycles, T1, T2, and T3 are script time values, the unit is a cycle, Y is an active power value.
Further, the processor 1001 may call an analog simulation program of the home load data stored in the memory 1005, and also perform the following operations:
the test scenario information comprises an electromagnetic type, and the corresponding script sequence and the active power curve generated according to the test scenario information are generated through the following formulas:
INDUCTION=[P1,P2,T1,T2,T3,T4,θ] (8)
Figure BDA0002159194810000081
Y=P2,X∈[T3,T4] (11)
the method comprises the steps that input is a script sequence, theta is voltage, script phase difference between current instantaneous signals, P1 and P2 are script active power values corresponding to cycles, T1, T2, T3 and T4 are script time values, the unit is a cycle, Y is an active power value, a formula (8) is a script sequence generation model, a formula (9) is a first-stage active power curve for starting microwave equipment, a formula (10) is a second-stage active power curve for starting the microwave equipment, and a formula (11) is an active power curve of a stable working interval for starting the microwave equipment.
Further, the processor 1001 may call an analog simulation program of the home load data stored in the memory 1005, and also perform the following operations:
the preset signal frequency comprises a preset voltage signal frequency and a preset current signal frequency, the preset amplitude information comprises preset voltage amplitude information, the preset phase angle information comprises preset current phase angle information, and the steps of generating a voltage instantaneous value test waveform and a current instantaneous value test waveform according to the preset test sampling rate, the preset signal frequency, the preset amplitude information, the preset phase angle information and an active power curve comprise:
generating a voltage instantaneous value test waveform according to the preset test sampling rate, the preset voltage signal frequency and the preset voltage amplitude information;
and generating a current instantaneous value test waveform according to the active power curve, a preset test sampling rate, a preset current signal frequency and preset current phase angle information.
Further, the processor 1001 may call an analog simulation program of the home load data stored in the memory 1005, and also perform the following operations:
acquiring preset environment background noise data, wherein the preset environment background noise data comprises Gaussian noise, Rayleigh noise and/or uniform noise;
and respectively superposing the voltage instantaneous value test waveform and the current instantaneous value test waveform on the preset environment background noise data, and converting the preset environment background noise data through a DA device according to the preset test sampling rate to output an analog signal value.
Further, the processor 1001 may call an analog simulation program of the home load data stored in the memory 1005, and also perform the following operations:
and respectively superposing the voltage instantaneous value test waveform and the current instantaneous value test waveform on the preset environment background noise data, converting the preset environment background noise data through a DA device according to the preset test sampling rate, and then outputting an analog signal value to convert the analog signal value through the following formula:
S final (t)=S original (t)+N(t)
wherein S is final (t) is the DA device input signal value, S original And (t) is a voltage instantaneous value test waveform and a current instantaneous value test waveform, and N (t) is preset environment background noise data.
The specific embodiment of the simulation device for home load data of the present invention is substantially the same as the following embodiments of the simulation method for home load data, and will not be described herein again.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a simulation method of home load data according to the present invention, where the simulation method of home load data includes:
step S100, obtaining test scene information;
the implementation method is used for simulating and simulating the load data of the household appliance, and abundant power utilization scene data can be generated in a simulated mode by combining different power utilization equipment models and parameters, so that the practical problem in load identification research work is solved, effective support is provided for algorithm simulation and product test, and technical and industrial development is promoted. In this embodiment, the test scenario information may be 4 types of common electric devices, such as a fixed-frequency compressor type model, a resistance type model, a microwave type model, and an electromagnetic type model. Such as an air conditioner, which is a compressor type home appliance; the electric cooker is a resistance type household appliance; a microwave oven is a microwave type home appliance. The 4 types of test scene information can simulate various household electricity utilization conditions and provide household electricity utilization simulation data. Test scenario information to be simulated is acquired first.
Step S200, generating a corresponding script sequence and an active power curve according to the test scene information;
and after the test scene information is determined, generating a corresponding script sequence and an active power curve through a model and a related formula according to the test scene information. Each kind of test scene information corresponds to a corresponding test scene model, a script sequence corresponding to the test scene information can be generated through the test scene model, and an active power curve can be generated according to the script sequence and a relevant formula. The active power curve corresponds to the active power situation of a home power scenario. If the test scene information is the type of the fixed-frequency compressor, a script sequence can be generated through a script model of the fixed-frequency compressor corresponding to the type of the fixed-frequency compressor, and an active power curve of the type of the fixed-frequency compressor can be obtained according to script data in the script sequence and a related formula. The active power curve corresponds to a household power consumption condition.
Specifically, if the test scenario information is of a type of a fixed-frequency compressor, the corresponding script sequence and active power curve generated according to the test scenario information are generated according to the following formulas:
COMPERSSOR=[A,B,C,P1,T1,T2,T3,θ] (1)
Y=-A(X-C) 2 +B,X∈[T1,T2] (2)
Y=P1,X∈[T2,T3] (3)
the method comprises the steps of obtaining a script sequence, obtaining a script phase difference between instantaneous current signals, obtaining a script active power value corresponding to a cycle, obtaining a script active power value corresponding to the cycle, obtaining a script time value, obtaining a cycle, obtaining script parameter values, obtaining an active power value, obtaining a script sequence generation model, obtaining an active power curve at the starting moment of fixed-frequency compressor equipment, and obtaining a script phase difference between the compressor voltage and the instantaneous current signals, wherein the script phase difference is represented by P1, the script active power value is represented by T1, T2 and T3, the unit is the cycle, the script parameter values are represented by A, B and C, the active power value is represented by Y, the active power curve is represented by formula (1), the active power curve is represented by formula (2), and the active power curve is represented by formula (3).
Wherein, A, B, C, P1, T1, T2, T3 and theta are data in the script sequence, and an active power curve can be determined and generated according to the data in the script sequence through the formula (2) and the formula (3).
Specifically, if the test scenario information includes a resistance type, the corresponding script sequence and the active power curve generated according to the test scenario information are generated according to the following formulas:
RESISTOR=[P,T1,T2,θ] (4)
Y=P,X∈[T1,T2] (5)
the RESISTOR is a script sequence, theta is voltage, script phase difference between current instantaneous signals, P is a script active power value corresponding to a cycle, T1 and T2 are script time values, the unit is a cycle, Y is an active power value, a formula (4) is a script sequence generation model, and a formula (5) is an active power curve of a stable working interval of the resistance type equipment.
Specifically, if the test scenario information includes a microwave type, the corresponding script sequence and the active power curve generated according to the test scenario information are generated by the following formulas:
MICROWAVE=[P1,P2,T1,T2,T3,θ] (6)
Figure BDA0002159194810000111
the method comprises the following steps of generating a script sequence, generating a script phase difference between current instantaneous signals, generating a script active power value by using a script time value, generating a script sequence generating model by using a script (6), and generating an active power curve by using a formula (7), wherein the script sequence is MICROWAVE, theta is voltage, and the script phase difference between the current instantaneous signals is P1, and P2 are script active power values corresponding to cycles, T1, T2, and T3 are script time values, the unit is a cycle, Y is an active power value.
Specifically, if the test scenario information includes an electromagnetic type, the corresponding script sequence and the active power curve generated according to the test scenario information are generated by the following formulas:
INDUCTION=[P1,P2,T1,T2,T3,T4,θ] (8)
Figure BDA0002159194810000112
Y=P2,X∈[T3,T4] (11)
the method comprises the steps that input is a script sequence, theta is voltage, script phase difference between current instantaneous signals, P1 and P2 are script active power values corresponding to cycles, T1, T2, T3 and T4 are script time values, the unit is a cycle, Y is an active power value, a formula (8) is a script sequence generation model, a formula (9) is a first-stage active power curve for starting microwave equipment, a formula (10) is a second-stage active power curve for starting the microwave equipment, and a formula (11) is an active power curve of a stable working interval for starting the microwave equipment.
Step S300, acquiring a preset test sampling rate, a preset signal frequency, preset amplitude information and preset phase angle information corresponding to the test scene information;
after the test scene information is determined, the corresponding preset test sampling rate, the preset signal frequency, the preset amplitude information and the preset phase angle information can be obtained according to the test scene information. Each test scene information corresponds to a preset test sampling rate, a preset signal frequency, preset amplitude information and preset phase angle information.
Step S400, respectively generating a voltage instantaneous value test waveform and a current instantaneous value test waveform according to the preset test sampling rate, the preset signal frequency, the preset amplitude information, the preset phase angle information and the active power curve;
after the preset test sampling rate, the preset signal frequency, the preset amplitude information and the preset phase angle information are determined, a voltage instantaneous value test waveform and a current instantaneous value test waveform can be respectively generated according to the preset test sampling rate, the preset signal frequency, the preset amplitude information, the preset phase angle information and an active power curve. Specifically, predetermine the signal frequency and can include predetermineeing voltage signal frequency and predetermine current signal frequency, predetermine amplitude information and can include predetermineeing voltage amplitude information, predetermine phase angle information and can include predetermineeing current phase angle information, then, according to predetermine the test sampling rate, predetermine voltage signal frequency and predetermine voltage amplitude information and generate voltage instantaneous value test waveform, according to active power curve, predetermine the test sampling rate, predetermine current signal frequency, predetermine current phase angle information and generate current instantaneous value test waveform.
And S500, converting the voltage instantaneous value test waveform and the current instantaneous value test waveform through a DA device according to the preset test sampling rate, and outputting an analog signal value.
After the voltage instantaneous value test waveform and the current instantaneous value test waveform are obtained, the voltage instantaneous value test waveform and the current instantaneous value test waveform are converted into analog signals through a digital-to-analog conversion device according to a preset test sampling rate to be output, and analog signal values are output.
The invention provides a simulation method and a simulation device for household load data and a computer storage medium. In the method, test scene information is acquired; generating a corresponding script sequence and an active power curve according to the test scene information; acquiring a preset test sampling rate, preset signal frequency, preset amplitude information and preset phase angle information corresponding to the test scene information; respectively generating a voltage instantaneous value test waveform and a current instantaneous value test waveform according to the preset test sampling rate, the preset signal frequency, the preset amplitude information, the preset phase angle information and the active power curve; and converting the voltage instantaneous value test waveform and the current instantaneous value test waveform through a DA device according to the preset test sampling rate, and outputting an analog signal value. Through the mode, the corresponding step sequence and the active power curve can be generated according to different test scene information, the signal frequency, the amplitude value information and the phase angle information are preset according to the active power curve and the preset test sampling rate corresponding to the test scene information to generate the voltage instantaneous value test waveform and the current instantaneous value test waveform, and then the voltage instantaneous value test waveform and the current instantaneous value test waveform are converted and output to obtain the analog signal value for simulating the household power consumption condition and obtaining the simulated value of the household power consumption condition, so that the effective support is provided for algorithm simulation and product test, the technical problem that data acquisition difficulty in load identification research work is high in the prior art is solved, and the technical and industrial development is promoted.
Referring to fig. 3, fig. 3 is a flowchart illustrating a simulation method for home load data according to a second embodiment of the present invention.
Based on the foregoing embodiment, in this embodiment, step S400 includes:
step S410, generating a voltage instantaneous value test waveform according to the preset test sampling rate, the preset voltage signal frequency and the preset voltage amplitude information;
in this embodiment, the preset signal frequency includes a preset voltage signal frequency and a preset current signal frequency, the preset amplitude information includes preset voltage amplitude information, the preset phase angle information includes preset current phase angle information, and a voltage instantaneous value test waveform can be generated according to the preset test sampling rate, the preset voltage signal frequency and the preset voltage amplitude information.
And step S420, generating a current instantaneous value test waveform according to the active power curve, a preset test sampling rate, a preset current signal frequency and preset current phase angle information.
And generating a voltage instantaneous value test waveform, and generating a current instantaneous value test waveform according to the active power curve, the preset test sampling rate, the preset current signal frequency and the preset current phase angle information.
Referring to fig. 4, fig. 4 is a schematic flow chart of a simulation method of household load data according to a third embodiment of the present invention.
Based on the foregoing embodiment, in this embodiment, step S500 includes:
step S510, obtaining preset environment background noise data, wherein the preset environment background noise data comprises Gaussian noise, Rayleigh noise and/or uniform noise;
in this embodiment, preset environment background noise data may be obtained, where the preset environment background noise data includes gaussian noise, rayleigh noise and/or uniform noise, and the preset environment background noise data may more truly simulate a real home power consumption environment.
And step S520, respectively superposing the voltage instantaneous value test waveform and the current instantaneous value test waveform on the preset environment background noise data, converting the preset environment background noise data through a DA device according to the preset test sampling rate, and outputting an analog signal value.
The voltage instantaneous value test waveform and the current instantaneous value test waveform are respectively superposed on the preset environment background noise data, so that the data generated by simulation can be closer to the actual household electricity environment, and the simulated data is more real.
And respectively superposing the voltage instantaneous value test waveform and the current instantaneous value test waveform on the preset environment background noise data, converting the preset environment background noise data through a DA device according to the preset test sampling rate, and then outputting an analog signal value to convert the analog signal value through the following formula:
S final (t)=S original (t)+N(t)
wherein S is final (t) is the DA device input signal value, S original And (t) is a voltage instantaneous value test waveform and a current instantaneous value test waveform, and N (t) is preset environment background noise data.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer-readable storage medium of the present invention has stored thereon an analog simulation program of home load data, which when executed by a processor, implements the steps of the analog simulation method of home load data as described above.
The method implemented when the simulation program of the household load data running on the processor is executed may refer to each embodiment of the simulation method of the household load data of the present invention, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A simulation method of home load data is characterized by comprising the following steps:
acquiring test scene information, wherein the test scene information comprises a fixed-frequency compressor type, a resistor type, a microwave type or an electromagnetic type;
generating a corresponding script sequence and an active power curve according to the test scene information;
acquiring a preset test sampling rate, preset signal frequency, preset amplitude information and preset phase angle information corresponding to the test scene information, wherein the preset signal frequency comprises preset voltage signal frequency and preset current signal frequency, the preset amplitude information comprises preset voltage amplitude information, and the preset phase angle information comprises preset current phase angle information;
generating a voltage instantaneous value test waveform according to the preset test sampling rate, the preset voltage signal frequency and the preset voltage amplitude information, and generating a current instantaneous value test waveform according to the active power curve, the preset test sampling rate, the preset current signal frequency and the preset current phase angle information;
and converting the voltage instantaneous value test waveform and the current instantaneous value test waveform through a DA device according to the preset test sampling rate, and then outputting an analog signal value.
2. The simulation method of home load data according to claim 1, wherein when the test scenario information includes a type of a fixed-frequency compressor, the generating of the corresponding script sequence and active power curve according to the test scenario information is generated by the following formulas:
COMPERSSOR=[A,B,C,P1,T1,T2,T3,θ] (1)
Y=-A(X-C) 2 +B,X∈[T1,T2] (2)
Y=P1,X∈[T2,T3] (3)
the method comprises the steps of obtaining a script sequence, obtaining a script phase difference between instantaneous current signals, obtaining a script active power value corresponding to a cycle, obtaining a script active power value corresponding to the cycle, obtaining a script time value, obtaining a cycle, obtaining script parameter values, obtaining an active power value, obtaining a script sequence generation model, obtaining an active power curve at the starting moment of fixed-frequency compressor equipment, and obtaining a script phase difference between the compressor voltage and the instantaneous current signals, wherein the script phase difference is represented by P1, the script active power value is represented by T1, T2 and T3, the unit is the cycle, the script parameter values are represented by A, B and C, the active power value is represented by Y, the active power curve is represented by formula (1), the active power curve is represented by formula (2), and the active power curve is represented by formula (3).
3. The simulation method of home load data according to claim 1, wherein when the test scenario information includes a resistance type, the generating of the corresponding script sequence and active power curve according to the test scenario information is generated by the following formulas:
RESISTOR=[P,T1,T2,θ] (4)
Y=P,X∈[T1,T2] (5)
the RESISTOR is a script sequence, theta is voltage, script phase difference between current instantaneous signals, P is a script active power value corresponding to a cycle, T1 and T2 are script time values, the unit is a cycle, Y is an active power value, a formula (4) is a script sequence generation model, and a formula (5) is an active power curve of a stable working interval of the resistance type equipment.
4. The simulation method of home load data according to claim 1, wherein when the test scenario information includes a microwave type, the generating of the corresponding script sequence and active power curve according to the test scenario information is generated by the following formulas:
MICROWAVE=[P1,P2,T1,T2,T3,θ] (6)
Figure FDA0003734738490000021
the method comprises the following steps of generating a script sequence, generating a script phase difference between current instantaneous signals, generating a script active power value by using a script time value, generating a script sequence generating model by using a script (6), and generating an active power curve by using a formula (7), wherein the script sequence is MICROWAVE, theta is voltage, and the script phase difference between the current instantaneous signals is P1, and P2 are script active power values corresponding to cycles, T1, T2, and T3 are script time values, the unit is a cycle, Y is an active power value.
5. The method for simulating household load data according to claim 1, wherein, when the test scenario information includes an electromagnetic type, the generating of the corresponding script sequence and active power curve according to the test scenario information is generated by the following formulas:
INDUCTION=[P1,P2,T1,T2,T3,T4,θ] (8)
Figure FDA0003734738490000022
Y=P2,X∈[T3,T4] (11)
the method comprises the steps that input is a script sequence, theta is voltage, script phase difference between current instantaneous signals, P1 and P2 are script active power values corresponding to cycles, T1, T2, T3 and T4 are script time values, the unit is a cycle, Y is an active power value, a formula (8) is a script sequence generation model, a formula (9) is an active power curve of a first stage of starting of microwave equipment, a formula (10) is an active power curve of a second stage of starting of the microwave equipment, and a formula (11) is an active power curve of a stable working interval of starting of the microwave equipment.
6. The method for simulating household load data according to claim 1, wherein the step of converting the instantaneous voltage test waveform and the instantaneous current test waveform by a DA device according to the predetermined test sampling rate and outputting an analog signal value comprises:
acquiring preset environment background noise data, wherein the preset environment background noise data comprises Gaussian noise, Rayleigh noise and/or uniform noise;
and respectively superposing the voltage instantaneous value test waveform and the current instantaneous value test waveform on the preset environment background noise data, and converting the preset environment background noise data through a DA device according to the preset test sampling rate to output an analog signal value.
7. The method for simulating household load data according to claim 6, wherein the voltage instantaneous value test waveform and the current instantaneous value test waveform are respectively superimposed on the preset environmental background noise data and converted by a DA device according to the preset test sampling rate, and then an output analog signal value is converted by the following formula:
S final (t)=S original (t)+N(t)
wherein S is final (t) is the DA device input signal value, S original And (t) is a voltage instantaneous value test waveform and a current instantaneous value test waveform, and N (t) is preset environment background noise data.
8. An apparatus for simulating home load data, comprising: memory, a processor and a simulation program of home load data stored on the memory and executable on the processor, which when executed by the processor implements the steps of the simulation method of home load data according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an emulation program of home load data, which, when being executed by a processor, implements the steps of the emulation method of home load data according to any one of claims 1 to 7.
CN201910728031.1A 2019-08-07 2019-08-07 Analog simulation method, device and storage medium for household load data Active CN110426967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910728031.1A CN110426967B (en) 2019-08-07 2019-08-07 Analog simulation method, device and storage medium for household load data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910728031.1A CN110426967B (en) 2019-08-07 2019-08-07 Analog simulation method, device and storage medium for household load data

Publications (2)

Publication Number Publication Date
CN110426967A CN110426967A (en) 2019-11-08
CN110426967B true CN110426967B (en) 2022-08-19

Family

ID=68414870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910728031.1A Active CN110426967B (en) 2019-08-07 2019-08-07 Analog simulation method, device and storage medium for household load data

Country Status (1)

Country Link
CN (1) CN110426967B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112883545B (en) * 2021-01-13 2022-04-08 吉林大学 Simulation method of power load waveform
CN113447183A (en) * 2021-06-22 2021-09-28 深圳市理德铭科技股份有限公司 Multifunctional automatic testing method and device for fascia gun, fascia gun and system
CN113839690B (en) * 2021-09-17 2022-09-16 广东电网有限责任公司 Power line carrier simulation operation test method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1184068A (en) * 1966-12-23 1970-03-11 Armyansky Nii Energetiki Electric Analogue Computing Devices
EP0332881A1 (en) * 1988-03-16 1989-09-20 Asea Brown Boveri Ag Process and appliance for digital measuring
CN201548682U (en) * 2009-12-16 2010-08-11 威胜集团有限公司 Three-phase impact performance load power signal source device
CN103401238A (en) * 2013-08-02 2013-11-20 深圳市双合电气股份有限公司 Method for modeling power load based on measurement-based method
EP2795043A2 (en) * 2011-12-19 2014-10-29 Impact Technology Systems AS Method for recovery of hydrocarbon fluid
KR20150142279A (en) * 2014-06-11 2015-12-22 한국전력공사 Load modeling apparatus and method
CN106093565A (en) * 2016-08-05 2016-11-09 华南理工大学 A kind of electricity subentry measurement method and device based on steady state characteristic Waveform Matching
CN106815677A (en) * 2016-12-09 2017-06-09 国网北京市电力公司 The recognition methods of non-intrusion type load and device
CN109240124A (en) * 2018-10-31 2019-01-18 海南电网有限责任公司电力科学研究院 A kind of electric power stability control strategy analogue system
CN109270364A (en) * 2017-07-18 2019-01-25 中国科学院理化技术研究所 A kind of compressor parameter online test method
CN109586272A (en) * 2017-09-28 2019-04-05 中国电力科学研究院 A kind of generation method and system of power grid continuous operation emulation section
CN109617067A (en) * 2019-01-16 2019-04-12 江苏圣通电力新能源科技有限公司 Non-intrusive electrical load recognition methods neural network based
CN109813978A (en) * 2018-12-25 2019-05-28 武汉中原电子信息有限公司 A kind of non-intruding load-type recognition methods of variation characteristic between comprehensive transient characteristic and stable state

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3599157B2 (en) * 1998-03-02 2004-12-08 関西電力株式会社 Power system harmonic real-time simulator
US7659673B2 (en) * 2004-03-15 2010-02-09 Philips Solid-State Lighting Solutions, Inc. Methods and apparatus for providing a controllably variable power to a load
US7542257B2 (en) * 2004-09-10 2009-06-02 Philips Solid-State Lighting Solutions, Inc. Power control methods and apparatus for variable loads
CN106324344A (en) * 2016-09-22 2017-01-11 国家电网公司 Instantaneously measured waveform-based nonlinear load electricity consumption characteristic analysis system and method
CN106786534B (en) * 2016-12-28 2019-07-26 天津求实智源科技有限公司 A kind of non-intrusive electrical load transient process discrimination method and system
US10976978B2 (en) * 2017-05-18 2021-04-13 Rohde & Schwarz Gmbh & Co. Kg Electrical measurement device and method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1184068A (en) * 1966-12-23 1970-03-11 Armyansky Nii Energetiki Electric Analogue Computing Devices
EP0332881A1 (en) * 1988-03-16 1989-09-20 Asea Brown Boveri Ag Process and appliance for digital measuring
CN201548682U (en) * 2009-12-16 2010-08-11 威胜集团有限公司 Three-phase impact performance load power signal source device
EP2795043A2 (en) * 2011-12-19 2014-10-29 Impact Technology Systems AS Method for recovery of hydrocarbon fluid
CN103401238A (en) * 2013-08-02 2013-11-20 深圳市双合电气股份有限公司 Method for modeling power load based on measurement-based method
KR20150142279A (en) * 2014-06-11 2015-12-22 한국전력공사 Load modeling apparatus and method
CN106093565A (en) * 2016-08-05 2016-11-09 华南理工大学 A kind of electricity subentry measurement method and device based on steady state characteristic Waveform Matching
CN106815677A (en) * 2016-12-09 2017-06-09 国网北京市电力公司 The recognition methods of non-intrusion type load and device
CN109270364A (en) * 2017-07-18 2019-01-25 中国科学院理化技术研究所 A kind of compressor parameter online test method
CN109586272A (en) * 2017-09-28 2019-04-05 中国电力科学研究院 A kind of generation method and system of power grid continuous operation emulation section
CN109240124A (en) * 2018-10-31 2019-01-18 海南电网有限责任公司电力科学研究院 A kind of electric power stability control strategy analogue system
CN109813978A (en) * 2018-12-25 2019-05-28 武汉中原电子信息有限公司 A kind of non-intruding load-type recognition methods of variation characteristic between comprehensive transient characteristic and stable state
CN109617067A (en) * 2019-01-16 2019-04-12 江苏圣通电力新能源科技有限公司 Non-intrusive electrical load recognition methods neural network based

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Load compensation based on frame considering low-order dominant harmonics and distorted power system;Mehdi Fallah 等;《Control Engineering Practice》;20161231;第51卷;1-12 *
基于稳态谐波分析的非侵入式电力负荷分解法的应用研究;赵春柳;《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》;20111215(第S2期);C042-535 *

Also Published As

Publication number Publication date
CN110426967A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN110426967B (en) Analog simulation method, device and storage medium for household load data
Ahdan et al. Proposed design and modeling of smart energy dashboard system by implementing IoT (Internet of Things) based on mobile devices
CN110426554B (en) Household load electrical characteristic extraction method and device and computer readable storage medium
Lin An Internet-based graphical programming tool for teaching power system harmonic measurement
CN107562878B (en) Household appliance control method, electronic device and computer readable storage medium
CN109451130B (en) Mobile terminal testing method and device, mobile terminal and storage medium
CN111934908A (en) Internet of things simulation method, device and system and storage medium
CN111083472A (en) Television testing method, device, equipment and storage medium
JP6419041B2 (en) System having power management function, user terminal, and power management method thereof
CN113286233A (en) Loudspeaker simulation method, loudspeaker simulation device, loudspeaker and electronic equipment
CN104155044A (en) Measuring device and measuring method for cable force of cable-stayed bridge based on mobile terminal
CN108387757A (en) Method and apparatus for the mobile status for detecting movable equipment
CN202853916U (en) Temperature sensor simulation apparatus
CN107390077B (en) Test method, test device and computer readable storage medium
CN106528413A (en) Method and device for testing application program
CN112987597B (en) FSU control method, device, equipment and computer readable storage medium
CN113593602B (en) Audio processing method and device, electronic equipment and storage medium
CN110596453B (en) Electromagnetic induction eddy current heating equipment start monitoring method and device and storage medium
Lima et al. Noninvasive monitoring of residential loads
CN107632266B (en) Mobile terminal, test system and test method of mobile terminal
Moosavi et al. A survey of smart electrical boards in ubiquitous sensor networks for geomatics applications
CN113934618A (en) Interface test case generation method, device, generator and readable storage medium
Osolinskyi et al. The hybrid research stand based on labview within iot
CN114297035B (en) Production monitoring method, system, equipment and computer readable storage medium
CN115204061B (en) Method, device and equipment for automatically determining stamping modeling scale and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant