﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4232	Make sure variables which are practically constant are displayed as such in OMEdit	Francesco Casella	Adeel Asghar	"Try the following test case
{{{
model foo
  Real x(start = 1-1e-7, fixed = true);
equation
  der(x) = 1-x;
end foo;
}}}

Then, plot {{{x}}}. A monotonously increasing curve is displayed, which seems to imply that there is a transient until one looks at the values on the y axis and sees that they are all ones. Quite confusing. In general, this happens when a model is numerically initialized at steady-state, but there is a *very small* transient, which should not be unnecessarily magnified.

My proposal, when visualizing plots, is to make sure that the span of the y axis is bounded from below to

1e-4*max(v_start, v_end, v_nominal)

where v_start is the initial value of v, v_end is the final value, and v_nominal is its nominal attribute). In this way, the result of the above example will show a variable which is indeed constant for all practical purposes. 

It should be still possible to zoom in, if needed, but the default initial view should not magnify a negligible transient."	enhancement	closed	high	1.19.0	OMEdit		fixed		giovanni.mangola@… massimo ceraolo
