Model device
PARAMETERS
outer N as Integer;
outer A(N) as Real;
outer B(N) as Real;
M as Integer;
C(M) as Real;
D(M) as Real;
SET
M = 2;
C = [1,2];
D = [2,4];
VARIABLES
X as Real;
Y as Real;
EQUATIONS
X = sum(A*B);
Y = sum(C*D);
end
FlowSheet sample
PARAMETERS
N as Integer;
A(N) as Real;
B(N) as Real;
DEVICES
D as device;
SET
N = 2;
A = [1,2];
B = [2,4];
OPTIONS
Dynamic = false;
end