How to model Double-Pipe Heat Exchanger in Python

894 views
Skip to first unread message

Steven He

unread,
Mar 30, 2017, 12:01:41 PM3/30/17
to apmonitor
Hello everybody,

I am trying to model double-pipe heat exchanger in Python. Section 2.4.8 Distributed Parameter System(the Double-Pipe Heat Exchanger) in Process Dynamics and Controll by Seborg.

Equations of the heat exchanger



I want to make a dynamic simulation of the heat exchanger. How to define the model?Thank you very much.


John Hedengren

unread,
Mar 30, 2017, 3:07:16 PM3/30/17
to apmo...@googlegroups.com

Steven,

 

I’ve attached an example of a heated rod (distributed parameter) system in Python (or MATLAB). You can run it by unzipping the folder and running main.py. The heated rod example could be adapted for your application where the heated rod would become the “wall” equation and you’d just need to add the fluid equation.

 

Another example of a distributed parameter system is the Solid Oxide Fuel Cell example in Python (and MATLAB). You can download it from http://apmonitor.com/do/index.php/Main/SolidOxideFuelCell but it is significantly more complicated than the example you proposed. It has spatial discretization two dimensions along with the typical time dimension for the dynamics. There is reaction, mixing, and heat transfer.

 

Best regards,

 

John Hedengren

 

 

 

From: apmo...@googlegroups.com [mailto:apmo...@googlegroups.com] On Behalf Of Steven He
Sent: Thursday, March 30, 2017 7:12 AM
To: apmonitor <apmo...@googlegroups.com>
Subject: [APM] How to model Double-Pipe Heat Exchanger in Python

 

Hello everybody,

 

I am trying to model double-pipe heat exchanger in Python. Section 2.4.8 Distributed Parameter System(the Double-Pipe Heat Exchanger) in Process Dynamics and Controll by Seborg.

 

Equations of the heat exchanger

 

--
--
APMonitor user's group e-mail list.
- To post a message, send email to apmo...@googlegroups.com
- To unsubscribe, send email to apmonitor+...@googlegroups.com
- Visit this group at http://groups.google.com/group/apmonitor

---
You received this message because you are subscribed to the Google Groups "apmonitor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apmonitor+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rod.zip
Reply all
Reply to author
Forward
0 new messages