1 / 19

Research activities

Research activities in rational thermodynamics highlight the transition from theory to computer programming. Discover the complexities of VLE conditions, model errors, and the need for canonical variables and algebraic operators. Explore a specialized thermodynamic framework for modeling.

Download Presentation

Research activities

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Research activities

  2. Rational Thermodynamics • Physical chemistry is the ancestor of chemical engineering thermodynamics: => Lots of definitions inherited from laboratory work. => Theory is adequate for hand calculations, but not for general computer programming.

  3. Rational Thermodynamics • Let the following VLE condition serve as an example: • Equation of state: • Activity coefficient model: • Unsymmetric reference:

  4. Rational Thermodynamics • There is now a bewildering number of symbols and indices:

  5. Rational Thermodynamics • Complex notation! Model errors are likely at two levels: 1) Inconsistencies made during the implementation (semantic bugs). 2) Inconsistencies in the user interface (syntactic bugs).

  6. Rational Thermodynamics • In both cases errors will be hard to capture. Typically, the presence of an expert (programmer) will be required. • Conclusion: Thermodynamic modelling is an old subject ready for a thorough face-lift.

  7. Rational Thermodynamics • Identify the canonical variables of the model. In practice either or • These are homogeneous functions which can be added to yield a total contribution:

  8. Rational Thermodynamics • The standard state contribution can be split into new (sub)contributions following the same rules:

  9. Rational Thermodynamics • Proposition: Only three algebraic operators are needed for a general thermodynamic framework! 1) The chain operator for doing things like: 2) The patch operator for defining sub-graphs:

  10. Rational Thermodynamics • Operator precedence: patch (*) > chain (+) • The equation of state VLE model can now be written: • Where the standard state is defined as:

  11. Rational Thermodynamics • The operators are type safe:

  12. Rational Thermodynamics • Note that a list operator has been introduced to make the expression more legible. • Similar, albeit more complex, expressions can be written for Gibbs energy models.

  13. + * * * Rational Thermodynamics • An equivalent calculation graph is:

  14. Rational Thermodynamics n = [‘Nitrogen’,’Oxygen’,’Argon’] G = Surface.new(n) * Gibbs.new(n) * ( Poynting.new(n) * MuTP.new(n,:idealgas,’ig’) * MuT_cp.new(n,:poly3,’ig’) * MuT_hg.new(n,:hogo,’ig’) + Residual.new(n) * ModTPN.new(n,:srk,’gas’) + Activity.new(n) * ModTN_ideal.new(n,:molmix,’ig’))

  15. Rational Thermodynamics • The thermodynamic object G is explicit in (T,p,N). For practical use the output needs to be transformed into (H,P,N), (S,P,N), (T,V,N), etc: • Legendre: extensive <=> intensive variable. • Massieu: function <=> extensive variable. • A new object is required to take care of the transformations.

  16. Rational Thermodynamics More Ruby code => air=f(H,V/T,N) air = Surface.new(n,:legendre,’p’) * Surface.new(n,:massieu,’s’) * Surface.new(n,:legendre,’-t’) * G

  17. Rational Thermodynamics • Use of operators => thermodynamic frameworks can be broken down into small, manageable, expressions. • Model description is not tied to any particular implementation => easy to export, exchange and update model info. • Export formats are Matlab, LaTeX, XML

  18. H P T H Rational Thermodynamics • Example: Propane-butane splitter with multiple coordinate specifications.

  19. Rational Thermodynamics • Thermodynamic surface transformations => canonical (and aesthetically pleasing) equation system.

More Related