You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a full Modelica model that I don't know how to lower to Base Modelica without loss of information about start being final:
model FinalStartUsingFallback
Real x(final start);
Real y(final start);
equation
sin(x) = 0.5;
y = 0.5;
annotation(experiment(StopTime = 1.0));
end FinalStartUsingFallback;
The problem is that introducing the Base Modelica initial equations guess(x) = 0.0 and guess(y) = 0.0 to represent that the start is final means that the Base Modelica tool cannot tell that these 0.0 are fallback values, so it won't be able to generate the required warning about using a fallback value for the initialization of x (but not for y).
The text was updated successfully, but these errors were encountered:
Here is a full Modelica model that I don't know how to lower to Base Modelica without loss of information about
start
being final:The problem is that introducing the Base Modelica initial equations
guess(x) = 0.0
andguess(y) = 0.0
to represent that thestart
is final means that the Base Modelica tool cannot tell that these0.0
are fallback values, so it won't be able to generate the required warning about using a fallback value for the initialization ofx
(but not fory
).The text was updated successfully, but these errors were encountered: