﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6291	failed to value of parameter	lukas.koenemann@…	Adrian Pop	"short example:

{{{
model test
parameter Real a = 5;
parameter Real b = if a > 10 then 3 else 2;
end model;
}}}


I'm trying to modify my model with the method ""setComponentModifierValue(test, b, $Code(=0))"" but I get the error ""failed to set value of b"". I think the problem is, that in my model the parameter_name is dependent of another parameter. Is there a possibility to change the parameter without reformulating the model? 

Thanks,
Lukas
"	defect	new	high	NeedsInput	Interactive Environment	v1.17.0-dev		setComponentModifierValue	Adeel Asghar
