Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Valentino  
#1 Posted : 08 December 2020 06:39:09(UTC)
Valentino


Rank: Member

Groups: Registered
Joined: 13/11/2020(UTC)
Posts: 28
Man
Mexico

Was thanked: 7 time(s) in 3 post(s)
Hello friends, this time I want to share in this great and warm community of Smath Studio, a worksheet that calculates the required stages, minimum stages and minimum reflux ratio for a constant pressure binary distillation.

This document is corrected, and highlights a database of 700 organic compounds, the calculation of 6 graphs, mass balances, compositions, pressures and temperatures. The calculation time is 1 to 3 seconds.

I hope it will be very useful for students of Chemical and Process Engineering.

* it was decided to carry out the worksheet in this way, since if the compositions, temperatures and pressures that appear on pages 18 and 19 had been calculated differently, the calculation time would be 3 to 7 minutes.

SMath Studio
McCabe Thiele - 700 Compuestos Erick Valentino SM.sm (611kb) downloaded 44 time(s).

PDF
McCabe Thiele - 700 Compuestos Erick Valentino SM.pdf (2,469kb) downloaded 53 time(s).




Erick Valentino
https://www.facebook.com/erick.valentinosalado/
thanks 2 users thanked Valentino for this useful post.
on 08/12/2020(UTC),  on 08/12/2020(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Ber7  
#2 Posted : 08 December 2020 14:24:10(UTC)
Ber7


Rank: Advanced Member

Groups: Registered
Joined: 15/07/2010(UTC)
Posts: 437
Man
Israel
Location: Beer-Sheva

Was thanked: 520 time(s) in 288 post(s)
Hello.Your code can be significantly shortened. Part of the file is shown.
Regards, Fridel.
McCabe Thiele 1.sm (442kb) downloaded 26 time(s).
Offline Jean Giraud  
#3 Posted : 08 December 2020 17:08:21(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Ber7 Go to Quoted Post
Hello.Your code can be significantly shortened. Part of the file is shown.
Regards, Fridel.

File empty ... format not correct.
That bug is permanent, so many times reported ... not doctored from latest SS
As it looks it appeared SS 7610.
Thanks Fridel for being on guard Smath Community.

Offline uni  
#4 Posted : 08 December 2020 17:39:40(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
ile empty ... format not correct.
That bug is permanent, so many times reported ... not doctored from latest SS
As it looks it appeared SS 7610.
Thanks Fridel for being on guard Smath Community.

Jean, I created a special place to collect bugs associated with old versions of the program. In the future, I will delete such messages if they mislead users. Therefore, use the indicated place to organize your bugs or they will disappear without a trace. I've been patient for 10 years, but it's annoying with its pointlessness. If you think it is important, then write about them in a special place.

Solving problems with older versions (Bugs & Problems)

Edited by user 09 December 2020 07:43:46(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline Jean Giraud  
#5 Posted : 09 December 2020 17:26:16(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: uni Go to Quoted Post
I've been patient for 10 years

1. I joined Smath 5346 July 4 20015, to de-confuse.
2. Born 01 January 1903 ... I'm a pretty old wolf !
For sure Forum profile invented or found another Jean in the Russian steps.

Offline uni  
#6 Posted : 09 December 2020 17:58:49(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
This only means that I have never used the power of a moderator. Until now. This is sad because loads with unnecessary work.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline Jean Giraud  
#7 Posted : 09 December 2020 22:58:39(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: uni Go to Quoted Post
This only means that I have never used the power of a moderator. Until now. This is sad because loads with unnecessary war
.
We do our best our own way(s), Viacheslav.
You are quite right, very many declare bugs from wrong doing.
However that does not happen from Smath Power Users [Leslie expression].
Cheers Kamarad, have a better day ... Jean.

Offline overlord  
#8 Posted : 10 December 2020 00:39:24(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
You are quite right, very many declare bugs from wrong doing.
However that does not happen from Smath Power Users [Leslie expression].

Everybody make mistakes.
Actually there is no bug in new builds about this issue.
I had checked your file with a notepad.
Your Cfr equation has the result segment in it.
New builds read it correctly.
It seems the bug is in previous builds.

The Cfr equation is not a definition as it seems in your file.
It has a result action, because you had wrote it as a result.
This is why new versions couldn't parse and calculate it.
This is the correct way, a result shouldn't be considered as a definition.

However, very old versions (build 6179 in this case) read it as a definition.
Which they shouldn't, this is a serious bug for old builds.
Fortunately now we are far from that bug thanks to mods.
They had patched it years ago I guess.

Regards.

2020-12-10_00-24.png

Edited by user 10 December 2020 00:42:16(UTC)  | Reason: Not specified

Offline CBG  
#9 Posted : 10 December 2020 03:22:56(UTC)
CBG


Rank: Advanced Member

Groups: Registered
Joined: 14/10/2015(UTC)
Posts: 308

Was thanked: 77 time(s) in 58 post(s)
Jean's file does not contain any errors, but simply that the new version cannot handle the ZERO subscript. Changing the subscript ZERO to 1, the file runs perfectly.

Best Regards

Carlos

Thiele McCabe Companion MERITAS_V7632.sm (78kb) downloaded 31 time(s).

Thiele_7632.png
Offline overlord  
#10 Posted : 10 December 2020 04:26:16(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Than that is another bug of older builds.
For function shouldn't read the zero element of vector or matrix. Calculation has to give an error. This is how smath handles arrays now as far as I know.
Someone couldn't write an equation as in the pictures above with an equal sign also, but he did somehow. You must use definition.
As I said before, maybe Jean's document is right when it was written and somehow it was working. But it shouldn't, it was working because of bugs (or loopholes). This kind of behaviors was considered as bug by developers and not working now.
What I am saying, these are not bugs of new builds. These are bugs or loopholes of older builds.
Offline CBG  
#11 Posted : 10 December 2020 04:44:25(UTC)
CBG


Rank: Advanced Member

Groups: Registered
Joined: 14/10/2015(UTC)
Posts: 308

Was thanked: 77 time(s) in 58 post(s)
The handling of the ZERO subscript cannot be considered a bug, since several programming languages ​​do it

Best Regards

Carlos
Offline overlord  
#12 Posted : 10 December 2020 05:11:33(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
I know. I had used this feature regularly with C, Basic, Pascal, Python, VBasic, .Net, etc.
But there are also programming languages that starts array indexing with one. AWK, COBOL, Fortran, R, Julia, Lua, MATLAB, Smalltalk, Wolfram Language, etc. Nowadays I am trying to learn Lua and Awk since I migrated to Linux totally. And zero indexing is considered as a bug for them too.
You can't assign a value to zero indexed array with SMath so it is a bug for SMath.

Regards
Offline Jean Giraud  
#13 Posted : 10 December 2020 23:04:26(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: overlord Go to Quoted Post
Than that is another bug of older builds.
For function shouldn't read the zero element of vector or matrix. Calculation has to give an error. This is how smath handles arrays now as far as I know.
Someone couldn't write an equation as in the pictures above with an equal sign also, but he did somehow. You must use definition.
As I said before, maybe Jean's document is right when it was written and somehow it was working. But it shouldn't, it was working because of bugs (or loopholes). This kind of behaviors was considered as bug by developers and not working now.
What I am saying, these are not bugs of new builds. These are bugs or loopholes of older builds.

Under most applications, 0 indexing was an error in older SS version.
For the case in cause it was not, but latest didn't recognized.
Put yourself in the shoes of Clients ... F..k Smath with so many sudden build.
The attached should reconciliate. If You have red, make sure to evidence the red.
The = that puzzles you is the symbolic expansion, not a forgotten :=
About symbolic expansion, in at least one instance, Smath does not save settings
and re-opens red. In that case, yes you have to redefine/assign.
Indexing '0' is logical, considering that all numerical approximation of functions
are on the range [0 ..1]. Even in Mathcad, not so easy sometimes to ORIGIN 1.
In fact, I have an extraordinary piece of Mathcad 11 from Robert that I have not yet
been able to ORIGIN 1 in Mathcad itself , a bit far from Smath then !
Thanks Carlos for visiting Smath Community.
Have all a good day ... cheers Jean

Thiele Procedures Short.sm (80kb) downloaded 16 time(s).
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.