The heating temperature can affect the crystallization process of the initial mixture and the structure-directing effect of 2-methylpiperazine by altering its structure, changing the equilibrium of the reactions, and modifying the assembly of the building oligomers.