In the Modelica language, the annotation keyword is used to define graphics, documentation, menus and many other attributes that do not affect the behaviour of the system modelled. In this post I’m going to focus on the class annotations that let you store the simulation settings used to control...
Archive for category: Concepts and methods
This blog post explains why PID control gains need to be positive. It is important to understand how PID controller works first. The post will consider stability analysis of each control action, i.e. proportional, integral and derivative control individually. Examples and figures are used to demonstrate the result. Tuning...
In a prior post, I wrote about manually specifying derivatives of a function in Dymola. This is necessary in certain cases, especially when external code is used. For the simple function I used in that post and many functions like it, however, there is actually a much easier answer....
The VeSyMA libraries have been used for many different applications, including durability studies. Such studies usually involve recreating a range of different experiments, situations and sometimes very extreme tests designed to push components to their limits. The purpose of these tests is two-fold; firstly, evaluating vehicle response to normal...
INTRODUCTION The Internal Combustion Engine (ICE) is one of the most innovative creations the human being has made, in my opinion. The objective of its creation was to be the main source of power to propel vehicles all the way to the modern car as we all know it...
So here is one of the toughest errors to debug in Dymola: When a model fails to translate with “Failed to reduce the DAE index” it is usually the start of a very frustrating day. The problem, in this case, is that Dymola needs to differentiate a specific equation...
Text files, with the file extension .txt, are a popular choice for storing data. Lightweight and small in size, they are easy to read, update and distribute. By virtue of storing only the data regarding the ASCII characters within, often only a simple programme such as notepad is required...
There are certain requirements for setting the size of an array to a parameter in Modelica. This post has a closer look into what these requirements are. A simple example Figure 1 is a simple example of sizing vector b with parameter n. In the example in Figure 1...
In this blog post I will take you through integrating Dymola with your version control system to support your file management. We won’t cover the merits of using a version control system to manage your models, and the safety net this provides in this blog post but if you...
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...
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