-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MTKv10 discussion #3204
Comments
|
I'd like to discuss making the syntax
Introduce a parameter dependence instead of a "dependent default". I find the current behavior is almost never what I want. In modelica, this syntax introduces the equivalent of a parameter dependence. More generally, support for redeclarstion and modification like |
Possible changes to field names in symbolic metadata:
|
^ This specifically refers to the |
Other discussions worth having:
|
Should |
I always thought it could be simpler to have just the @variables t # instead of @independent_variables
vars = @variables x(t)
pars = @variables P # instead of @parameters
eqs = [...]
@named sys = ODESystem(eqs, t, vars, pars) because it should be clear from the arguments to |
It doesn't break stuff, but it makes catching user errors more difficult. Maybe they accidentally create
It causes problems for |
But they are always enforced at the start of a solve?
yes, because otherwise it couldn't handle |
This issue is meant to track and discuss points of action and potential breaking changes for a future MTKv10 release
@named
always wrap symbolic arguments inParentScope
, so they can be passed multiple levels down the hierarchy. This will need more consideration after identifying which tests break upon making this change.complete
semanticsu0map
argument only contains variables, andpmap
only parameters. Discretes will need an exception here.The text was updated successfully, but these errors were encountered: