A method and apparatus for determining a steady-state parameter

By constructing relational equations and iterating using preset initial value selection rules, steady-state parameters are automatically determined, solving the steady-state problem in dynamic systems and ensuring stable system operation.

CN119378231BActive Publication Date: 2025-11-07BEIJING GLOBAL CROWN JINYANG TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411422306.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-11-07
Estimated Expiration
2044-10-12

AI Technical Summary

Technical Problem

Existing technologies cannot effectively solve the steady-state problem in dynamic systems, causing the system to fail to operate normally under various conditions.

Method used

By determining the iterative and dependent variable information under the target scenario configured by the user, a relational equation is constructed, and the preset initial value selection rules are used for iteration until the loss function reaches its minimum value or the number of iterations reaches a threshold, and the steady-state parameters are automatically determined.

Benefits of technology

It enables the automatic determination of steady-state parameters in dynamic systems, ensuring normal operation of the system under various working conditions and solving the steady-state problem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119378231B_ABST
    Figure CN119378231B_ABST
Patent Text Reader

Abstract

The application discloses a steady-state parameter determination method and device, applied to the field of data processing, comprising: determining the iteration variable information and the dependent variable information in the target scene configured by the user, wherein the iteration variable information comprises the name of the iteration variable and the initial value of the iteration variable, and the dependent variable information comprises the name of the dependent variable and the target value of the dependent variable; constructing a relationship equation of the target scene according to the iteration variable information and the dependent variable information; if the loss function of the relationship equation reaches a minimum value, determining that the current initial value of the iteration variable in the relationship equation is the steady-state parameter; if the loss function of the relationship equation does not reach the minimum value, re-determining the target initial value according to a preset initial value selection rule, and iterating the relationship equation until the loss function reaches the minimum value or the iteration times reach an iteration times threshold, and determining that the corresponding target initial value is the steady-state parameter. In this way, the steady-state parameter can be automatically determined, and the steady-state problem in the system is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of data processing, and in particular to a steady-state parameter determination method and device. BACKGROUND

[0002] Steady-state balancing generally refers to a state in which various forces or variables in a system, particularly a dynamic system, reach a balance and no longer change significantly over time. This concept has different applications in various fields, including physics, engineering, economics, etc.

[0003] A stable balance state represents the stable behavior of a system over a long period of time, and is crucial for stability performance and evaluation. If a system has stability problems, simulation will not find a solution, so steady-state problems should be solved first to ensure that the system can operate normally under various operating conditions. SUMMARY

[0004] The present application provides a method for determining steady-state parameters to solve steady-state problems. The present application also provides a steady-state parameter determination device.

[0005] In a first aspect, the present application provides a steady-state parameter determination method, comprising:

[0006] determining the iteration variable information and the dependent variable information under the target scenario configured by the user, wherein the iteration variable information at least includes the name of the iteration variable and the initial value of the iteration variable; and the dependent variable information at least includes the name of the dependent variable and the target value of the dependent variable;

[0007] constructing a relationship equation of the target scenario according to the iteration variable information and the dependent variable information;

[0008] if the loss function of the relationship equation reaches a minimum value, determining the current initial value of the iteration variable in the relationship equation as the steady-state parameter;

[0009] if the loss function of the relationship equation does not reach a minimum value, determining a target initial value according to a preset initial value selection rule, and iterating the relationship equation with the target initial value until the loss function reaches a minimum value or the number of iterations reaches an iteration threshold, and determining the corresponding target initial value as the steady-state parameter.

[0010] Optionally, the iteration variable information further includes the value range of the iteration variable, and the determination of the target initial value according to the preset initial value selection rule and the iteration of the relationship equation with the target initial value comprises:

[0011] determining the target initial value from the value range of the iteration variable in a normal distribution random number manner and iterating the relationship equation with the target initial value.

[0012] Optionally, the determining the target initial value according to the preset initial value selection rule and iteratively solving the relational equation by using the target initial value comprises:

[0013] randomly selecting a first multiple of the initial value as the target initial value and iteratively solving the relational equation by using the target initial value, wherein the first multiple is 0 to 10 times.

[0014] Optionally, when the number of iterations reaches a target number, the determining the target initial value according to the preset initial value selection rule and iteratively solving the relational equation by using the target initial value comprises:

[0015] selecting a minimum initial value in a plurality of initial values corresponding to a plurality of iteration processes;

[0016] determining the minimum initial value multiplied by a second multiple as the target initial value and iteratively solving the relational equation by using the target initial value, wherein the second multiple is less than 1;

[0017] or,

[0018] selecting a maximum initial value in a plurality of initial values corresponding to a plurality of iteration processes;

[0019] determining the maximum initial value multiplied by a third multiple as the target initial value and iteratively solving the relational equation by using the target initial value, wherein the third multiple is greater than 1;

[0020] or,

[0021] selecting a maximum initial value and a minimum initial value in a plurality of initial values corresponding to a plurality of iteration processes;

[0022] determining the target initial value from an interval of the maximum initial value to the minimum initial value by using a bisection method and iteratively solving the relational equation by using the target initial value.

[0023] Optionally, the determining the corresponding target initial value as a steady-state parameter comprises:

[0024] verifying the target initial value corresponding to the minimum loss function or the number of iterations reaching the iteration number threshold according to a preset verification rule;

[0025] determining the corresponding target initial value as the steady-state parameter when the verification rule is satisfied.

[0026] Optionally, the method further comprises:

[0027] presenting a parameter configuration interface, wherein the parameter configuration interface comprises a scene selection option, an iteration variable information bar, and a dependent variable information bar;

[0028] The determining the iteration variable information and the dependent variable information in the target scene configured by the user comprises:

[0029] The target scene is determined according to the selection operation of the user on the scene selection option, and the iteration variable information and the dependent variable information in the target scene are determined according to the information input in the iteration variable information bar and the dependent variable information bar.

[0030] Optionally, the method further comprises:

[0031] The determined steady-state parameter and the iteration number of determining the steady-state parameter are displayed.

[0032] The process of determining the steady-state parameter is generated into a code file and stored

[0033] In a second aspect, the present application further provides a steady-state parameter determination device, which comprises:

[0034] A first determining unit is configured to determine the iteration variable information and the dependent variable information in the target scene configured by the user, wherein the iteration variable information at least comprises the name of the iteration variable and the initial value of the iteration variable, and the dependent variable information at least comprises the name of the dependent variable and the target value of the dependent variable.

[0035] A constructing unit is configured to construct a relational equation of the target scene according to the iteration variable information and the dependent variable information.

[0036] A second determining unit is configured to determine the current initial value of the iteration variable in the relational equation as the steady-state parameter if the loss function of the relational equation reaches a minimum value.

[0037] A third determining unit is configured to determine a target initial value according to a preset initial value selection rule if the loss function of the relational equation does not reach the minimum value, and to perform iteration on the relational equation by using the target initial value until the loss function reaches the minimum value or the iteration number reaches an iteration number threshold, so as to determine the corresponding target initial value as the steady-state parameter.

[0038] Optionally, the iteration variable information further comprises the value interval of the iteration variable, and the third determining unit is specifically configured to:

[0039] The target initial value is determined from the value interval of the iteration variable by using a normal distribution random number, and the relational equation is iterated by using the target initial value.

[0040] Optionally, the third determining unit is specifically configured to:

[0041] A first multiple of the initial value is randomly selected as the target initial value, and the relational equation is iterated by using the target initial value, wherein the first multiple is 0 to 10 times.

[0042] Optionally, when the number of iterations reaches a target number, the third determining unit is specifically configured to:

[0043] select a minimum initial value from a plurality of initial values corresponding to a plurality of iteration processes;

[0044] determine the minimum initial value multiplied by a second multiple as a target initial value, and use the target initial value to iterate the relationship equation, the second multiple being less than 1;

[0045] or,

[0046] select a maximum initial value from a plurality of initial values corresponding to a plurality of iteration processes;

[0047] determine the maximum initial value multiplied by a third multiple as a target initial value, and use the target initial value to iterate the relationship equation, the third multiple being greater than 1;

[0048] or,

[0049] select a maximum initial value and a minimum initial value from a plurality of initial values corresponding to a plurality of iteration processes;

[0050] determine a target initial value from an interval from the maximum initial value to the minimum initial value using a bisection method, and use the target initial value to iterate the relationship equation.

[0051] Optionally, the third determining unit is specifically configured to:

[0052] verify a target initial value corresponding to a case where the loss function reaches a minimum value or the number of iterations reaches an iteration number threshold according to a preset verification rule;

[0053] determine the target initial value as a steady-state parameter when the verification rule is satisfied.

[0054] Optionally, the apparatus further comprises:

[0055] a presentation unit configured to present a parameter configuration interface, the parameter configuration interface comprising a scene selection option, an iteration variable information bar, and a dependent variable information bar;

[0056] the first determining unit is specifically configured to:

[0057] determine a target scene according to a selection operation of the user on the scene selection option, and determine iteration variable information and dependent variable information under the target scene according to information input by the user in the iteration variable information bar and the dependent variable information bar.

[0058] Optionally, the apparatus further comprises:

[0059] a display unit configured to display the determined steady-state parameter and the number of iterations for determining the steady-state parameter.

[0060] A fourth determining unit is configured to generate a code file for the process of determining the steady-state parameter and store the code file.

[0061] In a third aspect, an apparatus is provided. The apparatus includes a memory and a processor. The memory is configured to store instructions or code. The processor is configured to execute the instructions or code to cause the apparatus to perform the method of any of the preceding first aspect.

[0062] In a fourth aspect, a computer storage medium is provided. The computer storage medium stores code. When the code is executed, an apparatus executing the code performs the method of any of the preceding first aspect.

[0063] Compared with the prior art, the present application has the following beneficial effects:

[0064] In the present application, the iteration variable information and the dependent variable information in the target scene configured by the user are determined, wherein the iteration variable information at least includes the name of the iteration variable and the initial value of the iteration variable, and the dependent variable information at least includes the name of the dependent variable and the target value of the dependent variable. The relationship equation of the target scene is constructed according to the iteration variable information and the dependent variable information. If the loss function of the relationship equation reaches a minimum value, the current initial value of the iteration variable in the relationship equation is determined as the steady-state parameter. If the loss function of the relationship equation does not reach the minimum value, the target initial value is determined according to a preset initial value selection rule. The relationship equation is iterated by using the target initial value until the loss function reaches the minimum value or the iteration number reaches an iteration number threshold, and the corresponding target initial value is determined as the steady-state parameter. That is, if the loss function of the relationship equation does not reach the minimum value, the target initial value is reselected for iteration until the loss function reaches the minimum value or the iteration number reaches the iteration number threshold. In this way, the steady-state parameter can be automatically determined, thereby solving the steady-state problem in the system. BRIEF DESCRIPTION OF DRAWINGS

[0065] To make the technical solutions in the embodiments or the prior art clearer, the following will briefly introduce the drawings needed in the embodiments or the prior art description. Obviously, the drawings in the following description only show some embodiments of the present application, and for those skilled in the art, other drawings can be obtained from these drawings without any creative effort.

[0066] Figure 1 A steady-state parameter determination method flowchart provided by the embodiments of the present application;

[0067] Figure 2 A parameter configuration interface schematic diagram provided by the embodiments of the present application;

[0068] Figure 3 A schematic diagram of a display interface provided by an embodiment of the present application is shown in FIG. 1.

[0069] Figure 4 A schematic diagram of a file storage interface provided by an embodiment of the present application is shown in FIG. 2.

[0070] Figure 5 A structural schematic diagram of a specific embodiment of a steady-state parameter determination apparatus provided by an embodiment of the present application is shown in FIG. 3. DETAILED DESCRIPTION

[0071] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0072] It should be noted that the steady-state parameter determination method and apparatus provided by the present application are used in the field of data processing technology. The above are only examples, and do not limit the application field of the method and apparatus provided by the present application.

[0073] Steady-state balancing is commonly used to describe the state in which various forces or variables in some systems, especially dynamic systems, no longer change significantly over time. This concept has different applications in many fields, including physics, engineering, economics, etc.

[0074] The stable equilibrium state represents the stable behavior of the system over a long period of time, which is crucial for stability performance and evaluation. If the system has stability problems, simulation will not find a solution, so the steady-state problem should be solved first to ensure that the system can operate normally under various working conditions.

[0075] In view of this, this application provides a method for determining steady-state parameters, including: determining iterative variable information and dependent variable information under a user-configured target scenario, wherein the iterative variable information includes at least: the name and initial value of the iterative variable, and the dependent variable information includes at least: the name and target value of the dependent variable; constructing a relational equation for the target scenario based on the iterative variable information and the dependent variable information; if the loss function of the relational equation reaches its minimum value, determining the current initial value of the iterative variable in the relational equation as a steady-state parameter; if the loss function of the relational equation does not reach its minimum value, determining a target initial value according to a preset initial value selection rule; iterating the relational equation using the target initial value until the loss function reaches its minimum value or the number of iterations reaches an iteration threshold, and then determining the corresponding target initial value as a steady-state parameter. In other words, if the loss function of the relational equation does not reach its minimum value, a new target initial value is selected for iteration until the loss function reaches its minimum value or the number of iterations reaches an iteration threshold, thus automatically determining the steady-state parameter and solving the steady-state problem in the system.

[0076] The method provided in this application embodiment can be executed by software on a computing device. The computing device may be, for example, a server, mobile phone, tablet computer, or computer. The software may be, for example, system software.

[0077] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. The following description uses the method provided in the embodiments of the present application, executed by a computing device, as an example.

[0078] Figure 1 This is a flowchart illustrating a method for determining steady-state parameters provided in an embodiment of this application. Figure 1 As shown, the method includes:

[0079] S101: Determine the iterative variable information and dependent variable information under the target scenario configured by the user.

[0080] The computing device determines the iterative variable information and dependent variable information under the target scenario configured by the user. The iterative variable information includes at least the name of the iterative variable and the initial value of the iterative variable. The dependent variable information includes at least the name of the dependent variable and the target value of the dependent variable.

[0081] For example, a computing device can present a parameter configuration interface, such as Figure 2 As shown, the parameter configuration interface may include a scenario selection option 201, an iteration variable information bar 202, and a dependent variable information bar 203. The scenario selection option 201 may include circuit scenario options and vehicle driving scenario options, etc.

[0082] For example, inFigure 2 For example, in the iterative variable information field 202, one can input the name of the iterative variable, its initial value, the maximum value of its range, and the minimum value of its range. Similarly, in the dependent variable information field 203, one can input the name of the dependent variable and its target value.

[0083] Specifically, the computing device can determine the target scene based on the user's selection of scene selection option 201.

[0084] The iterative variable information and dependent variable information for the target scenario are determined based on the information entered by the user in the iterative variable information field 202 and the dependent variable information field 203. For example, if the target scenario is determined to be a car driving scenario, the information entered by the user in the iterative variable information field is that the iterative variable is traction force F, with an initial value of 1000N, and the information entered in the dependent variable information field is that the dependent variable is acceleration a, with an initial value of 0.

[0085] The computing device can call the getTrimValue() function to determine the value of the dependent variable acceleration a, and create the SetInitValue() function to determine the initial value of the iterative variable traction force F.

[0086] S102: Construct the relational equation of the target scenario based on the iterative variable information and the dependent variable information.

[0087] The computing device can construct the relational equations of the target scenario based on the iterative variable information and the dependent variable information.

[0088] For example, if the independent variable is the car's speed of 30 m / s, the friction force can be determined using a formula based on the car's speed, as follows:

[0089] ;

[0090] Among them, F d It is friction. is the air resistance coefficient, which is related to various factors such as the shape and surface smoothness of the car. Here, a value of 0.15 is used as an example. A is the frontal area of ​​the car, which is related to the car model and size, and generally ranges from 1.5 to 2.5. The unit is square meters. Here, a value of 2 is used as an example. is the air density, which varies at different temperatures and altitudes. At standard conditions (sea level, 20°C), air density is approximately 1.225 kg / m³. Exemplarily, the air density is taken as 1 here. V is the vehicle speed. Then Fd = 0.5*1*2*0.15*V is determined, and the acceleration of the car is required to be 0 (the car travels at a constant speed) in the trim setting; we need to solve the traction force F; we construct the equation according to the relationship between the dependent variable and the iterative variable as follows, create a function interface getTrimValue() to obtain the value of the acceleration a, and create a SetInitValue() interface to assign an initial value to F. The specific relationship equation can be as follows:

[0091] ;

[0092] S103: If the loss function of the relationship equation reaches a minimum value, the current initial value of the iterative variable in the relationship equation is determined as the steady-state parameter.

[0093] If the loss function (here, the residual value) of the relationship equation reaches a minimum value, the current initial value of the iterative variable in the relationship equation is determined as the steady-state parameter.

[0094] S104: If the loss function of the relationship equation does not reach a minimum value, the target initial value is determined according to the preset initial value selection rule, and the relationship equation is iterated using the target initial value until the loss function reaches a minimum value or the number of iterations reaches an iteration threshold, and the corresponding target initial value is determined as the steady-state parameter.

[0095] Exemplarily, if the loss function of the relationship equation does not reach a minimum value, the computing device can use the Levenberg-Marquardt method to determine the target initial value according to the preset initial value selection rule, and iterate the relationship equation using the target initial value until the loss function reaches a minimum value or the number of iterations reaches an iteration threshold, and the corresponding target initial value is determined as the steady-state parameter, wherein the iteration threshold can be set by a person skilled in the art according to requirements, for example, set to 10 times, which is not limited herein.

[0096] In some possible implementation manners, the iterative variable information further includes a value range of the iterative variable, and the computing device can determine the target initial value from the value range of the iterative variable by using a normal distribution random number, that is, a random number between x min and x max , that is, multiply the range by a random number between 0 and 1, and then add x min , to obtain a random number between x min and x maxa random number between 0 and 1) and iterates the relationship equation with the target initial value.

[0097] The specific formula is as follows:

[0098] ;

[0099] wherein, x min is the minimum value of the value interval of the iteration variable, and x max is the maximum value of the value interval of the iteration variable. The rand() function represents the output value of a random number generator, and Rand_MAX is a constant representing the maximum value that the rand() function can return.

[0100] In some possible implementation manners, the computing device can randomly select a first multiple of the initial value as the target initial value and iterate the relationship equation with the target initial value, and the first multiple can be 0 to 10 times.

[0101] The specific formula can be as follows:

[0102] ;

[0103] wherein, -inf represents infinitesimal, inf represents infinity, x min = -inf x max = inf indicates that the user does not specify the interval range. rand() / Rand_Max represents generating a random number between 0 and 1, and (rand() / Rand_Max)*10 represents generating a random number between 0 and 10.

[0104] In some possible implementation manners, when the number of iterations reaches a target number (which can be set according to actual requirements, for example, 10 times, which is not limited herein), that is, the number of iterations in the above two manners reaches the target number, and the steady-state parameter is still not determined, the change trend of the initial value and the loss function in each iteration process can be determined.

[0105] If it is determined that the initial value decreases and the loss function decreases, the minimum initial value in the multiple initial values corresponding to the multiple iteration processes can be selected, the minimum initial value multiplied by a second multiple is determined as the target initial value, and the relationship equation is iterated with the target initial value, wherein the second multiple is less than 1, for example, can be 0.1, which is not limited herein.

[0106] If it is determined that the initial value decreases and the loss function increases, the maximum initial value in the multiple initial values corresponding to the multiple iteration processes can be selected, the maximum initial value multiplied by a third multiple is determined as the target initial value, and the relationship equation is iterated with the target initial value, wherein the third multiple is greater than 1, for example, can be 10, which is not limited herein.

[0107] In addition to the initial value decreases, loss function decreases, and initial value decreases, loss function increases, the computing device can select the maximum initial value and the minimum initial value from the corresponding multiple initial values in the multiple iteration processes, determine the target initial value from the interval of the maximum initial value and the minimum initial value by using the bisection method, and use the target initial value to iterate the relationship equation.

[0108] In some possible implementations, according to the preset initial value selection rule, the target initial value is determined, the relationship equation is iterated by using the target initial value, and if the loss function reaches the minimum value or the number of iterations reaches the iteration number threshold, the corresponding target initial value can be verified according to the preset verification rule.

[0109] For example, it can be verified whether the corresponding target initial value is within the value interval of the iteration variable set by the user. It needs to be noted that whether the target initial value makes the difference between the value of the dependent variable and the target value within the preset range needs to be verified. It needs to be noted that the preset range can be set according to actual needs, and is not limited herein.

[0110] It is verified whether the computing device continues to transform the initial value and attempts to determine the steady-state parameter again according to the initial value configured by the user for the first time and the steady-state parameter is not determined.

[0111] If the loss function reaches the minimum value when the relationship equation is iterated by using the target initial value, it can be verified whether the number of iterations reaches the iteration number threshold.

[0112] If it is determined that the corresponding target initial value is within the value interval of the iteration variable set by the user, the target initial value makes the difference between the value of the dependent variable and the target value within the preset range, the initial value configured by the user for the first time is not used to determine the steady-state parameter, the initial value is continued to be transformed, the steady-state parameter is attempted to be determined again, and when the relationship equation is iterated by using the target initial value, the loss function reaches the minimum value, and it is determined that the number of iterations does not reach the iteration number threshold, it can be determined that the verification rule is met, and the corresponding target initial value is the steady-state parameter.

[0113] If any of them does not meet the requirement, the iteration can be continued according to the iteration mode in step S104 until the verification condition is met, and the corresponding target initial value is determined to be the steady-state parameter.

[0114] The application can determine the iteration variable information and the dependent variable information in the target scene configured by the user, wherein the iteration variable information at least includes the name of the iteration variable and the initial value of the iteration variable, and the dependent variable information at least includes the name of the dependent variable and the target value of the dependent variable, a relationship equation of the target scene is constructed according to the iteration variable information and the dependent variable information, if the loss function of the relationship equation reaches a minimum value, the current initial value of the iteration variable in the relationship equation is determined as the steady-state parameter, if the loss function of the relationship equation does not reach the minimum value, a target initial value is determined according to a preset initial value selection rule, and the relationship equation is iterated by using the target initial value, until the loss function reaches the minimum value or the iteration times reach an iteration times threshold, the corresponding target initial value is determined as the steady-state parameter. That is, if the loss function of the relationship equation does not reach the minimum value, the target initial value is reselected for iteration until the loss function reaches the minimum value or the iteration times reach the iteration times threshold, so that the steady-state parameter can be automatically determined, thereby solving the steady-state problem in the system.

[0115] The above embodiment can be referred to as embodiment one, and another embodiment is provided based on embodiment one, which can be referred to as embodiment two. Embodiment two can further show the determined steady-state parameter and the iteration times for determining the steady-state parameter, for example Figure 3 as shown, Figure 3 the determined steady-state parameter, that is, the initial value of the last iteration variable, is 135, and the iteration times are 7. This is for the relevant personnel to view.

[0116] In some possible implementation manners, as Figure 4 shown, the process of determining the steady-state parameter can also be used to generate a code file and be stored, thereby increasing the code readability and facilitating the relevant personnel to understand the entire process of determining the steady-state parameter.

[0117] The above is some specific implementation manners of the steady-state parameter determination method provided by the embodiments of the application. Based on this, the application further provides a corresponding device. The device provided by the embodiments of the application will be introduced from the perspective of functional modularization. The device and the steady-state parameter determination method described above can be mutually corresponding and referred to.

[0118] Figure 5 The structural block diagram provided for the embodiments of the application is referred to as specific embodiment three, and is described with reference to Figure 5 The device can include:

[0119] A first determination unit is configured to determine iteration variable information and dependent variable information in a target scene configured by a user, wherein the iteration variable information at least includes the name of the iteration variable and the initial value of the iteration variable, and the dependent variable information at least includes the name of the dependent variable and the target value of the dependent variable.

[0120] a constructing unit, configured to construct a relationship equation of a target scene according to the iteration variable information and the dependent variable information;

[0121] a second determining unit, configured to determine, if a loss function of the relationship equation reaches a minimum value, a current initial value of the iteration variable in the relationship equation as a steady-state parameter;

[0122] a third determining unit, configured to determine, if the loss function of the relationship equation does not reach the minimum value, a target initial value according to a preset initial value selection rule, and to perform iteration on the relationship equation by using the target initial value until the loss function reaches the minimum value or a number of iterations reaches an iteration threshold, and to determine a corresponding target initial value as the steady-state parameter.

[0123] Optionally, the iteration variable information further includes a value range of the iteration variable, and the third determining unit is specifically configured to:

[0124] determine the target initial value from the value range of the iteration variable by using a normal distribution random number and perform iteration on the relationship equation by using the target initial value.

[0125] Optionally, the third determining unit is specifically configured to:

[0126] randomly select a first multiple of the initial value as the target initial value and perform iteration on the relationship equation by using the target initial value, where the first multiple is 0 to 10 times.

[0127] Optionally, when the number of iterations reaches a target number, the third determining unit is specifically configured to:

[0128] select a minimum initial value from a plurality of initial values corresponding to a plurality of iteration processes;

[0129] determine the minimum initial value multiplied by a second multiple as the target initial value and perform iteration on the relationship equation by using the target initial value, where the second multiple is less than 1.

[0130] or,

[0131] select a maximum initial value from the plurality of initial values corresponding to the plurality of iteration processes;

[0132] determine the maximum initial value multiplied by a third multiple as the target initial value and perform iteration on the relationship equation by using the target initial value, where the third multiple is greater than 1.

[0133] or,

[0134] select the maximum initial value and the minimum initial value from the plurality of initial values corresponding to the plurality of iteration processes;

[0135] The target initial value is determined from the interval of the maximum initial value to the minimum initial value by using dichotomy, and the relationship equation is iterated by using the target initial value.

[0136] Optionally, the third determining unit is specifically configured to:

[0137] According to the preset verification rule, the target initial value corresponding to the case that the loss function reaches the minimum value or the iteration number reaches the iteration number threshold is verified.

[0138] When the verification rule is satisfied, the corresponding target initial value is determined as the steady-state parameter.

[0139] Optionally, the apparatus further comprises:

[0140] The presentation unit is configured to present a parameter configuration interface, the parameter configuration interface comprising a scene selection option, an iteration variable information bar, and a dependent variable information bar.

[0141] The first determining unit is specifically configured to:

[0142] The target scene is determined according to the selection operation of the user on the scene selection option, and the iteration variable information and the dependent variable information under the target scene are determined according to the information input by the user in the iteration variable information bar and the dependent variable information bar.

[0143] Optionally, the apparatus further comprises:

[0144] The presentation unit is configured to present a parameter configuration interface, the parameter configuration interface comprising a scene selection option, an iteration variable information bar, and a dependent variable information bar.

[0145] The fourth determining unit is configured to generate a code file for the process of determining the steady-state parameter and store the code file.

[0146] The embodiments of the present application further provide corresponding devices and computer storage media for implementing the schemes provided by the embodiments of the present application.

[0147] The device comprises a memory and a processor, the memory is configured to store instructions or codes, and the processor is configured to execute the instructions or codes to enable the device to execute the method described in any of the embodiments of the present application.

[0148] The computer storage medium stores codes, and when the codes are executed, the device executing the codes implements the method described in any of the embodiments of the present application.

[0149] The names “first” and “second” mentioned in the embodiments of the present application are only used for name identification, and do not represent the first and second in order.

[0150] Those skilled in the art can clearly understand the whole or part of the steps in the above-mentioned embodiment methods by means of software and a general hardware platform based on the description of the above embodiments. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the method described in each embodiment or some parts of the embodiments of the present application.

[0151] Each of the embodiments in the specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the difference from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, they are described more simply, and the relevant parts can be referred to the part of the description of the method embodiments. According to the actual needs, some or all of the modules can be selected to achieve the purpose of the embodiment. Those skilled in the art can understand and implement without creative labor.

[0152] The above-mentioned is only an exemplary embodiment of the present application, and is not intended to limit the protection scope of the present application.

Claims

1. A method of determining a steady state parameter, characterized by, The method comprises: determining iteration variable information and dependent variable information in a target scene configured by a user, the target scene comprising a vehicle driving scene, when the target scene is the vehicle driving scene, the iteration variable information at least comprising traction and an initial value of the traction, and the dependent variable information at least comprising acceleration and a target value of the acceleration; constructing a relational equation of the target scene according to the iteration variable information and the dependent variable information; if a loss function of the relational equation reaches a minimum value, determining that a current initial value of an iteration variable in the relational equation is a steady-state parameter; if the loss function of the relational equation does not reach the minimum value, determining a target initial value of the iteration variable according to a preset initial value selection rule, and iteratively processing the relational equation by using the target initial value until the loss function reaches the minimum value or an iteration number reaches an iteration number threshold, and determining that the corresponding target initial value is the steady-state parameter; when the iteration number reaches a target number, the method of determining the target initial value of the iteration variable according to the preset initial value selection rule and iteratively processing the relational equation by using the target initial value comprises: selecting a minimum initial value in a plurality of initial values corresponding to a plurality of iteration processes; determining a second multiple of the minimum initial value as the target initial value and iteratively processing the relational equation by using the target initial value, the second multiple being less than 1; or, selecting a maximum initial value in the plurality of initial values corresponding to the plurality of iteration processes; determining a third multiple of the maximum initial value as the target initial value and iteratively processing the relational equation by using the target initial value, the third multiple being greater than 1; or, selecting the maximum initial value and the minimum initial value in the plurality of initial values corresponding to the plurality of iteration processes; determining the target initial value from an interval of the maximum initial value to the minimum initial value by using a bisection method and iteratively processing the relational equation by using the target initial value.

2. The method of claim 1, wherein, The iteration variable information further comprises a value interval of the iteration variable, and the method of determining the target initial value according to the preset initial value selection rule and iteratively processing the relational equation by using the target initial value comprises: determining the target initial value from the value interval of the iteration variable by using a normal distribution random number and iteratively processing the relational equation by using the target initial value.

3. The method of claim 1, wherein, The method of determining the target initial value according to the preset initial value selection rule and iteratively processing the relational equation by using the target initial value comprises: randomly selecting a first multiple of the initial value to determine the target initial value and iteratively processing the relational equation by using the target initial value, the first multiple being 0 to 10 times.

4. The method of claim 1, wherein, The method of determining that the corresponding target initial value is the steady-state parameter comprises: verifying the corresponding target initial value according to a preset verification rule when the loss function reaches the minimum value or the iteration number reaches the iteration number threshold; determining that the corresponding target initial value is the steady-state parameter when the verification rule is satisfied.

5. The method of claim 1, wherein, The method further comprises: presenting a parameter configuration interface, the parameter configuration interface comprising a scene selection option, an iteration variable information bar, and a dependent variable information bar; the method of determining the iteration variable information and the dependent variable information in the target scene configured by the user comprises: The target scene is determined according to the selection operation of the user on the scene selection option, and the iteration variable information and the dependent variable information under the target scene are determined according to the information input by the user in the iteration variable information bar and the dependent variable information bar.

6. The method of claim 1, wherein, The method further comprises: displaying the determined steady-state parameter and the iteration number of determining the steady-state parameter; generating a code file of the process of determining the steady-state parameter and storing the code file.

7. A device for determining a steady state parameter, characterized by comprise: a first determination unit configured to determine iteration variable information and dependent variable information under a target scene configured by a user, the target scene comprising a vehicle driving scene, and when the target scene is the vehicle driving scene, the iteration variable information at least comprises traction and an initial value of the traction, and the dependent variable information at least comprises acceleration and a target value of the acceleration; a construction unit configured to construct a relational equation of the target scene according to the iteration variable information and the dependent variable information; a second determination unit configured to, if a loss function of the relational equation reaches a minimum value, determine a current initial value of an iteration variable in the relational equation as a steady-state parameter; a third determination unit configured to, if the loss function of the relational equation does not reach the minimum value, determine a target initial value of the iteration variable according to a preset initial value selection rule, and perform iteration on the relational equation by using the target initial value, until the loss function reaches the minimum value or an iteration number reaches an iteration number threshold, and then determine that the corresponding target initial value is the steady-state parameter; when the iteration number reaches a target number, the third determination unit is configured to determine the target initial value of the iteration variable according to the preset initial value selection rule, and perform iteration on the relational equation by using the target initial value, comprising: selecting a minimum initial value in a plurality of initial values corresponding to a plurality of iteration processes; determining a second multiple of the minimum initial value as the target initial value and performing iteration on the relational equation by using the target initial value, the second multiple being less than 1; or, selecting a maximum initial value in the plurality of initial values corresponding to the plurality of iteration processes; determining a third multiple of the maximum initial value as the target initial value and performing iteration on the relational equation by using the target initial value, the third multiple being greater than 1; or, selecting the maximum initial value and the minimum initial value in the plurality of initial values corresponding to the plurality of iteration processes; determining the target initial value from an interval from the maximum initial value to the minimum initial value by using a bisection method and performing iteration on the relational equation by using the target initial value.

8. The apparatus of claim 7, wherein, The iteration variable information further comprises a value interval of the iteration variable, and the third determination unit is specifically configured to: determine the target initial value from the value interval of the iteration variable by using a normal distribution random number and perform iteration on the relational equation by using the target initial value.

9. The apparatus of claim 7, wherein, The third determination unit is specifically configured to: randomly select a first multiple of the initial value to determine the target initial value and perform iteration on the relational equation by using the target initial value, the first multiple being 0 to 10 times.