Reset Decision
|
|
Equations and properties are:
D d_RookieFTEHires = 0 P d_RookieFTEHires.TimeSeries = "false" P d_RookieFTEHires.ExecuteDecisionImmediately = true P d_RookieFTEHires.ResetDecision = true A slider is used to set the value. Button action is Step, advance 1 time unit. After advancing one step, the slider button remains at the last value. Is this normal behavior? Should the slider respond to ResetDecision? Bill |
|
|
Hi Bill,
The slider should respond to any changes in the the decision. If you print the decision elsewhere after stepping, is the value greater than the slider increment? If you like, you can give me the sim url, ill make a copy and look into why the slider isn't updating. Thanks, Tod |
|
|
Hi Tod,
My impression is that if the slider default value is 0 (zero) and possible values range from -5 to 5, and the user drags the button to 3, then clicks Run (Step 1), the button ought to return to 0. Are we saying the same thing? ref: /bbsim/bbsim9/ |
|
|
Hi Bill,
It looks like TimeSeries = "false" (also this should be a boolean, not a string) is keeping the decision from updating properly. After removing that , or setting it to true the slider resets to 0 after stepping. TimeSeries is a relatively little used feature for optimization and were not sure why its affecting ResetDecision. I'll file a bug. Thanks, Tod |
Please log in to reply to topics.