I am seeking counsel on the best way to create a minimum hold time for a ShowView.
I have a 9 sub-models compiled into one composite model, but am experiencing some undesirable whipsaws whereby I would like to explore requiring a certain number of hold days, prior to getting a different signal.
The TimeSinceSignal requires a condition to count from, eg when the model value changed to 1. This example requires at least 5 days since the signal became true:
Perhaps I am not understanding the application of ChangeTo. Is it mean to be if the model changes by 1 unit for at least 5 days the signal is true or that the model must change to a value of 1 for at least 5 days?
Either way, when I do I my ShowView goes blank when I do something like the following:
HoldTime = TIMESINCESIGNAL(Model changeto 1) > 5;
Plot1 = HoldTime
My ShowView is blank. My apologies, but am I missing something?
ChangeTo 1 will signal whenever a true / false model condition becomes true, not 1 unit of change.
But if the model is a score or ranking then you could use this for the value changing to 3:
TIMESINCESIGNAL(Model ChangeTo 3)
Note that this would also signal from a 4 (or higher) to a 3 as well as 2 (or lower) to a 3. To show only those going up from a 2 to a 3 you could you use this:
TIMESINCESIGNAL(Model CrossesAbove 2.5) > 5
Also, if you remove the >5 condition it will display the value so you can see if what is being counted is correct.