Railway indoor illumination automatic calculation method and system

By building a basic database and iteratively optimizing the number of lamps, the problems of high repeatability and low automation in railway indoor illumination calculations were solved, the automatic calculation of railway indoor illumination was realized, and the calculation efficiency and accuracy were improved.

CN120633002APending Publication Date: 2025-09-12SOUTHWEST JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510738438.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-04
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

The illumination calculation process in existing railway interior lighting design is highly repetitive and has a low level of automation. It relies heavily on experience, resulting in slow design progress and prone to errors.

Method used

By building a basic database, obtaining room attribute information, calculating the maximum number of lamp settings, and gradually iteratively optimizing the number of lamps until the illumination standards are met, automated calculations can be achieved.

Benefits of technology

It improves the automation level of railway indoor illumination calculation, reduces the inefficiency of the human design process, and improves calculation accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120633002A_ABST
    Figure CN120633002A_ABST
Patent Text Reader

Abstract

The invention discloses a railway indoor illumination automatic calculation method and system, and the method comprises the steps: constructing an illumination calculation basic database, carrying out the back calculation of the maximum number Nmax of lamps according to the maximum power density limit value through the frame selection of a room contour, the obtaining of a room name and a size parameter attribute, and the matching of illumination calculation parameters; then the number of the lamps is iteratively optimized continuously from large to small, finally, the minimum number Nmin of the lamps is determined according to the attribute information of the room, and the average illuminance of the room under the minimum set number of the lamps is calculated, namely the designed illuminance of the room. The method can be applied to the field of railway indoor illumination design, standardization and modularization of the illumination calculation process are achieved, the engineering design efficiency and the quality of an illumination design scheme are improved, and manpower consumption of railway indoor illumination design is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of railway interior lighting design, and in particular to a railway interior illumination automatic calculation method and system. Background Art

[0002] Railway interior lighting design is a key component of railway electrical power professional lighting and distribution design. Calculating building illumination is fundamental and a key step in developing lighting design and determining lighting fixture layout. Railway interior lighting design typically uses the utilization coefficient method for average illumination calculations. The key steps include determining the calculation area, determining illumination standards, collecting calculation parameters, performing calculations, analyzing results, and adjusting the design.

[0003] At present, when carrying out railway interior lighting design, the illumination calculation process still requires designers to use manual or auxiliary tools to carry out the calculation. Designers are required to determine the illumination standards of each room, determine the lamp parameters, room parameters and environmental parameters, etc., and continuously adjust the lamp model according to the calculation results to finally achieve the room illumination standard. The above process is time-consuming and prone to errors. However, in the interior lighting design of large buildings, this method will greatly restrict the design progress.

[0004] In the era of digital transformation, the engineering design field is also constantly exploring ways to digitally enhance design methods. Lighting calculation, as a key step in lighting design, can reduce calculation time, enhance automation level, increase calculation accuracy, and improve the efficiency of railway interior lighting design through digital means. Summary of the Invention

[0005] The present application provides a method and system for automatically calculating indoor illumination of railways, so as to solve the problems of high repetitiveness, low automation level and reliance on experience in the illumination calculation process of existing railway indoor lighting.

[0006] According to the first aspect, an embodiment provides a method for automatically calculating indoor illumination of a railway, the method comprising:

[0007] Sort out the existing basic data for illumination calculation, including illumination technical parameters, lighting technical parameters and room attribute parameters, and build a basic database;

[0008] Determine house information based on the floor plan of the building, and perform a basic database query based on the house information to obtain corresponding basic parameter data;

[0009] Based on the basic parameter data obtained, calculate the maximum number of lamps that meet the design standard requirements;

[0010] Based on the maximum number of lamps, the number of lamps is gradually reduced according to the preset step size. The average illumination of the room is calculated based on the number of lamps to determine whether it meets the illumination standard requirements of the house. If it does, the number of lamps is further reduced and the iterative calculation is repeated until the average illumination of the house fails to meet the illumination standard requirements. The minimum number of lamps that meets the illumination standard requirements is obtained;

[0011] The average illumination of the room calculated with the minimum number of lamps is the design illumination of the house.

[0012] Furthermore, the existing basic data for illuminance calculation is sorted out, including illuminance technical parameters, lighting technical parameters and room attribute parameters, specifically including:

[0013] The illumination technical parameters include parameters specified in standards and specifications, including but not limited to standard values ​​of illumination for various types of places, power density limits, and indoor lighting maintenance factors;

[0014] The technical parameters of the lamp include lamp attribute parameters, including but not limited to lamp model, electrical power, lamp light source luminous flux, lamp utilization coefficient table;

[0015] The room attribute parameters include house characteristic parameters, including but not limited to reference planes and heights of various types of houses, site type classifications, and common lamp models.

[0016] Furthermore, the basic database is constructed, including:

[0017] Based on the experience of railway interior lighting design, common house names are associated with the corresponding house reference planes and their heights, site type classifications, and common lamp models, and a database is constructed to set the database query primary key.

[0018] Furthermore, the house information is determined based on the floor plan of the building, specifically including:

[0019] Based on the CAD drawings of the houses in the building, mark the key points of the house outline, build a list of the house outline coordinate points, and obtain the insertion base points of all text objects in the layer where the house name is located to build a list of the text base point coordinates;

[0020] Connect the points in the house inner contour coordinate point list with dotted lines to obtain the dotted house inner contour, and draw two auxiliary lines along the X-axis and Y-axis directions for each text base point in the text base point coordinate list to obtain each text base point auxiliary line, and obtain the intersection point of each text base point auxiliary line with the dotted house contour;

[0021] The name of the house is determined based on the number and position of the intersections of the auxiliary lines of each text base point and the dotted house outline, and the house size information is determined based on the inner outline of the dotted house, and the house area is calculated.

[0022] Furthermore, a basic database query is performed based on the housing information to obtain corresponding basic parameter data, specifically including:

[0023] Using the primary key of the room attribute parameter database as the query matching condition, query the room attribute parameter database to obtain the house's location type classification, the house reference plane and its height, the location type classification, and the common lamp models;

[0024] Then use the primary key of the illumination technical parameter database as the query matching condition to query the illumination technical parameter database and obtain the standard illumination value L of the house. S , power density limit P L , Indoor lighting maintenance coefficient K;

[0025] Finally, the primary key of the lamp technical parameter database is used as the query matching condition to query the lamp technical parameter database and obtain the luminous flux of the lamp light source. Lamp power P, lamp utilization coefficient U.

[0026] Furthermore, based on the retrieved basic parameter data, the maximum number of lamps that can be set to meet the design standard requirements is calculated, including:

[0027] The power density limit P of the house L The maximum total power value P of the lamps that can be set to meet the design standards is calculated based on the house area A. max ; Combined with the lamp power parameter P, calculate the maximum number of lamps N that meet the power density requirements max , the calculation formula is as follows:

[0028]

[0029] Furthermore, the average illumination of the room is calculated based on the number of lamps to determine whether it meets the illumination standard requirements of the house. If so, the number of lamps is further reduced and the iterative calculation is repeated until the average illumination of the house fails to meet the illumination standard requirements. The minimum number of lamps required to meet the illumination standard requirements is obtained, specifically including:

[0030] Calculate the average room illuminance E according to the coefficient method av , E av The calculation formula is as follows:

[0031]

[0032] Where: is the luminous flux of the lamp light source, U is the lamp utilization coefficient, K is the indoor lighting maintenance coefficient, A is the building area, and N is the number of lamps;

[0033] The calculated value E av And the standard value of room illumination L SCompare and determine whether the illumination standard is met. If the illumination standard is met, continue to reduce the number of lamps and repeat the iterative steps. If the illumination standard is not met, the number of lamps that meet the illumination standard in the most recent iterative step is determined as the minimum number of lamps N. min , N min The calculation formula is as follows:

[0034] N min =min{N∈{1,2,…,N max}|E av ≥L S}

[0035] Where: Ls is the standard value of house illumination design, E av is the calculated average illumination value corresponding to the number of lamps N, N max The maximum number of lamps that can be set.

[0036] Furthermore, the average illumination of the room with the minimum number of lamps is calculated, which is the design illumination of the house, including:

[0037] Design illumination of the house L d , L d The calculation formula is as follows:

[0038]

[0039] Where: is the luminous flux of the lamp light source, U is the lamp utilization coefficient, K is the indoor lighting maintenance coefficient, A is the building area, N min Set the number for the minimum number of fixtures.

[0040] According to the second aspect, an embodiment provides a railway indoor illumination automatic calculation system, the system comprising:

[0041] Basic database construction module, used to sort out the existing basic data for illumination calculation, including illumination technical parameters, lighting technical parameters and room attribute parameters, and build a basic database;

[0042] A database query module is used to determine house information based on the floor plan of the building, and to perform a basic database query based on the house information to obtain corresponding basic parameter data;

[0043] The module for determining the maximum number of lamps is used to calculate the maximum number of lamps that meet the design standard requirements based on the basic parameter data queried;

[0044] A module for determining the minimum number of lamps is used to gradually reduce the number of lamps according to a preset step size based on the maximum number of lamps set. The module then calculates the average illumination of the room based on the number of lamps and determines whether it meets the illumination standard requirements of the house. If so, the module continues to reduce the number of lamps and repeats the iterative calculation until the average illumination of the room fails to meet the illumination standard requirements, thereby determining the minimum number of lamps set to meet the illumination standard requirements.

[0045] The design illumination determination module is used to calculate the average illumination of the room under the minimum number of lamps, which is the design illumination of the house.

[0046] According to a third aspect, an embodiment provides an electronic device, the device comprising: a processor and a memory;

[0047] The memory is used to store one or more program instructions;

[0048] The processor is used to run one or more program instructions to execute the steps of the method for automatically calculating railway indoor illumination as described in any one of the above items.

[0049] According to the fourth aspect, an embodiment provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for automatically calculating indoor illumination of a railway as described in any one of the above items are implemented.

[0050] This application provides a method and system for automatically calculating indoor illumination in railways, which has the following beneficial effects:

[0051] (1) This paper provides an automated system construction scheme for railway indoor illumination calculation. By building a basic database, obtaining room attribute information, and using the average illumination calculation method, the maximum number of lamps is determined first, and the minimum number of lamps is determined by continuous iterative optimization. Finally, the design illumination value of the house is calculated. This system is conducive to programmatic, automated, and modularized illumination calculation, avoiding the inefficiency caused by the human design process. It also provides a programmatic implementation process for railway indoor illumination calculation by computer, which can improve the automation level of railway indoor illumination calculation.

[0052] (2) A storage structure for basic data of illuminance calculation is provided, which classifies illuminance calculation parameters by type, collects and organizes existing basic data of calculation, and stores them in the form of structured data and classified data forms, providing a storage form for underlying data for the implementation of illuminance calculation automation program, which is beneficial to the matching and calling of data of different program function modules, and is beneficial to the maintenance and update of basic parameters of illuminance calculation, reducing the inefficiency of manual input or static table query; at the same time, according to the type of basic database, the primary key of database table query is determined to improve the efficiency of database query in subsequent steps.

[0053] (3) A house base map processing method for obtaining house size and house name is provided. The room outline size is determined by manually marking the key corner points of the house outline, avoiding the time-consuming problem of manual judgment of room size and type in the traditional method. The accuracy is higher than that of fully automatic drawing recognition technology. At the same time, the dotted house outline is constructed, and the house name is determined according to the number and position of the intersection points of the base point auxiliary line inserted by the text object and the outline, realizing the automatic acquisition of the house name, which is conducive to the integrated process of house attribute acquisition, calculation parameter matching, and automatic calculation.

[0054] (4) Provides a way to determine the maximum number of lamps to be set in a room, by using the room's power density limit P L Based on the room area A, the maximum total power value of the lamps under the design standard requirements is reversely calculated. Combined with the lamp electric power value P, the maximum number of lamps to be installed in the room is determined. This power density verification method is different from the traditional engineering design method and is more conducive to procedural implementation, as well as improved calculation reliability and efficiency.

[0055] (5) Provides a method to determine the most economical number of lamps for a house. After determining the maximum number of lamps, iterative optimization is performed step by step with a minimum step size of 1 to finally determine the most economical number of lamps N. min , provides a computer-implemented method for determining the most economical number of lamps, and provides a technical method for determining the optimal number of lamps in an automated and modular manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A flowchart of a method for automatically calculating indoor illumination in a railway provided by one embodiment of the present invention;

[0057] Figure 2 A schematic diagram of the operation of determining the outline and name of a regular building in a method for automatically calculating railway indoor illumination provided by one embodiment of the present invention;

[0058] Figure 3 A schematic diagram of the operation of determining the outline and name of irregular buildings in a method for automatically calculating railway indoor illumination provided by one embodiment of the present invention;

[0059] Figure 4 A flowchart of a specific implementation of a method for automatically calculating indoor illumination of a railway provided by one embodiment of the present invention;

[0060] Figure 5 This is a diagram showing the overall architecture of a railway indoor illumination automation calculation system provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0061] The present invention will be further described in detail below by means of specific embodiments in conjunction with the accompanying drawings. Similar elements in different embodiments are numbered with associated similar elements. In the following embodiments, many detailed descriptions are provided to enable the present application to be better understood. However, those skilled in the art will readily appreciate that some of the features may be omitted in different circumstances, or may be replaced by other elements, materials, or methods. In some cases, some operations related to the present application are not shown or described in the specification. This is to avoid the core portion of the present application being overwhelmed by excessive descriptions, and for those skilled in the art, it is not necessary to describe these related operations in detail. They will fully understand the related operations based on the description in the specification and the general technical knowledge in the art.

[0062] In addition, the features, operations, or characteristics described in the specification may be combined in any appropriate manner to form various embodiments. Furthermore, the steps or actions in the method description may be reordered or adjusted in a manner readily apparent to those skilled in the art. Therefore, the various sequences in the specification and drawings are provided solely for the purpose of clearly describing a particular embodiment and are not intended to be mandatory, unless otherwise specified.

[0063] The first embodiment of the present invention provides a method for automatically calculating the indoor illumination of a railway. Figure 1 and Figure 4 Provide detailed explanation.

[0064] like Figure 1 As shown, in step S100, existing basic data for illuminance calculation, including illuminance technical parameters, lamp technical parameters and room attribute parameters, are sorted out, and a basic database is constructed.

[0065] Specifically, the calculation of railway indoor illumination involves a large amount of basic data. The present invention classifies the basic data into illumination technical parameters, lighting technical parameters, and room attribute parameters.

[0066] Illumination technical parameters include those specified in standards and specifications, including but not limited to standard illumination values ​​for various types of locations, power density limits, and indoor lighting maintenance factors. Lighting technical parameters include lighting attribute parameters, including but not limited to lamp model, power wattage, luminous flux, and a table of lamp utilization factors. Room attribute parameters include building characteristic parameters, including but not limited to reference planes and heights for various types of buildings, location classifications, and commonly used lighting models.

[0067] Regarding room attribute parameters, the present invention associates common house names with corresponding house reference planes and their heights, site type classifications, and commonly used lamp models and constructs a database based on railway interior lighting design experience.

[0068] In current manual calculations, designers obtain these basic parameters by consulting relevant technical standards and specifications for lighting design, lamp manufacturer samples, and empirical data. This step converts the basic data for illumination calculations into a structured data format, categorizing and storing it in a database table format for maintenance. To improve database query efficiency in subsequent steps, database tables are assigned primary keys: the illumination technical parameter database query key is the building location classification, the lamp technical parameter database query key is the lamp model, and the room attribute parameter database query key is the building name.

[0069] like Figure 1 As shown, in step S200, house information is determined based on the house floor plan drawing in the building, and a basic database query is performed based on the house information to obtain corresponding basic parameter data.

[0070] The above steps specifically include:

[0071] S210, based on the CAD drawings of the houses in the building, marking the key points of the house outline, constructing a list of the house outline coordinate points, and obtaining the insertion base points of all text objects in the layer where the house name is located, and constructing a list of the text base point coordinates;

[0072] S220: Connect the points in the house inner contour coordinate point list with dotted lines to obtain a dotted house inner contour, and draw two auxiliary lines along the X-axis and Y-axis directions for each character base point in the character base point coordinate point list to obtain auxiliary lines for each character base point, and obtain the intersection point of each character base point auxiliary line with the dotted house contour;

[0073] S230, determining the house name according to the number and position of the intersections between the auxiliary lines of each text base point and the dotted house outline, determining the house size information according to the dotted house inner outline, and calculating the house area.

[0074] Specifically, the interior lighting design is to provide reasonable illumination for each room in the building. The design work is carried out on the building CAD base map provided by the upstream building construction professional, such as Figure 2 、 Figure 3 The left side shows a schematic CAD base map of a house in a building. The base map contains house components such as walls and columns, and the house name is marked in the house. The specific operations are as follows:

[0075] 1) First, manually mark the key points of the house in the CAD software. For houses with regular configurations, such as rectangular and square houses, only mark the diagonal points of the house outline, such as Figure 2 As shown in points A and B, for houses with irregular configurations, mark the turning points of the house's inner contour, such as Figure 3Then obtain and record the coordinates of the house marking points in order, and construct a list of the house's inner contour coordinate points, denoted as FgL. The form of FgL is as follows:

[0076] FgL=[xa,ya,xb,yb.....xn,yn]

[0077] Where n is the number of inflection points in the house outline.

[0078] Then get the insertion base point of all text objects in the house name layer in the drawing, record it as Fc, as shown in the attached Figure 2 、 Figure 3 As shown in Fc1 and Fc2, the base point coordinates are recorded in a list as FcL. The form of FcL is as follows:

[0079] FcL=[[xc1,yc1],[xc2,yc2].....[xcn,ycn]]

[0080] Where n is the number of text objects.

[0081] 2) Connect the coordinates of all points in FgL in sequence to construct Figure 2 、 Figure 3 Then, draw two auxiliary lines along the X and Y axes for each base point in FcL. Figure 2 、 Figure 3 As shown in L11, L12, L21, and L22, finally obtain the intersection of each text base point auxiliary line and the dotted house outline, as shown in Figure 2 As shown in J1 to J6, Figure 3 As shown in J1 to J8.

[0082] 3) Determine the house name based on the number and location of the intersections. If there are two intersections on both the X-axis and Y-axis, further determine whether the xc and yc coordinates of the base point Fc are within the range of the x and y coordinates of the two intersections, respectively. The judgment condition is shown in the following formula:

[0083] (min(x1,x2) <xc<max(x1,x2))^(min(y3,y4)<yc<max(y3,y4))

[0084] Where: xc, yc are the x and y coordinates of the base point for text insertion, x1 and x2 are the x coordinates of the two intersection points of the x-axis, and y1 and y2 are the y coordinates of the two intersection points of the y-axis.

[0085] If the above conditions are met, the text object value that meets the conditions is determined to be the house name, which is recorded as N;

[0086] At the same time, based on the inner outline of the dotted house, the house size information can be determined and the house area can be calculated, which is recorded as A.

[0087] 4) Perform database query operation: Use the room attribute parameter database primary key as the query matching condition to query the room attribute parameter database to obtain the house type classification, house reference plane and its height, site type classification, and common lamp models; then use the illumination technical parameter database primary key as the query matching condition to query the illumination technical parameter database to obtain the house illumination standard value L S , power density limit P L , indoor lighting maintenance coefficient K; finally, use the primary key of the lamp technical parameter database as the query matching condition to query the lamp technical parameter database and obtain the luminous flux of the lamp light source Lamp power P, lamp utilization coefficient U.

[0088] In the specific operation, the house name N is used as the query matching condition to query the room attribute parameter database, and the query obtains the house's location type classification, the house reference plane and its height, the location type classification, and the commonly used lamp models; then the house's location type classification is used as the query matching condition to query the illumination technical parameter database, and the query obtains the house illumination standard value L S , power density limit P L , indoor lighting maintenance factor K; finally, use the common lamp models as the query matching conditions, query the lamp technical parameter database, and query to obtain the luminous flux of the lamp light source Lamp power P, lamp utilization coefficient U.

[0089] like Figure 1 As shown, in step S300, the maximum number of lamps that meet the design standard requirements is calculated based on the queried basic parameter data.

[0090] Specifically, the power density limit P of the house L The maximum total power value P of the lamp under the design standard is calculated based on the house area A. max ; Combined with the lamp power value P, calculate the maximum number of lamps N that meet the power density requirements max , the calculation formula is as follows:

[0091]

[0092] like Figure 1 As shown, in step S400, based on the maximum number of lamps set, the number of lamps is gradually reduced according to a preset step size, the average illumination of the room is calculated according to the number of lamps, and it is determined whether the house illumination standard requirements are met. If so, the number of lamps is continued to be reduced and the iterative calculation is repeated until the average illumination of the house fails to meet the illumination standard requirements, and the minimum number of lamps set that meets the illumination standard requirements is obtained.

[0093] Specifically, when determining the maximum number of lamps N max Based on the above, determine the minimum number of lamps N that meet the illumination standard min . According to the fixed step size 1, the maximum number of lamps N max Gradually reduce the number of lamps, and then calculate the average illuminance E of the room according to the coefficient method av , E av The calculation formula is as follows:

[0094]

[0095] Where: is the luminous flux of the lamp light source, U is the lamp utilization coefficient, K is the indoor lighting maintenance coefficient, A is the building area, and N is the number of lamps;

[0096] Then calculate the value E av And the standard value of room illumination L S Compare and determine whether the illumination standard is met. If the illumination standard is met, continue to reduce the number of lamps and repeat the above iterative steps. If the illumination standard is not met, the number of lamps that meet the illumination standard in the most recent iterative step can be determined as the minimum number of lamps N. min , N min The calculation formula is as follows:

[0097] N min =min{N∈{1,2,…,N max}|E av ≥L S}

[0098] Where: Ls is the standard value of house illumination design, E av The calculated value of average illumination corresponding to the number N of lamps.

[0099] like Figure 1 As shown, in step S500, the average illumination of the room with the minimum number of lamps is calculated as the design illumination of the house.

[0100] Specifically, determine the minimum number of lamps N required for a house. min , that is, after the optimal number of lamps that meets the principle of economy is determined, the design illumination L of the house can be calculated according to the calculation method of average illumination. d , L d The calculation formula is as follows:

[0101]

[0102] Where: is the luminous flux of the lamp light source, U is the lamp utilization coefficient, K is the indoor lighting maintenance coefficient, A is the building area, Nmin Set the number for the minimum number of fixtures.

[0103] After determining the design illumination of the house, the layout of the lamps can be further determined based on the room size, minimum number of lamps, etc., and the subsequent design content of the interior lighting design can be carried out.

[0104] The above illumination calculation steps can all be automatically implemented through computer programs, which can improve the efficiency and accuracy of railway interior lighting illumination calculation, realize the standardization and modularization of the illumination calculation process, improve engineering design efficiency and the quality of lighting design solutions, and reduce the manpower consumption of railway interior lighting design.

[0105] The present invention aims to improve the efficiency of railway indoor lighting illuminance calculation and can be applied in the field of railway indoor lighting design. It adopts an average illuminance calculation method and provides an automatic railway indoor illuminance calculation method and system. Lamp parameters, calculation parameters, illumination standards, etc. are constructed into a structured database to reduce manual calculation and query time. The illumination calculation process obtains room size parameters by framing the room outline, identifies the room name, and determines the room illumination standard. The illumination calculation and solution selection processes are integrated to avoid the low solution selection efficiency caused by the separation of illumination calculation and lamp quantity selection processes. According to the maximum power density limit, the maximum number of lamps is preferentially determined, and then the number of lamps is continuously optimized to achieve the optimal number of lamps, avoiding the repeated calculation process caused by the traditional calculation method of first calculating the illumination and then verifying the power density.

[0106] Corresponding to the above-disclosed method for automatically calculating indoor illumination of a railway, the embodiment of the present invention further discloses an automatic calculation system for indoor illumination of a railway, such as Figure 5 As shown, it specifically includes:

[0107] Basic database construction module, used to sort out the existing basic data for illumination calculation, including illumination technical parameters, lighting technical parameters and room attribute parameters, and build a basic database;

[0108] A database query module is used to determine house information based on the floor plan of the building, and to perform a basic database query based on the house information to obtain corresponding basic parameter data;

[0109] The module for determining the maximum number of lamps is used to calculate the maximum number of lamps that meet the design standard requirements based on the basic parameter data queried;

[0110] A module for determining the minimum number of lamps is used to gradually reduce the number of lamps according to a preset step size based on the maximum number of lamps set. The module then calculates the average illumination of the room based on the number of lamps and determines whether it meets the illumination standard requirements of the house. If so, the module continues to reduce the number of lamps and repeats the iterative calculation until the average illumination of the room fails to meet the illumination standard requirements, thereby determining the minimum number of lamps set to meet the illumination standard requirements.

[0111] The design illumination determination module is used to calculate the average illumination of the room under the minimum number of lamps, which is the design illumination of the house.

[0112] It should be noted that for the detailed description of the railway indoor illumination automatic calculation system provided in the embodiment of the present invention, reference can be made to the relevant description of the railway indoor illumination automatic calculation method provided in the embodiment of the present application, which will not be repeated here.

[0113] In addition, an embodiment of the present invention also provides an electronic device, which includes: a processor and a memory; the memory is used to store one or more program instructions; the processor is used to run one or more program instructions to execute the steps of a method for automatically calculating indoor illumination of a railway as described in any of the above items.

[0114] It should be noted that for the detailed description of an electronic device provided in an embodiment of the present invention, reference can be made to the relevant description of an automatic calculation method for railway indoor illumination provided in an embodiment of the present application, which will not be repeated here.

[0115] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for automatically calculating indoor illumination of a railway as described in any one of the above items are implemented.

[0116] It should be noted that for a detailed description of a computer-readable storage medium provided in an embodiment of the present invention, reference can be made to the relevant description of a method for automatically calculating railway indoor illumination provided in an embodiment of the present application, which will not be repeated here.

[0117] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above embodiments can be implemented by hardware or by computer program. When all or part of the functions in the above embodiments are implemented by computer program, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above functions can be implemented. In addition, when all or part of the functions in the above embodiments are implemented by computer program, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and saved in the memory of the local device by downloading or copying, or the system of the local device is updated. When the program in the memory is executed by the processor, all or part of the functions in the above embodiments can be implemented.

[0118] The above examples are used to illustrate the present invention, which are only used to help understand the present invention and are not intended to limit the present invention. Those skilled in the art can make several simple deductions, modifications or substitutions based on the concept of the present invention.

Claims

1. A method for automatically calculating indoor illumination in railways, characterized in that: The method comprises: Sort out the existing basic data for illumination calculation, including illumination technical parameters, lighting technical parameters and room attribute parameters, and build a basic database; Determine house information based on the floor plan of the building, and perform a basic database query based on the house information to obtain corresponding basic parameter data; Based on the basic parameter data obtained, calculate the maximum number of lamps that meet the design standard requirements; Based on the maximum number of lamps, the number of lamps is gradually reduced according to the preset step size. The average illumination of the room is calculated based on the number of lamps to determine whether it meets the illumination standard requirements of the house. If it does, the number of lamps is further reduced and the iterative calculation is repeated until the average illumination of the house fails to meet the illumination standard requirements. The minimum number of lamps that meets the illumination standard requirements is obtained; The average illumination of the room calculated with the minimum number of lamps is the design illumination of the house.

2. The method for automatically calculating indoor illumination of a railway as claimed in claim 1, characterized in that: Sort out the existing basic data for illuminance calculation, including illuminance technical parameters, lighting technical parameters and room attribute parameters, specifically including: The illumination technical parameters include parameters specified in standards and specifications, including but not limited to standard values ​​of illumination for various types of places, power density limits, and indoor lighting maintenance factors; The technical parameters of the lamp include lamp attribute parameters, including but not limited to lamp model, electrical power, lamp light source luminous flux, lamp utilization coefficient table; The room attribute parameters include house characteristic parameters, including but not limited to reference planes and heights of various types of houses, site type classifications, and common lamp models.

3. The method for automatically calculating indoor illumination of a railway as claimed in claim 2, characterized in that: Build a basic database, including: Based on the experience of railway interior lighting design, common house names are associated with the corresponding house reference planes and their heights, site type classifications, and common lamp models, and a database is constructed to set the database query primary key.

4. The method for automatically calculating indoor illumination of a railway as claimed in claim 1, characterized in that: Determine the house information based on the floor plan of the building, including: Based on the CAD drawings of the houses in the building, mark the key points of the house outline, build a list of the house outline coordinate points, and obtain the insertion base points of all text objects in the layer where the house name is located to build a list of the text base point coordinates; Connect the points in the house inner contour coordinate point list with dotted lines to obtain the dotted house inner contour, and draw two auxiliary lines along the X-axis and Y-axis directions for each text base point in the text base point coordinate list to obtain each text base point auxiliary line, and obtain the intersection point of each text base point auxiliary line with the dotted house contour; The name of the house is determined based on the number and position of the intersections of the auxiliary lines of each text base point and the dotted house outline, and the house size information is determined based on the inner outline of the dotted house, and the house area is calculated.

5. The method for automatically calculating indoor illumination of a railway as claimed in claim 1, characterized in that: Performing a basic database query based on the housing information to obtain corresponding basic parameter data specifically includes: Using the primary key of the room attribute parameter database as the query matching condition, query the room attribute parameter database to obtain the house's location type classification, the house reference plane and its height, the location type classification, and the common lamp models; Then use the primary key of the illumination technical parameter database as the query matching condition to query the illumination technical parameter database and obtain the standard illumination value L of the house. S , power density limit P L , Indoor lighting maintenance coefficient K; Finally, the primary key of the lamp technical parameter database is used as the query matching condition to query the lamp technical parameter database and obtain the luminous flux of the lamp light source. Lamp power P, lamp utilization coefficient U.

6. The method for automatically calculating indoor illumination of a railway as claimed in claim 1, characterized in that: Based on the basic parameter data obtained, the maximum number of lamps required to meet the design standard is calculated, including: The power density limit P of the house L The maximum total power value P of the lamps that can be set to meet the design standards is calculated based on the house area A. max ; Combined with the lamp power parameter P, calculate the maximum number of lamps N that meet the power density requirements max , the calculation formula is as follows:

7. The method for automatically calculating indoor illumination of a railway as claimed in claim 1, characterized in that: Calculate the average room illumination based on the number of lamps and determine whether it meets the room illumination standard. If so, continue to reduce the number of lamps and repeat the iterative calculation until the average room illumination fails to meet the illumination standard. The minimum number of lamps required to meet the illumination standard is obtained, including: Calculate the average room illuminance E according to the coefficient method av , E av The calculation formula is as follows: Where: is the luminous flux of the lamp light source, U is the lamp utilization coefficient, K is the indoor lighting maintenance coefficient, A is the building area, and N is the number of lamps; The calculated value E av And the standard value of room illumination L S Compare and determine whether the illumination standard is met. If the illumination standard is met, continue to reduce the number of lamps and repeat the iterative steps. If the illumination standard is not met, the number of lamps that meet the illumination standard in the most recent iterative step is determined as the minimum number of lamps N. min , N min The calculation formula is as follows: N min [min{N∈1,2,…,N max }|E av ≥L S } Where: Ls is the standard value of house illumination design, E av is the calculated average illumination value corresponding to the number of lamps N, N max The maximum number of lamps that can be set.

8. The method for automatically calculating indoor illumination of a railway as claimed in claim 1, characterized in that: Calculate the average room illuminance with the minimum number of lamps, which is the design illuminance of the house, including: Design illumination of the house L d , L d The calculation formula is as follows: Where: is the luminous flux of the lamp light source, U is the lamp utilization coefficient, K is the indoor lighting maintenance coefficient, A is the building area, N min Set the number for the minimum number of fixtures.

9. A railway indoor illumination automatic calculation system, characterized in that: The system comprises: Basic database construction module, used to sort out the existing basic data for illumination calculation, including illumination technical parameters, lighting technical parameters and room attribute parameters, and build a basic database; A database query module is used to determine house information based on the floor plan of the building, and to perform a basic database query based on the house information to obtain corresponding basic parameter data; The module for determining the maximum number of lamps is used to calculate the maximum number of lamps that meet the design standard requirements based on the basic parameter data queried; A module for determining the minimum number of lamps is used to gradually reduce the number of lamps according to a preset step size based on the maximum number of lamps set. The module then calculates the average illumination of the room based on the number of lamps and determines whether it meets the illumination standard requirements of the house. If so, the module continues to reduce the number of lamps and repeats the iterative calculation until the average illumination of the room fails to meet the illumination standard requirements, thereby determining the minimum number of lamps set to meet the illumination standard requirements. The design illumination determination module is used to calculate the average illumination of the room under the minimum number of lamps, which is the design illumination of the house.

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 steps of the method for automatically calculating railway indoor illumination as described in any one of claims 1 to 8.