<

Page 6 of 36 FirstFirst ... 4 5 6 7 8 16 ... LastLast
Results 61 to 72 of 423

Thread: Excel library for process calc's including distillation

  1. #61
    Properties is very flexible and there are different ways to define by code compositions, BIPs etc.
    Here there is the code from "Prode.com" site :

    ; define a stream
    Stream = 1

    ; Initialize the stream
    initS(Stream)
    ; define the model for gas phase fugacity
    setMFg(Stream,SRK_MODEL,GAS_PHASE)
    ; and liquid phase
    setMFg(Stream,,SRK_MODEL,LIQ_PHASE)
    ; set the list of components
    putCC(Stream,1,H2S)
    putCC(Stream,2,METHANE)
    putCC(Stream,3,CO2)
    ; set molar compositions
    putZ(Stream,1,0.15)
    putZ(Stream,2,0.7)
    putZ(Stream,3,0.15)
    ; row 1, Kij components 3-2
    putCi(Stream,1,3)
    putCj(Stream,1,2)
    putMod(Stream,1,SRK_MODEL)
    putKji(Stream,1,0.097)
    ; row 2, Kij components 3-1
    putCi(Stream,2,3)
    putCj(Stream,2,1)
    putMod(Stream,2,SRK_MODEL)
    putKji(Stream,2,0.102)
    ; row 3, Kij components 1-2
    putCi(Stream,3,1)
    putCj(Stream,3,2)
    putMod(Stream,3,SRK_MODEL)
    putKji(Stream,3,0.085)
    ; finally save data
    setS(Stream)

    ; as alternative you can utilize the method loadSB to looad binery intercation parameters from database

    loadSB(Stream)


    if you wish to change a composition just use this code

    ; set new molar compositions
    putZ(Stream,1,0.3)
    putZ(Stream,2,0.3)
    putZ(Stream,3,0.4)
    ; save data
    setS(Stream)

    and so on...

  2. # ADS
    Spons Circuit
    Join Date
    Always
    Posts
    Many
     
  3. #62
    thanks

  4.    Sponsored Links



    -

  5. cmarc, you may contact Prode, in my case the author has been very helpful.

  6. #64
    thanks tinom,
    actually I am not a registered user, just evaluating the software.

  7. #65
    I see an active thread on the subject,
    has someone verified the different operating between minimum Gibbs energy and isothermal compressibility criteria in determining the state of a mixture ?

  8.    Spons.


  9. #66
    in dense phase region (near critical point) with a EOS as Soave Redlich Kwong or Peng-Robinson you can obtain only one root, that corresponding to gas or liquid state, with one solution you can't apply Gibbs Minimum Energy criteria, since isothermal compressibility has different values in gas and liquid state you can use that property to define the state.
    As far as I can test Properties is quite reliable in selecting the proper solution even near a critical point.

  10. F-Secure found "Gen:Malware.Heur.Jq0@bCdrXlhi"

  11. #68
    tadole20,
    as far as I know there are several hundred users of this software...
    if you have specific technical questions I would suggest to contact the author and get assistance, differently your comment here would appear quite strange...
    Once I reported a problem to Aspen, just to find that it was my computer...

  12. #69
    Carlo.Stenali, I am interesetd to know the criteria used by Properties for selecting the phase in single phase regions, convergence issues are common problems with these tools, for example our simulator in critical region can report two phases in equilibria even outside the phase envelope, there is a note in the operating manual concerning thi s issue.

  13. #70
    if you are interested in details, my suggestion is to contact the author.
    However having spent some time with Properties I can say that isothermal flash converges quite reliably in critical region (this as result of some tests against well now simulators), there are different versions of the software and i was informed that all do use local Newton + global solver.
    I can add that in my tests I haven't found problems with Gibbs Minimum Energy criteria (the default).

  14. #71
    I can confirm that Properties works very well with hydrocarbons, I have not tested with other mixtures.
    I have a question, which is the maximum number of streams ? My copy accepts only up to 50 streams.

  15.    Spons.


  16. #72
    Thanks

Similar Threads

  1. Replies: 29
    Last Post: 02-13-2018, 07:53 PM
  2. Replies: 2
    Last Post: 04-07-2013, 07:08 PM
  3. Replies: 7
    Last Post: 12-10-2012, 08:13 PM
  4. Replies: 18
    Last Post: 05-31-2012, 01:08 PM
  5. PSV (Spring loaded) sizing calc in Excel
    By MartinST in forum Engineering Programming
    Replies: 0
    Last Post: 12-23-2011, 03:24 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40