CN117057078A - Electrical wiring diagram generation method, device, equipment and medium - Google Patents

Electrical wiring diagram generation method, device, equipment and medium Download PDF

Info

Publication number
CN117057078A
CN117057078A CN202311036099.6A CN202311036099A CN117057078A CN 117057078 A CN117057078 A CN 117057078A CN 202311036099 A CN202311036099 A CN 202311036099A CN 117057078 A CN117057078 A CN 117057078A
Authority
CN
China
Prior art keywords
equipment
load
wiring diagram
generating
electrical wiring
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.)
Pending
Application number
CN202311036099.6A
Other languages
Chinese (zh)
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.)
Beijing Jingdian Electric Power Engineering Design Co ltd
State Grid Corp of China SGCC
State Grid Beijing Electric Power Co Ltd
Original Assignee
Beijing Jingdian Electric Power Engineering Design Co ltd
State Grid Corp of China SGCC
State Grid Beijing Electric Power 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 Beijing Jingdian Electric Power Engineering Design Co ltd, State Grid Corp of China SGCC, State Grid Beijing Electric Power Co Ltd filed Critical Beijing Jingdian Electric Power Engineering Design Co ltd
Priority to CN202311036099.6A priority Critical patent/CN117057078A/en
Publication of CN117057078A publication Critical patent/CN117057078A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention belongs to the technical field of electrical wiring diagram drawing, and particularly relates to an electrical wiring diagram generation method, device, equipment and medium. The method comprises the following steps: acquiring a preset area, and generating estimated capacity according to the preset area; acquiring load information; acquiring equipment data and generating an alternative scheme according to the equipment data; establishing an optimization generation model by adopting a mixed integer linear relation according to an alternative scheme, wherein the optimization generation model comprises a wiring adjacent matrix A and a device selection vector T; and generating an electrical wiring diagram according to the estimated capacity, the load information and the optimization generation model. Compared with the traditional design method, which needs to know complete and accurate design input information, the invention reduces the accuracy and the integrity dependence on the design input information, is more suitable for carrying out design work in advance under the uncertainty condition, and does not need to repeatedly compare query related information to improve the drawing efficiency by optimizing the generated model to automatically draw.

Description

Electrical wiring diagram generation method, device, equipment and medium
Technical Field
The invention belongs to the technical field of electrical wiring diagram drawing, and particularly relates to an electrical wiring diagram generation method, device, equipment and medium.
Background
In order to cope with the influence of emergency, a large number of temporary construction projects need to be developed, the temporary projects have a plurality of participants, the cooperative work communication management is complex, meanwhile, the construction period is short, the condition uncertainty is large, the change is frequent, and the requirements on the design depth, the feasibility and the reliability are high. The power supply and distribution designer needs to compile detailed design drawings and data meeting the requirements of related parties such as construction in advance under the condition that the key input information such as load, position and the like is not determined, and iterates repeatedly in the whole construction process.
The existing design method cannot give consideration to design speed, design depth, design optimality and design iteration frequency. The traditional design mode relies on manual processing of design input information from multiple sources, and on the basis of complete design input information, requirements of all parties such as load demands, plane arrangement, an electrical wiring scheme and the like are comprehensively met to form a design scheme, and then CAD software is utilized for drawing. Under the uncertainty condition of the change of design input information, the design workload is multiplied, and the traditional design period is also required to be correspondingly prolonged. The critical electricity design project is often developed under the condition of high uncertainty, internal and external information is changed rapidly, meanwhile, design depth is required to meet construction requirements, designers adopting the traditional design mode face long-term overload work, meanwhile, design speed cannot meet the requirements of rapid iteration updating scheme drawings, and design tasks are difficult to finish in a limited time with high quality. In addition, the existing manual design method lacks unified measurement standards for the optimality of the design scheme under the condition of more constraint conditions, and is difficult to exhaust all possible design schemes, so that the design scheme with the best performance index is difficult to find. Therefore, it is urgently required to find an innovative method to improve design efficiency, optimality and standardization degree, and simultaneously reduce design man-hour cost.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a medium for generating an electrical wiring diagram, which are used for solving the technical problems that the existing electrical wiring diagram is inaccurate when the condition is uncertain and the design is slow.
In order to achieve the above purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a method for generating an electrical wiring diagram, comprising the steps of:
acquiring a preset area, and generating estimated capacity according to the preset area;
acquiring load information and project design rules;
acquiring equipment data and generating an alternative scheme according to the equipment data;
establishing an optimization generation model by adopting a mixed integer linear relation according to an alternative scheme, and generating design constraint conditions of the optimization generation model according to project design rules, wherein the optimization generation model comprises a wiring adjacent matrix A and a device selection vector T;
and generating an electrical wiring diagram according to the estimated capacity, the load information and the optimization generation model.
The invention further improves that: the load information comprises load access quantity, total load quantity and load type;
the device data includes a device type, a device power, and a device model.
The invention further improves that: the optimization generation model satisfies design constraints including:
all elements in the wiring adjacency matrix and the equipment selection vector are Boolean variables;
the incoming line rated current of the corresponding equipment of each row in the wiring adjacent matrix is smaller than or equal to the outgoing line rated current of the corresponding access column power supply equipment;
the incoming line plugs corresponding to the rows in the wiring adjacent matrix have the same specification as the outgoing line plugs corresponding to the columns in the wiring adjacent matrix;
the total number of the lower access loops of the outgoing lines of the equipment is smaller than or equal to the number of various outgoing lines of the equipment;
the sum of row elements in the wiring adjacent matrix is 1 or 2;
the load adopts tree dry type power supply or double power supplies plus ATS mutual box power supply;
the load capacity is the same as that of the upper power switch;
the required coefficient and the synchronous rate required by the loads of each stage are adjustable.
The invention further improves that: the optimization generation model is obtained by taking the lowest cost as an objective function, taking load information as input and adopting a mixed integer linear relation according to design constraint conditions and alternative schemes.
The invention further improves that: the objective function is: min, z=t T ·K;
Wherein T is a device selection vector and also serves as a control variable, K is a vector formed by corresponding device prices, and Z is a manufacturing cost.
The invention further improves that: the step of generating the electrical wiring diagram according to the estimated capacity, the load information and the optimization generation model comprises the following steps:
according to the load information, the preset area and the estimated capacity, carrying out load partitioning on the preset area to obtain a load partition map;
selecting equipment models and equipment quantity from the alternative schemes, and generating an equipment load partition map according to the equipment models, the equipment quantity and the load partition map;
determining a wiring adjacent matrix according to the equipment model number and the equipment quantity;
constructing equipment blocks according to the number of the equipment and the model of the equipment;
inputting the load information into an optimization generation model to solve a wiring adjacency matrix so as to obtain coordinates of the wiring diagram element;
the device tiles are inserted into the device load partition map according to the map element coordinates to generate an electrical map.
The invention further improves that: in the step of inputting load information into an optimization generation model to solve a wiring adjacency matrix to obtain coordinates of a wiring diagram element, the interval distance of insertion points is set according to an alternative scheme and equipment blocks; the picture element coordinates are then wired in the order in which the power source is up, the load is down, and the peer devices are arranged from left to right.
In a second aspect, an electrical wiring diagram generating apparatus includes:
capacity estimation module: the method comprises the steps of acquiring a preset area and generating estimated capacity according to the preset area;
and a data acquisition module: the method comprises the steps of acquiring load information and project design rules;
an alternative generation module: the method comprises the steps of acquiring equipment data and generating an alternative scheme according to the equipment data;
model construction module: the method comprises the steps of establishing an optimization generation model by adopting a mixed integer linear relation according to an alternative scheme, and generating design constraint conditions of the optimization generation model according to project design rules, wherein the optimization generation model comprises a wiring adjacent matrix A and a device selection vector T;
the generation module is used for: for generating an electrical wiring diagram from the estimated capacity, the load information and the optimization generation model.
In a third aspect, a computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing an electrical wiring diagram generation method as described above when executing the computer program.
In a fourth aspect, a computer-readable storage medium stores a computer program that when executed by a processor implements an electrical wiring diagram generation method as described above.
Compared with the prior art, the invention at least comprises the following beneficial effects:
1. according to the invention, the model is generated through the expression optimization of the wiring adjacent matrix and the equipment selection vector, compared with the traditional design method, the method needs to know complete and accurate design input information, reduces the accuracy degree and the integrity dependence degree of the design input information, is more suitable for carrying out design work in advance under the uncertainty condition, and does not need to repeatedly compare query related information to improve the drawing efficiency through optimizing the generated model automatic drawing;
2. the invention uses the lowest cost as an objective function, can automatically generate the design proposal with the optimal equipment cost by a computer at one time, does not need to repeatedly select different proposal, saves the cost and improves the efficiency;
3. the invention only needs approximate position information of load and equipment arrangement and carries out partition, and can establish the wiring adjacent matrix of the control variable by combining simple estimation of the maximum number of various equipment in each partition, thus having simple calculation and high efficiency.
4. The optimization generation model has good reversibility, ensures the interconvertibility of constraint conditions, objective functions and control variables, ensures that the solution can be flexibly adjusted according to the needs when the external conditions are changed, and can be used for new construction and transformation and optimization of the existing wiring form.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention.
In the drawings:
FIG. 1 is a flow chart of a method of generating an electrical wiring diagram according to the present invention;
fig. 2 is a block diagram of an electrical wiring diagram generating device according to the present invention.
Detailed Description
The invention will be described in detail below with reference to the drawings in connection with embodiments. It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The following detailed description is exemplary and is intended to provide further details of the invention. Unless defined otherwise, all technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments in accordance with the invention.
Example 1
An electrical wiring diagram generating method, as shown in fig. 1, comprises the following steps:
s1, acquiring a preset area, and generating estimated capacity according to the preset area;
specifically, the preset area is a setting area of an item where the electrical wiring diagram is located, the estimated capacity is empirically set according to the preset area, for example, the corresponding capacity per square meter is set through experience of technicians;
s2, acquiring load information and project design rules; the method comprises the steps of carrying out a first treatment on the surface of the
Specifically, the load information includes load access amount, total load amount, load type and other relevant data;
specifically, the project design rule is a design specification which the project needs to meet, and comprises various national standard criteria.
S3, acquiring equipment data and generating an alternative scheme according to the equipment data;
specifically, the device data includes a device type, a device power, a device model, and the like;
specifically, in the step S3, clustering can be performed according to the power supply radius, and equipment data with similar power supply radius are divided into the same cluster, so that subsequent selection is facilitated;
specifically, the alternative scheme comprises optional equipment data when the project generates an electric wiring diagram;
s4, establishing an optimization generation model by adopting a mixed integer linear relation according to an alternative scheme, and generating design constraint conditions of the optimization generation model according to project design rules, wherein the optimization generation model comprises a wiring adjacent matrix A and a device selection vector T;
specifically, the optimization generation model satisfies design constraints, which include:
(1) All elements in the wiring adjacency matrix and the device selection vector are Boolean variables, namely integer variables with element values of 1 or 0;
for example, an element with a value of 1 in a represents that the incoming node corresponding to the row of the element is connected with the outgoing node of the power supply device corresponding to the column of the element, and a value of 0 indicates that the element is disconnected. An element value of 1 in T represents that the device corresponding to the element is selected and used, and an element value of 0 represents that the device corresponding to the element is not applicable.
(2) The incoming line rated current of the corresponding equipment of each row in the wiring adjacent matrix is smaller than or equal to the outgoing line rated current of the corresponding access column power supply equipment;
(3) The incoming line plugs corresponding to the rows in the wiring adjacent matrix have the same specification as the outgoing line plugs corresponding to the columns in the wiring adjacent matrix;
(4) The total number of the lower access loops of the outgoing lines of the equipment is smaller than or equal to the number of various outgoing lines of the equipment;
(5) The sum of row elements in the wiring adjacent matrix is 1 or 2;
(6) The common low-voltage load adopts a tree dry type power supply mode, the important load adopts a dual-power supply and ATS mutual box throwing mode to supply power, and two paths of power supplies of the dual-power supply inlet wire equipment are respectively led from different transformer substation buses;
the common load refers to electric field scenes such as catering electricity consumption or retail electricity consumption;
the important load refers to the electric field scene of security electricity consumption and the like.
(7) The load capacity is the same as that of the upper power switch;
(8) The required coefficient and the synchronous rate required by the loads of each stage are adjustable;
specifically, in S4:
taking the lowest cost as an objective function, taking load information as input, and establishing an optimization generation model by adopting a mixed integer linear relation according to design constraint conditions and alternative schemes;
specifically, the objective function is: min, z=t T ·K
Wherein T is a device selection vector and is also used as a control variable, K is a vector formed by corresponding device prices, and Z is the manufacturing cost;
as long as the unit price of a given device is and where viable, it can be ensured that the resulting wiring scheme is the lowest overall cost of the device in the alternative.
The optimization generating model takes a wiring adjacent matrix A representing a device connection mode and a device selection vector T representing whether a device is selected or not as control variables. Wherein A is a matrix, each column corresponds to an outgoing line node of the power supply device, and each row corresponds to an incoming line node of each device and load. And establishing a mathematical expression form of a low-voltage system wiring diagram and equipment type selection, namely obtaining a system wiring scheme by only obtaining a control variable value meeting the requirement.
And S5, generating an electrical wiring diagram according to the estimated capacity, the load information and the optimization generation model.
Specifically, in S5, the following steps are included:
s51, carrying out load partitioning on the preset area according to the load information, the preset area and the estimated capacity to obtain a load partition map;
s52, selecting equipment models and equipment quantity from the alternative schemes, and generating an equipment load partition map according to the equipment models, the equipment quantity and the load partition map;
specifically, the equipment load partition map is used for generating an electrical wiring map subsequently, compared with the existing electrical wiring map generation process, relevant information such as equipment, load, power, position, distance and the like in the plane drawing does not need to be repeatedly compared and inquired, so that a computer can independently, automatically and quickly complete wiring scheme design work, automatic drawing can be completed, meanwhile, switching time between workshops is shortened, and working efficiency of drawing the electrical plane map is improved.
Specifically, the maximum number of various kinds of devices required in each partition is obtained through S51 and S52.
S53, determining a wiring adjacent matrix according to the equipment model number and the equipment quantity;
s54, building equipment blocks according to the number of the equipment and the model number of the equipment;
specifically, the kinds of equipment blocks include: transformers, branch boxes, ATS boxes, terminal boxes, UPS power boxes, loads, and the like;
specifically, the attribute words in the device tile include: coordinates, device name, load name, calculation load, device number, etc.;
s55, inputting the load information into an optimization generation model to solve a wiring adjacency matrix so as to obtain coordinates of the wiring diagram element;
specifically, in S55, a suitable insertion point spacing distance is set according to the number of lower-level devices and the size of the device blocks in the wiring structure; and then according to the sequence that the power supply is on and the load is on, the peer equipment is arranged from left to right, and the coordinates of the insertion points of the loads of the equipment are obtained through calculation.
The number of subordinate devices in the wiring structure belongs to the content in the alternative.
S56, inserting the equipment block into the equipment load partition map according to the coordinates of the wiring map elements to generate an electrical wiring map;
specifically, S56 includes: generating a wiring relation according to the wiring adjacent matrix, and obtaining coordinates of a starting point (a power supply outlet node) and a finishing point (a load inlet node) of each wiring; defining the coordinates of the middle turning points and the offset in the transverse and longitudinal directions between the wires according to the relative position relation of the devices at each level, and calculating to obtain the coordinates of the turning points of each connecting line; finally, realizing automatic connection by programming according to coordinates of the connection start point, the connection stop point and the connection turning point; and finally, automatically inserting relevant parameter information such as load names, equipment names, calculated loads and the like into the system wiring diagram in a mode of attribute words according to requirements.
Specifically, the electrical wiring diagram obtained by the method in example 1 can be used for drawing a plan view of a piezoelectric device, generating a cable album, and/or generating a device material table;
the cable album and the equipment material table can be used for general calculation and instruction book.
Example 2
An electrical wiring diagram generating apparatus, as shown in fig. 2, includes:
capacity estimation module: the method comprises the steps of acquiring a preset area and generating estimated capacity according to the preset area;
specifically, the preset area is a setting area of an item where the electrical wiring diagram is located, the estimated capacity is empirically set according to the preset area, for example, the corresponding capacity per square meter is set through experience of technicians;
load data acquisition module: the method comprises the steps of acquiring load information and project design rules;
specifically, the load information includes load access amount, total load amount, load type and other relevant data;
an alternative generation module: the method comprises the steps of acquiring equipment data and generating an alternative scheme according to the equipment data;
specifically, the device data includes a device type, a device power, a device model, and the like;
specifically, when the alternative scheme is generated, clustering can be performed according to the power supply radius, and equipment data with similar power supply radius are divided into the same cluster, so that subsequent selection is facilitated;
specifically, the alternative scheme comprises optional equipment data when the project generates an electric wiring diagram;
model construction module: the method comprises the steps of establishing an optimization generation model by adopting a mixed integer linear relation according to an alternative scheme, and generating design constraint conditions of the optimization generation model according to project design rules, wherein the optimization generation model comprises a wiring adjacent matrix A and a device selection vector T;
specifically, the optimization generation model satisfies design constraints, which include:
(1) All elements in the wiring adjacency matrix and the device selection vector are Boolean variables, namely integer variables with element values of 1 or 0;
for example, an element with a value of 1 in a represents that the incoming node corresponding to the row of the element is connected with the outgoing node of the power supply device corresponding to the column of the element, and a value of 0 indicates that the element is disconnected. An element value of 1 in T represents that the device corresponding to the element is selected and used, and an element value of 0 represents that the device corresponding to the element is not applicable.
(2) The incoming line rated current of the corresponding equipment of each row in the wiring adjacent matrix is smaller than or equal to the outgoing line rated current of the corresponding access column power supply equipment;
(3) The incoming line plugs corresponding to the rows in the wiring adjacent matrix have the same specification as the outgoing line plugs corresponding to the columns in the wiring adjacent matrix;
(4) The total number of the lower access loops of the outgoing lines of the equipment is smaller than or equal to the number of various outgoing lines of the equipment;
(5) The sum of row elements in the wiring adjacent matrix is 1 or 2;
(6) The common low-voltage load adopts a tree dry type power supply mode, the important load adopts a dual-power supply and ATS mutual box throwing mode to supply power, and two paths of power supplies of the dual-power supply inlet wire equipment are respectively led from different transformer substation buses;
(7) The load capacity is the same as that of the upper power switch;
(8) The required coefficient and the synchronous rate required by the loads of each stage are adjustable;
specifically, the model building module includes: taking the lowest cost as an objective function, taking load information as input, and establishing an optimization generation model by adopting a mixed integer linear relation according to design constraint conditions and alternative schemes;
specifically, the objective function is: min, z=t T ·K
Wherein T is a device selection vector and also serves as a control variable, K is a vector formed by corresponding device prices, and Z is a manufacturing cost.
The generation module is used for: the method comprises the steps of generating an electrical wiring diagram according to estimated capacity, load information and an optimization generation model;
specifically, the generating module includes:
according to the load information, the preset area and the estimated capacity, carrying out load partitioning on the preset area to obtain a load partition map;
selecting equipment models and equipment quantity from the alternative schemes, and generating an equipment load partition map according to the equipment models, the equipment quantity and the load partition map;
specifically, the equipment load partition map is used for generating an electrical wiring map subsequently, compared with the existing electrical wiring map generation process, relevant information such as equipment, load, power, position, distance and the like in the plane drawing does not need to be repeatedly compared and inquired, so that a computer can independently, automatically and quickly complete wiring scheme design work, automatic drawing can be completed, meanwhile, switching time between workshops is shortened, and working efficiency of drawing the electrical plane map is improved.
Determining a wiring adjacent matrix according to the equipment model number and the equipment quantity;
constructing equipment blocks according to the number of the equipment and the model of the equipment;
specifically, the kinds of equipment blocks include: transformers, branch boxes, ATS boxes, terminal boxes, UPS power boxes, loads, and the like;
specifically, the attribute words in the device tile include: coordinates, device name, load name, calculation load, device number, etc.;
inputting the load information into an optimization generation model to solve a wiring adjacency matrix so as to obtain coordinates of the wiring diagram element;
specifically, setting a proper spacing distance of insertion points according to the number of subordinate devices in the wiring structure and the size of the device blocks; and then according to the sequence that the power supply is on and the load is on, the peer equipment is arranged from left to right, and the coordinates of the insertion points of the loads of the equipment are obtained through calculation.
Generating an electrical wiring diagram according to the wiring diagram element coordinates and the inserting equipment block;
specifically, generating a wiring relation according to a wiring adjacent matrix, and obtaining coordinates of a starting point (a power supply outlet node) and an ending point (a load inlet node) of each wiring; defining the coordinates of the middle turning points and the offset in the transverse and longitudinal directions between the wires according to the relative position relation of the devices at each level, and calculating to obtain the coordinates of the turning points of each connecting line; finally, realizing automatic connection by programming according to coordinates of the connection start point, the connection stop point and the connection turning point; and finally, automatically inserting relevant parameter information such as load names, equipment names, calculated loads and the like into the system wiring diagram in a mode of attribute words according to requirements.
Example 3
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing an electrical wiring diagram generation method when executing the computer program, comprising the steps of:
acquiring a preset area, and generating estimated capacity according to the preset area;
specifically, the preset area is a setting area of an item where the electrical wiring diagram is located, the estimated capacity is empirically set according to the preset area, for example, the corresponding capacity per square meter is set through experience of technicians;
acquiring load information and project design rules;
specifically, the load information includes load access amount, total load amount, load type and other relevant data;
acquiring equipment data and generating an alternative scheme according to the equipment data;
specifically, the device data includes a device type, a device power, a device model, and the like;
specifically, the alternative scheme comprises optional equipment data when the project generates an electric wiring diagram;
establishing an optimization generation model by adopting a mixed integer linear relation according to an alternative scheme, and generating design constraint conditions of the optimization generation model according to project design rules, wherein the optimization generation model comprises a wiring adjacent matrix A and a device selection vector T;
specifically, the optimization generation model satisfies design constraints, which include:
(1) All elements in the wiring adjacency matrix and the device selection vector are Boolean variables, namely integer variables with element values of 1 or 0;
for example, an element with a value of 1 in a represents that the incoming node corresponding to the row of the element is connected with the outgoing node of the power supply device corresponding to the column of the element, and a value of 0 indicates that the element is disconnected. An element value of 1 in T represents that the device corresponding to the element is selected and used, and an element value of 0 represents that the device corresponding to the element is not applicable.
(2) The incoming line rated current of the corresponding equipment of each row in the wiring adjacent matrix is smaller than or equal to the outgoing line rated current of the corresponding access column power supply equipment;
(3) The incoming line plugs corresponding to the rows in the wiring adjacent matrix have the same specification as the outgoing line plugs corresponding to the columns in the wiring adjacent matrix;
(4) The total number of the lower access loops of the outgoing lines of the equipment is smaller than or equal to the number of various outgoing lines of the equipment;
(5) The sum of row elements in the wiring adjacent matrix is 1 or 2;
(6) The common low-voltage load adopts a tree dry type power supply mode, the important load adopts a dual-power supply and ATS mutual box throwing mode to supply power, and two paths of power supplies of the dual-power supply inlet wire equipment are respectively led from different transformer substation buses;
(7) The load capacity is the same as that of the upper power switch;
(8) The required coefficient and the synchronous rate required by the loads of each stage are adjustable;
specifically, with the lowest cost as an objective function, load information as input, and a mixed integer linear relation is adopted to build an optimization generation model according to design constraint conditions and alternative schemes;
specifically, the objective function is: min, z=t T ·K
Wherein T is a device selection vector and is also used as a control variable, K is a vector formed by corresponding device prices, and Z is the manufacturing cost;
as long as the unit price of a given device is and where viable, it can be ensured that the resulting wiring scheme is the lowest overall cost of the device in the alternative.
The optimization generating model takes a wiring adjacent matrix A representing a device connection mode and a device selection vector T representing whether a device is selected or not as control variables. Wherein A is a matrix, each column corresponds to an outgoing line node of the power supply device, and each row corresponds to an incoming line node of each device and load. And establishing a mathematical expression form of a low-voltage system wiring diagram and equipment type selection, namely obtaining a system wiring scheme by only obtaining a control variable value meeting the requirement.
And generating an electrical wiring diagram according to the optimization generation model.
Specifically, the step of generating the electrical wiring diagram according to the optimization generation model includes:
according to the load information, the preset area and the estimated capacity, carrying out load partitioning on the preset area to obtain a load partition map;
selecting equipment models and equipment quantity from the alternative schemes, and generating an equipment load partition map according to the equipment models, the equipment quantity and the load partition map;
specifically, the equipment load partition map is used for generating an electrical wiring map subsequently, compared with the existing electrical wiring map generation process, relevant information such as equipment, load, power, position, distance and the like in the plane drawing does not need to be repeatedly compared and inquired, so that a computer can independently, automatically and quickly complete wiring scheme design work, automatic drawing can be completed, meanwhile, switching time between workshops is shortened, and working efficiency of drawing the electrical plane map is improved.
Determining a wiring adjacent matrix according to the equipment model number and the equipment quantity;
constructing equipment blocks according to the number of the equipment and the model of the equipment;
specifically, the kinds of equipment blocks include: transformers, branch boxes, ATS boxes, terminal boxes, UPS power boxes, loads, and the like;
specifically, the attribute words in the device tile include: coordinates, device name, load name, calculation load, device number, etc.;
inputting the load information into an optimization generation model to solve a wiring adjacency matrix so as to obtain coordinates of the wiring diagram element;
specifically, in the step of inputting load information into an optimization generation model to solve a wiring adjacent matrix to obtain coordinates of a wiring diagram element, setting a proper spacing distance of insertion points according to the number of subordinate devices in a wiring structure and the size of a device block; and then according to the sequence that the power supply is on and the load is on, the peer equipment is arranged from left to right, and the coordinates of the insertion points of the loads of the equipment are obtained through calculation.
Generating an electrical wiring diagram according to the wiring diagram element coordinates and the inserting equipment block;
specifically, in the step of generating an electrical wiring diagram according to the wiring diagram element coordinates insertion device block: generating a wiring relation according to the wiring adjacent matrix, and obtaining coordinates of a starting point (a power supply outlet node) and a finishing point (a load inlet node) of each wiring; defining the coordinates of the middle turning points and the offset in the transverse and longitudinal directions between the wires according to the relative position relation of the devices at each level, and calculating to obtain the coordinates of the turning points of each connecting line; finally, realizing automatic connection by programming according to coordinates of the connection start point, the connection stop point and the connection turning point; and finally, automatically inserting relevant parameter information such as load names, equipment names, calculated loads and the like into the system wiring diagram in a mode of attribute words according to requirements.
Example 4
A computer readable storage medium storing a computer program which when executed by a processor implements a method of electrical wiring diagram generation as described above.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.

Claims (10)

1. The electric wiring diagram generating method is characterized by comprising the following steps:
acquiring a preset area, and generating estimated capacity according to the preset area;
acquiring load information and project design rules;
acquiring equipment data and generating an alternative scheme according to the equipment data;
establishing an optimization generation model by adopting a mixed integer linear relation according to an alternative scheme, and generating design constraint conditions of the optimization generation model according to project design rules, wherein the optimization generation model comprises a wiring adjacent matrix A and a device selection vector T;
and generating an electrical wiring diagram according to the estimated capacity, the load information and the optimization generation model.
2. An electrical wiring diagram generation method according to claim 1, wherein the load information includes a load access amount, a total load amount, and a load type;
the device data includes a device type, a device power, and a device model.
3. The electrical wiring diagram generation method of claim 1, wherein the optimization generation model satisfies design constraints, the design constraints comprising:
all elements in the wiring adjacency matrix and the equipment selection vector are Boolean variables;
the incoming line rated current of the corresponding equipment of each row in the wiring adjacent matrix is smaller than or equal to the outgoing line rated current of the corresponding access column power supply equipment;
the incoming line plugs corresponding to the rows in the wiring adjacent matrix have the same specification as the outgoing line plugs corresponding to the columns in the wiring adjacent matrix;
the total number of the lower access loops of the outgoing lines of the equipment is smaller than or equal to the number of various outgoing lines of the equipment;
the sum of row elements in the wiring adjacent matrix is 1 or 2;
the load adopts tree dry type power supply or double power supplies plus ATS mutual box power supply;
the load capacity is the same as that of the upper power switch;
the required coefficient and the synchronous rate required by the loads of each stage are adjustable.
4. The electrical wiring diagram generation method according to claim 1, wherein the optimization generation model is built by using a mixed integer linear relation according to design constraint conditions and alternatives, with minimum cost as an objective function and load information as input.
5. The electrical wiring diagram generation method of claim 4 wherein the objective function is: min, z=t T ·;
Wherein T is a device selection vector and also serves as a control variable, K is a vector formed by corresponding device prices, and Z is a manufacturing cost.
6. The electrical wiring diagram generation method according to claim 1, wherein the step of generating the electrical wiring diagram based on the estimated capacity, the load information, and the optimization generation model comprises the steps of:
according to the load information, the preset area and the estimated capacity, carrying out load partitioning on the preset area to obtain a load partition map;
selecting equipment models and equipment quantity from the alternative schemes, and generating an equipment load partition map according to the equipment models, the equipment quantity and the load partition map;
determining a wiring adjacent matrix according to the equipment model number and the equipment quantity;
constructing equipment blocks according to the number of the equipment and the model of the equipment;
inputting the load information into an optimization generation model to solve a wiring adjacency matrix so as to obtain coordinates of the wiring diagram element;
the device tiles are inserted into the device load partition map according to the map element coordinates to generate an electrical map.
7. The electrical wiring diagram generation method according to claim 6, wherein in the step of inputting the load information into the optimization generation model to solve the wiring adjacency matrix to obtain the coordinates of the wiring diagram elements, the insertion point spacing distance is set according to an alternative scheme and equipment blocks; and then the coordinates of the elements of the wiring diagram are obtained according to the sequence that the power supply is on and the load is on and the peer equipment is arranged from left to right.
8. An electrical wiring diagram generating device, characterized by comprising:
capacity estimation module: the method comprises the steps of acquiring a preset area and generating estimated capacity according to the preset area;
and a data acquisition module: the method comprises the steps of acquiring load information and project design rules;
an alternative generation module: the method comprises the steps of acquiring equipment data and generating an alternative scheme according to the equipment data;
model construction module: the method comprises the steps of establishing an optimization generation model by adopting a mixed integer linear relation according to an alternative scheme, and generating design constraint conditions of the optimization generation model according to project design rules, wherein the optimization generation model comprises a wiring adjacent matrix A and a device selection vector T;
the generation module is used for: for generating an electrical wiring diagram from the estimated capacity, the load information and the optimization generation model.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements a method of generating an electrical wiring diagram according to any of claims 1-7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that an electrical wiring diagram generation method according to any one of claims 1 to 7 is implemented when the computer program is executed by a processor.
CN202311036099.6A 2023-08-16 2023-08-16 Electrical wiring diagram generation method, device, equipment and medium Pending CN117057078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311036099.6A CN117057078A (en) 2023-08-16 2023-08-16 Electrical wiring diagram generation method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311036099.6A CN117057078A (en) 2023-08-16 2023-08-16 Electrical wiring diagram generation method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117057078A true CN117057078A (en) 2023-11-14

Family

ID=88660422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311036099.6A Pending CN117057078A (en) 2023-08-16 2023-08-16 Electrical wiring diagram generation method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117057078A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117436219A (en) * 2023-12-20 2024-01-23 中国建筑西南设计研究院有限公司 Low-voltage system diagram generation method, system and medium based on main wiring position

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117436219A (en) * 2023-12-20 2024-01-23 中国建筑西南设计研究院有限公司 Low-voltage system diagram generation method, system and medium based on main wiring position
CN117436219B (en) * 2023-12-20 2024-03-12 中国建筑西南设计研究院有限公司 Low-voltage system diagram generation method, system and medium based on main wiring position

Similar Documents

Publication Publication Date Title
CN110866320B (en) Automatic intelligent platform region graph generation method and system
CN106650161B (en) Electrical single line diagram mapping method and system based on power grid GIS
CN104133943A (en) Distribution network pattern automatic generating method based on target guide
CN110880717B (en) Automatic cable laying method based on equipment and bridge positioning digitization
CN102403718B (en) Generating method for power grid topological relationship based on Arcgis
CN117057078A (en) Electrical wiring diagram generation method, device, equipment and medium
CN103020360A (en) Integration design method of intelligent substation based on three-dimensional design platform and professional software
Liu et al. Restoration of power distribution systems with multiple data centers as critical loads
CN106202662A (en) A kind of distribution network structure figure draws mapping method automatically
CN103020335A (en) Method for automatically converting distribution network geographic wiring diagram into region orthogonal diagram
CN106875086A (en) A kind of electric network data modeling method and its system based on graphical interactive operation
CN103093007A (en) Power transmission iron tower three-dimensional virtual assembly method
CN111026900A (en) Power distribution network wiring group generation and net rack topological graph generation method and device
CN106910140B (en) SVG format-based power system wiring diagram network topology analysis method
CN112507434A (en) Method for drawing construction drawing based on extensible drawing model
CN103093493A (en) High-precision three-dimensional object modeling method with power grid equipment existing
EP2795545A1 (en) System for distributing electrical energy over a cluster of electrical devices, method for distributing electrical energy over a cluster of electrical devices of such a system and controller for use in such a system
CN108229037B (en) Modeling method and device based on BIM
CN112990560B (en) Automatic generation method and device for power grid geographical wiring diagram
CN113762724A (en) Method for collaborative design and management of power transmission and transformation project based on BIM technology
Mokhtar et al. Automating the verification of the low voltage network cables and topologies
CN108227644A (en) A kind of equipment replacement method, apparatus, storage medium and electronic device
CN112417079A (en) Off-line power grid-based GIS (geographic information System) drawing system and method
CN111914376A (en) Method and device for automatically constructing power grid bus mode diagram and storage medium
CN116777671A (en) Large-scale energy storage resource management method and system based on automatic topology display generation

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