Description: "Collection of models that illustrate model use and test models"

- Home > Modelica

## Buildings.Fluid.Actuators.Motors.Examples

Collection of models that illustrate model use and test models

### Information

This package contains examples for the use of models that can be found in Buildings.Fluid.Actuators.Motors.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

### Package Content

Name | Description
--- | ---
IdealMotor | Test model for IdealMotor

## Buildings.Fluid.Actuators.Motors.Examples.IdealMotor

Test model for IdealMotor

### Information

Test model for the ideal motor with hysteresis model. The motor receives at its control input a time-varying signal. It adjusts its position whenever the input signal differs from the current position by more than the hysteresis.

Extends from Modelica.Icons.Example (Icon for runnable examples).

### Modelica definition

model IdealMotor "Test model for IdealMotor" extends Modelica.Icons.Example; Buildings.Fluid.Actuators.Motors.IdealMotor mot(tOpe=60) "Motor model"; Modelica.Blocks.Sources.TimeTable ySet(table=[0,0; 60,0; 60,1; 120,1; 180,0.5; 240,0.5; 300,0; 360,0; 360,0.25; 420,0.25; 480,1; 540,1.5; 600,-0.25]) "Set point for actuator"; equation connect(ySet.y, mot.u); end IdealMotor;