Message Boards Message Boards

[✓] Turn on dynamic state selection?

GROUPS:

In my build log I keep getting this error:

Notification: Forcing static selection of states. If this leads to problems during simulation turn on dynamic state selection.

Is this a setting in SystemModeler, or do I just need to set stateSelect correctly?

While I'm posting, the more critical error that I'm getting is

Internal error: DeriveMC.differentiateExpTime: error for expression CALL <myFunction>

I added stateSelect = StateSelect.avoid to a couple variables and that helped some, but when "myFunction" becomes less linear the build fails.

Thanks, Eric

POSTED BY: Eric Smith
Answer
4 months ago

Eric,

That is a setting in preferences:

enter image description here

POSTED BY: Neil Singer
Answer
4 months ago

Thanks Neil, I skipped right over the section heading when looking for the option. I’ll give it a try.

POSTED BY: Eric Smith
Answer
4 months ago

Group Abstract Group Abstract