Modelica Standard Libraries
MathModelica is based on Modelica®, the object-oriented modeling language developed by the Modelica Association, and is delivered with the libraries listed below from the Modelica Standard Library.
As the libraries are completely open you can also use them as templates when developing libraries for your unique needs.
Blocks
The blocks library contains input/output blocks to build up block diagrams for controls systems, etc. The library contains continuous control blocks with internal states, discrete input/output blocks with fixed sample period, components with Boolean input and output signals, mathematical functions as input/output blocks, discontinuous or non-differentiable algebraic control blocks, blocks to combine and extract signals, signal source blocks generating Real and Boolean signals, and blocks for interpolation in tables.
Constants
This package provides often needed constants from mathematics, machine dependent constants and constants from nature.
Electrical
This library contains electrical components to build up analog circuits, as well as machines to model electrical motors and generators, especially three phase induction machines such as an asynchronous motor.
The analog components include basic components (resistor, capacitor, inductor, etc), semiconductor devices, transmission lines, ideal elements (switches, diode, transformer, etc), time-dependent and controlled voltage and current sources, as well as sensors to measure potential, voltage, and current.
The multiphase components are intended to be used the same way as electrical analog components, making design of multiphase models easier.
Math
Here you will find mathematical functions for scalars and matrices, such as sin, cos, solve, eigenvalues, and singular values.
Mechanics
This package contains components to model the movement of 1-dimensional rotational, 1-dimensional translational, mechanical systems.
The rotational library provides 1-dimensional, rotational mechanical components to model drive trains with frictional losses in a convenient way. A typical, simple example is shown in the next figure:
The translational library provides 1-dimensional, translation mechanical components to model...
SIunits
This package provides predefined types, such as mass, angle and time, based on the international unit standard, as well as conversion functions from non SI-units to SI-units and vice versa.
Thermal
The thermal package contains libraries to model heat transfer.
Note that the Modelica Standard Library is free software; it can be redistributed and/or modified under the terms of the Modelica license, see the license conditions and the accompanying disclaimer here.
