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.
 
Thread 'Turbocharging carbureted petrol 2 stroke engines'
Hi everyone, online I ve seen some images about 2 stroke carbureted turbo (motorcycle derivation engine). Now.. In the past in this forum some members spoke about turbocharging 2 stroke but not in sufficient detail. The intake and the exhaust are open at the same time and there are no valves like a 4 stroke. But if you search online you can find carbureted 2stroke turbo sled or the Am6 turbo. The question is: Is really possible turbocharge a 2 stroke carburated(NOT EFI)petrol engine and...
I need some assistance with calculating hp requirements for moving a load. - The 4000lb load is resting on ball bearing rails so friction is effectively zero and will be covered by my added power contingencies. Load: 4000lbs Distance to travel: 10 meters. Time to Travel: 7.5 seconds Need to accelerate the load from a stop to a nominal speed then decelerate coming to a stop. My power delivery method will be a gearmotor driving a gear rack. - I suspect the pinion gear to be about 3-4in in...
Back
Top