AttainableRegionTutorial.jl

Welcome to AttainableRegionTutorial.jl! This website hosts documentation and further material for the Attainable Region Tutorial appearing in "Chemical Engineering in the Pharmaceutical Industry, Third Edition", Chapter 28: "Population Balance Modelling for Batch and Continuous Crystallization Processes". Due to appear in 2026.

Link to second edition.

Installation

Julia

To run the tutorial, the Julia programming language needs to be installed. It is recommended to install and update via juliaup. Alternatively, pre-made installers are also available. Details are provided by the Julia Installation Instructions.

Once installed, Julia can be used by running the app directly, by using it from within a code editor like Microsoft Visual Studio Code, directly from the Command Prompt (Windows, cmd.exe) or Terminal (Mac OS), etc.

Package installation

Package installation is simple. In a Julia session, simply execute:

using Pkg
Pkg.add(url = "https://github.com/thomvet/AttainableRegionTutorial.jl")

This will add the AttainableRegionTutorial.jl package to the already active environment. Alternatively, you could navigate to a desired folder using cd(path/to/folder) and use Pkg.activate() to create a new environment in that folder (or activate the existing environment) and then add the package.

More information on environments and package management in Julia can be found here.

License

AttainableRegionTutorial.jl is published under the permissive open-source MIT license. See also the corresponding Wikpedia article.