A comprehensive quick reference guide comparing Dyad (Julia-based modeling) and Modelica for acausal component-based modeling and simulation.
This cheatsheet provides side-by-side comparisons of modeling approaches between:
- Dyad - New Scientific Machine Learning (SciML) and AI-enhanced modeling language.
- Modelica - Object-oriented modeling language for complex systems
- Basic Syntax
- Defining Components
- Data Inputs & Interpolation
- Components & Models
- Functions & Algorithms
- Analysis Points
- Analyzing Models
- Composite Models using Standard Library
Example models are provided in the cheatsheet demonstrating:
- Simple electrical circuits (RC, RLC)
- Mechanical systems (mass-spring-damper)
Contributions are welcome! Please feel free to submit pull requests with:
- Additional examples
- Corrections or improvements
- New topics relevant to scientific computing