modelvariableFactor
Extends from TRANSFORM.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | variable_1 | {0.3, 0.3, 0.4} | |
| Real | fixed_1 | {0.2, 0.2, 0.2, 0.2, 0.2} | |
| Real | f_1ans | [1, 0.5, 0, 0, 0; 0, 0.5, 1, 0, 0; 0, 0, 0, 1, 1] | |
| Real | variable_2 | {0.15, 0.25, 0.15, 0.25, 0.2} | |
| Real | fixed_2 | {0.2, 0.2, 0.2, 0.2, 0.2} | |
| Real | f_2ans | [0.75, 0, 0, 0, 0; 0.25, 1, 0, 0, 0; 0, 0, 0.75, 0, 0; 0, 0, 0.25, 1, 0; 0, 0, 0, 0, 1] | |
| Real | variable_3 | {0.1, 0.05, 0.2, 0.2, 0.2, 0.2, 0.2, 0.05} | |
| Real | fixed_3 | {0.3, 0.3, 0.4} | |
| Real | f_3ans | [1, 0, 0; 1, 0, 0; 0.75, 0.25, 0; 0, 1, 0; 0, 0.25, 0.75; 0, 0, 1; 0, 0, 1; 0, 0, 1] | |
| Real | variable_4 | {1.0} | |
| Real | fixed_4 | {0.3, 0.3, 0.4} | |
| Real | f_4ans | [1, 1, 1] | |
| Real | variable_5 | {0.3, 0.3, 0.4} | |
| Real | fixed_5 | {1.0} | |
| Real | f_5ans | [1; 1; 1] | |
| Real | variable_6 | {0, 0.3, 0.3, 0.4} | |
| Real | fixed_6 | {0.2, 0.2, 0.2, 0.2, 0.2} | |
| Real | f_6ans | [0, 0, 0, 0, 0; 1, 0.5, 0, 0, 0; 0, 0.5, 1, 0, 0; 0, 0, 0, 1, 1] | |
| Real | f_1 | TRANSFORM.Math.variableFactor(variable_1, fixed_1) | Factor matrix |
| Real | f_2 | TRANSFORM.Math.variableFactor(variable_2, fixed_2) | Factor matrix |
| Real | f_3 | TRANSFORM.Math.variableFactor(variable_3, fixed_3) | Factor matrix |
| Real | f_4 | TRANSFORM.Math.variableFactor(variable_4, fixed_4) | Factor matrix |
| Real | f_5 | TRANSFORM.Math.variableFactor(variable_5, fixed_5) | Factor matrix |
| Real | f_6 | TRANSFORM.Math.variableFactor(variable_6, fixed_6) | Factor matrix |
| Boolean | df_1 | Modelica.Math.Matrices.isEqual(f_1, f_1ans, 10*Modelica.Constants.eps) | =true then f = f_ans |
| Boolean | df_2 | Modelica.Math.Matrices.isEqual(f_2, f_2ans, 10*Modelica.Constants.eps) | =true then f = f_ans |
| Boolean | df_3 | Modelica.Math.Matrices.isEqual(f_3, f_3ans, 10*Modelica.Constants.eps) | =true then f = f_ans |
| Boolean | df_4 | Modelica.Math.Matrices.isEqual(f_4, f_4ans, 10*Modelica.Constants.eps) | =true then f = f_ans |
| Boolean | df_5 | Modelica.Math.Matrices.isEqual(f_5, f_5ans, 10*Modelica.Constants.eps) | =true then f = f_ans |
| Boolean | df_6 | Modelica.Math.Matrices.isEqual(f_6, f_6ans, 10*Modelica.Constants.eps) | =true then f = f_ans |