Skip to the content.
Logo

HidroUFF Density Calculator

This application's main feature is the calculation of the density of gas mixtures, through the resolution of Peng Robinson's cubic equation of state. Currently, there are 20 substances already registered in the tool and support for adding new substances by the user. In addition, the tool has an interface in English, Portuguese and Spanish.

Version 1.3.0

How to useExecution via executable fileExecution via source codeGeneral orientationsAddition of substancesDemonstrationTechnologyDevelopmentQuotingDeveloper's Guide

How to use

To use the application, just inform the molar fraction of each substance that makes up the mixture, the temperature in ATM, and the pressure value. Pressure can be a single value or a range of values. To do so, inform the initial, final and step values between them. When performing the calculation for a range of pressure values, it is possible to generate the Isotherm graph or save the result in a .csv (comma-separated values) file. This file can be used later to generate the graph directly, without the need to perform the calculations again. To use this feature, keep the original file format, changing only numeric values if necessary.

Execution via executable file

  • Just download the Calculadora de Massa Específica HidroUFF.exe file, located in the /bin directory, and run it. No installation is required.
  • The executable file is only compatible with Windows operating system.
  • Execution via source code

    Requirements

    After installing the Python language and the pip package installer, install the following dependencies through the terminal:

    pip install sympy
    
    pip install matplotlib
    
    pip install PyQt5
    

    Execution

  • Download the source code using the command: git clone https://github.com/HidroUFF/calculadora-massa-especifica
  • Make sure the requirements are installed correctly.
  • Always start the program execution via the 'main.py' file, as this is the main file.
  • Always start the execution of the commands through the root directory of this project (directory where the file 'main.py' is).
  • The file 'imagesAndFonts_rc.py' contains the images and fonts used by the interface, it is recommended not to change this file so as not to generate inconsistencies and errors.
  • There may be some differences in the interface of different operating systems.
  • General orientations

    Addition of new substances

    To carry out the addition of new substances, it is first necessary to follow the steps indicated in Execution via source code. After that, follow the step by step:

     pip install unidecode
    

    Technology

    Python

    Demonstration

    Development

    Quoting

    If the HidroUFF Specific Mass Calculator contributed to any project or research that resulted in a publication, please cite it.

    DOI