Tech Blog

<< Older Entries   Newer Entries >>

Stability Analysis in Dymola – Part 1

January 9, 2017

Written by: Sas Harrison – Systems Engineer Introduction This article introduces several ideas that provide foundations for stability analysis in DYMOLA. Those ideas have several applications, including the creation of root locus diagrams, which provide information about transient behaviour (and therefore stability) and assessment of frequency-response that details how well an input is translated to read more

Reading structures from .mat files

January 3, 2017

Written by: Garron Fish – Chief Engineer This blog post shows how to assign Dymola model parameters to elements of a structure stored in a .mat file. In Modelica 3.2.2 a new function is introduced called Modelica.Utilities.Stream.readRealMatrix() which allows users to read a Matlab .mat file saved in the v4, v6 or v7 formats (see Figure read more

Stepping through dymosim.exe

November 30, 2016

Written by: Garron Fish – Chief Engineer When a Modelica model is translated in Dymola, the process involves a Modelica code of the Dymola model that translates into a C code, and then this C code compiles and links into an executable called dymosim.exe. Typically, if the model fails, then an error message is created read more

Exporting results to a .mat file to use them as inputs in another model

November 23, 2016

Written by: Maura Gallarotti – Project Engineer In this blog post, I will show how to save a result in a .mat file and how to use the .mat file in another model. As an example, I am going to use the model  Modelica.Fluid.Examples.DrumBoiler.DrumBoiler. Select the model, go to the simulation tab and simulate it. Figure read more

Dymola Basics: 8. Dymola Model Inheritance

November 11, 2016

Written by: David Briant – Project Engineer This is the eighth in the Dymola Basics Series, following on from a post about animation. This post explains the concept of inheritance and the effective use of it within Dymola. Dymola models can be based on layers where models inherit properties from more basic models. Dymola uses read more

Inverting models in Dymola

November 4, 2016

Written by: Alessandro Picarelli – Chief Engineer Modelica’s acausal nature makes model inversion within Dymola a fairly straightforward task. An example is presented in which the objective is to achieve a desired speed profile of inertia_2 whilst calculating the torque necessary to do so. For this example, a model of 2 inertias connected via a read more

Introduction to FMI

October 31, 2016

Written by: Garron Fish – Chief Engineer Function Mock-up Interface (FMI) is a standard used for model exchange and co-simulation of dynamic models. FMI is useful because it is tool independent (i.e. the standard is not controlled by one tool vendor) and is well supported by many popular simulation tools (91 tools so far). So the read more

Dymola Basics: 7. Animation

October 21, 2016

Written by: David Briant – Project Engineer This is the seventh in a series of Basics of Dymola that describe some basic elements and methods to be used within Dymola. It follows on from a post describing some Plotting features found in the simulation tab of Dymola. After simulating a model there can be animations to read more

Dymola Basics: 6. Plotting Features

October 17, 2016

Written by: David Briant – Project Engineer This is the sixth in the Basics of Dymola series following on from the post about the use of the Variable Browser within the simulation window. This post will follow on from that post by expanding on the use of the Variable Browser and other plotting features within read more

Dymola Basics: 5. Variable Browser

October 4, 2016

Written by: David Briant – Project Engineer This is the fifth in a series of the Basics of Dymola following on from the first blog post about the Component Browser. This post will be describing the Variable Browser in the Simulation window and the features surrounding the use of it to evaluate simulation results. The read more

<< Older Entries   Newer Entries >>

Contact us
Join our LinkedIn Group

Claytex Tech Blog: