WOLFRAM SYSTEM MODELER

InteractiveMotor

Component that can be interacted with through Mathematica.

Diagram

Wolfram Language

In[1]:=
SystemModel["EducationExamples.MechanicalEngineering.DCMotor.Components.InteractiveMotor"]
Out[1]:=

Information

This component is used in the bundled Notebook and can be used to let the user interact with a model in real time simulations.

DC Motor Interaction

Using Mathematica combined with real time simulations from models in System Modeler, the input to the model can be altered by the user in an ongoing simulation.

In order to get the full experience of this example, you need a desktop Wolfram Language product. A free trial download is available at www.wolfram.com/mathematica/trial/

For the full example, open the accompanying notebook DCMotor.nb.

Connectors (2)

outputSpeed

Type: RealOutput

Description: The speed of the motor

userInput

Type: RealInput

Description: Input from the user, provided via Mathematica

Components (3)

motor

Type: DCMotor

Description: Physical system under control from the added signals

add

Type: Add

Description: Combine the base level and the user signal

baseLevel

Type: Constant

Description: A base level for the speed of the motor