A method for automatically building a simulation model
Optimizing the components and parameters of the simulation model through the deep learning model and weight determination method solves the problems of high technical requirements and time cost in the existing technology, and achieves efficient and accurate simulation model construction.
Patent Information
- Application Number
- CN202410726581.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Existing simulation model construction methods require high coding capabilities and experience accumulation, and are time-costly. Moreover, the model accuracy of the AI automatic construction method is greatly affected by learning methods and data, making it difficult to meet user needs.
By determining the performance indicators of the simulation model, using the deep learning model to build the original model, selecting the optimal components and sensitivity parameters, optimizing the model using the weight determination method, and using existing mature procedures to build the model, the technical requirements and time costs are reduced.
It improves the efficiency and accuracy of simulation model construction, reduces the technical requirements of modelers, ensures model accuracy, and saves manpower and time costs.
Smart Images

Figure CN118313281B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data modeling, and in particular to a method for automatically constructing a simulation model. Background Art
[0002] A simulation model mainly refers to a similar object or its structural form of a simulated object, which can be combined together according to the relationship between these similar objects. It can be a physical model for physical simulation, or a mathematical model for mathematical simulation (computer simulation). Simulation models have a wide range of uses in practical applications, and they have been applied to various fields of social economy, such as military, transportation, agriculture, life sciences, etc.
[0003] There are mature procedures for building simulation models, which make the built models highly accurate. However, the model builders are required to have coding skills, and the parameter tuning of the model also requires experience accumulation. It also takes a lot of time and energy, and the time cost is relatively high.
[0004] In order to improve the efficiency of building simulation models and reduce the technical requirements for model builders, methods for automatically building models through AI technology have emerged. Automatic modeling through AI technology relies on artificial intelligence learning of massive existing models rather than using existing mature procedures for construction. The accuracy of the output model is greatly affected by the type of learning method, computing power, and data to be learned, resulting in the output model may not meet user needs.
[0005] Therefore, there is an urgent need for a method to construct a simulation model that can not only reduce the ability requirements for model builders, but also quickly and accurately build the required model. Summary of the invention
[0006] In order to solve the above technical problems, the present invention provides a method for automatically constructing a simulation model, comprising the following steps:
[0007] Determine a performance indicator of the simulation model, wherein the performance indicator is one or more;
[0008] Input the performance index into a deep learning model to obtain an initial simulation model and a weight of the performance index; the initial simulation model includes fuzzy components and connection relationships between the components;
[0009] Determine an optimal component according to the initial simulation model, the performance index of the simulation model and the weight of the performance index, wherein the optimal component refers to a component whose performance index of the component test model constructed by the optimal component meets the performance index requirements of the simulation model;
[0010] Determine the parameters of the optimal component, obtain the initial values of the parameters, and determine the sensitivity parameters of the optimal component according to the initial values of the parameters, the performance indicators of the simulation model and the weights of the performance indicators; the sensitivity parameters of the optimal component refer to the parameters for which the performance indicators of the parameter test model constructed by the sensitivity parameters meet the performance indicator requirements of the simulation model;
[0011] The empirical value recorded in the numerical tag of the parameter is used as the empirical value of the sensitivity parameter, and the optimal value of the sensitivity parameter is determined according to the empirical value of the sensitivity parameter, the performance index of the simulation model and the weight of the performance index; the optimal value of the sensitivity parameter refers to the value at which the performance index of the figure of merit test model constructed by the optimal value of the sensitivity parameter meets the performance index requirement of the simulation model;
[0012] A simulation model that meets the performance indicators of the simulation model is constructed according to the optimal components, the connection relationships between the optimal components, and the optimal values of the sensitivity parameters in the optimal components.
[0013] Furthermore, the initial simulation model also includes component labels and initial values of parameters in the components, and the component labels include component categories and component characteristics.
[0014] Further, according to the initial simulation model, the performance indicators of the simulation model and the weights of the performance indicators, determining the optimal components includes:
[0015] Preliminarily screening components that match the component types of fuzzy components in the component library by using the component categories in the initial simulation model to obtain preliminary selected components; screening components that match the performance indicators of the simulation model from the preliminary selected components by using component characteristics to obtain preferred components;
[0016] Maintain the connection relationship between the components, arrange and combine all the preferred components and all the component categories, build and run component test models according to the component arrangements and combinations, and obtain performance indicators output by each component test model;
[0017] The optimal component is determined using a weighted determination method based on the performance indicators output by the component test model and the weights of the performance indicators.
[0018] Further, according to the initial values of the parameters, the performance indicators of the simulation model and the weights of the performance indicators, determining the sensitivity parameters of the optimal component includes:
[0019] Determine the parameters of the optimal component, and include sensitive and potentially sensitive parameters in the screening parameter label as initial sensitivity parameters;
[0020] Obtaining initial values of initial sensitivity parameters, and based on the initial values of the initial sensitivity parameters, performing calculations according to preset parameter spans and preset parameter spans to obtain parameter test values of each initial sensitivity parameter;
[0021] Maintaining the connection relationship between the components, performing parameter permutations and combinations on all initial sensitivity parameters and parameter test values of all initial sensitivity parameters, respectively constructing and running parameter test models according to the parameter permutations and combinations, and obtaining performance indicators output by each parameter test model;
[0022] According to the performance indicators output by the parameter test model and the weights of the performance indicators, the sensitivity of the parameters is determined using a weight determination method, and then the sensitivity parameters of the optimal components are determined based on the sensitivity of the parameters.
[0023] Further, according to the empirical value of the sensitivity parameter, the performance index of the simulation model and the weight of the performance index, determining the optimal value of the sensitivity parameter includes:
[0024] Based on the empirical value of the sensitivity parameter, calculation is performed according to the preset sensitivity parameter span times and sensitivity parameter span to obtain a figure of merit test value of the sensitivity parameter;
[0025] Maintaining the connection relationship between the components, performing merit permutations and combinations on all sensitivity parameters and merit test values of all sensitivity parameters, respectively constructing merit test models according to the merit permutations and combinations and running them, and obtaining performance indicators output by each merit test model;
[0026] According to the performance index output by the figure of merit test model and the weight of the performance index, the optimal value of the sensitivity parameter is determined using a weight determination method.
[0027] Furthermore, the optimal component is determined using a weight determination method, which specifically includes:
[0028] Obtain the performance indicators output by each component test model;
[0029] The mean of each performance indicator in all component test models is calculated respectively to obtain the mean of each performance indicator of the component test model;
[0030] Differences are made between the maximum value of each performance indicator and the mean value of the corresponding performance indicator, and the difference is used as the amplitude of the corresponding performance indicator;
[0031] Calculate the difference between each performance indicator in each component test model and the mean value of the corresponding performance indicator, and calculate the absolute value of the difference, and divide the absolute value by the amplitude of the corresponding performance indicator to obtain the weighted value of the performance indicator in the group of component test models; determine the positive and negative directions of the weighted value for the purpose of satisfying the performance indicator, and obtain the weight of each performance indicator in each component test model;
[0032] Calculate the weight of each performance indicator in each component test model and the target weight of the corresponding performance indicator to obtain the weight of the performance indicator of each component test model;
[0033] From each component test model, the weight of the performance indicator of the component test model with the largest weight is selected, and the component used by the component test model with the largest weight is determined to be the optimal component.
[0034] Furthermore, the weight of each performance indicator in each component test model is calculated based on the weight of each performance indicator and the target weight of the corresponding performance indicator to obtain the weight of the performance indicator of each component test model, which is calculated using the following formula:
[0035] P m =X m1 ×λ1+X m2 ×λ2+……+X mi ×λ i +……+X mn ×λ n ;
[0036] Where P m is the weight of the performance index of the mth component test model, X mi is the weight of the i-th performance indicator in the m-th component test model, 1≤i≤n, n is the number of performance indicators; λ i is the target weight of the i-th performance indicator; and so on, X mn is the weight of the nth performance indicator in the mth component test model; n is the target weight of the nth performance indicator.
[0037] Furthermore, according to the performance index output by the parameter test model and the weight of the performance index, the sensitivity of the parameter is determined using the weight determination method as follows:
[0038] According to the performance indicators output by the parameter test model and the weights of the performance indicators, a weight determination method is used to obtain the weighting of the performance indicators of each parameter test model;
[0039] The weighted performance indicators of each parameter test model are sorted from large to small, and the sensitivity of the parameters used by the parameter test models ranked in the top P1 or top Q1% is determined to be sensitive; the sensitivity of the parameters used by the parameter test models ranked in the top P2 or top Q2% is determined to be possibly sensitive; and the sensitivity of the parameters of the remaining parameter test models is determined to be insensitive;
[0040] The P1 is the number of preset sensitivity parameters, and the Q1% is the percentage of the preset sensitivity parameters; the P2 is the number of preset possible sensitivity parameters, and the Q2% is the percentage of the preset possible sensitivity parameters.
[0041] Furthermore, according to the performance index output by the merit test model and the weight of the performance index, the optimal value of the sensitivity parameter is determined by using the weight determination method:
[0042] According to the performance indicators output by the merit test model and the weights of the performance indicators, a weight determination method is used to obtain the weighting of the performance indicators of each merit test model;
[0043] From each figure of merit test model, the weight of the performance indicator of the largest figure of merit test model is selected, and the value used by the figure of merit test model where the weight is located is determined to be the optimal value.
[0044] Furthermore, the empirical value in the numerical tag is obtained by:
[0045] Based on the initial value of the sensitivity parameter, the value of the figure of merit test of the sensitivity parameter is obtained by calculating according to the preset sensitivity parameter span times and the preset sensitivity parameter span;
[0046] Based on the empirical value of the sensitivity parameter, calculation is performed according to the preset sensitivity parameter span times and sensitivity parameter span to obtain a figure of merit test value of the sensitivity parameter;
[0047] Maintaining the connection relationship between the components, performing merit permutations and combinations on all sensitivity parameters and merit test values of all sensitivity parameters, respectively constructing merit test models according to the merit permutations and combinations and running them, and obtaining performance indicators output by each merit test model;
[0048] According to the performance index output by the figure of merit test model and the weight of the performance index, the optimal value of the sensitivity parameter is determined using the weight determination method, and the optimal value is recorded as the empirical value in the parameter's value label.
[0049] The embodiments of the present invention have the following technical effects:
[0050] 1. This application creates a model using an existing, mature construction procedure: building a startup model, selecting the optimal component, determining the sensitivity parameter, and determining the optimal value of the parameter. The model built using this procedure has high accuracy. Among them, using an existing, trained deep learning model, the startup simulation model and the weight of the performance indicator are obtained according to the performance indicator; the optimal component is determined according to the startup simulation model, the performance indicator of the simulation model and the weight of the performance indicator; the parameters of the optimal component are determined, and the initial value of each parameter is obtained, and the sensitivity parameter of the optimal component is determined according to the initial value of each parameter, the performance indicator of the simulation model and the weight of the performance indicator; the empirical value recorded in the numerical label of the parameter is used as the empirical value of the sensitivity parameter, and the optimal value of the sensitivity parameter is determined according to the empirical value of the sensitivity parameter, the performance indicator of the simulation model and the weight of the performance indicator; according to the optimal component, the connection relationship between the optimal components, and the optimal value of the sensitivity parameter in the optimal component, a simulation model that meets the performance indicator of the simulation model is constructed. The entire process adopts existing and mature construction procedures to ensure the accuracy of model building. The selection of optimal components, determination of sensitivity parameters, and determination of optimal values of sensitivity parameters do not rely on human experience, which reduces the technical requirements of modelers, greatly improves modeling efficiency, and saves manpower and time costs.
[0051] 2. In this application, the weight determination method is used to select the optimal component, determine the sensitivity parameters, and determine the optimal values of the sensitivity parameters, taking into account various performance indicators and improving the accuracy of modeling. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 It is a flow chart of a method for automatically constructing a simulation model provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0055] There are mature procedures for building simulation models, which make the built models highly accurate. However, the model builders are required to have coding skills, and the parameter tuning of the model also requires experience accumulation. It also takes a lot of time and energy, and the time cost is relatively high.
[0056] In order to improve the efficiency of building simulation models and reduce the technical requirements for model builders, methods for automatically building models through AI technology have emerged. Automatic modeling through AI technology relies on artificial intelligence learning of massive existing models rather than using existing mature procedures for construction. The accuracy of the output model is greatly affected by the type of learning method, computing power, and data to be learned, resulting in the output model may not meet user needs.
[0057] Based on the above problems, this application provides a method for automatically building a simulation model, which can not only reduce the ability requirements for model builders, but also quickly and accurately build the required model. Figure 1 :
[0058] Step S1: Determine a performance index of a simulation model, where the performance index is one or more.
[0059] For example, the user wants to build a "pipe-connected" model, requiring the mass to be as small as possible and the heat dissipation to be as good as possible. Therefore, it can be determined that there are two performance indicators of the simulation model, namely mass and heat dissipation.
[0060] Step S2: Input the performance indicators into the deep learning model to obtain the initial simulation model and the weights of the performance indicators; the initial simulation model includes fuzzy components and the connection relationships between the components.
[0061] Deep learning models, especially those with powerful feature extraction and representation learning capabilities, such as convolutional neural networks (CNNs) and recurrent neural networks (RNNs), can automatically learn useful feature representations from raw data. By passing and transforming information layer by layer, these models are able to capture the complex structure and patterns of data, thus providing strong support for modeling.
[0062] There have been a lot of studies on how to automatically model through deep learning models, which will not be repeated here. The model directly obtained from the output of the deep learning model in this application is a start-up simulation model, and the weight of each performance indicator is obtained.
[0063] Outputting a startup simulation model through a deep learning model relies on artificial intelligence learning of a large number of existing models rather than building them using existing mature procedures. The accuracy of the output startup simulation model is greatly affected by the type of learning method, computing power, and data to be learned, resulting in the output model may not meet user needs. Therefore, this application further optimizes the startup model to improve the accuracy of the model.
[0064] Furthermore, the initial simulation model also includes component labels and initial values of various parameters in the component, and the component labels include component categories and component characteristics. Among them, the component type indicates the type of component, such as: pipeline, software pipeline, heat dissipation pipeline, etc.; the component characteristics are used to indicate the special performance of the component, such as: unable to dissipate heat, high power, low efficiency, etc.
[0065] Step S3: Determine the optimal component based on the initial simulation model, the performance indicators of the simulation model and the weights of the performance indicators. The optimal component refers to the component whose performance indicators of the component test model constructed by the optimal component meet the performance indicator requirements of the simulation model. Specifically including:
[0066] Step S31: Preliminarily screen components that match the component types of fuzzy components in the component library through the component categories in the initial simulation model to obtain preliminary selected components; screen components that match the performance indicators of the simulation model from the preliminary selected components through component characteristics to obtain preferred components.
[0067] For example, in the initial simulation model, if the fuzzy component indicates that the component is a pipe, the components marked as pipes in the component label are selected from the component library as the preliminary components. If the performance index requires excellent heat dissipation performance, the components with component labels marked as "cannot dissipate heat" or "poor heat dissipation performance" in the preliminary components are eliminated to obtain the preferred components.
[0068] Step S32: Maintain the connection relationship between the components, arrange and combine all the preferred components and all component categories, build and run component test models according to the component arrangements and combinations, and obtain the performance indicators output by each component test model.
[0069] For example, if the model consists of a pump and a pipe, all models with the labels "pump" and "pipe" are found from the component library and combined in pairs. The initial simulation model is in the form of: A+B. Among them, the preferred components of type A are A1 and A2, and the preferred components of type B are B1 and B2. Then, A1, A2 and B1, B2 are arranged and combined as components, and component test models are constructed according to the arrangement and combination of components: A1+B1, A1+B2, A2+B1, A2+B2. Run each component test model to obtain the performance indicators output by each component test model.
[0070] Step S33: Determine the optimal component using a weighted determination method based on the performance indicators output by the component test model and the weights of the performance indicators. Specifically, it includes:
[0071] Step S331: Obtain the performance indicators output by each component test model.
[0072] Exemplarily, the performance indicators of four component test models: A1+B1, A1+B2, A2+B1, A2+B2 are obtained: the first performance indicator: total mass, which are 70, 90, 90, and 110 respectively; the second performance indicator: heat dissipation efficiency, which are 75%, 86%, 88%, and 87% respectively.
[0073] If the performance indicator requires that the total mass does not exceed 100, A2+B2 can be directly eliminated.
[0074] Step S332: respectively obtain the mean value of each performance indicator in all component test models to obtain the mean value of each performance indicator of the component test model.
[0075] For example, the first performance indicator is high heat dissipation efficiency, and the second performance indicator is high passing efficiency. The performance indicators of each component test model obtained are:
[0076] A1+B1 component test model heat dissipation efficiency = 75%, pass efficiency = 1.60;
[0077] A1+B2 component test model heat dissipation efficiency = 86%, pass efficiency = 1.55;
[0078] A2+B1 component test model heat dissipation efficiency = 88%, pass efficiency = 1.50;
[0079] The mean value of the first performance indicator in each component test model is calculated as follows: (75%+86%+88%) / 3=83%, that is, the mean value of the first performance indicator is 83%; the mean value of the second performance indicator in each component test model is calculated as follows: (1.60+1.55+1.50) / 3=1.55, that is, the mean value of the first performance indicator is 1.55.
[0080] Step S333: Subtract the maximum value of each performance indicator from the mean value of the corresponding performance indicator, and use the difference as the amplitude of the corresponding performance indicator.
[0081] Continuing with the example in step S332, for the first performance indicator, the maximum value is 88% of the component test model A2+B1, and the mean value of the first performance indicator is 83%, so the amplitude of the first performance indicator is 88%-83%=5%.
[0082] For the second performance indicator, the maximum value is 1.60 of the component test model A1+B1, and the mean value of the first performance indicator is 1.55, so the amplitude of the first performance indicator is 1.60-1.55=0.05.
[0083] Step S334: Calculate the difference between each performance indicator in each component test model and the mean of the corresponding performance indicator, and calculate the absolute value of the difference, and divide the absolute value by the amplitude of the corresponding performance indicator to obtain the weighted value of the performance indicator in the group of component test models; determine the positive and negative directions of the weighted value for the purpose of meeting the performance indicator, and obtain the weighting of each performance indicator in each component test model.
[0084] For the first component test model A1+B1, the difference between the first performance indicator and the mean of the first performance indicator is 75%-83%=-8%; the absolute value thereof is divided by the amplitude of the first performance indicator to obtain the weighted value of the performance indicator in the component test model: |-8%| / 5%=1.6. The first performance indicator requires high heat dissipation efficiency, so the higher the heat dissipation efficiency in the component test model results, the more the first performance indicator is met, and the lower the heat dissipation efficiency, the less the first performance indicator is met, so the weighted value of the component test model A1+B1 is negative, and the weighted value of the first performance indicator is -1.6.
[0085] By analogy, the weight of the first performance index of the second component test model A1+B2 is +0.8, and the weight of the first performance index of the third component test model A2+B1 is +1.0. The weight of the second performance index of the component test model A1+B1 is +1.0, the weight of the second performance index of the component test model A1+B2 is +0.0, and the weight of the first performance index of the component test model A2+B1 is -1.0.
[0086] Step S335: Calculate the weight of each performance indicator in each component test model and the target weight of the corresponding performance indicator to obtain the weight of the performance indicator of each component test model. The formula is as follows:
[0087] P m =X m1 ×λ1+X m2 ×λ2+……+X mi ×λ i +……+X mn ×λ n ;
[0088] Where P m is the weight of the performance index of the mth component test model, X mi is the weight of the i-th performance indicator in the m-th component test model, 1≤i≤n, n is the number of performance indicators; λ iis the target weight of the i-th performance indicator; and so on, X mn is the weight of the nth performance indicator in the mth component test model; n is the target weight of the nth performance indicator.
[0089] Continuing with the example in step S334, it is known from step S2 that the target weight of the first performance indicator is 50%, and the target weight of the second performance indicator is 50%. Using the above formula for calculation, we obtain that the weight of the first component test model A1+B1 is -1.6×50%+1.0×50%=-0.6, the weight of the second component test model A1+B2 is (+0.8)×50%+0.0×50%=+0.8, and the weight of the third component test model A2+B1 is (+1.0)×50%+(-1.0)×50%=+0.0.
[0090] Step S336: Select the weight of the performance indicator of the component test model with the largest value from among the component test models, and determine that the component used by the component test model with the largest value is the optimal component.
[0091] The weighted +0.8 of the second component test model A1+B2 is the largest, and the components used in the second component test model A1+B2 are the optimal components, that is, the optimal components are A1 and B2.
[0092] Step S4: Determine the parameters of the optimal component and obtain the initial values of each parameter. According to the initial values of each parameter, the performance indicators of the simulation model and the weights of the performance indicators, determine the sensitivity parameters of the optimal component; the sensitivity parameters of the optimal component refer to the parameters whose performance indicators of the parameter test model constructed by the sensitivity parameters meet the performance indicator requirements of the simulation model.
[0093] Determine the parameters of the optimal component and obtain the initial values of each parameter. According to the initial values of each parameter, the performance indicators of the simulation model and the weights of the performance indicators, the sensitivity parameters of the optimal component are determined using the weight determination method. The method is the same as the weight determination method in step S3 and will not be repeated here.
[0094] Furthermore, according to the initial values of each parameter, the performance index of the simulation model and the weight of the performance index, the sensitivity parameters of the optimal component are determined to include:
[0095] Determine the parameters of the optimal component and include sensitive and potentially sensitive parameters in the screening parameter tab as initial sensitivity parameters.
[0096] Parameter labels can be used to mark the sensitivity of parameters, including sensitive, possibly sensitive, and non-sensitive.
[0097] For example, the optimal component has 100 parameters, of which 90 parameters have parameter labels of non-sensitive, 7 are potentially sensitive, and 3 are sensitive. In this way, the screening parameter labels include sensitive and potentially sensitive parameters as initial sensitivity parameters, thereby avoiding full screening and saving time and computing power.
[0098] Initial values of initial sensitivity parameters are obtained, and based on the initial values of the initial sensitivity parameters, calculations are performed according to preset parameter spans and preset parameter spans to obtain parameter test values of each initial sensitivity parameter.
[0099] The preset parameter spans include parameter left spans and parameter right spans, and the preset parameter spans include parameter left spans and parameter right spans. For example, if the initial value of one of the initial sensitivity parameters is 0, the preset parameter left spans and parameter right spans are 0.01, respectively, and the parameter left spans and parameter right spans are both 2, then the parameter test values of the initial sensitivity parameter are -0.02, -0.01, 0, 0.01, and 0.02, respectively.
[0100] Maintain the connection relationship between each component, perform parameter permutations and combinations on all initial sensitivity parameters and parameter test values of all initial sensitivity parameters, build and run parameter test models according to the parameter permutations and combinations, and obtain the performance indicators output by each parameter test model.
[0101] According to the performance indicators output by the parameter test model and the weights of the performance indicators, the sensitivity of the parameters is determined using the weight determination method, and then the sensitivity parameters of the optimal components are determined based on the sensitivity of the parameters.
[0102] Furthermore, according to the performance indicators output by the parameter test model and the weights of the performance indicators, the sensitivity of the parameters is determined using the weight determination method:
[0103] According to the performance indicators output by the parameter test model and the weights of the performance indicators, a weighted determination method is used to obtain the weighting of the performance indicators of each parameter test model;
[0104] The weighted performance indicators of each parameter test model are sorted from large to small, and the sensitivity of the parameters used by the parameter test models ranked in the top P1 or Q1% is determined to be sensitive; the sensitivity of the parameters used by the parameter test models ranked in the top P2 or Q2% is determined to be possibly sensitive; the sensitivity of the parameters of the remaining parameter test models is determined to be insensitive;
[0105] P1 is the number of preset sensitivity parameters, Q1% is the percentage of preset sensitivity parameters; P2 is the number of preset possible sensitivity parameters, Q2% is the percentage of preset possible sensitivity parameters. The specific values of P1, Q1%, P2 and Q2% can be preset by the user.
[0106] After obtaining the sensitivity of the parameter according to the weight determination method, the sensitivity of the parameter marked in the parameter label can also be updated according to the determination result.
[0107] Step S5: Use the empirical value recorded in the numerical label of the parameter as the empirical value of the sensitivity parameter, and determine the optimal value of the sensitivity parameter according to the empirical value of the sensitivity parameter, the performance index of the simulation model and the weight of the performance index; the optimal value of the sensitivity parameter refers to the value at which the performance index of the figure of merit test model constructed by the optimal value of the sensitivity parameter meets the performance index requirements of the simulation model.
[0108] The optimal value of the sensitivity parameter is determined based on the empirical value of the sensitivity parameter, the performance index of the simulation model and the weight of the performance index. The weight determination method is also used. The method is the same as the weight determination method in step S3 and will not be repeated here.
[0109] Furthermore, the empirical value in the numerical tag is obtained by:
[0110] Based on the initial value of the sensitivity parameter, the value of the figure of merit test of the sensitivity parameter is obtained by calculating according to the preset sensitivity parameter span times and the preset sensitivity parameter span;
[0111] Based on the empirical values of the sensitivity parameters, calculations are performed according to the preset sensitivity parameter spans and sensitivity parameter spans to obtain the figure of merit test values of the sensitivity parameters;
[0112] Maintain the connection relationship between the components, perform merit permutations and combinations on all sensitivity parameters and merit test values of all sensitivity parameters, build merit test models according to the merit permutations and combinations and run them, and obtain the performance indicators output by each merit test model;
[0113] According to the performance indicators output by the merit test model and the weights of the performance indicators, the weight determination method is used to determine the optimal value of the sensitivity parameter, and the optimal value is recorded as the empirical value in the parameter's numerical label.
[0114] Furthermore, according to the empirical values of the sensitivity parameters, the performance indicators of the simulation model and the weights of the performance indicators, the optimal values of the sensitivity parameters are determined, including:
[0115] Based on the empirical values of the sensitivity parameters, calculations are performed according to the preset sensitivity parameter spans and sensitivity parameter spans to obtain the figure of merit test values of the sensitivity parameters;
[0116] Maintain the connection relationship between the components, perform merit permutations and combinations on all sensitivity parameters and merit test values of all sensitivity parameters, build merit test models according to the merit permutations and combinations and run them, and obtain the performance indicators output by each merit test model;
[0117] According to the performance indicators and weights of the performance indicators output by the merit test model, the optimal values of the sensitivity parameters are determined using the weight determination method, including:
[0118] According to the performance indicators output by the merit test model and the weights of the performance indicators, the weighted performance indicators of each merit test model are obtained using the weight determination method;
[0119] From each merit test model, the weight of the performance indicator of the merit test model with the largest weight is selected, and the value used by the merit test model with the weight is determined to be the optimal value.
[0120] After obtaining the optimal value of the sensitivity parameter according to the weight determination method, the empirical value marked in the value label can also be updated according to the determination result.
[0121] In this application, the model is created using an existing, mature construction procedure: building a start-up model, selecting the optimal components, determining sensitivity parameters, and determining the optimal values of the parameters. The model built using this procedure has high accuracy. Among them, the weight determination method is used to determine the optimal components, sensitivity parameters, and optimal values of the parameters, taking into account various performance indicators, and improving modeling efficiency while ensuring model accuracy.
[0122] Step S6: construct a simulation model that meets the performance indicators of the simulation model according to the optimal components, the connection relationships between the optimal components, and the optimal values of the sensitivity parameters in the optimal components.
[0123] The entire process adopts existing and mature construction procedures to ensure the accuracy of model building. The selection of optimal components, determination of sensitivity parameters, and determination of optimal values of sensitivity parameters do not rely on human experience, which reduces the technical requirements of modelers, greatly improves modeling efficiency, and saves manpower and time costs.
[0124] It should be noted that the terms used in the present invention are only for describing specific embodiments, rather than limiting the scope of the present application. As shown in the present specification, unless the context clearly indicates an exception, the words "one", "a", "a kind of" and / or "the" do not specifically refer to the singular, but may also include the plural. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of more restrictions, the elements defined by the sentence "include one..." do not exclude the presence of other identical elements in the process, method or device including the elements.
[0125] It should also be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention.
Claims
1. A method for automatically constructing a simulation model, It is characterized in that The steps include: Determine a performance indicator of the simulation model, wherein the performance indicator is one or more; Input the performance indicators into a deep learning model to obtain a start-up simulation model and weights of the performance indicators; The start-up simulation model includes fuzzy components and connection relationships between the components; Determine an optimal component according to the initial simulation model, the performance index of the simulation model and the weight of the performance index, wherein the optimal component refers to a component whose performance index of the component test model constructed by the optimal component meets the performance index requirements of the simulation model; Determine the parameters of the optimal component, obtain the initial values of the parameters, and determine the sensitivity parameters of the optimal component according to the initial values of the parameters, the performance indicators of the simulation model and the weights of the performance indicators; the sensitivity parameters of the optimal component refer to the parameters for which the performance indicators of the parameter test model constructed by the sensitivity parameters meet the performance indicator requirements of the simulation model; The empirical value recorded in the numerical tag of the parameter is used as the empirical value of the sensitivity parameter, and the optimal value of the sensitivity parameter is determined according to the empirical value of the sensitivity parameter, the performance index of the simulation model and the weight of the performance index; the optimal value of the sensitivity parameter refers to the value at which the performance index of the figure of merit test model constructed by the optimal value of the sensitivity parameter meets the performance index requirement of the simulation model; A simulation model that meets the performance indicators of the simulation model is constructed according to the optimal components, the connection relationships between the optimal components, and the optimal values of the sensitivity parameters in the optimal components.
2. A method for automatically constructing a simulation model according to claim 1, It is characterized in that The initial simulation model also includes a component label and an initial value of each parameter in the component, wherein the component label includes a component category and a component characteristic.
3. A method for automatically constructing a simulation model according to claim 2, It is characterized in that Determining an optimal component according to the initial simulation model, the performance indicators of the simulation model and the weights of the performance indicators includes: Preliminarily screening components that match the component types of fuzzy components in the component library by using the component categories in the initial simulation model to obtain preliminary selected components; screening components that match the performance indicators of the simulation model from the preliminary selected components by using component characteristics to obtain preferred components; Maintain the connection relationship between the components, arrange and combine all the preferred components and all the component categories, build and run component test models according to the component arrangements and combinations, and obtain performance indicators output by each component test model; The optimal component is determined using a weighted determination method based on the performance indicators output by the component test model and the weights of the performance indicators.
4. A method for automatically constructing a simulation model according to claim 2, It is characterized in that Determining the sensitivity parameters of the optimal component according to the initial values of the parameters, the performance indicators of the simulation model and the weights of the performance indicators includes: Determine the parameters of the optimal component, and include sensitive and potentially sensitive parameters in the screening parameter label as initial sensitivity parameters; Obtaining initial values of initial sensitivity parameters, and based on the initial values of the initial sensitivity parameters, performing calculations according to preset parameter spans and preset parameter spans to obtain parameter test values of each initial sensitivity parameter; Maintaining the connection relationship between the components, performing parameter permutations and combinations on all initial sensitivity parameters and parameter test values of all initial sensitivity parameters, respectively constructing and running parameter test models according to the parameter permutations and combinations, and obtaining performance indicators output by each parameter test model; According to the performance indicators output by the parameter test model and the weights of the performance indicators, the sensitivity of the parameters is determined using a weight determination method, and then the sensitivity parameters of the optimal components are determined based on the sensitivity of the parameters.
5. A method for automatically constructing a simulation model according to claim 2, It is characterized in that Determining the optimal value of the sensitivity parameter according to the empirical value of the sensitivity parameter, the performance index of the simulation model and the weight of the performance index includes: Based on the empirical value of the sensitivity parameter, calculation is performed according to the preset sensitivity parameter span times and sensitivity parameter span to obtain a figure of merit test value of the sensitivity parameter; Maintaining the connection relationship between the components, performing merit permutations and combinations on all sensitivity parameters and merit test values of all sensitivity parameters, respectively constructing merit test models according to the merit permutations and combinations and running them, and obtaining performance indicators output by each merit test model; According to the performance index output by the figure of merit test model and the weight of the performance index, the optimal value of the sensitivity parameter is determined using a weight determination method.
6. A method for automatically constructing a simulation model according to claim 3, It is characterized in that The optimal component is determined using a weight determination method, specifically including: Obtain the performance indicators output by each component test model; The mean of each performance indicator in all component test models is calculated respectively to obtain the mean of each performance indicator of the component test model; The maximum value of each performance index is subtracted from the mean value of the corresponding performance index, and the difference is used as the amplitude of the corresponding performance index; Obtain the difference between each performance indicator and the mean value of the corresponding performance indicator in each component test model, and obtain the absolute value of the difference, and divide the absolute value by the amplitude of the corresponding performance indicator to obtain the weighted value of the performance indicator in the component test model; determine the positive and negative directions of the weighted value for the purpose of satisfying the performance indicator, and obtain the weight of each performance indicator in each component test model; Calculate the weight of each performance indicator in each component test model according to the weight of each performance indicator and the target weight of the corresponding performance indicator to obtain the weight of the performance indicator of each component test model; From each component test model, the weight of the performance indicator of the component test model with the largest weight is selected, and the component used by the component test model with the largest weight is determined to be the optimal component.
7. A method for automatically constructing a simulation model according to claim 6, It is characterized in that The weighted performance indicator of each component test model is calculated based on the weight of each performance indicator in each component test model and the target weight of the corresponding performance indicator, and the weighted performance indicator of each component test model is obtained, and the calculation is performed using the following formula: P m =X m1 ×λ 1 +X m2 ×λ 2 +……+X mi ×λ i +……+X mn ×λ n ; Where P m is the weight of the performance index of the mth component test model, X mi is the weight of the i-th performance indicator in the m-th component test model, 1≤i≤n, n is the number of performance indicators; λ i is the target weight of the i-th performance indicator; By analogy, X mn is the weight of the nth performance indicator in the mth component test model; n is the target weight of the nth performance indicator.
8. A method for automatically constructing a simulation model according to claim 4, It is characterized in that According to the performance indicators output by the parameter test model and the weights of the performance indicators, the sensitivity of the parameters is determined using the weight determination method: According to the performance indicators output by the parameter test model and the weights of the performance indicators, a weight determination method is used to obtain the weighting of the performance indicators of each parameter test model; The weighted performance indicators of each parameter test model are sorted from large to small, and the top P 1 or the first Q 1 The sensitivity of the parameters used in the parameter test model is sensitive; the ranking is the top P 2 or the first Q 2 The sensitivity of the parameters used in the parameter test model of % is possibly sensitive; the sensitivity of the parameters used in the remaining parameter test model is determined to be insensitive; The P 1 is the number of preset sensitivity parameters, the Q 1 % is the percentage of the preset sensitivity parameter; 2 is the number of preset possible sensitivity parameters, the Q 2 % is the percentage of the preset possible sensitivity parameter.
9. A method for automatically constructing a simulation model according to claim 5, It is characterized in that According to the performance index output by the merit test model and the weight of the performance index, the optimal value of the sensitivity parameter is determined by using the weight determination method: According to the performance indicators output by the merit test model and the weights of the performance indicators, a weight determination method is used to obtain the weighting of the performance indicators of each merit test model; From each figure of merit test model, the weight of the performance indicator of the largest figure of merit test model is selected, and the value used by the figure of merit test model where the weight is located is determined to be the optimal value.
10. The method for automatically constructing a simulation model according to claim 5, It is characterized in that The empirical value in the numerical tag is obtained by: Based on the initial value of the sensitivity parameter, the value of the figure of merit test of the sensitivity parameter is obtained by calculating according to the preset sensitivity parameter span times and the preset sensitivity parameter span; Based on the empirical value of the sensitivity parameter, calculation is performed according to the preset sensitivity parameter span times and sensitivity parameter span to obtain a figure of merit test value of the sensitivity parameter; Maintaining the connection relationship between the components, performing merit permutations and combinations on all sensitivity parameters and merit test values of all sensitivity parameters, respectively constructing merit test models according to the merit permutations and combinations and running them, and obtaining performance indicators output by each merit test model; According to the performance index output by the figure of merit test model and the weight of the performance index, the optimal value of the sensitivity parameter is determined using the weight determination method, and the optimal value is recorded as the empirical value in the parameter's value label.
