WOLFRAM SYSTEM MODELER

InteractiveMotor

Component that can be interacted with the Wolfram Language.

Diagram

Wolfram Language

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

Information

 

Interative Simulation Control in Real Time: DC Motor

 

Introduction

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

In order to get the full experience of this example, you need the following:

 

These pages show an overview of the example. For the full example, open the accompanying notebook DCMotor.nb.

 

DC Motor Interaction

Using the Wolfram Language combined with real time simulations from models in SystemModeler, the input to the model can be altered by the user in an ongoing simulation.

animation

Go to the Wolfram Language notebook to try it out!

 

Connectors (2)

outputSpeed

Type: RealOutput

Description: The speed of the motor

userInput

Type: RealInput

Description: Input from the user, provided using the Wolfram Language

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