Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
If you look in Modelica.Blocks.Continuous.PIyou see that y_start is enabled for steady-state (Modelica.Blocks.Types.Init.SteadyState), but not used in that case!
If you want to set a guess-value it makes more sense to set x_start in that case - or in rare cases y.start.
I thus believe that the simplest solution would be to just modify the enable-attribute.
If you look in
Modelica.Blocks.Continuous.PI
you see thaty_start
is enabled for steady-state (Modelica.Blocks.Types.Init.SteadyState
), but not used in that case!If you want to set a guess-value it makes more sense to set
x_start
in that case - or in rare casesy.start
.I thus believe that the simplest solution would be to just modify the enable-attribute.