﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4813	Structural parameters not substituted in connection equations	Francesco Casella	Per Östlund	"Consider the follwoing test case
{{{
model Test
  extends ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10(N = 1, M = 1);
end Test;
}}}
The NF reports one more equation than unknowns. A comparison with the equations flattened with the OF reveals that the NF contains extra equations involving {{{secondary[1,M].n}}}, which should not be there as this connector is actually {{{secondary[1,1].n}}}, which already appears in other equations.

Apparently, these extra equations come from the equations:
{{{
  for i in 1:N loop
    connect(activeLoad[i].p, secondary[i,M].n);
  end for;
}}}
which are contained in the {{{DistributionSystemModelicaActiveLoads}}} class, whereby M is not substituted with its value 1, thus generating the problem."	defect	new	high	2.0.0	New Instantiation				
