This blocks divide input value u to output array y by weights. The sum of output values is equal to input value u:
u = (w[1]*y[1] + w[2]*y[2] + ... + w[n]*y[n]) / (w[1] + w[2] + ... + w[n]);
Example:
parameter: nin = 3; w=ones(3); results in the following equations:
y[1]=u/3, y[2]=u/3, y[3]=u/3;
Generated at 2024-12-03T19:25:34Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos