CADET-Equations is a Python tool designed to generate modeling equations for packed-bed chromatography.
It provides a simple user interface that allows users to configure the model, and outputs the corresponding mathematical equations in LaTeX format.
To get started with CADET-Equations, you need to install the required Python dependencies and a LaTeX compiler.
Create a new Conda environment with Python 3.10:
conda create -n cadet-equations python=3.10
Next, install the necessary Python packages using `pip` by running the following commands:
```bash
conda activate cadet-equations
conda install pip
pip install -r requirements.txtCADET-Equations requires a LaTeX compiler to generate mathematical equations in LaTeX format.
- If you are using a Linux-based system, you can install the necessary LaTeX packages using the following command:
# Install LaTeX compiler
sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra- If you use windows, do as follows:
Download the MiKTeX installer for Windows from the official site:
Choose the "Net Installer" for Windows (64-bit).
-
Run the downloaded
.exeinstaller. -
Choose "Install for just me" (unless you need system-wide installation).
-
During installation, make sure to enable:
✅ "Install missing packages on-the-fly"
This is important: it allows MiKTeX to automatically fetch any required LaTeX packages when needed by your app or script.
After installation is complete:
- Open a new Command Prompt (or Miniforge Prompt)
- Run the following command:
pdflatex --version
This will install the required LaTeX components needed to render equations properly.
## Usage
Once you have installed the necessary dependencies, you can use the tool to generate packed-bed chromatography modeling equations.
```bash
# Run the tool (replace with your script or command)
streamlit run Equation-Generator.py- Ensure that the LaTeX compiler is correctly installed and accessible from your terminal.
- If you encounter any issues with LaTeX rendering, check the LaTeX installation or adjust configurations as needed.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0) - see the LICENSE file for details.