Giter Site home page Giter Site logo

venuiisc / eq-diagr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ignasi-p/eq-diagr

0.0 0.0 0.0 5.55 MB

Chemical Equilibrium Diagrams for aqueous systems

License: GNU General Public License v3.0

Java 77.52% Batchfile 0.44% HTML 11.10% CSS 0.12% Haskell 0.03% Gnuplot 6.04% PostScript 0.31% NSIS 4.37% Shell 0.07%

eq-diagr's Introduction

icon Chemical Equilibrium Diagrams (Java)

Spana is a program that allows the user to create and view chemical equilibrium diagrams for aqueous systems. The chemical system is defined by the user through the Database program, which may be called from Spana.

For the course KD1280 (chemical analysis) at KTH (the Royal Institute of Technology at Stockholm) there is another version with special settings and a different database. Here you will find the original software (without KTH settings).

A previous version for Windows (now un-maintained, written in Visual Basic) named (Medusa/Hydra) and developped at KTH is available at https://sites.google.com/site/chemdiagr

Download

All downloads are available in the releases section. There are two variants of Chemical Equilibrium Diagrams: multi platform, and Windows. These versions are either a complete zip file or a Windows installer.

  • The multi-platform zip-file contains jar-files which may be used under Ubuntu (Linux), Windows or MacOS.

  • The Windows setup program contains Windows "exe" files (Java launchers). No administrator rights are needed to install the software. Install either on a computer or as portable software on a USB memory stick.

Features

  • Completely portable - runs off a USB or hard drive.
  • Does not require administrator privileges.
  • Diagrams may be copied and pasted, printed or exported to image files in formats such as PostScript, PDF, JPG, PNG, etc.
  • Example chemical equilibrium diagrams that may be produced with this software:

Predominance area diagram Fraction diagrams Logarithmic diagram

Get going

Make your 1st diagram with SPANA and DATABASE (PDF-file).

System Requirements

  • Java 1.7 or later.
  • Apple computers: Java 7 requires an Intel-based Mac running Mac OS X 10.7.3 (Lion) or later with a 64-bit browser (Safari, for example).
  • PortableApps.com platform (optional in Windows systems).

License

Report problems

e-mail

Credits

The motor behind Spana, performing the chemical equilibrium calculations, is HALTAFALL published in:

  • Ingri N, Kakolowicz W, Sillén L G, Warnqvist B, 1967. High-speed computers as a supplement to graphical methods - V. HALTAFALL, a general program for calculating the composition of equilibrium mixtures. Talanta, 14: 1261-1286. Errata: Talanta, 15(3) (1968) xi-xii.

  • Warnqvist, B., Ingri, N., 1971. The HALTAFALL program - some corrections, and comments on recent experience. Talanta 18, 457–458.

Many ideas for the plotting of chemical diagrams are from the SOLGASWATER code by Gunnar Eriksson, at Umeå uiversity by that time. SOLGASWATER's publication:

DataBase (formerly HYDRA) is inspired on a program & database (initially for MS-DOS) created by Mingsheng Wang, Andrey Zagorodny under the leadership of Mamoun Muhammed at Materials Chemistry, Royal Institute of Technology (KTH), Stockholm.

Several code parts and programming suggestions are from Réal Gagnon's site Real's HowTo. The external browser launcher is BareBones. The Java "vector cut-and-paste" class jvectClipboard is by Serge Rosmorduc, see JSesh. ClassLocator, ClipboardCopy, CSVparser, ExternalLinkContentViewerUI, PrintUtility and SortedListModel are adapted from ideas and code found in the internet at diverse sites (many not existing anymore). This software has been developped using the portable version of Netbeans.

The following persons have contributed with ideas and suggestions: Gunnar Eriksson (Umeå), Ingmar Grenthe (KTH), Johan Blixt (KTH), Sven-Olof Pettersson (Studsvik) and Joachim Zeising (KTH). Many thanks are due to the chemistry teaching staff at KTH: Joan Lind, Gabor Merenyi, Olle Wahlberg, Tom Wallin, Mats Jansson, Märtha Åberg, and many others. And many thanks to all students at KTH who helped me in shaping up the software and in finding many bugs!

Last Updates

  • 2020-June - Improvements to avoid "too many iterations" problems. Revision of the help files. Modifications to write and read all text files in Unicode UTF-8 format. Modifications to allow calculation of activity coefficients up to 1000°C.
  • 2020-Feb - Corrected an error that made Spana to fail performing the calculations in Linux-Ubuntu.
  • 2019-Feb - Restored text database format to old format, if possible. Introduced special settings and a special database for the course on chemical analysis KD1280 at the Royal Institute of Technology (KTH).
  • 2018-Oct - New database formats, including both a power series expression and a look-up table, allow the search and data selection at higher temperatures (up to 600 C) and pressures (up to 5k bar). Chemical equilibrium diagrams may be made for supercritical aqueous. solutions. To do: update the help file to document these changes.
  • 2018-Aug - Increased the speed of the calculations. For Windows: improved the java-launchers (exe-files). For MacOS created a script that the user may use to create "apps".
  • 2018-July - Added the possibility to extract data at temperatures above 100°C (by manually changing the ini-file for Database). Added case-insensitive search of reference keys.
  • 2018-April - Improvements in activity coefficients. Improvement in solid phase selection.
  • 2018-March - Removed an error when merging two data-files with solid components. Lowered tolerance when HaltaFall returns "too many iterations"
  • 2017-May - Added changing tolerance when calculating diagrams
  • 2017-Jan - Corrected an error in data-file merging. Added "(a)" and "(ppt)" as types of solid phases
  • 2016-Jan - Revision to speed up the method to select which solid phases precipitate.

eq-diagr's People

Contributors

ignasi-p avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.