Menu

Phase Envelope

2015-10-24
2015-10-29
  • Adam Langman

    Adam Langman - 2015-10-24

    Hi,
    Just starting out but the program looks very promising. I have a basic process that I want to model. Just heating and pressure reduction of natural gas. Layout is below (ignore the fact that the herater is acting as a chiller in this screen shot ;) )

    Gas composition:

    Species Mol %
    C1 96.0875
    C2 1.7147
    C3 0.757
    iC4 0.1452
    nC4 0.2231
    iC5 0.0835
    nC5 0.0803
    C6 0.0751
    C7 0.0351
    C8 0.0025
    C9 0.0016
    CO2 0.4849
    N2 0.3085
    H2O 0.001

    I want to plot the phase envelope to make sure I don't head into 2-phase teritory during the pressure cut. For some reason the phase envelope utility never works for me. This happens:

    I have tried most of the flash algorithems availible but with no luck. Any ideas?

    Also, one of the other recent posts mentioned a "Natural Gas properties plugin". What is this and how do I get it?

    Comment: suggest you make velocity an option for the table for "pipe segment".

    Last, is there any way to calculate the lower heating value (LHV) and wobbe index of the natural gas?

    Many thanks,

    Adam L

     
  • Daniel Medeiros

    Daniel Medeiros - 2015-10-26

    Which DWSIM version are you running?

     
  • Adam Langman

    Adam Langman - 2015-10-27

    V 3.4 Build 5740, 19/9/2015
    ok?

     
  • Daniel Medeiros

    Daniel Medeiros - 2015-10-27

    The natural gas properties plugin should've been installed automatically and available in the Plugins menu. Did you download the installer or the zip package?

     
  • Adam Langman

    Adam Langman - 2015-10-27

    Moderate sucess. I turned off parallel processing and some natural gas compositions will solve in the phase envelope utility and look sensible but others still won't solve. For the ones that fail I get the following message:

    (https://dl.dropboxusercontent.com/u/35563082/Untitled.jpg)

    I still can't find any natural gas plugin. I must be blind.

    Cheers,

    Adam

     
  • Daniel Medeiros

    Daniel Medeiros - 2015-10-27

    Yesterday I fixed some bugs regarding the phase envelope. I'll generate a new installer ASAP and make sure that the plugin is included.

    Regards
    Daniel

     
  • Adam Langman

    Adam Langman - 2015-10-29

    Wow, thanks !
    I'll give it a try now.

     
  • Adam Langman

    Adam Langman - 2015-10-29

    Much better!

    Phase envelope utility works now for gas compositions it failed on previousl;y. I can leave multi processors on too. The phase envelope looks good though the top of the envelope is missing. However, this probably won't mater to many people. The hydrate lines look off though. I'd expect them to be about 50-70° lower than what they are.

    (https://dl.dropboxusercontent.com/u/35563082/Phase%20envelope%201.png)

    The Natural Gas Utility is there now as well and it gives some very useful info!!!

    Donation sent :)

     
    • Daniel Medeiros

      Daniel Medeiros - 2015-10-29

      Thanks for the donation, Adam!

      Maybe I've been a little too heavy on the line termination criteria...
      I'll see if I can make the dew line continue to the critical point.
      Regarding the hydrate line, uncheck "vapor only" and see what happens.

      Regards
      Daniel
      On Oct 28, 2015 10:37 PM, "Adam Langman" adamlangman@users.sf.net wrote:

      Much better!

      Phase envelope utility works now for gas compositions it failed on
      previousl;y. I can leave multi processors on too. The phase envelope looks
      good though the top of the envelope is missing. However, this probably
      won't mater to many people. The hydrate lines look off though. I'd expect
      them to be about 50-70° lower than what they are.

      (https://dl.dropboxusercontent.com/u/35563082/Phase%20envelope%201.png)

      The Natural Gas Utility is there now as well and it gives some very useful
      info!!!

      Donation sent :)

      Phase Envelope
      https://sourceforge.net/p/dwsim/discussion/844529/thread/00edd49d/?limit=25#6df8


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/dwsim/discussion/844529/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.