Power Sensor
Ideal instantaneous or cycle-average power measurement
Libraries:
Simscape /
Electrical /
Sensors & Transducers
Description
The Power Sensor block calculates the power taken by the load connected across the + and - terminals under the assumption that only the load is connected to the + terminal. Refer to the block icon for the arrangement of internal current and voltage sensors.
The sensor can return either instantaneous power, or power averaged over a fixed time period. Use the latter option for periodic current and voltage waveforms such as those associated with PWM control.
The following figure shows how you connect the block to measure power dissipated in a resistor.
For an alternative workflow using data logging to view component powers, see the Buck Converter example.
Examples
Ports
Output
Conserving
Parameters
Extended Capabilities
Version History
Introduced in R2012a