FOSSEE / OMChemSim

Chemical library developed using OpenModelica for steady-state and dynamic process simulation
BSD 3-Clause "New" or "Revised" License
32 stars 27 forks source link

Flash Column outside VLE range issue #50

Open gjjayaram23 opened 4 years ago

gjjayaram23 commented 4 years ago

In the existing flash model, if either temperature or pressure is given out of VLE range, the model was throwing error. Also, energy balance may be added, similar to that of DWSIM flash model

nayakpriyam commented 4 years ago

Please add the example file where such an error was observed.

gjjayaram23 commented 4 years ago

Compressed the example file and attached with this. Please find the attachment. Flash-Example.zip

RahulNagraj444 commented 4 years ago

Compressed the example file and attached with this. Please find the attachment. Flash-Example.zip

The attached example does not show any error outside the VLE range. Condition Tested -I: Inlet temperature : 368 K and Override temperature : 500 K (Outside VLE) Condition Tested -II: Inlet Temperature and Override Temperature: 500 K (Outside VLE) Kindly specify the conditions where the error was observed

gjjayaram23 commented 4 years ago

The example was showing error when it was checked for 380 K and 300 K (both outside VLE range). Even for 500 K it is throwing error. I am using version 1.13.2. Maybe because of it.

Attached the screenshots of my compilation for reference.

Screenshot (3) Screenshot (4)
RahulNagraj444 commented 4 years ago

As I had mentioned in my comments for last issue the current working version is 1.14 in which all the flowsheets are submitted recently. In this example even DWSIM throws a flash error (Screenshot-I)

Screenshot II shows that the liquid stream is empty at 500 K

Screenshot (101)

Screenshot (100)

pravindalve commented 4 years ago
error

I am also using 1.14 but getting error at 380K

RahulNagraj444 commented 4 years ago

You need to maybe use the latest version of Simulator now

Screenshot (103)

Screenshot (104)

pravindalve commented 4 years ago

I am using latest version only

RahulNagraj444 commented 4 years ago

I am using latest version only

This is just a simple example of Benzene Toluene. We have used more cases of flash column in the completed + progress ( 67 flowsheets). Not a single issue encountered till now.

pravindalve commented 4 years ago

It may be because generally flash is used in VLE range anyway we need to check it on others systems if this is system specific error.