-
Notifications
You must be signed in to change notification settings - Fork 8
Minor doc updates #287
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
Minor doc updates #287
Conversation
From the Doc CI failing it seems D must still be defined in this example: │ using Distributions, ModelingToolkit, OrdinaryDiffEq, Plots
│ @mtkmodel SYS begin
│ @parameters begin
│ b1
│ b2
│ end
│ @variables begin
│ x(t) = 0.0
│ end
│ @equations begin
│ D(x) ~ b2 * (b1 - x)
│ end
│ end
│ @mtkbuild sys = SYS() Or maybe it is better to use Differential (as I believe it is called in MTK)? |
You are right, the
@equations begin
Differential(t)(x) ~ b2 * (b1 - x)
end Do you have a preference? I think right now the |
I think I would prefer |
I have updated to using ModelingToolkit: D_nounits as D from using ModelingToolkit: t_nounits as t, D_nounits as D |
The Doc error is because ModelingToolkit |
I can fix the CI error later if you fix the doc-error. |
I think the current error should just be due to |
Ok, I will leav this one to you to finish of then? |
Yes, I will fix the last CI problems |
Should make DSL-based model declaration better.