Electric Motor
High-torque electric propulsion device with instant torque delivery and regenerative braking. Supports both primary propulsion and hybrid assist configurations.
High-torque electric propulsion device with instant torque delivery and regenerative braking capability. Supports both primary propulsion (BEV) and hybrid assist configurations. Draws power from energy storage devices (batteries) in the vehicle.
Inherited Methods
This device inherits all methods and properties from the Powertrain Base Device.
Public API
| Variable | Type | Description |
|---|---|---|
outputPorts | table | Map of active power output ports. |
deviceCategories | table | Categories identifying this as a motor type device. |
Usage Example
-- Access the electric motor
local motor = powertrain.getDevice("frontMotor")
-- Check motor RPM
local rpm = motor.outputAV1 * 9.549
-- Electric motors provide instant torque from 0 RPM
local torque = motor.outputTorque1See Also
- Combustion Engine — ICE alternative/hybrid partner
- Electric Servo — Small electric actuator
- Generic Torque Provider — Abstract torque source
- Powertrain Base Device — Inherited base methods
Differential
Splits power between two output shafts while allowing speed differences. Supports open, locked, limited-slip (LSD), and active differential types for various drivetrain configurations.
Electric Servo
Small electric actuator device for auxiliary systems like power steering pumps, HVAC compressors, or active suspension adjusters.