Skip to content

Latest commit

 

History

History
124 lines (92 loc) · 6.53 KB

manual.md

File metadata and controls

124 lines (92 loc) · 6.53 KB

VLizard user manual

Welcome to the user manual for VLizard, a VLE wizard. 🧙‍♂️⚗🦎

This document will quickly guide you through the process of using VLizard app for processing VLE data.
It does not cover all advanced features, but should be enough to get you started.
Please refer to other pages for advice on tests of thermodynamic consistency.

Other documentation pages

Content

  1. First navigation
  2. Adding Pure compounds
  3. Adding VLE dataset
  4. Fitting thermodynamic models
  5. Other features
  6. Troubleshooting

First navigation

After opening the app, you should see the welcome page, and most importantly, the navigation top bar:

top bar

The "About" icon will lead to this manual. As for the other icons, we will get to them later.
Let's visit the Pure compounds page.

Adding Pure compounds

For any kind of VLE data processing you need to have a vapor pressure model for each pure compound.

I think an example is worth a thousand words, so if you have VLizard freshly installed, there is example data from literature for ethanol & water.
So click the "Perform analysis" icon: analysis icon

You should see a dialog with behavior of the vapor pressure model, which should be self-explanatory.
💡 Any dialog can be closed by clicking on X, the blurred background, or by pressing Escape.
💡 Any plot can be saved as vectorized svg image to your computer.

Try editing a model via the pencil icon.
💡 This is fullscreen dialog, it can be closed only via buttons, not Escape key, so you don't accidentally lose progress.

You can now Add a new model at top of page, and fill the dialog similarly. In case you have obtained the model parameters elsewhere, enter them. Or, if you have experimental data for vapor pressure, you can "Perform fitting" – paste your data into the table and Optimize parameters.

Don't worry about temperature range, it's only informative – calculations will warn you when you extrapolate too much (can be tweaked in settings).
👉 After adding a model, it's recommended to do an analysis to sanity check it.

Of course, any model can be deleted, but let's avoid for now, and proceed by visiting the Binary systems page.

Adding VLE dataset

All binary systems are listed here. Each system can have multiple datasets, and you can fold/expand them using arrows.

Look at one of the example datasets:
Icon edit table icon lets you edit the VLE data.
Icon visualize icon visualizes your data.
Icon analysis icon is most important – it opens a menu with a wide range of analyses. The help button will help you get familiar with them (leads to overview of tests).

In order to do the same with your data, you can enter it similarly to editing. Either "Add new" system, or save some clicks by adding dataset for an existing system via new table icon
💡 If you have your table differently arranged, no problem, just rearrange the column headers and pick your units of measure.

✅ Congratulations, you now have mastered the most important feature of VLizard!
You can visit the Fitting page if you're interested. It's also needed for the van Ness test.

Fitting thermodynamic models

Last but not least, VLizard can fit your VLE data with a thermodynamic model.
Here you can see your systems, but with no fitted models, so add one via new table icon

Select the datasets to be fitted and your model (see models overview).
Initial parameters are provided, which you can tweak.
You may specify which parameters should not be optimized = left as initial estimate.
The "Optimize & Save" button will proceed with fitting, the model will be tabulated, and results displayed & persisted.
💡 Mark all parameters as constant if you'd like to just input fitted parameters from elsewhere.

After a successful fitting, you shall see the model persisted in the list.
Icon visualize icon to display fitting again (tabulates model through original data).
Icon analysis icon to tabulate the model at arbitrary pressure.

Other features

There are some icons in the top bar we have not talked about yet:

  • Home will get you to the welcome page. Not particularly useful...
  • Refresh will refresh all vapor pressure models, VLE data and fitted models
    • Use if you have manipulated the data manually outside VLizard.
  • Open data folder opens the VLizard data, located in your Documents directory.
    • Data is stored in .tsv files, which may be edited manually with Excel, but:
      • ⚠ Do only at your own risk, the app expects a very specific format, and may crash otherwise! Make a backup before editing them.
      • Though moving, renaming or deleting files manually is generally safe.
  • Settings lets you tweak VLizard to your liking 🔧⚙️

Troubleshooting

Oops, sometimes trouble happens! Here are some general steps you can try.
If nothing helps, please report the bug 🐛 using this contact.

  • Sometimes you may get an error notification at left bottom.
    • This means that a specific procedure failed, but you can still do other things.
    • Please check if the error appears only for particular data.
      • If so, check the data for mistakes.
      • If there is no visible mistake, send the data along with bug report.
    • Please note that for fitting, some crashes are normal! Optimization simply does not always converge.
      • Try different initial params, or select different portion of your data.
  • If you encounter an error screen, the app is unusable 😱
    • ctrl+R refreshes the UI without having to restart whole app.
    • But restart will be necessary for this error screen: Lost connection to the Core server!
  • F12 or ctrl+shift+I will display the UI console. Please copy any error you see there, and send it along with a bug report.

In any case, keep in mind this a free open-source project. I am doing my best to make it functional and user-friendly, but things may not always be perfect 🙂