I have a vector of "barycenter" with size "5":
parameter Length barycenters[5] = {1, 2, 3, 4, 5};
and I would like to add the arguments of this vector inside another vector (b_prime) with size "7", meaning that intend to have b_prime = {0, 1, 2, 3, 4, 5, 10}. How is it possible to write a code line in Modelica to do so? I have tried the followings but I received errors:
parameter Length b_prime[7] = {0, barycenters[1:5], 10};
or
parameter Length b_prime[7] = {0, barycenters, 10};
I would appreciate your help.