The question is simple: should I include magnetism in formation energy calculation (DFT) when I know that system is magnetic? If so, how to do that?
Magnetism affects many of parameters (in comparison with non-magnetic structure) often changing structural parameters (e.g. cell volume) and also affecting total energy.
The usual way to calculate formation energy (in non magnetic case) is to subtract energy of individual components from total energy of whole structure. Therefore I'm asking is magnetism obligatory when calculating formation energy? If yes, how to set magnetism of individual ingredients when doing SCF calculation?