So far most of the presented models have been of the single domain type being constructed of components from a single application domain. However, one of the main advantages with Modelica is the ease of constructing multi-domain models simply by connecting components from different domains. A DC (direct current) motor is one of the simplest examples illustrating this capability.
This particular model contains components from the three domains: mechanical components such as inertia1,the electrical components resistor1, inductor1, signalVoltage1 and ground1 as well as pure signal components such as step1.
A multi-domain DC-MotorCircuit model with mechanical, electrical and signal block components
NOTE: In order to simulate the DCMotorCircuit model below, you first need to evaluate the declarations in sections 2-7 below. This is easily done by selecting these cells (to the right) and pushing shift-return as usual.
The following are different types from the library Modelica.SIunits used by the DCMotorCircuit
This DC (direct current) motor model contains component from three domains: mechanical, electrical and signal components.