CN112800504A - Building electrical diagram generation method and device, electronic equipment and storage medium - Google Patents

Building electrical diagram generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112800504A
CN112800504A CN202110170951.3A CN202110170951A CN112800504A CN 112800504 A CN112800504 A CN 112800504A CN 202110170951 A CN202110170951 A CN 202110170951A CN 112800504 A CN112800504 A CN 112800504A
Authority
CN
China
Prior art keywords
electrical
module
building
electrical module
diagram
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.)
Granted
Application number
CN202110170951.3A
Other languages
Chinese (zh)
Other versions
CN112800504B (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.)
Huasen Architectural & Engineering Designing Consultants Ltd
Original Assignee
Huasen Architectural & Engineering Designing Consultants 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 Huasen Architectural & Engineering Designing Consultants Ltd filed Critical Huasen Architectural & Engineering Designing Consultants Ltd
Priority to CN202110170951.3A priority Critical patent/CN112800504B/en
Publication of CN112800504A publication Critical patent/CN112800504A/en
Application granted granted Critical
Publication of CN112800504B publication Critical patent/CN112800504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/04Architectural design, interior design

Abstract

The embodiment of the application discloses a method and a device for generating a building electrical diagram, electronic equipment and a storage medium. The method is applied to the electronic equipment and can comprise the following steps: receiving an electrical module selection instruction, and determining a selected electrical module according to the electrical module selection instruction; assembling the selected electrical modules according to drawing standards to obtain a first building electrical diagram; receiving an electrical module parameter setting instruction, and performing parameter setting on the electrical module selected in the first building electrical diagram according to the electrical module parameter setting instruction; generating an equipment option list according to the electrical module subjected to parameter setting; selecting a design description module corresponding to the equipment option list according to the equipment option list; and generating a second building electrical diagram according to the electrical module, the equipment option list and the design description module after the parameters in the first building electrical diagram are set. The building electrical diagram generation method, the building electrical diagram generation device, the electronic equipment and the storage medium can improve the efficiency and quality of building electrical diagram generation.

Description

Building electrical diagram generation method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of architectural design, in particular to a method and a device for generating an architectural electrical diagram, electronic equipment and a storage medium.
Background
With the development of science and technology, the design cycle of the current architectural design industry is gradually shortened, the requirement for the refinement of design drawings is higher and higher, but the drawing quality is uneven due to different design abilities, different design experiences, different design habits and the like of drawing persons, and the time spent on drawing cannot be guaranteed.
Disclosure of Invention
The embodiment of the application discloses a method and a device for generating a building electrical diagram, electronic equipment and a storage medium, which can improve the efficiency and quality of generating the building electrical diagram.
The embodiment of the application discloses a method for generating a building electrical diagram, which comprises the following steps:
receiving an electrical module selection instruction, and determining a selected electrical module according to the electrical module selection instruction;
assembling the selected electrical modules according to drawing standards to obtain a first building electrical diagram;
receiving an electrical module parameter setting instruction, and performing parameter setting on the electrical module selected from the first building electrical diagram according to the electrical module parameter setting instruction;
generating an equipment option list according to the electrical module subjected to parameter setting;
selecting a design description module corresponding to the equipment option list according to the equipment option list;
and generating a second building electrical diagram according to the electrical module with the set parameters in the first building electrical diagram, the equipment option list and the design description module.
The embodiment of the application discloses generation device of building electrical diagram, the device includes:
the electrical module determining unit is used for receiving an electrical module parameter selection instruction and determining a selected electrical module according to the electrical module selection instruction;
the assembling unit is used for assembling the selected electrical modules according to drawing standards to obtain a first building electrical diagram;
the electrical module parameter setting unit is used for receiving an electrical module parameter setting instruction and carrying out parameter setting on the electrical module in the first building electrical diagram according to the electrical module parameter setting instruction;
the first generating unit is used for generating an equipment option list according to the electrical module subjected to parameter setting;
the design description module selection unit is used for selecting a design description module corresponding to the equipment option list according to the equipment option list;
and the second generating unit is used for generating a second building electrical diagram according to the electrical module with the set parameters in the first building electrical diagram, the equipment option list and the design description module.
The embodiment of the application discloses an electronic device, which comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is enabled to realize the method.
An embodiment of the application discloses a computer-readable storage medium, which stores a computer program, and the computer program realizes the method described above when being executed by a processor.
The embodiment of the application discloses a building electrical diagram generation method, a building electrical diagram generation device, electronic equipment and a computer readable storage medium. By implementing the embodiment of the application, the equipment option list and the design description module corresponding to the equipment option list can be generated through the electric module selection instruction and the electric module parameter setting instruction according to the actual drawing requirement, and then the building electric diagram meeting the drawing standard is generated, so that the efficiency and the quality of generating the building electric diagram by a user are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a diagram illustrating an application scenario of a method for generating an electrical diagram of a building according to an embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method for generating a building electrical diagram according to one embodiment;
fig. 3 is a first electrical diagram of a building, generated by the ring main unit system with a voltage of 10kV according to an electrical module selection instruction received by the electronic device in one embodiment;
FIG. 4 is a schematic flow chart illustrating the assembly of selected electrical modules according to mapping criteria to obtain a first building electrical map in accordance with one embodiment;
FIG. 5 is a block diagram of an apparatus for generating an electrical map of a building in one embodiment;
fig. 6 is a block diagram of an electronic device in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the examples and figures of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Fig. 1 is an application scenario diagram of a generation method of a building electrical diagram in one embodiment. As shown in fig. 1, the electronic device 101 is an electronic device capable of generating an architectural electrical diagram, the electronic device may include but is not limited to a tablet Computer, a PC (Personal Computer), and the like, a user may be a cartographer who needs to perform architectural electrical diagram drawing, the implementation scenario may be applied to any place where offices, homes, libraries, or other users perform architectural electrical diagram drawing, and when the user uses the electronic device to perform architectural electrical diagram drawing, the user may directly select a required electrical module and set electrical module parameters, so that a standard architectural electrical diagram may be generated, and efficiency and quality of generating the architectural electrical diagram are ensured.
FIG. 2 is a schematic flow chart of a method for generating a building electrical diagram in one embodiment. As shown in fig. 2, the method for generating the building electrical diagram may be applied to the electronic device, and the method may include the following steps:
201. and receiving an electrical module selection instruction, and determining the selected electrical module according to the electrical module selection instruction.
The electrical module refers to a module representing part or all of electrical information of a building system in a building electrical diagram, for example, the electrical module may include, but is not limited to, a central cabinet system module, a ring main unit system module, a control cabinet system module, and the like. In some embodiments, when the user uses the electronic device to draw the electrical diagram of the building, the electronic device determines the electrical module selected by the user by receiving an electrical module selection instruction, and displays the selected electrical module on the display screen of the electronic device in real time. Among them, the electronic apparatus in the present embodiment can integrate a large number of electric modules.
In one embodiment, the electronic device may determine the selected electrical module in accordance with the electrical module selection instruction. Wherein, each electrical module can comprise a header submodule, an electrical device submodule and a technical parameter submodule. The header sub-module is a fixed-format module, and is used to represent module information included in the selected electrical module, where the module information may be used to represent information of each electrical component included under the electrical module, and for example, the module information may include: electrical information such as a vacuum circuit breaker, a load switch, a voltage transformer, a current transformer and the like; the fixed format is a specified format which accords with drawing standards, for example, the fixed format of the header sub-module can comprise a primary wiring diagram mark at the upper end and information such as switch cabinet type, equipment content and usage at the lower end; the electrical device sub-module is a module with a fixed format and is used for representing electrical device information of system wiring, cables, sizes, wire inlet and outlet modes and the like of the selected electrical module; the fixed format is a prescribed format which accords with drawing standards, for example, the fixed format of the electrical device sub-module can comprise a system wiring diagram of the electrical module on the upper part, and information such as current transformer change, transformer installation capacity and the like on the lower part; the technical parameter sub-module is a module with a fixed format, and is used for representing technical parameters contained in the electrical module, the technical parameters may include technical parameters such as a voltage value, a capacitance value, and a current value, and the fixed format is a prescribed format meeting a drawing standard.
For example, if the electrical module selection instruction determines that the selected electrical module is the middle-placed cabinet system module with a voltage of 10V, the electronic device determines that the selected module is the middle-placed cabinet system header sub-module, the middle-placed cabinet system cabinet sub-module, and the middle-placed cabinet system description sub-module with a voltage of 10V, and the user can directly view the selected electrical module in real time through the display unit of the electronic device.
The electrical module may be composed of one or more basic electrical units. The base electrical unit refers to an electrical unit representing single electrical information, for example, a unit representing single electrical information of a vacuum circuit breaker, a voltage transformer, a current transformer, and the like. In another embodiment, when the electrical module corresponding to the electrical module selection command does not exist in the electronic device, the base electrical unit is recombined to form the electrical module corresponding to the electrical module selection command, and the formed electrical module is taken as the selected electrical module. For example, if the electrical module selection instruction determines that the selected electrical module is a centrally installed switchgear system module with a voltage of 30V, and there is no centrally installed switchgear system module with a voltage of 30V in the system of the electronic device, the electronic device selects a basic electrical unit corresponding to the centrally installed switchgear system module with a voltage of 30V according to the electrical module selection instruction, combines and assembles the selected basic electrical unit to form a centrally installed switchgear system module with a voltage of 30V, and uses the formed centrally installed switchgear system module with a voltage of 30V as the selected electrical module.
In the embodiment of the application, the electronic device determines the selected electrical module by receiving the electrical module selection command, and if the selected electrical module cannot be determined according to the received electrical module selection command, the electronic device reassembles the basic electrical units to form the electrical module corresponding to the electrical module selection command. By implementing the method, a user does not need to make the electrical modules one by one, so that the drawing uniformity is improved, the building electrical diagram generation efficiency and quality can be improved, and the electrical module selection or making errors caused by human factors are reduced.
203. And assembling the selected electrical modules according to drawing standards to obtain a first building electrical diagram.
In some embodiments, the electronic device receives an electrical module selection instruction, and acquires the selected electrical module according to the electrical module selection instruction, wherein the selected electrical module includes a header sub-module, an electrical device sub-module, and a technical parameter sub-module. And assembling the selected electrical modules according to drawing standards to obtain a first building electrical diagram, wherein the drawing standards comprise one or more of set standard building electrical diagram sizes, standard building electrical diagram templates, standard building electrical diagram line patterns, standard typesetting formats of the selected electrical modules in the building electrical diagram and the like, but are not limited to the above.
In one embodiment, the manner of obtaining the first building electrical diagram may include: the electronic equipment can assemble the selected electrical modules according to drawing standards to obtain a first building electrical diagram. The electronic equipment can determine the selected electrical module according to the received electrical module selection instruction, wherein the selected electrical module comprises a header sub-module, an electrical device sub-module and a technical parameter sub-module, and the selected electrical module is assembled according to a drawing standard to obtain a first building electrical diagram.
For example, if an electrical module selection instruction received by the electronic device requires to select a ring main unit system with a voltage of 10kV, the electronic device selects an electrical module corresponding to the ring main unit system with a voltage of 10kV, wherein the electrical module corresponding to the ring main unit system with a voltage of 10kV includes three submodules, namely a header submodule, a cabinet submodule and a system description submodule, wherein the header submodule is in a fixed format and cannot be changed, and a user can directly select and use the header submodule of the ring main unit with a voltage of 10 kV; the sub-module of the cabinet body comprises a ring main unit system wiring diagram with the voltage of 10kV selected according to the electric module selection instruction, the wiring diagram is fixed and can not be changed, and a user can directly select and use the sub-module of the ring main unit system with the voltage of 10 kV; the system description submodule of the ring main unit with the voltage of 10kV comprises information such as a use description and an application environment of the ring main unit system with the voltage of 10 kV. The electronic equipment assembles the selected ring main unit gauge head submodule with the voltage of 10kV, the ring main unit submodule and the ring main unit system description submodule according to drawing standards to generate a first building electrical diagram. As shown in fig. 3, fig. 3 is a first architectural electrical diagram generated by an electrical module selection instruction received by an electronic device in an embodiment that requires a ring main unit system with a voltage of 10kV to select, where 302 is a ring main unit header sub-module with a voltage of 10kV, 304 is a ring main unit sub-module with a voltage of 10kV, and 306 is a ring main unit system description sub-module with a voltage of 10 kV.
In another embodiment, the electronic device may also obtain module information of the selected electrical module, obtain technical parameters corresponding to the selected electrical module, and assemble the selected electrical module according to the module information and the technical parameters of the selected electrical module according to the drawing standard to obtain the first building electrical drawing.
In the embodiment of the application, the electronic equipment assembles the selected electrical modules according to the drawing standard to obtain the first building electrical diagram, so that the time spent by drawing personnel on typesetting can be reduced, the drawing efficiency is improved, and meanwhile, the selected electrical modules are assembled by the electronic equipment according to the drawing standard to unify the drawing typesetting format, so that the quality and the uniformity of the building electrical diagram are improved.
205. And receiving an electrical module parameter setting instruction, and performing parameter setting on the electrical module selected in the first building electrical diagram according to the electrical module parameter setting instruction.
Parameter setting refers to setting technical parameters in the electrical module, and may include setting technical parameters of current values, voltage values, and the like. In one embodiment, the electronic device receives an electrical module parameter setting instruction and performs parameter setting on the selected electrical module in the first building electrical diagram according to the electrical module parameter setting instruction, wherein the parameter setting can be that a user directly inputs parameters to the electrical module. For example, if the parameter setting instruction of the electrical module received by the electronic device is to perform parameter setting of the transformer capacity and the current of the isolation cabinet module in the cabinet body module in the built-in cabinet system, and the user knows the specific parameter values of the transformer capacity and the current, the user can directly input the parameter values into the electrical module to complete the parameter setting.
In another embodiment, the electronic device receives an electrical module parameter setting instruction, performs parameter setting on technical parameters of the selected electrical module according to the electrical module parameter setting instruction, and the parameter setting may be to calculate the technical parameters of the selected electrical module according to the electrical module parameter setting instruction to obtain a technical parameter calculation result of the selected electrical module, and input the technical parameter calculation result of the selected electrical module to a corresponding electrical module in the first building electrical diagram according to the technical parameter calculation result of the selected electrical module. The electronic equipment comprises a preset electrical module technical parameter calculation formula, selects the calculation formula corresponding to the electrical module parameter setting instruction according to the received electrical module parameter setting instruction, calculates the technical parameters through the calculation formula to obtain the technical parameter calculation result of the selected electrical module, and inputs the calculation result to the corresponding electrical module in the first building electrical diagram.
For example, if the electrical module parameter setting instruction received by the electronic device is that the distribution box performs parameter setting, the distribution box parameters include an electrical load parameter, a leakage current parameter, and the like, and the distribution box parameters need to be obtained through calculation, the electronic device selects a calculation formula corresponding to the distribution box parameters according to the electrical module parameter setting instruction, and calculates technical parameters of the distribution box in the electrical module through the calculation formula to obtain a calculation result of the distribution box parameters. And inputting the calculation result of the distribution box parameters into the electrical module according to the calculation result of the distribution box parameters to complete parameter setting.
In the embodiment of the application, the electronic equipment sets the parameters of the electric module selected from the first building electric diagram through the received electric module parameter setting instruction, and the parameters can be calculated when a user needs the parameters, so that the accuracy of setting the parameters of the electric module is improved, and the drawing efficiency is improved.
207. And generating an equipment option list according to the electrical module subjected to parameter setting.
In the embodiment of the application, the equipment option table refers to a table which is selected and subjected to parameter setting and represents technical parameter information in the electrical module.
209. And selecting a design description module corresponding to the equipment option list according to the equipment option list.
In the embodiment of the present application, the design description module may include a technical requirement description module and a device reference model selection module, and the design description module corresponding to the device option list may be selected according to the technical parameter information in the electrical module in the device option list. The technical requirement description module is a module for describing the use environment, technical content and requirements in the equipment option list; the device reference type selection module is a module for representing the device types and the device parameters corresponding to the device types contained in the device option table.
In some embodiments, selecting the design description module corresponding to the equipment option table according to the equipment option table may be to describe the selected electrical module in the first building electrical diagram through technical parameter information in the electrical modules in the equipment option table. For example, the design specification module may represent information on a specific model, size, load switch, performance parameters, etc. corresponding to technical parameters of the electrical module in the device option list. For example, if the first building electrical diagram is a ring main unit building electrical diagram, a design description module corresponding to the ring main unit is selected through an electrical module and an equipment option list after the ring main unit in the first building electrical diagram is subjected to parameter setting, and the content of the design description module may include information such as component parts, size, load switches, performance parameter functions, use methods, and cabinet body size of the ring main unit.
In the embodiment of the present application, the design description module corresponding to the device option table is selected through the device option table, that is, the device option table corresponding to the different electrical modules and their technical parameters is generated. And selecting a design description module corresponding to the equipment option list according to the equipment option list, wherein the selected design description module is in accordance with the equipment option list. By implementing the method, the design description module can be selected in a targeted manner, the accuracy of building electrical diagram generation is improved, and the selection disorder is avoided.
211. And generating a second building electrical diagram according to the electrical module, the equipment option list and the design description module after the parameters in the first building electrical diagram are set.
The second building electrical diagram is the resulting building electrical diagram. The building electrical diagram shows the composition and connection relationship of each electrical module in the system by a specified symbol, the power supply lines of the whole project are connected schematically, the power supply scheme and the mode of the project or the project are mainly shown, and the relationship of each part of a certain device in the project or the project can also be shown.
In some embodiments, the electrical modules and technical parameters thereof required by different building electrical diagrams are different, after the selected electrical module is determined, the selected electrical module is assembled to obtain a first building electrical diagram, and the electrical module in the first building electrical diagram is subjected to parameter setting to obtain parameters actually required by a user, an equipment option table is set through the electrical module subjected to parameter setting, a design description module is selected according to the equipment option table, and finally, a final second building electrical diagram is generated according to the electrical module, the equipment option table and the design description module subjected to parameter setting.
In some embodiments, after generating the second building electrical map, the second building electrical map is subjected to a normalization process. The normalization process may include: and carrying out standardization processing on the building electrical diagram according to drawing standards. Wherein, the drawing standard comprises: the method comprises the following steps of setting one or more of the size of a standard building electrical diagram, a template of the standard building electrical diagram, the line pattern of the standard building electrical diagram, the standard typesetting format of the selected electrical module and the design description module in the building electrical diagram, the standard font format, the standard font color and the like, but is not limited to the above. Wherein the set standard building electrical diagram size is a specified building electrical diagram size, for example, the specified building electrical diagram size may be a1 size, wherein a1 size is a common, standard building electrical diagram size, and the size is 594mm (millimeters) x841 mm; the standard building electrical diagram template refers to a fixed format of a building electrical diagram drawing or design scheme; the standard building electrical map line pattern refers to the line thickness and line color specified by the building electrical map; the standard typesetting format of the selected electrical module and the design description module in the building electrical diagram refers to that the electrical module and the design description module are placed according to the specified size and the specified position according to the drawing requirements to form the specified format of the building electrical diagram; the standard font format refers to unifying fonts and font sizes in the electrical architecture diagram according to the standard of the electrical architecture diagram; the standard font color refers to the color of the font at the corresponding position in the unified architectural electrical diagram according to the standard of the architectural electrical diagram.
In the embodiment of the application, the selected electrical modules are assembled by selecting the electrical modules actually required for drawing, and the electrical modules actually required for drawing do not need to be drawn, so that the time required for drawing the building electrical diagram is greatly shortened, and the efficiency for generating the building electrical diagram is improved. Meanwhile, the problems that the quality of the finally obtained building electrical diagram is uneven and the typesetting format cannot be unified due to the difference of the size and the specification of the electrical module manufactured by each user can be solved by directly selecting the required electrical module. The embodiment of the application solves the problems of overlong design time, low efficiency, uneven quality and easy error generation in the related technology to a certain extent, and effectively reduces the phenomenon of different drawing quality caused by different design capabilities, different design experiences, different design habits, different expression modes of the design drawing and the like of users, so that the efficiency of building electrical drawing manufacturing can be improved, and the quality of building electrical drawing generation is improved.
FIG. 4 is a schematic flow chart illustrating the assembly of selected electrical modules according to mapping criteria to obtain a first building electrical map in accordance with one embodiment; as shown in fig. 4, assembling the selected electrical modules according to the drawing standard to obtain the first building electrical diagram may include the following steps:
402. module information of the selected electrical module is acquired.
In some embodiments, the electronic device obtains the selected electrical module according to the electrical module selection instruction, wherein the selected electrical module comprises a header sub-module, an electrical device sub-module, and a technical parameter sub-module. Further, the module information of the selected electrical module may be obtained through a header sub-module, an electrical device sub-module and a technical parameter sub-module included in the selected electrical module, and the module information may include: electrical information such as vacuum circuit breakers, load switches, voltage transformers, current transformers, etc.
404. And acquiring the technical parameters corresponding to the selected electrical module.
In step 402, module assembling is performed on the selected electrical module to obtain module information of the electrical module of the first building electrical diagram, where the module information includes technical parameters corresponding to the selected electrical module, where the technical parameters may refer to: capacitance value, voltage value, current value and other electrical module parameter information.
406. Judging whether the selected electrical module is the same as the module contained in the building electrical general map, if so, executing step 410; if not, go to step 408.
The building electrical general map refers to a building electrical map that is preset in the electronic device and that can be directly generated and used by the user. The building electrical general diagram consists of a plurality of electrical modules, wherein technical parameters in the electrical modules are preset and are the building electrical diagrams generated according to the actual drawing needs and drawing standards of users and the use frequency of the users.
408. And assembling the selected electrical modules according to the module information and technical parameters of the selected electrical modules according to drawing standards to obtain a first building diagram.
If the selected electrical module is not the same as the electrical module contained in the building electrical general map in step 406, a step of assembling the selected electrical module according to the module information and the technical parameters of the selected electrical module according to the drawing standard to obtain a first building map is executed.
410. Judging whether the technical parameters of the selected electrical module are consistent with the technical parameters of the electrical module contained in the building electrical general diagram, if so, executing a step 412; if not, go to step 414.
The technical parameters of the electrical module may refer to electrical module parameter information such as a capacitance value, a voltage value, a current value, etc., and the technical parameters of the electrical module included in the building electrical general map are values of the preset electrical module information, and when it is determined in step 406 that the selected electrical module is the same as the module included in the building electrical general map, the next step is further determined by determining whether the technical parameters of the selected electrical module are the same as the technical parameters of the electrical module included in the building electrical general map.
412. And taking the building electrical general map as a first building electrical map, and outputting the first building electrical map.
In the embodiment of the present application, when the selected electrical module is the same as the electrical module included in the building electrical general map and the technical parameter of the selected electrical module is the same as the technical parameter of the electrical module included in the building electrical general map, the building electrical general map is taken as the first building electrical map, and the first building electrical map is output. And because the technical parameters of each electrical module in the building electrical general map are preset, the step of setting the parameters of the selected electrical module can be omitted, and the building electrical general map can be output as the final building electrical map.
In some embodiments, the electronic device may determine whether the module information of the selected electrical module matches the module information in the building electrical general map by determining whether the selected electrical module is the same as the electrical module included in the building electrical general map and whether the technical parameter of the selected electrical module matches the technical parameter of the electrical module included in the building electrical general map, and may output the building electrical general map as the first building electrical map to obtain the final building electrical map if the module information of the selected electrical module matches the module information in the building electrical general map.
In the embodiment of the application, whether the building electrical general map can be directly used as the first building electrical map can be judged according to whether the module information of the selected electrical module is consistent with the module information in the building electrical general map or not, and the first building electrical map can be output. By the method, the drawing time can be reduced, the drawing efficiency can be improved, and the quality and the uniformity of the building electrical diagram can be improved.
414. And selecting the building electrical template drawing corresponding to the selected electrical module, taking the building electrical template drawing as a first building electrical drawing, and setting the electrical module parameters in the first building electrical drawing according to the electrical module setting instruction.
The building electrical template map refers to a building electrical map which is preset and a user can modify technical parameters of electrical modules in the map. The building electrical template graph is composed of a plurality of electrical modules, wherein technical parameters of the electrical modules can be modified and meet actual drawing requirements and drawing standards of users, the users can set and modify the technical parameters of the electrical modules in the building electrical template graph, and after the users set the technical parameters of the electrical modules in the building electrical template graph, the building electrical template graph is generated after updating and adjusting the building electrical template graph.
In some embodiments, when it is determined in step 406 that the selected electrical module is the same as the electrical module included in the building electrical general map but the technical parameter of the selected electrical module does not coincide with the technical parameter of the electrical module included in the building electrical general map in step 410, the step of regarding the building electrical template map as the first building electrical map and performing technical parameter setting on the electrical module in the first building electrical map according to the electrical module parameter setting instruction. And finally, generating a second building electrical diagram according to the electrical module, the equipment option list and the design description module which are subjected to parameter setting in the first building electrical diagram.
In the embodiment of the present application, the step of determining whether the building electrical template map can be used as the first building electrical map and performing parameter setting on the electrical module in the first building electrical map according to the electrical module parameter setting instruction may be performed when it is determined that the selected electrical module is the same as the electrical module included in the building electrical general map but the technical parameter of the selected electrical module is different from the module parameter of the electrical module included in the building electrical general map. By the implementation method, the time spent on drawing can be greatly reduced, the drawing efficiency is improved, and meanwhile, the quality reduction of the building electrical diagram caused by the manual selection module error or the calculation error can be avoided.
Fig. 5 is a block diagram of a building electrical diagram generation apparatus in one embodiment. As shown in fig. 5, the building electrical diagram generation apparatus includes an electrical module determination unit 501, a splicing unit 503, a parameter setting unit 505, a first generation unit 507, a design description module selection unit 509, and a second generation unit 511.
The electrical module determining unit 501 is configured to receive an electrical module selection instruction, and determine a selected electrical module according to the electrical module selection instruction.
In one embodiment, the electrical module determination unit 501 is further configured to, if there is no electrical module corresponding to the electrical module selection command, recombine the basic electrical units to form an electrical module corresponding to the electrical module selection command, and use the formed electrical module as the selected electrical module.
And the assembling unit 503 is used for assembling the selected electrical modules according to the drawing standard to obtain a first building electrical diagram.
In one embodiment, the assembling unit 503 is further configured to obtain module information of the selected electrical module; acquiring technical parameters corresponding to the selected electrical module; and assembling the selected electrical modules according to the module information and technical parameters of the selected electrical modules according to drawing standards to obtain a first building electrical diagram.
According to the embodiment of the application, whether the selected electrical module is the same as the electrical module contained in the building electrical general diagram or not and whether the technical parameter of the selected electrical module is the same as the technical parameter of the electrical module contained in the building electrical general diagram or not are judged, so that whether the building electrical general diagram or the building electrical template diagram can be used as the first building electrical diagram or not can be judged, the drawing efficiency of the building electrical diagram can be improved, and the quality of the building electrical diagram can be ensured.
And the parameter setting unit 505 is configured to receive an electrical module parameter setting instruction, and perform parameter setting on the electrical module selected in the first building electrical diagram according to the electrical module parameter setting instruction.
In one embodiment, the parameter setting unit 505 is further configured to calculate the technical parameter of the selected electrical module according to the electrical module parameter setting instruction, so as to obtain a technical parameter calculation result of the selected electrical module; inputting the technical parameter calculation results of the selected electrical module to the opposite electrical module in the first building electrical map according to the technical parameter calculation results of the selected electrical module.
In the embodiment of the application, the electronic equipment sets the parameters of the electric module selected from the first building electric diagram through the received electric module parameter setting instruction, and the user can calculate the parameters of the electric module when the user needs the electric module, so that the accuracy of setting the parameters of the electric module is improved, and the drawing efficiency is improved.
The first generating unit 507 is configured to generate an equipment option list according to the electrical module subjected to parameter setting.
A design description module selecting unit 509, configured to select a design description module corresponding to the device option list according to the device option list.
In one embodiment, the design description module selecting unit 509 further includes a technical requirement description module, which is a module for describing the usage environment, technical content and requirements in the device option list.
In an embodiment, the design description module selecting unit 509 further includes a device reference type selecting module, which is a module representing the device types included in the device option table and the device parameters corresponding to the device types.
In the embodiment of the application, the design description module corresponding to the equipment option list is selected according to the equipment option list, namely, different electrical modules and technical parameters thereof generate the equipment option list corresponding to the design description module, and then the design description module corresponding to the equipment option list is selected according to the equipment option list, namely, the selected design description module conforms to the equipment option list. By implementing the method, the design description module can be selected in a targeted manner, the accuracy of building electrical diagram generation is improved, and the selection disorder is avoided.
And a second generating unit 511, configured to generate a second building electrical diagram according to the electrical module with the parameters set in the first building electrical diagram, the device option table, and the design description module.
In one embodiment, the second generating unit 511 is further configured to, after the generating the second building electrical diagram, the method includes: carrying out standardization processing on the second building electrical diagram according to the drawing standard; the drawing standard comprises the following steps: the set standard building electrical diagram size, the standard building electrical diagram template, the standard building electrical diagram line pattern, the selected electrical module and the design description module are in one or more of a standard typesetting format, a standard font format and a standard font color in the building electrical diagram.
In the embodiment of the application, the selected electrical modules are assembled by selecting the electrical modules actually required for drawing, and the electrical modules actually required for drawing do not need to be drawn, so that the time required for drawing the building electrical diagram is greatly shortened, and the efficiency for generating the building electrical diagram is improved. Meanwhile, the problem that the quality of the finally obtained building electrical diagram is uneven due to the difference of the size and the specification of each drawing person can be solved by directly selecting the required electrical module. The embodiment of the application solves the problems of overlong design time, low efficiency, uneven quality and easy error generation in the prior art to a certain extent, and effectively reduces the phenomenon of different drawing quality caused by different design abilities, different design experiences, different design habits, different expression modes of design drawings and the like of drawing workers, so that the efficiency of building electrical diagram manufacturing can be improved, and the quality of building electrical diagram generation is improved.
In one embodiment, the assembling unit 503 is further configured to directly use the building electrical general map as the first building electrical map and output the first building electrical map when the selected electrical module is the same as the electrical module included in the building electrical general map and the technical parameter of the selected electrical module is consistent with the technical parameter of the electrical module included in the building electrical general map.
In one embodiment, the assembling unit 503 is further configured to, when the selected electrical module is different from the electrical module included in the building electrical general map, perform the step of assembling the selected electrical module according to the drawing standard and the module information and the technical parameters of the selected electrical module to obtain the first building electrical map.
In one embodiment, the assembling unit 503 is further configured to, when the selected electrical module is the same as the electrical module included in the building electrical general map, but the technical parameter of the selected electrical module is different from the technical parameter of the electrical module included in the building electrical map, select a building electrical template map corresponding to the selected electrical module according to the selected electrical module, wherein the technical parameter of the electrical module in the building electrical template map can be modified, the building electrical template map is used as the first building electrical map, and receive an electrical module parameter setting instruction through the parameter setting unit 505, and perform parameter setting on the electrical module in the first building electrical map according to the electrical module parameter setting instruction.
In the embodiment of the application, whether the building electrical general map can be directly used as the first building electrical map can be judged by judging whether the module information of the selected electrical module is consistent with the module information in the building electrical general map or not, and the first building electrical map is output. By the method, the drawing time can be reduced, the drawing efficiency can be improved, and the quality and the uniformity of the building electrical diagram can be improved.
Fig. 6 is a block diagram of an electronic device in one embodiment. As shown in fig. 6, the electronic device of the method for generating an electrical diagram of a building may include:
a memory 603 in which executable program code is stored;
a process 601 coupled to a memory 603;
the processor 601 calls the executable program code stored in the memory 603 to execute all or part of the steps in the methods provided in the embodiments.
The memory 603 referred to in the embodiments of the present application may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data programs, code sets or instruction sets, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a Memory medium that may include Read-Only Memory (ROM), volatile Memory, non-volatile Memory, flash Memory, a storage drive (e.g., a hard drive), a solid state disk, any type of Memory (e.g., a compact disk, a DVD, etc.), or the like, or a combination thereof. The memory 603 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as an audio alert function, an image alert function, etc.), instructions for implementing the various method embodiments described above, and the like. The storage data area may also store data created by the electronic device in use, and the like.
Processor 601 may include one or more processing cores. The processor 601 connects various parts within the overall electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by executing or executing executable instructions, data programs, code sets, or instruction sets stored in the memory 603, and calling data stored in the memory 603.
Furthermore, the present application further discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method described in the above embodiments.
Embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program, when executed by a processor, implements the method as described in the embodiments above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The method, the apparatus, the electronic device and the storage medium for generating the electrical diagram of the building disclosed in the embodiments of the present application are described above in detail, and the principles and implementations of the present application are described herein by applying specific examples. Meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for generating an electrical diagram of a building, the method comprising:
receiving an electrical module selection instruction, and determining a selected electrical module according to the electrical module selection instruction;
assembling the selected electrical modules according to drawing standards to obtain a first building electrical diagram;
receiving an electrical module parameter setting instruction, and performing parameter setting on the electrical module selected from the first building electrical diagram according to the electrical module parameter setting instruction;
generating an equipment option list according to the electrical module subjected to parameter setting;
selecting a design description module corresponding to the equipment option list according to the equipment option list;
and generating a second building electrical diagram according to the electrical module with the set parameters in the first building electrical diagram, the equipment option list and the design description module.
2. The method of claim 1, wherein the determining a selected electrical module according to the electrical module selection instruction comprises:
if the electrical module corresponding to the electrical module selection command does not exist currently, the basic electrical units are recombined to form the electrical module corresponding to the electrical module selection command, and the formed electrical module is used as the selected electrical module.
3. The method of claim 1, wherein said assembling said selected electrical modules according to a mapping criteria to obtain a first building electrical map comprises:
obtaining module information of the selected electrical module;
acquiring technical parameters corresponding to the selected electrical module;
and assembling the selected electrical modules according to the module information and technical parameters of the selected electrical modules according to drawing standards to obtain a first building electrical diagram.
4. The method of claim 3, wherein after said obtaining the corresponding technical parameter of the selected electrical module, the method further comprises:
when the selected electrical module is the same as the electrical module contained in the building electrical general map and the technical parameters of the selected electrical module are consistent with the technical parameters of the electrical module contained in the building electrical general map, directly using the building electrical general map as a first building electrical map and outputting the first building electrical map;
when the selected electrical module is different from the electrical module contained in the building electrical general diagram, executing the step of assembling the selected electrical module according to the drawing standard and the module information and technical parameters of the selected electrical module to obtain a first building electrical diagram;
and when the selected electrical module is the same as the electrical module contained in the building electrical general map, but the technical parameter of the selected electrical module is different from the technical parameter of the electrical module contained in the building electrical general map, selecting the building electrical module map corresponding to the selected electrical module according to the selected electrical module, wherein the technical parameter of the electrical module in the building electrical template map can be modified, taking the building electrical template map as a first building electrical map, executing the received electrical module parameter setting instruction, and performing parameter setting on the electrical module in the first building electrical map according to the electrical module parameter setting instruction.
5. The method of claim 1, wherein said parameterizing said selected electrical module according to said electrical module parameter setting instructions comprises:
calculating the technical parameters of the selected electrical module according to the electrical module parameter setting instruction to obtain the technical parameter calculation result of the selected electrical module;
and inputting the technical parameter calculation results of the selected electrical module into the corresponding electrical module in the first building electrical diagram according to the technical parameter calculation results of the selected electrical module.
6. The method of claim 1, wherein the design specification module corresponding to the device option list comprises:
the technical requirement description module is a module for describing the use environment, technical content and requirements in the equipment option list;
the device reference type selection module is a module for representing the device types contained in the device option list and device parameters corresponding to the device types.
7. The method of claim 1, wherein after the generating the second building electrical map, the method further comprises: carrying out standardization processing on the second building electrical diagram according to the drawing standard;
the drawing standard comprises the following steps: the set standard building electrical diagram size, the standard building electrical diagram template, the standard building electrical diagram line pattern, the selected electrical module and the design description module are in one or more of a standard typesetting format, a standard font format and a standard font color in the building electrical diagram.
8. An apparatus for generating an electrical diagram for a building, the apparatus comprising:
the electric module determining unit is used for receiving an electric module selection instruction and determining a selected electric module according to the electric module selection instruction;
the assembling unit is used for assembling the selected electrical modules according to drawing standards to obtain a first building electrical diagram;
the parameter setting unit is used for receiving an electrical module parameter setting instruction and carrying out parameter setting on the electrical module selected in the first building electrical diagram according to the electrical module parameter setting instruction;
the first generating unit is used for generating an equipment option list according to the electrical module subjected to parameter setting;
the design description module selection unit is used for selecting a design description module corresponding to the equipment option list according to the equipment option list;
and the second generating unit is used for generating a second building electrical diagram according to the electrical module with the set parameters in the first building electrical diagram, the equipment option list and the design description module.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that, when executed by the processor, causes the processor to carry out the method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any one of claims 1 to 7.
CN202110170951.3A 2021-02-08 2021-02-08 Building electrical diagram generation method and device, electronic equipment and storage medium Active CN112800504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110170951.3A CN112800504B (en) 2021-02-08 2021-02-08 Building electrical diagram generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110170951.3A CN112800504B (en) 2021-02-08 2021-02-08 Building electrical diagram generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112800504A true CN112800504A (en) 2021-05-14
CN112800504B CN112800504B (en) 2021-11-09

Family

ID=75814796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110170951.3A Active CN112800504B (en) 2021-02-08 2021-02-08 Building electrical diagram generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112800504B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005266935A (en) * 2004-03-16 2005-09-29 Mitsubishi Electric Corp Programmable controller installation support system
CN109235719A (en) * 2018-09-20 2019-01-18 普天智能照明研究院有限公司 A kind of operating method of mounting block combiner
CN110222403A (en) * 2019-05-30 2019-09-10 中国科学院自动化研究所 Electrical design system and method based on application scenarios
CN112016173A (en) * 2020-08-12 2020-12-01 中国汽车工业工程有限公司 Method for manufacturing electrical diagram

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005266935A (en) * 2004-03-16 2005-09-29 Mitsubishi Electric Corp Programmable controller installation support system
CN109235719A (en) * 2018-09-20 2019-01-18 普天智能照明研究院有限公司 A kind of operating method of mounting block combiner
CN110222403A (en) * 2019-05-30 2019-09-10 中国科学院自动化研究所 Electrical design system and method based on application scenarios
CN112016173A (en) * 2020-08-12 2020-12-01 中国汽车工业工程有限公司 Method for manufacturing electrical diagram

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
BEREJKA, AJ等: "Modular low-voltage electron emitters", 《NUCLEAR INSTRUMENTS & METHODS IN PHYSICS RESEARCH SECTION B-BEAM INTERACTIONS WITH MATERIALS AND ATOMS 》 *
ZHOU, YIHUI等: "Graphical Modeling and simulation of the Hydropower Plant Switch", 《PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON MECHANICAL ENGINEERING, MATERIALS AND ENERGY (5TH ICMEME2016)》 *
张飞: "基于SVG标准的电力系统图形编辑器设计与开发", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》 *
徐群英: "提高计算机绘图速度的一些体会", 《广西土木建筑》 *
杨艳玲: "10kV及以下供配电CAD系统的设计研究", 《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅱ辑》 *

Also Published As

Publication number Publication date
CN112800504B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
JP5051466B2 (en) Field device management apparatus, field device management system, computer program, recording medium
US20070244582A1 (en) System for Operating an Installation by Editing Graphic Objects
CN105701289B (en) A kind of integrated solution of full-automatic wiring harness processing device
CN109614101B (en) Page generation method, system, device, computer equipment and storage medium
CN111813472A (en) Application interface conversion method and device
CN112800504B (en) Building electrical diagram generation method and device, electronic equipment and storage medium
CN111338245B (en) Graphic conversion method, device and medium based on VISIO
CN113947644B (en) Automatic drawing system for nuclear power plant safety level electrical cabinet hardware drawing
RU2509332C1 (en) Configuration of energy device of automation
KR102303625B1 (en) Method, apparatus and computer program for generating power schematic data automatically
CN112001602A (en) Power grid operation ticket generation method, system, terminal and storage medium
CN113131449B (en) Setting method and device for protection device in distribution line
CN113536407B (en) Method, device and storage medium for constructing project drawing based on unit equipment
CN112016706B (en) Management method, device, equipment and storage medium for insulating part of power equipment
JPH10301763A (en) Program preparation supporting device for digital controller
JP2017142637A (en) Screen display control data generation device for facility monitoring screen and screen display control data generation method for facility monitoring screen
CN114282279A (en) Automatic generation method and device for power supply diagram of industrial personal computer cabinet
CN110737980B (en) Electrical design system and electrical design method
CN109753721B (en) FPGA device layout and wiring display method, device, equipment and storage medium
Gusev et al. Design database of cad system as the basis of the digital twin of the automation system of power plants and substations
CN115941819B (en) Method and device for accessing configuration MODBUS protocol based on dynamic simulation true system
CN114647459B (en) Protection schematic diagram model multiplexing simulation method and system
CN110347393B (en) Secondary equipment graph generation method, system and device
CN115033997B (en) AR-based building construction design system
CN113159729B (en) Point table checking system and method for shortening point table checking time

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