﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5705	Simplifications of boolean variables in initialization problems	Francesco Casella	Karim Adbdelhak	"We have a tough use case of a hydraulic circuit with homotopy-based initialization. The system is driven by a boolean variable.

In the base case, the boolean variable is set to false by an equation, 
{{{
...
  Boolean cmd;
equation
  cmd = false;
...
}}}

and the initialization problem is solved successfully. If we set up simulations where the ''initial value'' of the boolean variable is false, but then it is later switched to true
{{{
... 
  Boolean cmd(final start = false, final fixed = true);
equation
  when time > 500 then
    cmd = true;
  end when;
}}}
or
{{{
...
   Boolean cmd;
initial equation
   cmd = false;
equation
...
  when time > 500 then
    cmd = true;
  end when;
...
}}}

then the initialization fails. 

IMHO the initialization problem should have exactly the same structure in the three cases. Why doesn't it?"	defect	new	high		Backend				Andreas Heuermann Andrea Bartolini
