Integrating Multiple Tables with EES - kbka

  • Thread starter Thread starter kbka
  • Start date Start date
  • Tags Tags
    Integration
Click For Summary

Discussion Overview

The discussion revolves around the use of Engineering Equation Solver (EES) for integrating multiple tables while solving first-order differential equations (DEs) related to gas compression. Participants explore the feasibility of sequentially integrating different sets of DEs and the challenges faced in implementing this within EES.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • kbka inquires about the possibility of having multiple integration tables in EES to sequentially integrate different DEs for a gas compression scenario.
  • kbka expresses a desire to solve the first half of the problem and then use the results as initial conditions for the second half, but notes that EES attempts to solve both DEs simultaneously.
  • One participant suggests avoiding EES for this type of problem, recommending the use of Modules and Subprograms to dictate the order of solving equations, while cautioning that EES is not robust for numerical stepping tasks.
  • kbka acknowledges the recommendation but prefers to continue using EES due to time constraints and limited experience with other programming languages.
  • kbka reports an issue with the integral table not displaying and receives a warning about the integration variable, seeking solutions to track temperature changes throughout the process.
  • Carlos shares a similar problem involving iterative integrations for modeling particle motion in a rotary dryer and mentions unsuccessful attempts with subprograms, asking kbka if a solution was found.

Areas of Agreement / Disagreement

Participants express differing views on the suitability of EES for the task at hand. While some suggest using EES with specific techniques, others recommend moving to different software for better results. The discussion remains unresolved regarding the best approach to achieve the desired integration.

Contextual Notes

Participants highlight limitations in EES's capabilities for numerical integration and the need for specific commands to create integration tables. There are also unresolved issues regarding the proper setup of integration variables and the functionality of subprograms.

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.
 

Similar threads

Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
1K
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
7
Views
4K