Method and system for automatically importing parameters of transformer substation design model
Technical Field
The invention relates to the technical field of electric power, in particular to a method and a system for automatically importing parameters of a transformer substation design model.
Background
The stable operation of the power system is not separated from the good operation of the power equipment, the maintenance and the technical transformation of the power equipment are indispensable, but the transformation of the transformer substation is a trivial and complicated work. At present, a substation technical improvement project is not standardized by a unified typical design, and a designer often designs according to personal experience only. Particularly, some technical improvement projects relate to matching of various devices, new devices need to be selected and checked, and if the design is made only by personal experience of a designer, errors often occur, so that the on-site construction is delayed. Even if some simple transformation is performed, only one or a few devices are possibly replaced, the designer is required to repeatedly check and verify, so that waste of manpower, material resources and financial resources is caused, and when similar transformer substation technical transformation projects are designed by different designers, the quantity of auxiliary materials (such as voltage power cables, fire-retardant bags, plugging materials and the like) required in transformation is greatly different because of different equipment types or different personal experiences, so that engineering quantity and manufacturing cost are also far different. In a word, if the engineering is finished by pure manpower, the working efficiency is low, the error rate is high, the power transmission time is easily delayed, and the power utilization of a user is influenced.
Furthermore, simulation software is introduced to simulate in the prior art, the Revit software is a common tool for building model modeling, and the Unity3D is a domestic popular model display engine supporting cross-platform. At present, a plurality of practitioners in China firstly export a general FBX model file from a building information model of a model data packet constructed by Revit software, then import the FBX model file into Unity3D, and finally issue the FBX model file to a mobile terminal and a Web terminal for display. In order to solve the above problems, the existing worker introduces the building information model into 3DMax, performs secondary mapping, and then exports the building information model to Unity3D for display, but this method requires a specialized 3DMax engineer in converting the building information model, so the labor cost is high.
Therefore, how to provide a method and a system for automatically importing parameters of a substation design model, which reduce importing time and save labor cost, is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
In view of the above, the invention provides a method and a system for automatically importing parameters of a transformer substation design model, which shortens the importing time and saves the labor cost.
In order to achieve the above object, the present invention provides the following technical solutions:
a method for automatically importing parameters of a transformer substation design model comprises the following specific steps:
Parameters of a transformer substation design model are obtained;
Constructing a standard BIM model according to parameters of the transformer substation design model;
splitting the standard BIM model, wherein the splitting is performed according to a fixed standard to obtain a sub-standard BIM model;
converting the sub-standard BIM model into Fbx files and importing the Fbx files into Unity software;
Acquiring a first association relation between attribute information of the sub-standard BIM model and the transformer substation model and parameters, and simultaneously acquiring a second association relation between the standard BIM model and the sub-standard BIM model and storing the second association relation;
And importing parameters of the substation design model by calling and adjusting the first association relation and the second association relation.
Preferably, in the above method for automatically importing parameters of a substation design model, the parameters of the substation design model include a three-dimensional drawing, and dimensions of beams, plates, columns, walls, lines and power equipment of the design model.
Preferably, in the method for automatically importing parameters of a substation design model, the specific steps of splitting the standard BIM model include:
dividing the standard BIM model into a structure specialty, a building specialty, a water supply and drainage specialty, a heating and ventilation specialty, an electric specialty and a curtain wall specialty according to the specialty;
performing secondary division according to professional fine requirements;
coloring through the secondarily divided structure;
deriving the same color part to obtain the sub-standard BIM model.
Preferably, in the above method for automatically importing parameters of a substation design model, the first association relationship is represented as θ 1=f(xi);
the second association is expressed as θ 2 =g (θ);
And determining the relation between the parameters of the substation design model and the sub-standard BIM model according to the first association relation and the second association relation, wherein x i is the parameter of the substation design model.
Preferably, in the above method for automatically importing parameters of a substation design model, the parameters of the substation design model are converted into the sub-standard BIM model by adjusting the parameters of the substation design model, and the sub-standard BIM model is converted into Fbx files and imported into Unity software.
A system for automatic import of parameters of a substation design model, comprising:
the acquisition module is used for acquiring parameters of the transformer substation design model;
The conversion module is used for constructing a standard BIM model according to parameters of the transformer substation design model;
the splitting module is used for splitting the standard BIM model, and splitting the standard BIM model according to a fixed standard to obtain a sub-standard BIM model;
The input module converts the sub-standard BIM model into Fbx files and imports the Fbx files into Unity software;
The association relation determining module is used for acquiring a first association relation between the attribute information of the sub-standard BIM model and the transformer substation model and parameters, acquiring a second association relation between the standard BIM model and the sub-standard BIM model, and storing the second association relation;
and the importing module imports parameters of the transformer substation design model by calling and adjusting the first association relation and the second association relation.
Preferably, in the system for automatically importing parameters of a transformer substation design model, the obtaining module obtains a three-dimensional drawing and dimensions of beams, plates, columns, walls, lines and power equipment of the design model.
Preferably, in the above system for automatically importing parameters of a substation design model, the splitting module includes:
The professional splitting unit is used for dividing the standard BIM model into a structure specialty, a building specialty, a water supply and drainage specialty, a heating and ventilation specialty, an electric specialty and a curtain wall specialty according to the specialty;
The fine splitting unit is used for carrying out secondary division according to professional fine requirements;
A coloring unit that colors by the secondarily divided structure;
and the deriving unit derives the same color part to obtain the sub-standard BIM model.
Preferably, in the above system for automatically importing parameters of a substation design model, the association relationship determining module includes:
the first association relation unit is used for determining a first association relation;
and the second association relation unit is used for determining a second association relation.
Preferably, in the above system for automatically importing parameters of a substation design model, the importing module converts the parameters of the substation design model into the sub-standard BIM model by adjusting the parameters of the substation design model, converts the sub-standard BIM model into Fbx files, and imports the parameters into Unity software.
Compared with the prior art, the method and the system for automatically importing parameters of the transformer substation design model are disclosed, the parameters of the transformer substation design model are firstly converted into the standard BIM model, then the standard BIM model is further subdivided according to professional and professional fine requirements, the sub-standard BIM model is exported through coloring, the sub-standard BIM model is converted into Fbx files and imported into Unity software to determine the association relation, when the transformer substation is transformed or designed next time, the sub-standard BIM model can be invoked by inputting the parameters of the modified design model according to the determined first association relation, the sub-standard BIM model is further combined according to the second association relation, the standard BIM model is imported into the Unity software, the standard BIM model is split, the time for importing data is shortened, and meanwhile the labor cost is greatly reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of the method of the present invention;
Fig. 2 is a block diagram of the structure of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention discloses a method for automatically importing parameters of a transformer substation design model, as shown in figure 1,
The method comprises the steps of obtaining parameters of a transformer substation design model;
constructing a standard BIM model according to parameters of a transformer substation design model;
splitting the standard BIM model, and splitting according to a fixed standard to obtain a sub-standard BIM model;
converting the sub-standard BIM model into Fbx files and importing the Fbx files into Unity software;
Acquiring a first association relation between attribute information of the sub-standard BIM model and a transformer substation model and parameters, and simultaneously acquiring a second association relation between the standard BIM model and the sub-standard BIM model, and storing the second association relation;
and importing parameters of the substation design model by calling and adjusting the first association relation and the second association relation.
Through the technical scheme, when the transformer substation is transformed or designed next time, the difficulty of building a model can be reduced by utilizing the association relation obtained by the historical data, the time for importing the data is reduced, and the working efficiency is greatly improved.
In order to further optimize the technical scheme, parameters of the transformer substation design model comprise three-dimensional drawings and sizes of beams, plates, columns, walls, lines and power equipment of the design model.
In order to further optimize the technical scheme, the specific steps of splitting the standard BIM model include:
dividing the standard BIM model into structural professions, building professions, water supply and drainage professions, heating and ventilation professions, electric professions and curtain wall professions according to professions;
performing secondary division according to professional fine requirements;
coloring through the secondarily divided structure;
Deriving the same color part to obtain a sub-standard BIM model.
Further, as shown in table 1 below, the types of specialized and specialized fine-demand divisions;
TABLE 1
Through the table, the standard BIM model is divided into different professions, and then the standard BIM model is further divided according to fine requirements, for example, columns in the structural profession are taken as an example, all professions are subdivided according to professional details, the columns in the structural profession are colored, the coloring principle is that the length and the diameter of the columns are regulated according to geometric information, all column structures are red, the larger the diameter or the longer the length is, the darker the red color is shown, and the specific coloring can be realized through artificial setting of a mapping relation.
In order to further optimize the above technical solution, the first association relationship is denoted as θ 1=f(xi);
the second association is expressed as θ 2 =g (θ);
The first association relation and the second association relation determine the relation between the parameters of the substation design model and the sub-standard BIM model, wherein x i is the parameters of the substation design model.
The association relation can be determined by constructing a linear regression equation, the sub-standard BIM model can be obtained by adjusting parameters of the substation design model after the linear relation is determined, and the standard BIM model is determined according to the division standard, namely the second association relation.
In order to further optimize the technical scheme, parameters of the transformer substation design model are converted into a sub-standard BIM model by adjusting the parameters of the transformer substation design model, the sub-standard BIM model is converted into Fbx files, and the files are imported into Unity software.
Furthermore, the parameters of the transformer substation design model are imported, and meanwhile, the association relation is utilized to achieve importing of the standard BIM model.
Another embodiment of the present invention discloses a system for automatically importing parameters of a substation design model, as shown in fig. 2, including:
the acquisition module is used for acquiring parameters of the transformer substation design model;
the conversion module is used for constructing a standard BIM model according to parameters of the transformer substation design model;
the splitting module is used for splitting the standard BIM model, and splitting the standard BIM model according to a fixed standard to obtain a sub-standard BIM model;
The input module converts the sub-standard BIM model into Fbx files and imports the Fbx files into the Unity software;
The association relation determining module is used for acquiring a first association relation between attribute information of the sub-standard BIM model and the transformer substation model and parameters, acquiring a second association relation between the standard BIM model and the sub-standard BIM model and storing the second association relation;
and the importing module imports parameters of the transformer substation design model by calling and adjusting the first association relation and the second association relation.
In order to further optimize the technical scheme, the acquisition module acquires the three-dimensional drawing and the sizes of beams, plates, columns, walls, wires and power equipment of the design model.
In order to further optimize the above technical solution, the splitting module includes:
the professional splitting unit divides the standard BIM model into a structural specialty, a building specialty, a water supply and drainage specialty, a heating and ventilation specialty, an electric specialty and a curtain wall specialty according to the specialty;
The fine splitting unit is used for carrying out secondary division according to professional fine requirements;
A coloring unit that colors by the secondarily divided structure;
and the deriving unit derives the same color part to obtain a sub-standard BIM model.
In order to further optimize the above technical solution, the association relation determining module includes:
the first association relation unit is used for determining a first association relation;
and the second association relation unit is used for determining a second association relation.
In order to further optimize the technical scheme, the importing module is used for converting the parameters of the substation design model into a sub-standard BIM model by adjusting the parameters of the substation design model, converting the sub-standard BIM model into Fbx files and importing the same into Unity software.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.