主权项 |
1. One or more non-transitory computer-readable storage media storing executable instructions that when executed on processing logic, cause the processing logic to:
receive a user-specified design criteria specifying objectives or constraints for graphical models; receive a user input indicating a relative importance of the received user-specified design criteria; identify a block in a first graphical model, where:
the block has a first representation in the first graphical model and a second representation in a second graphical model,the second graphical model is related to the first graphical model,the block includes a first function when the block is in the first graphical model, where the first function produces a first result when the first graphical model is executed, andthe block includes a second function when the block is in the second graphical model, where the second function produces a second result when the second graphical model is executed; create one or more objective functions using the user-specified design criteria, where:
the objective functions represent a desired performance for the first graphical model and the second graphical model when the first and second graphical models are executed, respectively,the objective functions are maximized or minimized subject to the constraints, andthe objective functions define a measurement space for the block when the block is executed in the first graphical model and the second graphical model; execute the first graphical model to produce a first result; execute the second graphical model to produce a second result; compare the first result to the second result; identify a discrepancy between the first result and the second result; and graphically represent the first result, the second result, and information regarding the discrepancy, where:
the graphically representing is performed using a display device, andthe graphically representing indicates whether the first function or the second function satisfied the user-specified design criteria. |