modelica / ModelicaStandardLibrary

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.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
452 stars 165 forks source link

SteadyState for Modelica.Blocks.Continuous.PI #4401

Open HansOlsson opened 2 months ago

HansOlsson commented 2 months ago

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.