Skip to main content
Modelica

What is Modelica?

Modelica is an object-oriented, equation-based programming language designed for modeling complex, multi-domain physical systems. It is widely used in engineering and science to simulate the dynamic behavior of mechanical, electrical, thermal, and hydraulic systems before physical prototypes are ever built.

Modelica libraries are available for use with Dymola covering many different industries including Automotive, Aerospace, Buildings and Energy. Whilst some of the libraries are designed to address a particular application there are also a number of general purpose libraries that are suitable for use across many different industries.

The key advantage of using Modelica model libraries in Dymola is that the model equations are visible to the user so that you can understand exactly how a model is defined.

 

modelica libraries logo

Available Modelica libraries

Below is a comprehensive list of all Modelica libraries currently available.

Modelica Standard Library

The official standard library from the Modelica Association. It contains basic, open-source models, blocks, and components across multiple domains, including mechanical, electrical, thermal, fluid, control systems, and hierarchical state machines.

Electrified Powertrains Library

Designed for the modeling and simulation of entire electric drive systems for hybrid and electric vehicles, enabling users to analyze power management, battery depletion, and overall vehicle efficiency.

EDrives Library

A specialized library used for modeling and simulating electric drives, electronic components, and electric machines.

Brushless DC Drives Library

Provides a flexible, standard vehicle architecture. It acts as a framework to integrate and swap different automotive libraries (like engines, transmissions, and chassis) seamlessly.

Vehicle Interfaces Library

Provides a flexible, standard vehicle architecture. It acts as a framework to integrate and swap different automotive libraries (like engines, transmissions, and chassis) seamlessly.

VeSyMA

The baseline Vehicle Systems Modeling and Analysis platform used for full vehicle simulation, providing the core structure for running experiments and analyzing overall vehicle performance.

VeSyMA Engines Library

Contains mean-value and crank-angle resolved internal combustion engine models. It includes detailed sub-models for the air-path, cooling systems, and mechanical components.

VeSyMA Powertrain Library

Utilizes multi-body simulation of vehicle powertrains to analyze driveability, shift quality, gear transitions, and standard drive cycle efficiencies.

VeSyMA Suspensions Library

Features multi-body and parametric suspension models designed specifically to test and simulate vehicle dynamics, handling, and ride comfort.

VeSyMA Motorsports Library

An advanced extension of the suspensions library that includes physical adjustments and specialized multi-body suspension setups tailored for motorsport applications.

VeSyMA Driver-in-the-Loop

Enables VeSyMA vehicle models to be prepared and optimized for real-time operation on simulator platforms, connecting human drivers to the virtual vehicle model.

VeSyMA Terrain Server

A utility that manages high-fidelity road and terrain data, allowing vehicle models to interact accurately with complex 3D road surfaces.

Cooling Library

Focused on liquid cooling systems, specifically designed to model the thermal management of electric motors, electronics, and battery packs.

Fluid Power Library

Used for modeling hydraulic systems. It is commonly applied to simulate fluid-driven machinery in aircraft, cars, excavators, and industrial heavy equipment.

TiL Suite

Enables steady-state and transient 1D thermodynamic simulations of complex thermal systems, including heat exchangers and vapor compression cycles.

ClaRa+ Library

A comprehensive library used for the dynamic simulation of thermal power plants, specifically optimized for steam and coal-fired power station operations.

Fuel Cell Library

Dedicated to the detailed simulation and modeling of Proton Exchange Membrane (PEM) and other fuel cell systems for both mobile (automotive) and static applications.

Hydronics Library

Used for modeling the balance between mechanical effort and thermal performance ratios, especially regarding cooling system heat exchangers and water-loop heating.

HVAC Library

A specialized library for designing, analyzing, and simulating Heating, Ventilation, and Air Conditioning systems.

Human Comfort Library

Complements HVAC systems by estimating the thermal comfort of occupants inside an air-conditioned zone, whether it is a room, an automotive cabin, or an aircraft fuselage.

FlexBody Library

Allows users to include structural compliance and flexibility in multi-body systems by importing FE (finite element) models from software like Nastran, Abaqus, and Genesis.

Flight Dynamics Library

Designed for the modeling, flight mechanics analysis, and simulation of aircraft, UAVs, and aerospace vehicles.

Dymola Battery Library

A specialized framework for modeling battery cells and packs to analyze thermal behavior, state-of-charge, and aging characteristics.

Wind Power Library

Used for the modeling, simulation, and optimization of wind turbines, capturing aerodynamic, mechanical, and electrical interactions.

Definition Search Book Streamline Icon: https://streamlinehq.com Which Modelica libraries can TECHNIA help with?

All of the libraries listed can be supplied by TECHNIA for use with Dymola, and include technical support. For more information about libraries developed and managed by TECHNIA experts (including VeSyMA libraries), visit our Modelica Libraries page.

Modelica Standard Library

The Modelica Standard Library is a free library developed by the Modelica Association and supplied with Dymola. It includes the fundamental components for modelling mechanical (1D/3D), electrical (analog, digital, machines), thermal, fluid (1D), control systems and hierarchical state machines. It also includes numerical functions and functions for handling strings and files.

The Modelica Standard Library is available to download from GitHub.

Library Components Description
Lib-Electrical Analog Analog electric and electronic components, such as resistor, capacitor, transformers, diodes, transistors, transmission lines, switches, sources, sensors.
Lib-Digital Digital Digital electrical components based on the VHDL standard, like basic logic blocks with 9-value logic, delays, gates, sources, converters between 2-, 3-, 4-, and 9-valued logic.
Lib-Machines Machines Electrical asynchronous-, synchronous-, and DC-machines (motors and generators) as well as 3-phase transformers.
Lib-FluxTubes FluxTubes Based on magnetic flux tubes concepts. Especially to model electro-magnetic actuators. Nonlinear shape, force, leackage, and material models. Material data for steel, electric sheet, pure iron, Cobalt iron, Nickel iron, NdFeB, Sm2Co17, and more.
Lib-Translational Translational 1D mechanical, translational systems, e.g., sliding mass, mass with stops, spring, damper.
Lib-Rotational Rotational 1D mechanical, rotational systems, e.g., inertias, gears, planetary gears, convenient definition of speed/torque dependent friction (clutches, brakes, bearings, ..)
Lib-MultiBody1Lib-MultiBody2 MultiBody 3D mechanical systems consisting of joints, bodies, force and sensor elements. Joints can be driven by drive trains defined by 1D mechanical system library (Rotational). Every component has a default animation. Components can be arbitrarily connected together.
Lib-Fluid Fluid 1D thermo-fluid flow in networks of vessels, pipes, fluid machines, valves and fittings. All media from the Modelica.Media library can be used (so incompressible or compressible, single or multiple substance, one or two phase medium).
Lib-Media Media Large media library providing models and functions to compute media properties, such as h = h(p,T), d = d(p,T), for the following media: 

  • 1240 gases and mixtures between these gases.
  • incompressible, table based liquids (h = h(T), etc.).
  • compressible liquids
  • dry and moist air
  • high precision model for water (IF97).
Lib-Thermal FluidHeatFlowHeatTransfer Simple thermo-fluid pipe flow, especially to model cooling of machines with air or water (pipes, pumps, valves, ambient, sensors, sources) and lumped heat transfer with heat capacitors, thermal conductors, convection, body radiation, sources and sensors.
Lib-Blocks1Lib-Blocks2 Blocks Input/output blocks to model block diagrams and logical networks, e.g., integerator, PI, PID, transfer function, linear state space system, sampler, unit delay, discrete transfer function, and/or blocks, timer, hysteresis, nonlinear and routing blocks, sources, tables.
Lib-StateGraph StateGraph Hierarchical state machines with a similar modeling power as Statecharts. Modelica is used as synchronous action language, i.e., deterministic behaviour is guaranteed
 A = [1,2,3;
   3,4,5;
   2,1,4];
 b = {10,22,12};
 x = Matrices.solve(A,b);
 Matrices.eigenValues(A);
MathUtilities Functions operating on vectors and matrices, such as for solving linear systems, eigen and singular values etc., and functions operating on strings, streams, files, e.g., to copy and remove a file or sort a vector of strings

Connect with our experts

Alessandro Picarelli and team have spent the last 20 years working together with clients to develop solutions that perfectly compliment the Dassault Systèmes portfolio. Reach out for a free consultation today.

alessandro picarelli technia engineering director mbse and systems engineering

Get in touch