BenzAI


Project maintained by benzAI-team Hosted on GitHub Pages — Theme by mattgraham

Some use cases of BenzAI

We describe, step by step, several use cases that we use to produce some figures of our article “BenzAI: A Program to Design Benzenoids with Defined Properties Using Constraint Programming” published in JCIM.

A basic generation of the benzenoids having six hexagons and a mirror symmetry (Figure 1)

The first use case deals with the generation of the first four benzenoids having six hexagons and a mirror symmetry.

First, we go to the menu Input and choose the entry Generator. Menu

We impose as the first criterion that the number of hexagons is equal to six. Then we define a second criterion related to the symmetry and a third one in order to limit the number of solutions to four. Criteria

Finally, we run the generation and obtain the first four desired benzenoids (among eleven). Result


A generation of the benzenoids having seven hexagons and contains two patterns (Figure 2)

The second use case is related to generation of benzenoids with seven hexagons, made of all possible combinations of two given patterns.

We first impose that the number of hexagons is equal to seven. Menu

Then we add a criterion related to the first considered pattern. Menu

We draw the first pattern and specify that it must be present in any solution. For patterns, green hexagons indicate that the hexagons must be present in the solution, whereas red hexagons must not be in the solution and represent the vacuum. Menu

We do the same for the second pattern. Menu

We are now ready to run the generation Menu

We run the generation and obtain 213 desired benzenoids from which five have been selected to form Figure 2. Menu


A generation based on the number of carbon atoms (Figure 4)

In this third use case, we are interested in generating all the benzenoid structures having 32 carbon atoms with a ξ value of 1.

We first impose that the number of carbon atoms is equal to 32. carbon atoms

We add the criterion about the irregularity. irregularity

We run the generation and obtain a single desired benzenoid. result

Another possibility is to first generate all benzenoids with 32 carbon atoms. generate

We are now ready to run the generation and obtain 330 benzenoid structures. result

Now, we sort the benzenoids by decreasing ξ value and the desired benzenoid is the first one. sort

Here is the result of the sorting: result

The first solution is the best one since we only generate the desired structured (remember that the number of benzenoids may become huge).


Vibrational spectra (Figure 5)

In this fourth use case, we are interested in the vibrational spectra for the benzenoids with four hexagons. First, we generate a collection containing all the benzenoids with four hexagons. generation

Here is the result: result

We select all the benzenoids. select

We go to the menu Computations and select the entry IR spectra. computation

Another possibility is to use the right click and select the entry IR spectra. click

In both cases, we obtain the desired spectra by downloading the required data from our database. Three spectra are obtained as these benzenoids can have either 16, 17, or 18 carbon atoms. The spectrum for the benzenoids having 16 carbon atoms: spectrum

The spectrum for the benzenoids having 17 carbon atoms: spectrum

The spectrum for the benzenoids having 18 carbon atoms: spectrum


Comparison of models (Figure 6)

In this fifth use case, we want to compare local aromaticity using Lin’s method, Clar cover, and ring bond order on a small set of five benzenoids having five hexagons. For this, we generate all the benzenoids having five hexagons. generate

We obtain 22 benzenoids: result

Then we select five of them and copy then into a new tab. copy

Now we compute the resonance energy thanks to Lin’s algorithm: resonance

Here is the result which is presented automatically in a new tab: result

Now, we compute the Clar cover: clar cover

Again, the result is presented automatically in a new tab: result

Finally, we compute the Ring Bond Order: RBO

The result is once again presented automatically in a new tab: result


Distribution of the irregularity parameter (Figure 9)

In this sixth use case, we want to compute the distribution of the irregularity parameter for some sets of benzenoids. First, we generate all the benzenoids having at most 34 carbon atoms. generate

We obtain 1,882 benzenoids: result

Then we select all the benzenoids and run the computation of the distribution: result

Here is the result: result

Now, we generate all the benzenoids having at most 9 hexagons. generate

We obtain 8,392 benzenoids: result

Then we select all the benzenoids and run the computation of the distribution: Here is the result: result