I created an part with the AC library, and when I was trying to simulate the model, there is an error says "Current version of the modelica translator can only handle array of components with fixed size".
Not sure what is the meaning of it, and is there anyone has the same issue like this one?
Thank you
Consider the following simple model:
It has a parameter
n
which can be changed before simulation starts. And array dimensions need to be parameter expressions. So you would think that the following model would be legal:But it isn't since Modelica tools will expand the number of equations and variables to get a fixed number. (According to the language specification,
n
is a structural parameter; it is not well defined what restrictions these have - most Modelica tools seem to require them to behave like constants which means only fixed=true parameters with a binding equation that depends only on other structural parameters or constants).