Power distribution network rapid simulation method, device, storage medium and its computer equipment
Technical field
The present invention relates to electric power network technical field, more particularly to power distribution network rapid simulation method, device, storage medium
And its computer equipment.
Background technology
Power distribution network is near the power network of user, the power supply reliability of power network, power supply quality, power supply in whole electric network composition
Amount etc. will be embodied by power distribution network, its network structure whether rationally be determine power distribution network quality height key factor it
One.Electric Power Network Planning is the important component of power system overall development plan, and power grid construction and the foundation of transformation, power network
The target of planning is exactly to adapt to the development of power network, meet simultaneously appropriate advance socio-economic development demand, and plays it for electricity
The guide and decisive action that net is built, operation and power supply ensure.
Due to the development of each domain requirement so that emulation technology is constantly expanded in each domain requirement and needs to improve application layer
It is secondary.In addition scientific and technical continuous development, simulation object gradually tends to complexity, diversity, and Simulation Application is advised
Mould it is also proposed higher requirement.Distribution end region be directly facing user, be to ensure that supply of electric power quality and enhancing validity operate
Key, different from power transmission network, the network connection conversion of power distribution network is more frequent, and part throttle characteristics is also more diversified, in order to
Understand influence of the power distribution network wiring conversion to the network operation, power distribution network high-speed simulation will be an important research topic.
The content of the invention
Based on this, it is necessary to for current the problem of there is no power distribution network rapid simulation method, there is provided a kind of power distribution network is quick
Emulation mode, device, storage medium and its computer equipment.
A kind of power distribution network rapid simulation method, including step:
According to default emulation period and default crucial measurement, power distribution network is emulated;
Obtain power distribution network operational factor corresponding to the current emulation moment, power distribution network operational factor include initial physical model,
Load plan data, changes of operating modes data and equipment alteration data;
According to equipment alteration data and initial physical model, calculation of distribution network model is built;
According to changes of operating modes data, Network topology is carried out to power network computation model, forms power network power supply level
Relation;
According to load plan data, based on power network power supply hierarchical relationship, pushed back before progress for Load flow calculation, obtain trend meter
Calculate result;
If currently the emulation moment is not the last moment in the default emulation period, using next emulation moment again as current
The moment is emulated, returns to the step of obtaining power distribution network operational factor corresponding to the current emulation moment;
According to calculation of tidal current corresponding to each emulation moment in the default emulation period, power distribution network is obtained in default emulation
The crucial metric data emulated in period.
A kind of power distribution network high-speed simulation device, including:
Emulation module, for according to emulation period and default crucial measurement is preset, being emulated to power distribution network;
Parameter acquisition module, for obtaining power distribution network operational factor corresponding to the current emulation moment, power distribution network operational factor
Including initial physical model, load plan data, changes of operating modes data and equipment alteration data;
Model construction module, for according to equipment alteration data and initial physical model, building calculation of distribution network model;
Topological analysis module, for according to changes of operating modes data, Network topology to be carried out to power network computation model,
Form power network power supply hierarchical relationship;
Load flow calculation module, for according to load plan data, based on power network power supply hierarchical relationship, Dai Chao to be pushed back before progress
Stream calculation, obtain calculation of tidal current;
Module is returned to, for when the last moment during current emulation moment is for the default emulation period, then by next emulation
Moment performs phase as current emulation moment, Controlling model structure module, topological analysis module and Load flow calculation module again
It should operate;
As a result statistical module, for the calculation of tidal current according to corresponding to each emulation moment in the default emulation period, obtain
Obtain the crucial metric data that power distribution network is emulated within the default emulation period.
Power distribution network rapid simulation method and device of the present invention, according to default emulation period and default crucial measurement, to distribution
Net is emulated, and is obtained power distribution network operational factor corresponding to the current emulation moment, structure calculation of distribution network model, power network is calculated
Model carries out Network topology, forms power network power supply hierarchical relationship, and based on power network power supply hierarchical relationship, Dai Chao is pushed back before progress
Stream calculation, calculation of tidal current is obtained, if not the last moment in the default emulation period, it is corresponding to return to the acquisition current emulation moment
Power distribution network operational factor the step of, circulate operation, the final key for obtaining power distribution network and being emulated within the default emulation period
Metric data.In whole process, can Fast simulation power distribution network in time and the default crucial change for measuring (space) two dimensions
The running status of change, realize to power distribution network high-speed simulation.
In addition, the present invention also provides a kind of computer-readable recording medium, computer program is stored thereon with, the program is located
Manage when device performs and realize such as the step of above-mentioned method.
In addition, the present invention also provides a kind of computer equipment, including memory, processor and storage are on a memory and can
The computer program run on a processor, realize such as the step of above-mentioned method during computing device program.
Above computer readable storage medium storing program for executing and computer equipment, wherein, power distribution network rapid simulation method being capable of Fast Modular
Intend the running status of change of the power distribution network in time and default crucial measurement (space) two dimensions, realize and power distribution network is quickly imitated
Very.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of power distribution network rapid simulation method one embodiment of the present invention;
Fig. 2 is the schematic flow sheet of second embodiment of power distribution network rapid simulation method of the present invention;
Fig. 3 is the schematic flow sheet of the one of application example of power distribution network rapid simulation method of the present invention;
Fig. 4 is the structural representation of power distribution network high-speed simulation system one embodiment of the present invention;
Fig. 5 is the structural representation of second embodiment of power distribution network high-speed simulation system of the present invention.
Embodiment
As shown in figure 1, a kind of power distribution network rapid simulation method, including step:
S100:According to default emulation period and default crucial measurement, power distribution network is emulated.
The emulation period is the simulation time section (t that user sets according to current demand1~tM), when user sets emulation starting
Carve with emulation finish time, the period between emulation initial time and emulation finish time is to emulate the period.User according to
Current demand setting is crucial to be measured, and herein, is directly read default crucial measurement, is formed metric data bivariate table, start imitative
It is true to calculate, proceed by emulation cycle calculating.
S200:Power distribution network operational factor corresponding to the current emulation moment is obtained, power distribution network operational factor includes initial physical
Model, load plan data, changes of operating modes data and equipment alteration data.
Power distribution network operational factor corresponding to the difference emulation moment is different, herein, after step S100 starts emulation, obtains
Power distribution network operational factor corresponding to the current emulation moment is taken, power distribution network operational factor includes initial physical model, load plan number
According to, changes of operating modes data and equipment alteration data.Initial physical model can be understood as power distribution network and initially be not in
One physical model of running status, this concrete model can obtain according to current power distribution planar network architecture and historical empirical data
, this is an initial data, it is however generally that, for identical power distribution network, its initial physical model is identical.Load gauge
It is parameter that power distribution network gathers in the process of running to draw data, changes of operating modes data and equipment alteration data, load gauge
Drawing data can be become by the load plan curve acquisition of computer drawing, changes of operating modes data by the method for operation
To change event table to obtain, equipment alteration data can be obtained by equipment alteration event table, in actual applications, initial physical mould
Type, load plan data, changes of operating modes data and equipment alteration data storage are in Machine-Specific Disk, physics mould
Type file mainly stores following information equipment ID (keyword), title, type node number, and node 0 is numbered, and node 1 is numbered, node
2 numberings, by node serial number come the network connection relation that embodies.
S300:According to equipment alteration data and initial physical model, calculation of distribution network model is built.
Due to needing to enter initial physical model Mobile state adjustment when equipment alteration data be present, therefore, first root herein
Initial physical model is adjusted according to equipment alteration data, changed, based on adjustment, amended initial physical model, structure
Calculation of distribution network model.Specifically, computation model mainly includes power supply, bus, switch, load and circuit.No matter physics
How complicated types of models is, can be mapped to the computation model of above-mentioned five class.In distribution transforming net, the outlet switch of feeder line typically reflects
Power supply is penetrated into, distribution transforming is mapped to load, and overhead line and cable are mapped as circuit, pole-mounted circuit breaker, on-load switch, fuse, knife
Switch tool inside lock and ring main unit is all mapped to the internal commonly connected device map such as switch, ring main unit, feeder pillar
Into bus.
S400:According to changes of operating modes data, Network topology is carried out to power network computation model, forms power network power supply
Hierarchical relationship.
The change of the method for operation can change power network power supply hierarchical relationship, therefore, herein according to changes of operating modes data,
Network topology is carried out to power network computation model, forms power network power supply hierarchical relationship.
As shown in Fig. 2 in one of the embodiments, step S400 includes step:
S420:The annexation between each composition model in power network computation model is identified, generates topological island, composition model bag
Include power source model, bus model, switch models, load model and circuit model;
S440:According to changes of operating modes data, the location status of switch models is obtained;
S460:In each topological island, according to the location status of switch models, topology point is carried out to power network computation model
Analysis, form power network power supply hierarchical relationship.
Specifically, topological island is generated according to the annexation of computation model first, in each topological island, according to opening
The location status of model is closed, topological analysis is carried out to computation model, because power distribution network is the radiation method of operation, with each power supply
For root node, one " power supply level relational tree " can be formed, and power supply, load, bus are made as node, switch and circuit
For branch, formed node father and elder brothers' subrelation and node with branch mapping relations, form power network power supply hierarchical relationship, subsequently
Load flow calculation is carried out on the basis of tree again.
S500:According to load plan data, based on power network power supply hierarchical relationship, push back for Load flow calculation, obtain before progress
Calculation of tidal current.
Load plan can influence whole calculation of tidal current, therefore, need herein according to load plan data, based on electricity
Net power supply hierarchical relationship, pushes back for Load flow calculation before progress, obtains calculation of tidal current.Specifically, formed in step S400
On the basis of power network power supply hierarchical relationship, Load flow calculation is carried out according to load plan data, using the algorithm for before pushing back generation, according to
Node power calculates the voltage of each node and the power current of branch.
S600:If currently the emulation moment is not the last moment in the default emulation period, next emulation moment is made again
For current emulation moment, return to step S200;
Judge whether current emulation moment t is the default emulation period (t1~tM) in last moment tM, if it is not, then by under
One emulation moment t+1 is again as current emulation moment, return to step S200.It is non-essential, if so, then stopping return to step
S200, into step S700.Such as the default emulation period be 9 points 30 minutes to 10 points, once emulated every 1 minute, if ought
The preceding emulation moment be 9 points 45 minutes, it is not the last moment in the default emulation period, by 9: 46 be allocated as new current emulation when
Carve, return to step S200;If currently 10 points of the moment of emulation, it is the last moment in the default emulation period, then stops return to step
S200, into step S700.
S700:According to calculation of tidal current corresponding to each emulation moment in the default emulation period, power distribution network is obtained pre-
If the crucial metric data emulated in the emulation period.
Calculation of tidal current corresponding to each emulation moment in the default emulation period is obtained after step S600 circular treatments,
Obtain the crucial metric data that power distribution network is emulated within the default emulation period.As described above, crucial metric data can
To be characterized using bivariate table.For each emulation moment, the current critical quantity for emulating the moment is obtained according to calculation of tidal current
Measured value, the row according to corresponding to the current emulation moment is converted into crucial measurement bivariate table, line information corresponding to renewal.It is inessential
, the operation trend curve of some measurement can also can be obtained by row extraction according to the crucial measurement bivariate table of record, is carried by row
The operation profile data at a certain emulation moment can be obtained by taking.
Power distribution network rapid simulation method of the present invention, according to default emulation period and default crucial measurement, power distribution network is carried out
Emulation, power distribution network operational factor corresponding to the current emulation moment is obtained, structure calculation of distribution network model, power network computation model is entered
Row Network topology, power network power supply hierarchical relationship is formed, based on power network power supply hierarchical relationship, pushed back before progress for trend meter
Calculate, obtain calculation of tidal current, if not the last moment in the default emulation period, return to obtain and match somebody with somebody corresponding to the current emulation moment
The step of operation of power networks parameter, circulate operation, the key that final acquisition power distribution network is emulated within the default emulation period measure
Data.In whole process, can Fast simulation power distribution network in time and the default crucial change for measuring (space) two dimensions
Running status, realize to power distribution network high-speed simulation.
In one of the embodiments, according to equipment alteration data and initial physical model, calculation of distribution network mould is built
The step of type, includes:
Step 1:According to power distribution network operational factor corresponding to the current emulation moment, judge that the current emulation moment whether there is
Equipment alteration data;
Step 2:If being not present, according to initial physical model, calculation of distribution network model is built;
Step 3:If in the presence of, according to equipment alteration data, initial physical model is changed, and according to amended initial
Physical model, build calculation of distribution network model.
In one of the embodiments, according to changes of operating modes data, network topology point is carried out to power network computation model
The step of analysing, forming power network power supply hierarchical relationship includes:
Step 1:According to changes of operating modes data, judge that the current emulation moment whether there is position of the switch situation of change;
Step 2:If in the presence of, according to position of the switch situation of change, Network topology is carried out to power network computation model,
Form power network power supply hierarchical relationship.
In one of the embodiments, according to load plan data, based on power network power supply hierarchical relationship, generation is pushed back before progress
Load flow calculation, obtain calculation of tidal current the step of include:
Step 1:According to carry calculation data, judge that the current emulation moment whether there is load variations situation;
Step 2:If in the presence of according to load variations situation, being powered hierarchical relationship based on power network, Dai Chao pushed back before progress
Stream calculation, obtain calculation of tidal current.
For the technical scheme and its effect of power distribution network rapid simulation method of the present invention is further explained in detail, will use below
2 concrete application examples are illustrated further.
Embodiment one
Using the system of power distribution network rapid simulation method of the present invention, after electrifying startup, operations described below is performed:
1st, read in original physical model, load plan curve, changes of operating modes event table, equipment alteration event table with
And Simulation Control information.Specifically, physical model, load plan curve, changes of operating modes event table, equipment alteration event
Table stores special disk file.Physical model file mainly stores following information equipment ID (keyword), title, type node
Number, node 0 are numbered, and node 1 is numbered, and node 2 is numbered.By node serial number come the network connection relation that embodies.
2nd, power network computation model is formed according to physical model.Specifically, program is generated automatically according to physical model and calculated
Model:Form the computation model of power supply, bus, switch, load and circuit.Specifically, computation model mainly includes power supply,
Bus, switch, load and circuit.No matter how complicated physical model type is, can be mapped to the computation model of above-mentioned five class.
In distribution transforming net:The outlet switch of feeder line is typically mapped to power supply, and distribution transforming is mapped to load, and overhead line and cable are mapped as line
Road.Switch tool inside pole-mounted circuit breaker, on-load switch, fuse, disconnecting link and ring main unit is all mapped to switch, ring main unit,
The internal commonly connected device map such as feeder pillar is into bus.
3rd, Network topology is carried out, forms power network power supply hierarchical relationship.Program carries out topological analysis calculating automatically.Formed
Topological island and trend tree.Specifically, topological island is generated according to the annexation of computation model first.In each topological island,
According to the location status of switch models, topological analysis is carried out to computation model, because power distribution network is the radiation method of operation, with each
Individual power supply is root node, can be formed one " power supply level relational tree ".And power supply, load, bus as node, switch and
Circuit is as branch.Formed node father and elder brothers' subrelation and node with branch mapping relations.Tide is carried out on the basis of tree
Stream calculation, behind referred to as " trend tree ".
4th, Load flow calculation, pushed back before being carried out on the basis of power network powers hierarchical relationship for Load flow calculation.Program is directed to automatically
Trend tree carries out Load flow calculation.Specifically, Load flow calculation is carried out on the basis of step (3), using the algorithm for before pushing back generation, root
The voltage of each node and the power current of branch are calculated according to node power.By physical model and the corresponding relation of computation model,
The running status of whole power network can be obtained.
5th, start to emulate, the emulation period is set, the crucial process data memory space for measuring and constructing association and measure is set.
Specifically, the crucial process data measured uses user-defined file.Using user-defined file, csv file.It is on number
Arranged according to the bivariate table of value:The emulation moment is represented, with row:Represent data label.Data label is defined as follows:Data label is one
Individual character string:Device type _ device id _ terminal _ data type, device type definition:Busbar buses, cb switches, line lines
Road, load loads, gen generators, terminal:The single-ended equipment in the end of 1 head end 2 all writes 1;Dtd--data type definition:I electric currents, p is active, q
Idle, pj line ends are active, and qj line ends are idle, s on off states, flt Reflectors, u voltages.Key is measured by artificial
Selection, it can typically select the voltage of important distribution transforming, feeder line outlet power, the electric current of important line, the position mainly switched.
6th, according to network connection change events table, judge whether the emulation moment has mode of connection change, have, enter first
Row physical model is changed.Then step 2,3,4 operation are carried out.Specifically, the local nodes of use regenerate method, root
The node serial number of relevant device is only changed according to unusual fluctuation event description.
7th, according to changes of operating modes event table, judge whether the emulation moment has changes of operating modes, have, walked
Rapid 3,4 operation.Specifically, judge the topological island that the switch of changes of operating modes is located at, to open up the topological island again
Analysis is flutterred, forms trend tree.
8th, according to load plan curve, judge whether the emulation moment there are load variations, there is the operation for then carrying out step 4.
Judge the trend tree belonging to varying loading, Load flow calculation again is carried out to the trend tree.
9th, according to the result of Load flow calculation, the crucial data measured are recorded.Current imitate is obtained according to calculation of tidal current
The crucial measuring value at true moment, the row according to corresponding to the current emulation moment is converted into crucial measurement bivariate table.Corresponding to renewal
Line information.
10th, the last moment set to emulation is judged whether, no, then renewal emulates the moment.Return to step 6;It is then to emulate
Terminate.The process data measured according to key carries out checking the data section at any emulation moment and the operation trend of any measurement
Curve.The operation trend curve of some measurement can be obtained by row extraction according to the crucial measurement bivariate table of record, can by row extraction
To obtain the operation profile data at certain a moment.
Embodiment two, as shown in figure 3, power distribution network rapid simulation method of the present invention comprises the following steps:
1st, simulation operations are proceeded by, read physical model, load plan, changes of operating modes and unusual fluctuation text are set
Part.
2nd, computation model, topological analysis, Load flow calculation are generated according to the physical model of power distribution network.
3rd, first time simulation calculation is determined whether, if so, then entering step 4, if otherwise entering step 5.
4th, crucial metric data bivariate table is created.
5th, simulated events are handled:Equipment alteration, changes of operating modes, load plan.
6th, modification measures bivariate table information.
7th, the initial section of Load flow calculation next time is updated.
8th, last time simulation calculation is determined whether, if so, then enter step 9, if it is not, into step 10.
9th, limit information is got in output.
10th, next trend section calculation whether is started, if so, then return to step 3, if otherwise entering step 11.
11st, trend section file is preserved.
12nd, trend Query Result is formed.
As shown in figure 4, a kind of power distribution network high-speed simulation device, including:
Emulation module 100, for according to emulation period and default crucial measurement is preset, being emulated to power distribution network;
Parameter acquisition module 200, for obtaining power distribution network operational factor corresponding to the current emulation moment, distribution network operation ginseng
Number includes initial physical model, load plan data, changes of operating modes data and equipment alteration data;
Model construction module 300, for according to equipment alteration data and initial physical model, building calculation of distribution network mould
Type;
Topological analysis module 400, for according to changes of operating modes data, network topology point to be carried out to power network computation model
Analysis, form power network power supply hierarchical relationship;
Load flow calculation module 500, for according to load plan data, based on power network power supply hierarchical relationship, being pushed back before progress
For Load flow calculation, calculation of tidal current is obtained;
Module 600 is returned to, for when the current emulation moment is to preset the last moment in the emulation period, then next will imitate
The true moment is again as current emulation moment, Controlling model structure module 300, topological analysis module 400 and Load flow calculation 500
Module performs corresponding operating;
As a result statistical module 700, calculation of tidal current corresponding to the moment is emulated for each in the basis default emulation period,
Obtain the crucial metric data that power distribution network is emulated within the default emulation period.
Power distribution network high-speed simulation device of the present invention, emulation module 100 are right according to default emulation period and default crucial measurement
Power distribution network is emulated, and parameter acquisition module 200 obtains power distribution network operational factor corresponding to the current emulation moment, model construction mould
Block 300 builds calculation of distribution network model, and topological analysis module 400 carries out Network topology to power network computation model, forms electricity
Net power supply hierarchical relationship, Load flow calculation module 500 are based on power network power supply hierarchical relationship, push back for Load flow calculation, obtain before progress
Calculation of tidal current, if not the last moment in the default emulation period, return to the Controlling model of module 600 structure module 300, topology
Analysis module 400 and the module of Load flow calculation 500 perform corresponding operating, circulate operation, the as a result acquisition of statistical module 700 power distribution network
The crucial metric data emulated within the default emulation period.In whole process, can Fast simulation power distribution network in the time and
The running status of the default crucial change for measuring (space) two dimensions, is realized to power distribution network high-speed simulation.
In one of the embodiments, topological analysis module:
Judging unit, for according to changes of operating modes data, judging that the current emulation moment becomes with the presence or absence of the position of the switch
Change situation;
Analytic unit, for when currently the emulation moment has position of the switch situation of change, changing feelings according to the position of the switch
Condition, Network topology is carried out to power network computation model, form power network power supply hierarchical relationship.
As shown in figure 5, in one of the embodiments, topological analysis module 400 includes:
Recognition unit 420, for identifying the annexation in power network computation model between each composition model, generation topology
Island, composition model include power source model, bus model, switch models, load model and circuit model;
Location status acquiring unit 440, for according to changes of operating modes data, obtaining the location status of switch models;
Topology analysis units 460, in each topological island, according to the location status of switch models, calculating power network
Model carries out topological analysis, forms power network power supply hierarchical relationship.
In addition, the present invention also provides a kind of computer-readable recording medium, computer program is stored thereon with, the program is located
Manage when device performs and realize such as the step of above-mentioned method.
In addition, the present invention also provides a kind of computer equipment, including memory, processor and storage are on a memory and can
The computer program run on a processor, realize such as the step of above-mentioned method during computing device program.
Above computer readable storage medium storing program for executing and computer equipment, wherein, power distribution network rapid simulation method being capable of Fast Modular
Intend the running status of change of the power distribution network in time and default crucial measurement (space) two dimensions, realize and power distribution network is quickly imitated
Very.
Above example only expresses the several embodiments of the present invention, and its description is more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art,
On the premise of not departing from present inventive concept, various modifications and improvements can be made, these belong to protection scope of the present invention.
Therefore, the protection domain of patent of the present invention should be determined by the appended claims.