modelvariableFactor

Extends from TRANSFORM.Icons.Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
Realvariable_1{0.3, 0.3, 0.4}
Realfixed_1{0.2, 0.2, 0.2, 0.2, 0.2}
Realf_1ans[1, 0.5, 0, 0, 0; 0, 0.5, 1, 0, 0; 0, 0, 0, 1, 1]
Realvariable_2{0.15, 0.25, 0.15, 0.25, 0.2}
Realfixed_2{0.2, 0.2, 0.2, 0.2, 0.2}
Realf_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]
Realvariable_3{0.1, 0.05, 0.2, 0.2, 0.2, 0.2, 0.2, 0.05}
Realfixed_3{0.3, 0.3, 0.4}
Realf_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]
Realvariable_4{1.0}
Realfixed_4{0.3, 0.3, 0.4}
Realf_4ans[1, 1, 1]
Realvariable_5{0.3, 0.3, 0.4}
Realfixed_5{1.0}
Realf_5ans[1; 1; 1]
Realvariable_6{0, 0.3, 0.3, 0.4}
Realfixed_6{0.2, 0.2, 0.2, 0.2, 0.2}
Realf_6ans[0, 0, 0, 0, 0; 1, 0.5, 0, 0, 0; 0, 0.5, 1, 0, 0; 0, 0, 0, 1, 1]
Realf_1TRANSFORM.Math.variableFactor(variable_1, fixed_1)Factor matrix
Realf_2TRANSFORM.Math.variableFactor(variable_2, fixed_2)Factor matrix
Realf_3TRANSFORM.Math.variableFactor(variable_3, fixed_3)Factor matrix
Realf_4TRANSFORM.Math.variableFactor(variable_4, fixed_4)Factor matrix
Realf_5TRANSFORM.Math.variableFactor(variable_5, fixed_5)Factor matrix
Realf_6TRANSFORM.Math.variableFactor(variable_6, fixed_6)Factor matrix
Booleandf_1Modelica.Math.Matrices.isEqual(f_1, f_1ans, 10*Modelica.Constants.eps)=true then f = f_ans
Booleandf_2Modelica.Math.Matrices.isEqual(f_2, f_2ans, 10*Modelica.Constants.eps)=true then f = f_ans
Booleandf_3Modelica.Math.Matrices.isEqual(f_3, f_3ans, 10*Modelica.Constants.eps)=true then f = f_ans
Booleandf_4Modelica.Math.Matrices.isEqual(f_4, f_4ans, 10*Modelica.Constants.eps)=true then f = f_ans
Booleandf_5Modelica.Math.Matrices.isEqual(f_5, f_5ans, 10*Modelica.Constants.eps)=true then f = f_ans
Booleandf_6Modelica.Math.Matrices.isEqual(f_6, f_6ans, 10*Modelica.Constants.eps)=true then f = f_ans