-
Notifications
You must be signed in to change notification settings - Fork 43
Create Tutorial.md based on 1.4 tutorial #3672
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
base: master
Are you sure you want to change the base?
Conversation
Manually converted from pfd-document.
Here's a link to the document: https://github.com/HansOlsson/ModelicaSpecification/blob/Tutorial/Tutorial.md And the entire branch: https://github.com/HansOlsson/ModelicaSpecification/tree/Tutorial |
Add link to tutorial
Add contents
Add spaces
Replace file mapping and MODELICAPATH by references. - Basically the file mapping was too messy to quickly clean up for me. We could re-add it someone has the time. - The MODELICAPATH information was outdated. We no longer recommend relying on an environment variable (since that creates a mess with multiple tool).
Update to Modelica 2 graphical annotations. Remove most of the graphical annotations, since those details it don't fit with a tutorial.
Remove changes, and update references.
The enable-attribute does not exist, and they are now called "conditional components" not "conditional models". Having a more detailed tutorial for state-machines would be good.
Be consistent with the Modelica standard library.
Updated link-references, internally, to spec, and to MSL.
Minor cleanup
Also propose if-equations, since if-expressions seems like a bad solution.
Introduce if-equations as a better alternative, and also update explanation to explain why.
Use if-equation for pendulum as well.
Add figures from 1.4 rationale, and fig5 from 1.4 tutorial.
Add images
More work is needed, but it should now be as good as the original document. For recent changes I would propose a paragraph and then a link to MCP and/or paper. |
Missed language setting
Indicate that it isn't just 1.4.
Use ElectricPotential instead of Voltage in the connectors.
Fix indentation
Modelica.SIunits -> Modelica.Units.SI and specific changes.
Co-authored-by: Thomas Beutlich <[email protected]>
Convert to code. Updated some bad code to current Modelica.
Referencing SCCS and old version systems isn't good. And saying that the history information is _comparable_ to version control systems no longer seem relevant with good version control systems. so just deleted.
Will move the rest to another issue. |
Sensible reference.
Add:
|
Closes modelica#3674 Adds a list of new features, and notes that the tutorial is up-to-date, but doesn't explain newer features.
Update
Minor text change, and Replaced examples-link to first workshop by link to all proceedings.
Now updated with a list of newer features; we can later refine it. |
Update homotopy with doi-link
Manually converted from pdf-document.
I no longer consider it a draft.
Most issues below are handled, and the rest (and unknown issues) can be handled after merging as it is now better than the old document.
enable
idea that never made it)Less important ones (can be done after merging):
Lots of new constructs are not described; might add or link to MCP-documents, papers etc.DelayedFrom casella - see 3674