Simscape use of inertia and mass blocks
8 views (last 30 days)
Show older comments
I am trying to build a simplified model of a piston compressor in Simulink. I started with an ideal velocity source with 265 rpm, added the intertia of the crankshaft to it, converted the rotation to a linear movement with a wheel and axle block, added the mass of the piston and connecting rod to it. The translation mechanical converter block compresses the air. The goal is a suction volume of 2500 l/min. After running the simulation the suction volume is at 7e-6 l/min and I get a warning regarding the inertia and mass blocks. I struggling to find out where exactly the problem is with these blocks and how to solve it. Have I used the blocks correctly and set the references properly?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/637870/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/637875/image.png)
5 Comments
Yifeng Tang
on 2 Jun 2021
Hi Kai,
I suspect there is something else going on in your model. It's currently set up with wheel and axle as the conversion mechanism between rotational and translational motion. There isn't any reciprocal mechanism that exists in a piston compressor. As the constant angular velocity is driving the wheel, the cylinder will be extended or compressed. Because it's an ideal velocity source, the hardstop you have in the model won't stop the motion. Instead, the velocity source will apply huge torque to overcome the very stiff spring from the hardstop.
Looks like you need to consider using the Slider-Crank block instead: https://www.mathworks.com/help/physmod/simscape/ref/slidercrank.html
Accepted Answer
Yifeng Tang
on 14 Jun 2021
I suspect there is something else going on in your model. It's currently set up with wheel and axle as the conversion mechanism between rotational and translational motion. There isn't any reciprocal mechanism that exists in a piston compressor. As the constant angular velocity is driving the wheel, the cylinder will be extended or compressed. Because it's an ideal velocity source, the hardstop you have in the model won't stop the motion. Instead, the velocity source will apply huge torque to overcome the very stiff spring from the hardstop.
Looks like you need to consider using the Slider-Crank block instead: https://www.mathworks.com/help/physmod/simscape/ref/slidercrank.html
0 Comments
More Answers (0)
See Also
Categories
Find more on Physical Units in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!