Integrating Multiple Tables with EES - kbka

  • Thread starter Thread starter kbka
  • Start date Start date
  • Tags Tags
    Integration
AI Thread Summary
The discussion revolves around using Engineering Equation Solver (EES) for integrating multiple tables while solving first-order differential equations (DEs) related to gas compression. The user, kbka, seeks to integrate results from one time interval to another but faces challenges with EES attempting to solve both DEs simultaneously. Recommendations suggest using modules and subprograms to dictate the order of operations, as EES is not ideal for numerical stepping tasks. Additionally, kbka encounters issues with the integral table not displaying due to a warning about the integration variable. Another user, Carlos, shares a similar problem involving iterative integrations for modeling particle motion in a rotary dryer, indicating a broader interest in the topic.
kbka
Messages
25
Reaction score
0
Hi,

I'm aware that this post is regarding some engineering software, but since only mechies use EES (as far as I know) I'm posting my question here!:)

So I'm solving some first order DE's. My question is can I have multiple integration tables in EES?

The thing is I want to compress a gas from time=0 to time=10 and determine temperature and pressure. I got this part figured out.

and then from time=10 to time=20 I want to integrate using the last values of the former integration (Pressure and temperature), but using a new set of DE.

anybody have experience doing this?

regards,
kbka
 
Engineering news on Phys.org
I'm thinking that if I can make EES solve the first half of my program, and then afterwards solve the second half using the results from the first, that would solve my problem.

As of now EES is trying to solve the two DE simoltaneously which of course is my problem...
 
I do have experience with this and my recommendation is to not use EES for this. I do compressor modeling and have attempted to implement a simple compressor model using EES at one point with only limited success.

To do what you are asking you will need to tell EES an order to solve things in using Modules and Subprograms (check the help files for examples).

EES is a very robust non-linear equation solver that is designed to solve many equations simultaneously. However, it is not a robust programming language and should be avoided for tasks that involve numerical stepping.

If it is a HW problem or something look into the modules and subprograms, if it is for a research project I would suggest moving away from EES.
 
Thank you!

It is a project, but with the amount of time remaining and my lack of experience in other languages (only one being a tad of MATLAB programming), I'd say sticking to EES is best for me.

I have another problem now though. The integral table doesn't show anymore, I have tried to place the command '$Integratable time:1;P;T' inside the module, below and above it. When I run the program A warning pops up saying
"TIME must be an integration variable in the equation-based integral. An integral Table will not be created"

The final temperature of each proces is calcuated and make sense but I'd like to be able to follow the temperature rise as the pressure is changed throughout the whole process...

Any solution to this?
 
Hello, my name's Carlos. I've come up with a similar problem of yours. I'm trying to use equation based integral functions to model the motion and drying of a particle dragged by air force while falling down in the inside of a rotary dryer. I need to do iterative integrations using the values of previous steps. I tried to use subprograms but it hasn't worked so far. Did you figure out how to do it? It's for research purposes.

Thanks a lot.
 
Here's a video by “driving 4 answers” who seems to me to be well versed on the details of Internal Combustion engines. The video does cover something that's a bit shrouded in 'conspiracy theory', and he touches on that, but of course for phys.org, I'm only interested in the actual science involved. He analyzes the claim of achieving 100 mpg with a 427 cubic inch V8 1970 Ford Galaxy in 1977. Only the fuel supply system was modified. I was surprised that he feels the claim could have been...
TL;DR Summary: Heard in the news about using sonar to locate the sub Hello : After the sinking of the ship near the Greek shores , carrying of alot of people , there was another accident that include 5 tourists and a submarine visiting the titanic , which went missing Some technical notes captured my attention, that there us few sonar devices are hearing sounds repeated every 30 seconds , but they are not able to locate the source Is it possible that the sound waves are reflecting from...
Back
Top