Using the Custom Component, a Brushless Permanent Magnet DC Motor is modeled and driven with an inverter combined with switching logic. Additionally, Hall Effect sensors have been connected to the motor providing information on shaft rotation. This model controls the input voltage to the inverter to provide the speed control, allowing the motor shaft speed to track the desired input. The characteristics of the trapezoidal EMF and the Hall Effect sensors were created by the app "Data Generation". It generates the file "mydata.csv" with the profiles for the rotation range of 0 to 720°, and combined with the parametric brushless motor component allows the motor characteristics to be modified easily.