Over the years I have come to realise that there are misunderstandings about what Dymola and the modelling language Modelica are and how they relate to one another. This blog post seeks to address the confusion. Dymola (DYnamic MOdelling LAboratory) is a user interface and Modelica language compiler owned...
Archive for category: Getting started guides
It is good coding practice to store files used by a library in a Resources folder. This post looks at the typical Resources folder structure, the advantages of using the Resources directory and how to reference files in the Resources folder. What is the “Resources” folder? When creating a...
This week we will show you how to insert a state-of-the-art Lidar device within the virtual environment of rFpro. This will allow a user to easily stream and visualize the sensor output on any PC or storage device. The Velodyne HDL-32E is the latest Lidar device to be added...
In Dymola 2019 FD01, it has been made easier than ever to carry out a parameter sweep study. There is indeed an integrated capability in the software and its interface has been improved in this latest release. Let’s have a look at an example. Let’s run the example DoublePendulum...
When building a model, it’s important to remember that the majority of parameters and variables we add are not just real numbers but represent physical quantities. So, to add physical meaning to the parameters and variables in our models we should make use of unit types. Doing this will enable...
When building up a library in Modelica it is often handy to use aliases to clean up your code. Aliases to frequently used classes can help simplify the code and help its readability. The Modelica import statement is how one creates aliases in Modelica. One implementation that we often...
This blog post is a continuation from a previous post on the Modelica Language. This blog post focuses on the syntax used in equations and algorithms and the difference between the two. Calculations Equation Sections Models and blocks primarily use an equation section to define the calculations of the...
This blog post is a continuation from a previous post on the Modelica Language. This blog post goes into a little more detail regarding variable definition and syntax in equations and algorithms. The Class Restriction of a class can restrict the ability to use certain elements and methods, also described...
As Modelica is an object oriented language, most models in Dymola are composed of several subsystems, spread over several levels. Navigating down the hierarchy of a model from the top level in order to find the one parameter we are looking for can seem like looking for a needle in a...
Once you’ve got comfortable with creating models using components in the Diagram layer you will probably need to create your own models. This requires understanding and implementation of the Modelica language. This, like any other coding language, must be written in the correct order, with the correct punctuation. This...
Looking for something?
- Battery Library
- Brushless DC Drives Library
- Cooling Library
- EDrives Library
- Electrified Powertrains Library
- FlexBody Library
- Flight Dynamics Library
- Fluid Power Library
- Fuel Cells
- Human Comfort Library
- HVAC Library
- Thermal Systems Library & TIL Suite
- VeSyMA – Driver-in-the-Loop
- Vehicle Interfaces
- VeSyMA – Engines
- VeSyMA – Motorsports
- VeSyMA – Powertrain
- VeSyMA – Suspensions
- VeSyMA – Terrain Server
- Wind Power Library