﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2921	Final parameters that depend on non-final parameters should not be replaced in the front-end or back-end	Adrian Pop	somebody	"Here is an example (from BoschRexroth):
{{{#!mo
model test
  parameter Real c = 2.0;
  final parameter Real a = 2.0*c;
  final parameter Real b = 23.0*c;
  Real y;
equation
y=a*b;
end test;
}}}
which after front-end leads to:
{{{#!mo
class test
  parameter Real c = 2.0;
  final parameter Real a = 2.0 * c;
  final parameter Real b = 23.0 * c;
  Real y;
equation
  y = a * b;
end test;
}}}
and after back-end optimizations leads to equation:
{{{
y=184.0
}}}

The idea would be to not replace final parameters depending on non-final parameters in the back-end so people can still change the non-final parameter and not have to recompile the model.
"	defect	closed	high	Future	Backend	trunk	fixed		Willi Braun Lennart Ochel
