MotorsWithLosses package

Requirements.Examples.MotorsWithLosses  ยท source

Icon of MotorsWithLosses

Demonstrate requirements definition and checking at hand of a electrical motors

Extends Modelica.Icons.ExamplesPackage

Example package that demonstrates how requirements are defined for a type of component (a permanent magnet DC motor) and attached to the instances of an existing model without modifying it. The model checked is Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses with its two DC motors.

  • CheckMotorWithLosses is the runnable example: it limits speed and armature current of both motors relative to their nominal values.
  • Components contains the observation and data records, the binding function and the requirement blocks.

The motor data are passed to the binding function as records built with explicit record constructors; the nominal values in the observation record carry no parameter prefix. The reasons (tool support of the record cast and of records with parameter components returned by functions) are given in the revisions of MotorData, DCMotorWatching and CheckMotorWithLosses.

Contents

NameKindDescription
CheckMotorWithLossesmodelCheck model Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses
ComponentspackageUtility components needed for example