This example shows a water wheel modeled using Simscape Multibody.
This example models the transfer of power from hydraulic flow to an electrical system. Water flowing from a spout fills buckets on a water wheel. A hole in the bottom of each bucket allows the water to drain. The wheel is asymmetrically loaded (full buckets on one side, empty buckets on the other) which causes the wheel to turn. The wheel is connected through a gear to a generator which produces 12 volts across a resistive load.
This example uses the General Variable Mass block from Simscape Multibody to model the varying mass, inertia, and center of gravity location in each bucket. This is coupled with a hydraulic model for the flow of water and an electrical network, all modeled in Simscape.
Please read the README.txt file to get started.
See how to use Simscape Multibody to model a cam-follower mechanism:
Learn more about multibody simulation with Simscape Multibody by watching this webinar
Find other Simscape examples by searching posts for the keyword "physical modeling"
Learn more about MathWorks Simscape Products:
Steve Miller (2019). Water Wheel Generator in Simscape (https://www.mathworks.com/matlabcentral/fileexchange/62374-water-wheel-generator-in-simscape), MATLAB Central File Exchange. Retrieved .
Added R2019a version.
Added R2018b version.
Added R2018a version.
Added R2017b version.
Create scripts with code, output, and formatted text in a single executable document.