﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5105	Unable to set fixed=true through modifier field	massimo ceraolo	Adeel Asghar	"Consider the enclosed RL3.mo model.
Using current OMEdit, it runs and correctly warns about initialization. With {{{-d=initialization}}} we get:

{{{
[1] 10:51:27 Translation Warning
Assuming fixed start value for the following 3 variables:
         inductor1.inductor[1].i:VARIABLE(start = 0.0 unit = ""A"" )  ""Current flowing from pin p to pin n"" type: Real  [3]
         inductor1.inductor[2].i:VARIABLE(start = 0.0 unit = ""A"" )  ""Current flowing from pin p to pin n"" type: Real  [3]
         inductor1.inductor[3].i:VARIABLE(start = 0.0 unit = ""A"" )  ""Current flowing from pin p to pin n"" type: Real  [3]
}}}

The warning issue is solved writing in code {{{i(each fixed=true)}}} in inductor1 definition:
{{{
Modelica.Electrical.MultiPhase.Basic.Inductor inductor1(L = fill(0.01, 3), i(each fixed=true)); 
}}}

This modification should be possible also through the Parameters|Modifiers tab of inductor1, but it results to be impossible. When when try, the following error message is issued:

{{{
[2] 10:56:14 Scripting Error
The Modifier i(each fixed=true) format is invalid. The correct format is phi(start=1)
}}}
"	defect	new	normal		OMEdit	v1.13.0-dev-nightly			
