Skip to content

Installation

Optional dependencies

Graphviz

ifctrano utilizes Graphviz to arrange various Modelica components within the model. While installation is not mandatory, it is advisable for improved visualization.

You can install Graphviz by following the instructions on the official website. For Windows installation, ensure that the Graphviz bin folder is added to the system path.

To install Graphviz on Linux, use the following command:

sudo apt-get install graphviz
sudo apt update
sudo apt install graphviz

Python package

Warning

Trano requires python 3.9 or higher and docker to be installed on the system.

ifctrano is a Python package that can be installed via pip.

pip install ifctrano

ifctrano can also be utilized with Poetry.

poetry add ifctrano

To verify the installation, execute the following command in the terminal.

ifctrano --help
ifctrano verify