MATLAB: How to add heat in the model to compensate pressure drop

pnumatics pipe pressure droppressure droppressure lossSimscapesimulink

1) As my Purpose is to find out the losses/pressure drop in compressed air transporting pipe, As for same I used example and added pneumatic resistive tube and my code is working. 2) And Second aim is to add heat to compensate this losses now there is not getting direction – how to start. </matlabcentral/answers/uploaded_files/38636/Code%206.png>

Best Answer

There are two blocks in the Pneumatic Foundation library that allow you to add heat to the system. These are the Constant Volume Pneumatic Chamber and the Pneumatic Piston Chamber blocks. Both blocks have a thermal port, labeled H, which can connect to Thermal domain blocks.
If the heat is added to a variable volume of gas in an actuator, then you should use the Pneumatic Piston Chamber block. If the heat is added to a constant volume, e.g., a pipe, you should use the Constant Volume Pneumatic Chamber.
For the latter case, a pneumatic pipe can generally be modeled using the construct in the image below. It's very common to do this.
- Sebastian