主要内容

How the Model Tree Relates to Command-Line Objects

The tree in the Model Browser displays the hierarchical structure of models. This structure must be understood to use the command-line interface. The following examples illustrate the relationship between projects, test plans and responses in one-stage and two-stage models.

The following is an example of a two-stage model tree.

Two-stage model tree.

The elements of the tree correspond to the following objects in the command-line interface:

  1. Project — mbcmodel.project

  2. Test Plan — mbcmodel.testplan

  3. Hierarchical Response — mbcmodel.hierarchicalresponse

  4. Local Response — mbcmodel.localresponse

  5. Responses — mbcmodel.response

The following example illustrates a project containing a one-stage test plan; in the command-line interface this corresponds to a project, one-stage test plan, and a response model.

Project, one-stage test plan, and a response model tree.

Hierarchical responses can have multiple local responses, as shown in the following example from the Model Browser. In the command-line interface these are accessible via the hierarchical response object property (mbcmodel.hierarchicalresponse). In this example, the local responses are PS22, PS32, and POLY2.

Only one of these local responses can be chosen as best (in this example, PS22, indicated by the blue icon) and used to construct the hierarchical response, together with the associated response features of the local response.

Test plan, hierarchical response, and local response model tree.

Responses can have zero or more alternative responses, as shown in the following model tree. You call the method CreateAlternativeModels on the command line to do the same.

Project, test plan, hierarchical response, and local response model tree.

You can create alternative responses for any response (including all one-stage responses).

You can use model templates to try alternative model types for several responses. The following example shows the results of using a model template for four alternative responses (Linear-RBF, RBF-multiquadric, Cubic, and Quadratic). The model template has been used to create alternative responses for the responses knot and max. You can call the method CreateAlternativeModels to do this in the command-line interface.

Local response and response model tree.

One of the alternative responses must be chosen as best for each response (call the method ChooseAsBest). In this example, when Linear-RBF is chosen as best from the alternatives for the knot response, then it is copied to knot.

See Also