﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5163	Array stream variables are not expanded by the NF	Francesco Casella	Per Östlund	"Please check [https://libraries.openmodelica.org/branches/newInst/ThermoPower/files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.err ThermoPower.Test.GasComponents.TestGasValveOpPoint]. When flattening with the NF, the following equation is obtained
{{{
  Valve2.gas.Xi = array(Valve2.inlet.Xi_outflow[$i1] for $i1 in 1:4);
}}}
which may explain the failure of the back-end later on. The old FE flattens this to
{{{
  Valve1.inlet.Xi_outflow[1] = Valve2.inlet.Xi_outflow[1];
  Valve1.inlet.Xi_outflow[2] = Valve2.inlet.Xi_outflow[2];
  Valve1.inlet.Xi_outflow[3] = Valve2.inlet.Xi_outflow[3];
  Valve1.inlet.Xi_outflow[4] = Valve2.inlet.Xi_outflow[4];
}}}"	defect	closed	high	2.0.0	New Instantiation		fixed		
