There are two types of possible inputs to a reduced-order model: fundamental parameters like the time (t) in a transient model and the frequency (
freq) in a frequency-domain model and general parameter names that can be used to modify expressions and equations. Model reduction methods differ as to which fundamental parameters they can handle, as well as if and how they allow general parameters to be used.
Reduced-order model inputs are special variables that have these desired properties: they are defined by an expression during normal computations, where they can be used exactly like any other user-defined variable. But they are internally redefined as degrees of freedom when necessary for training a Reduced-Order Model. The Model Reduction study step (see
Model Reduction) allows only such predefined reduced-order model inputs as inputs to the training process.
For example, consider an input parameter f representing a time-varying force on a model. In the full, unreduced model, it is defined as some function of time
f(t) that will be used if you compute a time-dependent study. This is good practice as a way to check correctness of the unreduced model. When you add a Model Reduction study to the full model in order to train a reduced-order model, it will have to linearize the behavior around some nominal value
f0. To do that, the Model Reduction study step will temporarily turn
f in to a degree of freedom, with respect to which it can compute sensitivities. And it will initialize that degree of freedom to
f0.
In the reduced-order model feature created by the Model Reduction study step, you can specify the expression for input values to be used when calling (as opposed to training) the reduced-order model. This can be any expression, say g(t), that can be evaluated in the calling model, but it is by default set to equal the original input name in the unreduced model. When the calling model is the same as the unreduced model, which is a common situation, this means that the force input to the reduced-order model in this example evaluates to
f(t), like in the unreduced model.
Concretely, you can specify the input values used when calling a reduced-order model in three ways. For an input f used by a reduced-order model
rom1, the value of
f used when calling
rom1 is given by the variable
rom1.f. By default,
rom1.f is defined to be equal to the variable
rom1.input.f, which in turn is defined in the
Model Control Inputs section in the reduced-order model feature (the label displayed in this section will be
rom1.f, although the variable being defined is actually
rom1.input.f). By default,
rom1.input.f is defined to be equal to
f. To modify the value of the input
rom1.f used when calling the reduced-order model
rom1, use one of the following options: