Abstract:
Systems and methods provide, as part of an executable graphical model, a region for providing variants that includes one or more computational choices defining alternative execution implementations of the region. Conditions assigned to the one or more computational choices indicate which of the computational choices is active. The conditions specify logical expressions of variables that evaluate to True or False. For a given simulation of the executable graphical model, all of the logical expressions may evaluate to False, such that none of the computational choices are active. All of the computational choices of the executable graphical model may be removed for the given simulation.
Abstract:
Systems and methods provide, as part of an executable graphical model, a region for providing variants that includes one or more computational choices defining alternative execution implementations of the region. Conditions assigned to the one or more computational choices indicate which of the computational choices is active. The conditions specify logical expressions of variables that evaluate to True or False. Two or more of the logical subexpressions may be combined to form a combination logical expression, which may be assigned to two or more model elements included in at least one of the computational choices. The combination logical expression may be decomposed into its logical subexpressions, and at least one of the decomposed logical subexpressions may be traced to one or more of the model elements to which the at least one of the logical subexpressions is assigned.
Abstract:
Disclosed herein are tools and methods for selecting and scheduling executable test program the use in testing, evaluating, monitoring, and analyzing an executable test program or any portion thereof. The tools and methods disclosed can analyze an executable test program developed in a text based programming language environment and an executable test program developed in a graphical modeling based programming environment. The tools and methods identify and analyze the quantitative measures of an executable test program and compute one or more scores for the executable test program. The tools and methods can use the scores computed to rank and order the executable test programs for execution to test an executable program or any portion thereof.
Abstract:
A method and system automatically generates a display of symbolic equations from a graphical model (or vice versa) which is readable, parametric, and interactive.
Abstract:
Systems and methods automatically construct a realization of a model from an available set of alternative co-simulation components, where the realization meets one or more objectives, such as fidelity, execution speed, or memory usage, among others. The systems and methods may construct the realization model by setting up and solving a constrained optimization problem, which may select particular ones of the alternative co-simulation components to meet the objectives. The systems and methods may configure the realization, and execute the realized model through co-simulation. The systems and methods may employ and manage different execution engines and/or different solvers to run the realization of the model.
Abstract:
Systems and methods automatically construct a realization of a model from an available set of alternative co-simulation components, where the realization meets one or more objectives, such as fidelity, execution speed, or memory usage, among others. The systems and methods may construct the realization model by setting up and solving a constrained optimization problem, which may select particular ones of the alternative co-simulation components to meet the objectives. The systems and methods may configure the realization, and execute the realized model through co-simulation. The systems and methods may employ and manage different execution engines and/or different solvers to run the realization of the model.
Abstract:
Systems and methods provide, as part of an executable graphical model, a region for providing variants that includes one or more computational choices defining alternative execution implementations of the region. Conditions assigned to the one or more computational choices indicate which of the computational choices is active. The conditions specify logical expressions of variables that evaluate to True or False. For a given simulation of the executable graphical model, all of the logical expressions may evaluate to False, such that none of the computational choices are active. All of the computational choices of the executable graphical model may be removed for the given simulation.
Abstract:
A device may receive a model that includes multiple blocks. The model may include first variables that contribute to a first calculation and second variables that contribute to a second calculation. The device may determine first dependencies associated with the first variables and may determine second dependencies associated with the second variables. The device may generate a first execution function based on determining the first dependencies. The first execution function may identify first blocks that are to be executed to perform the first calculation. The device may generate a second execution function based on determining the second dependencies. The second execution function may identify second blocks that are to be executed to perform the second calculation. The device may cause the first blocks and the second blocks to be executed in a different manner based on the first execution function and the second execution function.
Abstract:
A device receives information that identifies a parameter associated with a masked block that represents elements of a block diagram model that, when executed, simulates a behavior of a system. The masked block is associated with a first user interface that allows a value of the parameter to be specified for the masked block. The device receives an indication that the parameter is to be associated with a derived block that represents the elements of the block diagram model. The derived block inherits one or more properties from the masked block. The device creates the derived block, and associates the derived block with the parameter and a second user interface that allows a value of the parameter to be specified for the derived block. The device outputs or stores information that identifies the parameter, the derived block, and the association between the parameter and the derived block.
Abstract:
A device receives variants associated with a model generated in a graphical modeling environment, and determines a hierarchy of the variants based on a hierarchy of the model. The device receives mode information for the variants, where the mode information includes a subset of a number of variant permutations. For each mode, the device receives control variables for the variants and optional constraints for the variants in the mode. The control variables define which variants are active, and the optional constraints ensure modeling correctness by enabling identification of conflicts between the variants. The device generates a variant manager tool based on the hierarchy of the variants, the mode information, the control variables, and the optional constraints, and outputs or stores variant information via the variant manager tool.