Inﬂuence of Chemical Substitution and Light Element Insertion on the Magnetic Properties of Nanocrystalline Pr 2 Co 7 Compound

: It is well recognized that intermetallics based on rare-earth C 0.25 compound annealed at 973 K, H c = 10.3 kOe, and (BH) max = 11.5 MGOe. We studied the microstructure, hydrogenation, and magnetic properties of nanocrystalline Pr 2 Co 7 H x hydrides. The crystal structure of the Pr 2 Co 7 compound transformed from a hexagonal (P6 3 /mmc) into an orthorhombic (Pbcn) and monoclinic (C2/c) structure during hydrogenation. The absorption of H by the Pr 2 Co 7 compound led to an increase in the T C value from 600 K at x = 0 to 691 K at x = 3.75. The Pr 2 Co 7 H 0.25 hydride had optimal magnetic properties: H c = 6.1 KOe, (BH) max = 5.8 MGOe, and T C = 607 K. We tailored the mean ﬁeld theory (MFT) and random magnetic anisotropy (RMA) methods to investigate the magnetic moments, exchange interactions, and magnetic anisotropy properties. The relationship between the microstructure and magnetic properties is discussed. The obtained results provide a fundamental reference for adapting the magnetic properties of the Pr 2 Co 7 , Pr 2 Co 6.5 Fe 0.5 , Pr 2 Co 7 C 0.25 , and Pr 2 Co 7 H 0.25 compounds for potential permanent nanomagnets, high-density magnetic recording, and magnetic refrigeration applications.

In addition, in parallel with the optimization of the intrinsic magnetic properties, it is necessary to optimize the extrinsic magnetic properties of the Pr 2 Co 7 , Pr 2 Co 7−x Fe x , Pr 2 Co 7 C x , and Pr 2 Co 7 H x compounds by searching for a suitable nanocrystalline state corresponding to the potential applications. In our study, we implemented the high-energy grinding technique followed by controlled recrystallization. At this scale, the grain size was brought to the order of magnitude of the exchange length. This method, which constitutes a non-equilibrium synthesis process, makes it possible to obtain metastable nanostructured powders from a mixture of elementary powders. We tailored the mean field theory (MFT) [56,57] and random magnetic anisotropy (RMA) [58,59] to investigate the magnetic moments, exchange interactions, and magnetic anisotropy properties. The correlation between microstructure and magnetic properties is discussed. The magnetocaloric properties for the nanocrystalline Pr 2 Co 7 compound are reported. The magnetocaloric effect is calculated in terms of isothermal magnetic entropy change (∆S max M ) based on the magnetization isotherms obtained at different temperatures for the rhombohedral (2:7 R) and hexagonal structures (2:7 H). Furthermore, we discuss the impact of stacking blocks on low-field magnetic refrigeration in the nanocrystalline Pr 2 Co 7 compound.

Synthesis Methods of Pr 2 Co 7 , Pr 2 Co 7−x Fe x , Pr 2 Co x C x , and Pr 2 Co x H x Samples
To prepare the nanocrystalline Pr 2 Co 7 and Pr 2 Co 7−x Fe x (x = 0.25, 0.5, 0.75, and 1) samples, high-energy ball milling was carried out on previously prepared ingots [60]. The pre-alloy obtained by fusion was broken inside a glove box with a mortar and then introduced with five beads into a hermetically sealed jar. A Fritsch P7 planetary mill with a bead/powder ratio of 15:1 was used to get finer particles. The ground powder was then wrapped in tantalum foil (Ta) and then sealed in quartz ampoules under secondary vacuum (10 −6 bar) at different annealing temperatures: T a = 700 K and 1350 K. The tantalum foil (Ta) was used to avoid contamination due to contact with silica; these samples were first degassed under secondary vacuum to ensure that no impurities came to pollute the synthesis products. The sample was cooled after leaving the oven by quenching in water. To insert carbon atoms (C) into the Pr 2 Co 7 elemental cell, we used a carbonation technique that involved a solid-solid-type reaction according to the following reaction [61]: Hydrogen atoms (H) were inserted into the Pr 2 Co 7 compound with a solid-gas reaction between the sample and 99.99% pure dihydrogen (H 2 ) [58]. The method used was that of Sievert [62,63]. The amount of absorbed hydrogen was determined with a volumetric method [64,65].

Structural, Microstructural, and Magnetic Characterizations of the Samples
The microstructural characterizations of the Pr 2 Co 7 , Pr 2 Co 7−x Fe x , Pr 2 Co x C x , and Pr 2 Co x H x samples were investigated by using X-ray diffraction (XRD; Bruker D8 Advance) with CuK α radiation of wavelength λ = 0.154056 nm. The refinement of the patterns was done by using the FULLPROF computing code based on the Rietveld method [66,67] with the assumption of the Thompson-Cox-Hastings line profile. The goodness-of-fit indicators χ 2 and R B were calculated as previously described in [61]. Extended X-ray absorption fine-structure (EXAFS) measurements were performed on a 2.75 GeV SAMBA beamline, Synchrotron SOLEIL, France. EXAFS experiments were carried out at 293 K in the fluorescence mode using a 4-element Si(111) drift detector. The EXAFS spectra were extrapolated using the MAXeCherokee code [68,69], while the fitting process and comparison between theoretical and experimental EXAFS curves were carried out with the MAX-Roundmidnight package [68]. The theoretical phases and amplitudes used in the EXAFS models were determined with the FEFF8 code [70] by using the crystal structure results of the Rietveld refinements at each Fe site with the use of the MAX-CRYSTALFFREV code [68] for the Crystal Structure-EXAFS Modeling interface.
The morphology, the chemical compositions, and the images were considered using a JEOL 2010 FEG transmission electron microscope equipped with an energy-dispersive spectrometer (EDS). For the TEM measurements, specimens were thinned using a focused-ionbeam-type FEI Helios 600 Nanolab dual-beam instrument. The Curie temperature T C was measured on a MANICS differential sample magnetometer (DSM-871 Magneto/susceptometer) in a field of 1 kOe with a sample of around 5-10 × 10 −3 g. T C was obtained from the M(T) curve by extracting the linear part of the M(T) curve and determining the temperature value of the intersection with the expanded baseline. Magnetic hysteresis M(H) loops were determined using a Physical Properties Measurement System (PPMS9) Quantum Design microscope.

Nanocrystalline Pr 2 Co 7 Compound
The nanocrystalline Pr 2 Co 7 compound can crystallize into two polymorphic structures [54] as a function of the annealing temperature T a ; the first is a hexagonal (2:7 H) structure of the Ce 2 Ni 7 type (P6 3 /mmc space group) that is stable at T a ≤ 1023 K with the lattice parameters a = b = 5.068 Å and c = 24.463 Å. The second is a rhombohedral (2:7 R) structure of the Gd 2 Co 7 type (R3m space group) that is stable at T a ≥ 1223 K. The lattice parameters are a = b = 5.068 Å and c = 36.549 ÅṪhe Pr 2 Co 7 cells can be defined by stacking the hexagonal structural blocks for PrCo 5 (CaCu 5 -type structure) and the cubic PrCo 2 blocks (MgCu 2 -and MgZn 2 -type structures) along the common hexagonal (trigonal for PrCo 2 ) axis [54]. The lattice parameters of the two structures are distinguished by the c parameter, which is higher for the 2:7 R structure due to the difference in stacking ( The analysis performed with XRD for the nanocrystalline Pr 2 Co 7−x Fe x (x = 0, 0.25, 0.5, 0.75, and 1) compounds annealed at T a = 973 K showed the presence of a main crystallographic phase with the structure of Ce 2 Ni 7 (P6 3 /mmc space group) [69,71]. The peaks found were identified by assigning Miller indices (hkl) to the different peaks recorded. Using Rietveld analysis, we were able to determine the crystallographic parameters for each compound. The structural results and the R B and χ 2 parameters are listed in Table 1. The minimum of the R B and χ 2 parameters corresponded to Fe located in the 6h position, which indicated that 6h was the preferential site for Fe. The Pr 2 Co 7−x Fe x unit cell expansion was about 1.15%. The variation of the c/a ratio with x suggested that the unit cell expansion was anisotropic and more pronounced in the basal plane. The grain size Φ was estimated from Scherrer's expression [61,63]: Φ = 0.9 λ/(β L ·cosθ), where β L is the full width at half maximum (FWHM) of the peaks at the diffraction angle θ. The Φ values were around 125, 130, 140, 146, and 154 nm for x = 0, 0.25, 0.50, 0.75, and 1, respectively. For 1 < x < 2.5, the multiphase sample formation was highlighted by additional diffraction peaks that were not indexed in the P6 3 /mmc space group. We noted the appearance of additional lines corresponding to the reflections of the 1:3 structure. For x > 2.5, we noted the appearance of other peaks that were similar to those corresponding to the 1:3 and 2:17 phases. The 2:7 structure disappeared entirely and broke down into Pr(Co,Fe) 3 + Pr 2 (Co,Fe) 17 [69].

Structural
Analysis of Nanocrystalline Pr 2 Co 7−x Fe x Compounds with EXAFS Figure 3 displays the extended X-ray absorption fine structure (EXAFS) found for the Pr 2 Co 7−x Fe x compounds (x = 0.5, 0.75, and 1). The Fe-K edge is near 7120 eV, with a maximum absorbance located at 7126 eV. The apparent features of the three spectra are similar, revealing that the local structure around the Fe atoms does not change significantly with Fe content. The Fourier transforms (FTs) of the EXAFS data ( Figure 3) were calculated between k min = 2 Å −1 and k max = 10.5 Å −1 in order to to avoid disturbance and noise. The resolution is π/(2∆k) = 0.18 Å. The main FT peak observed between 1.3 and 3.4 Å is due to the second atom shell (Pr and Fe) at ≈3.0 Å and the single Fe-Co scattering at ≈2.50 Å.
Quantitative EXAFS modeling of the local Fe structure in Pr 2 (Co,Fe) 7 was initiated with a comprehensive analysis of the five Co sites in Pr 2 Co 7 obtained in our previous paper [71]. The first interatomic distances around the central Co/Fe atom are listed in Table 2. The five Co sites were significantly different enough to suggest that a noticeable difference in the corresponding EXAFS spectra was expected; the 4f and 4e sites were almost identical, with a first shell of 6 Co at an average distance of 2.50 Å and a mixture of 3 Co and 3 Pr at the same distance of around 2.95 Å in the second shell. Site 2a was similar for the first shell of Co at 2.54 Å and a second shell composed of 6 Pr at 2.96 Å. In site 6h, the two first shells contained, respectively, 8 Co around 2.5 Å and 4 Pr at 3.17Å. All four sites were strongly isotropic, and the radial distributions of the first and second distances were rather close. On the other hand, the 12k site was anisotropic with 7 Co first neighbors and a wide radial distribution of Pr second neighbors (3 Pr at 2.91 Å and 2 Pr at 3.29 Å).
The five theoretical EXAFS spectra corresponding to the five Fe substitution sites described above were compared to the experimental data. On the qualitative side, we found a better similarity between the 12k model and the experimental results than for the other sites. To get quantitative results, the adjustment of K-Fe EXAFS spectra was performed using four models that simulated the local structure in the five sites (model 1, model 2, model 3, and model 4 for 12k, 2a, 4 f or 4e, and 6h, respectively), which described all of the assumptions of the Fe site according to the results in Table 3. For each shell, we could fit three parameters: the Debye-Waller factor (σ 2 ), the coordination number (N), which represents the radial distribution function width, and the central atom-neighbor distance (R). We could also make a shift of the energy origin E 0 , but we noticed that this parameter could be fixed in all of our adjustments. To prevent divergence due to the parameters' correlations [74], we minimized the number of fitted parameters. Therefore, the coordination numbers were fixed for all shells to the values obtained in the crystal structure, and the only amplitude parameters were the Debye-Waller factors. The EXAFS adjustment results are given in Table 3. The Debye-Waller factors increased as a function of x, consistently with the slight decrease in the main peak of the FT amplitude. This was reflective of an increase in structural disorder with substitution disorder. Regarding the neighbor Fe-central atom distances, the Fe-Co distances and the first Fe-Pr distance increased slightly, while the second Fe-Pr distance decreased. As predicted, this Co-Fe substitution effect was mainly due to the increase in Fe-Co bonds with respect to Co-Co bonds.
For all Pr 2 Co 7−x Fe x compounds, the model in which Fe atoms occupy the 12k site provides a good adjustment with a QF that is three times smaller than for the other three models. Obviously, the adjustments of the first shell when treating the first Fe-Co contribution at 2.5 Å are similar, and their quality is comparable for the four models. The difference lies in the second shell and is mainly related to the contributions of the unbound Fe-Pr and the second Fe-Co between 2.9 and 3.2 Å. To illustrate the difference between the good adjustment of Model 1 and the other three models, we also show a zoom of their Fourier transforms between 2.3 and 3.5 Å. The improvement in the adjustment of Model 1 over Models 2-4 is depicted quantitatively in the Table 4, in which we determined residuals and quality factors in R space for Pr 2 Co 6.5 Fe 0.5 for the four models, i.e., in the domain of the full Fourier transform (ρ%/QF R ) or in a restrained R space between 2.3 and 3.5 Å(QF 2.3−3.5 ). When the entire R domain is utilized, the model improvement of QF R is comparable to the values found in k space ( Table 3). The significant improvement in the quality factors in the restricted R domain is well established. The good adjustment parameters show that an Fe(12k) atom is enclosed by an average of seven Co neighbors at 2.5 Å, three Pr neighbors at 3.0 Å, and two Pr neighbors at 3.2 Å. In addition, the Debye-Waller factors (σ 2 ) of the Fe-Pr shell found with Model 2 and Model 3 are about 0.024 Å 2 , which is physically oversized and unacceptable. The conclusion is that if we attempt to constrain the model to only a second Pr distance, as in all sites, but with 12k, the radial distribution feature of the Pr fitted around Fe attempts to offset this bias with an un-physical value of the Debye-Waller factor. However, this compensation is not enough to reach a quality of adjustment that is comparable to the value obtained with the assumption of the 12k site. Nevertheless, a substitution in a mixture of 12k, 6h, and 2a sites cannot be fully excluded with only the EXAFS adjustment results. We think, however, that the preferential 12k substitution is more probable for several reasons described in [69]. Note that the difference between the atomic radii of Co and Fe is only 0.05 Å. Thus, this is not subject to important influences, such as those found in metallic alloys, e.g., Cu-Al, where the observation of Vegard's law in the long-range mean of the crystal structure versus x is significantly different from the locally expanded structure obtained with EXAFS [75]. On the other hand, in the Pr 2 Co 7−x Fe x described in this work, we could not find any significant differences between the local structures derived from XRD and EXAFS. Although the substitution disorder was introduced by the partial replacement of Co by Fe, the crystal structure identified through powder diffraction and Rietveld refinement was even verified for the actual crystal cell parameters and atomic positions around the Fe substituent. Nevertheless, XRD did not identify the exact location where the substitution took place, whereas this information was provided by the EXAFS study.
Pr 2 Co 7 C x compounds have a predominantly hexagonal Ce 2 Ni 7 structure with a P6 3 /mmc space group. The a and c parameters and the unit cell volume V are increased during C insertion (∆a/a = 0.23%, ∆c/c = 10.5% and ∆V/V = 10%). The structural data from the Rietveld analysis are given in Table 5. Figure 4a shows a bright-field micrograph of the Pr 2 Co 7 C 0.75 compound. The average grain size Φ TEM is around 150 nm (Figure 4b).
The HRTEM images of the nanocrystalline Pr 2 Co 7 C 0.75 and Pr 2 Co 7 C 1 indicate a fully crystallized structure. The compositions of Pr, Co, and C are around 23.2, 74.8, and 2 atomic percent (at.%), respectively.   Figure 5a shows the grain morphology of the nanocrystalline Pr 2 Co 7 C 0.75 compound when analyzed with TEM. The nanocrystalline Pr 2 Co 7 C 0.75 compound is composed of larger grains of about 150 nm. By zooming in on the area between these grains (Figure 5b), a different phase consisting of very small grains of about 7-12 nm is found. The corresponding EDX analysis is presented in Figure 5c, which depicts the intensity distribution profiles of the Pr, Co, and C elements. The purple line corresponds to the profile of Co, and the red line corresponds to Pr. C is represented by a blue line. The slightly decreased intensity distribution profiles of Pr and C in the area between the grains indicate a more Co-rich phase.  We investigated the hydrogen absorption-desorption properties of the Pr 2 Co 7 compound along the P-C isotherm. The P-C isotherm curves at T = 313 K are displayed in Figure 6. Two plateaus were clearly seen. These results indicate the presence of three distinct crystallographic hydrides, which can be defined as follows: α, β, and γ. The α phase is the solid solution phase based on Pr 2 Co 7 (y ≤ 0.42), followed by the β phase (0.61 < y ≤ 0.72), and γ is the phase with the highest H content (y ≤ 1.05). The 1st plateau pressures were around 0.012 × 10 6 Pa (absorption) and 0.005 × 10 6 Pa (desorp-tion). The 2nd plateau pressures were at approximately 0.032 × 10 6 Pa (absorption) and 0.013 × 10 6 Pa (desorption). The maximum H storage content was y = 1.2 H/M in the 1st absorption, and about 60% of the maximum H content stayed after the 1st desorption.The y(H/M) content is the ratio of H atoms x(H/f.u) to all metal atoms (y = x/9). The crystal structure of the Pr 2 Co 7 compound transformed from hexagonal (P6 3 /mmc space group, α phase) to orthorhombic (Pbcn space group, β phase) and monoclinic (C2/c space group, γ phase) phases during hydrogenation. These two phases were recognized as Pr 2 Co 7 H 6.1 and Pr 2 Co 7 H 10.8 . Their enthalpies, ∆H, were estimated to be -48.8 and -49.9 kJ/mol.H 2 , respectively, from the Van 't Hoff plot. The hydrogenation mechanism can be described as follows: (1)  Figure 7, the deviation induced the displacement of the Co 1 (2a) atoms on the (001) plane by as much 0.19 Å from the corresponding position in the orthorhombic structure due to the large lattice parameter c, which was more than 30 Å. The orthorhombic unit cell can be viewed in relation to a hexagonal cell, where the a, b, and c parameters of the two structures are related to each other as a orth = a hex , b orth = 2cosα a hex (α = 30 • ), and c orth = c hex . An orthorhombic Pbcn model has the closest structure to that of the C2/c model [57,63,76]. To study the effects of Co substitution by Fe on the intrinsic magnetic properties of the alloy samples, the Curie temperature T C for the nanocrystalline Pr 2 Co 7−x Fe x phase was measured for each Fe content x. The nanocrystalline Pr 2 Co 7−x Fe x compounds were ferromagnetic. The T C value increased from 600 K for the nanocrystalline Pr 2 Co 7 compound, attaining a maximum of 760 K at x = 0.5, and then decreased for x = 0.75 and x = 1. The T C values were around 695 and 667 K, respectively. The T C value was the result of two effects: the electronic effect related to the filling of the 3d band of Fe atoms and the magnetovolume effect related to the Co-Co distances [71]. The M(H) curves of the nanocrystalline Pr 2 Co 7−x Fe x compounds were measured at 293 K. The determination of M S was performed using the law of approach to saturation [77]: The M S values were converted into the magnetic moment per formula unit µ s . The µ s increased linearly with increasing the Fe content x. The theoretical equation of µ s as a function of x was defined by the formula: µ s =µ(x = 0) + 7x (0 ≤ x ≤ 1), where µ(x = 0) is the saturation moment of the Pr 2 Co 7 compound (in µ B /f.u). The experimental data corresponded well to the theoretical forecast. The evolution of µ s with x could be justified by the reduction in the average number of 3d electrons when replacing the Co atoms with Fe, which led to a progressive strengthening of the Co(3d)-Co(3d) exchange interactions and, thus, to an enhanced magnetic moment with the 3d [71]. We realized the XRD patterns of Pr 2 Co 7−x Fe x powders that were magnetically aligned at T = 293 K in a field of 0.5 T. For samples with x < 0.5, the (00l) reflections were heavily enhanced, indicating EMD along the c axis. For x > 0.5, the diagram shows a lower intensity of the (00l) peaks, while the reflections (h0l) are reinforced, implying that the EMD of the Pr 2 Co 7−x Fe x sample deviates from the c axis.

Nanocrystalline Pr
The Curie temperature T C of the Pr 2 Co 7 compounds was determined according to the Co-Co, Pr-Co, and Pr-Pr interactions. In general, the Co-Co interaction was dominant, and the Pr-Co and Pr-Pr interactions were negligible. From the obtained structural data, the C insertion led to a change in the a, c parameters of the Pr 2 Co 7 compound and thus to an increase in the unit cell volume V of 2.5%. The a, c parameters varied from a = 5.068 Å and c = 24.457 Å for Pr 2 Co 7 to a = 5.080 Å and c = 26.980 Å for Pr 2 Co 7 C. Consequently, the Co(12k)-Co(12k), Co(12k)-Co(4 f ), and Co(4 f )-Co(4 f ) distances increased the related J 12k−12k , J 12k−4 f , and J 4 f −4 f exchange interactions. As a result, the T C increased due to the magnetovolume effect. Figure 8 gives the influence of C insertion on T C . T C increased from 600 to 740 K for x = 1, which corresponds to an increase of 23.5%. The magnetization measurements, M(H), which were performed up to 90 kOe, indicated that the saturation process was hardly achievable at T = 293 K. This was due to the presence of an important magnetocrystalline anisotropy. An insertion content x = 1 in the Pr 2 Co 7 C x system induced an important increase in the magnetization compared to Pr 2 Co 7 , but it did not change the type of magnetic behavior, which always remained ferromagnetic. The M s values of the Pr 2 Co 7 C x compounds were determined from the M(H) curves. The dependence of M s on the C insertion content in Pr 2 Co 7 C x showed a linear behavior at 293 K. The insertion of a small content of C caused an increase in M s from 8.2 for x = 0 to 11.6 µ B /f.u for 1, corresponding to an increase of about 34%.

Nanocrystalline Pr 2 Co 7 H x (x = 0-10.8) Hydrides
The H absorption resulted in a variation of the lattice parameters of the Pr 2 Co 7 compound and, therefore, an increase in the cell volume V. The nearest-neighbor number of each Co atom and the Co-Co distances were then determined depending on the H content. The Co-Co distances most influenced by H absorption were those involving the Co 3 and Co 5 atoms, respectively, in the 4f and 12k sites. Therefore, the increase in the Co 5 -Co 5 , Co 3 -Co 5 , and Co 3 -Co 3 distances led to a modification of the exchange interactions J ij , which had some impact on the increase in T C . T C increased as a function of H content from 600 K at x = 0 to 691 K at x = 3.75, then decreased for x > 3.75. The Pr 2 Co 7 H x hydrides presented a ferromagnetic comportment for all H contents. The XRD patterns of the magnetically aligned Pr 2 Co 7 H x hydride powder samples showed only (0 0 l)-type peaks, implying that the EMDs of Pr 2 Co 7 H x hydrides were along the c axis.

Nanocrystalline Pr 2 Co 7 C x (x = 0-1) Compounds
The ferromagnetic alignment of the magnetic moments of Pr and Co atoms, M Pr and M Co , can be described using the following expression: M Pr and M Co were estimated using mean field theory (MFT). The magnetization M can be determined using expression (5). M Co and M Pr were expected to follow the Brillouin functions [78]. M(T) was fitted for different C contents x. The experimental data align well with the theoretical curves. T C was found to be in agreement with the experimentally derived temperature. M Pr , M Co , and M were also determined for Pr 2 Co 7 C 0.25 (Figure 9a). The J Co−Co and J Co−Pr exchange interactions increased as a function of x, while J Pr−Pr was found to be constant around 2.10 −23 J. Inserting C into the Pr 2 Co 7 induced an enhancement of T C from 600 to 730 K when x was increased from 0 to 1 (Figure 9b). The increase in T C can be ascribed to electronic and magnetovolumic effects. The magnetization curves M(H) of the nanocrystalline Pr 2 Co 7 C x compounds are displayed in Figure 10. Based on the law of approach to saturation, which describes the M(H) for H >> H c , M close to the M s can be estimated by: H, H ex , and H u correspond to the applied magnetic field, the exchange field, and the coherent anisotropy field, respectively. χ is the magnetic susceptibility. σ and ρ are constants. Figure 10 displays the M(H) curves near saturation for the Pr 2 Co 7 C x compounds. As illustrated in Figure 10, Equation (6) fits the experimental data well. From the fits of Equation (6), we extracted the anisotropy field H a , exchange field H ex , and the exchange constant A ex , which are mentioned in Table 6. The σ and ρ parameters are correlated to H a and H ex with the following expressions [57]: The anisotropy field H a = 2K 1 /M s . K 1 is the constant anisotropy. d c is the distance over which the local anisotropy axis is related. The d c values were estimated with statistical correlation magnetometry. The parameter λ plays an important role in the distinction between weak anisotropy (λ < 1) and strong anisotropy (λ > 1). It was found using the following formula [58]: For all C contents, λ was higher than 1, which is consistent with a ferromagnetic system with strong random anisotropy. The exchange interactions of nanocrystalline Pr 2 Co 7 H x were calculated as a function of H content using the MFT (Table 7). J Co−Co and J Co−Pr increased when the H content increased. The exchange interaction J Pr−Pr was around 2 × 10 −23 J. M Pr (T), M Co (T), and M(T) were fitted. The T C values were found to be in good agreement with the experimentally determined values. T C increased as a function of H content from 600 K at x = 0 to 691 K at x = 3.75, dealing with an increase of about 9.1%, then decreasing for x > 3.75. The peak value appearance of T C at x = 3.75 resulted from the H content dependence of the exchange interaction parameter of J Co−Co . The enhancement of the T C of Pr 2 Co 7 H x hydrides for x ≤ 3.75 could be the result of two effects: the electronic effect associated with a decrease in the hybridization of Co(3d) atoms with their neighbors and the magnetovolume effect associated with Co-Co distances, which suggests a decrease in antiferromagnetic interaction [57]. The Co-Co exchange interactions increased from 166 × 10 −23 for x = 0 to 178 × 10 −23 J for x = 3.75. The decrease in T C for x > 3.75 was mostly due to the reduction in Co-Co exchange interactions from 178 × 10 −23 to 130 × 10 −23 J for x = 10.8. From the fits of Equation (6), we also determined the different magnetic parameters, which are enumerated in Table 7. H a varied from 130 to 150 kOe. The constant anisotropy K 1 and µ Co increased from 5.24 × 10 7 to 5.69 × 10 7 erg/cm 3 and from 1.01 to 1.37 µ B , respectively, then decreased for x > 2.5. The decrease in K 1 was well related to the decrease in µ Co using the relation K 1 ∞ m 3 (m is relative change in magnetization). This agrees with the statement that the magnetization µ s for the Pr 2 Co 7 H x hydrides is principally due to the Co moment µ Co . µ s increased from 8.32 at x = 0 to 14 µ B /f.u at x = 2.5, then decreased for x > 2.5. The decrease in µ s was due to the reduced hybridization state between the 3d(Co) and 5d(Pr) bands engendered by the volume expansion, which led to a decrease in the state density at the Fermi level. The 3d(Co) bands became closer and, therefore, more localized. Hence, the magnetic moment per Co atom increased with the H atom absorption in a first step. This created new Co-H bonds, which resulted in a decrease in the magnetization of the Pr 2 Co 7 H x hydrides, which confirms the hypothesis on the electronic and magnetovolumic effects of H absorption [57,58]. The coercivity H c can be defined by the random anisotropy model [79]. H c can be written with the following expression: where Φ is the grain size. As shown in Figure 11, the experimental values of H c as a function of ξ and H c fit well and linearly with ξ. The α parameter was estimated to be about 6.91. The values of H c obtained from (9)

Magnetocaloric Effect of the Nanocrystalline Pr 2 Co 7 Compound
The measurements of the M(H) curves were carried out around the Curie temperature T C going from 562 to 598 K for 2:7 (R) and from 585 to 615 K for 2:7 (H). The same type of magnetization behavior as for Pr 2 Co 7 could be observed. On the other hand, when T > T C , the Pr 2 Co 7 compound was paramagnetic, and its magnetization increased gradually with the applied field. The magnetization increased rapidly with the applied field until saturation was achieved. It should be noticed that, for the 2:7 R structure, saturation was not achieved compared to the 2:7 H structure; this was related to the presence of strong uniaxial anisotropy in this compound. We traced the Arrott curves M 2 = f (µ 0 H/M) for the Pr 2 Co 7 compound in its 2:7 H and 2:7 R structures based on the M(H) isotherms found. It should be remarked that these curves showed a positive slope; this confirmed that the Pr 2 Co 7 compound for the two structures had a second-order phase transition from the paramagnetic to the ferromagnetic state [80].
We calculated the evolution of the magnetic entropy ∆S M as a function of temperature T and applied field H. Figures 12 and 13 show the thermal variations in the changes in magnetic entropy for the 2:7 H and 2:7 R structures, respectively. The −∆S max M of the 2:7 R structure was greater than that for the 2:7 H structure. As shown in Figure 13, the maximum value was about 3.7 J/(kg.K) under a magnetic field of 0-15 kOe. There were two important contributions to the maximum change in magnetic entropy ∆S M : the M s and M T (H), which was the difference between two successive isotherms at a particular magnetic field around the temperature T C . The peak that corresponded to ∆S M became a plateau starting at T C . This transition from a single peak to a plateau was seen for the first time for a second-order magnetic transition. The relative cooling power (RCP) values were 102.7 and 8.5 J/kg, respectively, for the 2:7 R and 2:7 H structures. The calculation was based on the variation of ∆S M according to the equation: RCP = − S M δT FW HM [8], where ∆S M and δ T FW HM are the maximum of the entropy variation and the full width at half maximum of the temperature dependence of the change in magnetic entropy ∆S M .  To obtain a nanocrystalline state with excellent extrinsic magnetic properties, annealing was performed at different temperatures. At each annealing temperature T a , the hysteresis loops were measured. The evolution of H c as a function of T a initially exhibited a characteristic increase in H c with T a up to a maximum H c value, which was followed by a decrease in H c at higher temperatures of T a > 973 K. The most favorable microstructure for optimal magnetic properties corresponded to T a between 973 and 1073 K. The highest H c obtained for the nanocrystalline Pr 2 Co 6.5 Fe 0.5 and Pr 2 Co 6.75 Fe 0.25 compounds was H c = 11.5 kOe and H c = 12 kOe, respectively. The respective values of remanent magnetization M r were 43 and M r = 48 emu/g. The decrease in H c could mainly be due to the decrease in magnetocrystalline anisotropy after the substitution. H c depended principally on the magnetocrystalline anisotropy H a . The substitution of Co by Fe implied a reduction of the contribution of the 3d axial and, thus, a decrease in H c as a function of x, as has been shown by X-ray diffraction in oriented powders [71]. We studied the evolution of (BH) max . The (BH) max value increased with T a and then decreases when T a increased for all values of Fe content x. Table 8 summarizes the H c , M r , and (BH) max values as a function of content x. The nanocrystalline Pr 2 Co 6.5 Fe 0.5 compound annealed at 973 K can currently be useful for applications in the field of permanent magnets.  Figure 14 shows the hysteresis loops of the Pr 2 Co 7 , Pr 2 Co 7 C 0.25 , and Pr 2 Co 7 C 0.75 compounds annealed at 1073 K and measured at 293 K. The hysteresis loops show that these compounds are isotropic and confirm that they have only one ferromagnetic phase. We present in Figure 15 the evolution of H c as a function of annealing temperature T a for the Pr 2 Co 7 C x compounds. The curve passes through a maximum for T a = 1073 K. Two regions are thus highlighted; they are correlated to the mean grain size and the defects. The H c increases with T a in the lattice with the 2:7 H structure, i.e., with the grain size and the reduction of the defects, until the critical value found at 1073 K. The grains get bigger and H c decreases. We give in Table 9 the evolution of H c , M r , and (BH) max as a function of x. The decrease in H c is mainly due to the decrease in magnetocrystalline anisotropy H a and the grain size, which becomes larger during C insertion ( Figure 15). The best properties found were recorded for the the Pr 2 Co 7 C 0.25 compound that was annealed at 1075 K; the H c value was equal to 17.5 kOe with an M r of 43 emu/g, an M r /M s ratio of 0.60, and (BH) max = 12.5 MGOe.   The demagnetization curves found in the hysteresis loops of the Pr 2 Co 7 H x hydrides (x = 0.25, 6.1, and 10.8) were smooth, indicating a fine and uniform grain size Φ for these hydrides [57]. The Pr 2 Co 7 H 0.25 hydride had the highest extrinsic magnetic properties compared to the other Pr 2 Co 7 H x hydrides: H c = 6.1 KOe, (BH) max = 5.8 MGOe, M r = 40 emu/g, and remanence ratio M r /M max = 0.62. The H c decreased with x from about 11.5 KOe at x = 0 to 0.33 KOe at x = 10.8. The M r values ranged from 42.5 to 40.25 emu/g. The decrease in H c and (BH) max as a function of H content could mainly be due to the decrease in magnetocrystalline anisotropy resulting from the H absorption. The main interest lies in the fact that hydrogenation increased T C by a factor of almost 9.1% for x = 3.75 compared with the Pr 2 Co 7 compound. The Pr 2 Co 7 H 3.75 hydride could be considered as a soft material; it finds its applications in the field of magnetic recording or storage of information.

Conclusions
In this work, we studied the microstructure and magnetic properties of the nanocrystalline Pr 2 Co 7 , Pr 2 Co 7−x Fe x , Pr 2 Co 7 C x , and Pr 2 Co 7 H x compounds, which were obtained by high-energy ball milling. The Pr 2 Co 7 compound can exist in two polymorphic structures: a hexagonal one of the Ce 2 Ni 7 type with a space group of P6 3 /mmc (2:7 H structure), which is stable at a relatively low temperature (T ≤ 1023 K), and a rhombohedral one of the Gd 2 Co 7 type with a space group of R3m (2:7 R structure), which is stable at a high temperature (T ≥ 1223 K). The T C is around 600 K for the 2:7 H structure and 580 K for the 2:7 R one. The study of the magnetocaloric properties of the nanocrystalline Pr 2 Co 7 compound showed the presence of a large reversible magnetic entropy change with a second-order magnetic transition. The maximum value (∆S max M ) was about 3.7 J/(kg.K) under a magnetic field of 0-16 kOe. The relative cooling power (RCP) was equal to 102.7 J/kg and 8.5 J/kg for the 2:7 R and 2:7 H structures, respectively. The nanocrystalline Pr 2 Co 7−x Fe x compounds annealed at T a = 973 K crystallized into the 2:7 H structure for x ≤ 1, but for x ≥ 3.5, the 2:7 phase disappeared completely and decomposes into Pr(Co,Fe) 3 + Pr 2 (Co,Fe) 17 . The refinement of the EXAFS spectra for ≤1 showed that Fe atoms preferably occupied the 12k site in the Pr 2 Co 7−x Fe x alloys. This could be related to the fact that the 12k site is significantly more anisotropic in the c direction than the other four Co sites. The study of the magnetic properties of nanocrystalline Pr 2 Co 7−x Fe x compounds showed that the T C was improved by 26% for x = 0.5, H c = 12 kOe, M r = 43 emu/g, and (BH) max = 9 MGOe, as well as at 10 K, H c = 53 kOe, M r = 43 emu/g, (BH) max = 30 MGOe. The insertion of C atoms into the Pr 2 Co 7 cell led to a marked improvement in T C of 21.6%. The greatest magnetic properties for the Pr 2 Co 7 C 0.25 compound, including an H c of 10.3 kOe, a remanence ratio M r /M s of 0.78, and a (BH) max of 11.5 MGOe, were found at T = 293 K. We investigated the microstructure, hydrogenation, and magnetic properties of nanocrystalline Pr 2 Co 7 H x hydrides. Two plateaus were found during the absorption-desorption process in the P-C isotherm. The crystal structure of the Pr 2 Co 7 compound transformed from a hexagonal (P6 3 /mmc) structure to an orthorhombic (Pbcn) and monoclinic (C2/c) structure during hydrogenation. The absorption of hydrogen by the Pr 2 Co 7 compound led to an increase in T C from 600 K at x = 0 to 691 K at x = 3.75. The Pr 2 Co 7 H 0.25 hydride had the best magnetic properties: H c = 6.1 KOe, (BH) max = 5.8 MGOe, M r = 40 emu/g, and T C = 607 K. We adapted the MFT and RMA methods to investigate the magnetic moments, exchange interactions, and magnetic anisotropy properties. The correlations between microstructure and magnetic properties were discussed. The obtained results could provide a reference for tailoring the magnetic properties of the Pr 2 Co 7 , Pr 2 Co 6.5 Fe 0.5 , Pr 2 Co 7 C 25 , and Pr 2 Co 7 H 0.25 compounds for potential permanent nanomagnets, high-density magnetic media, magnetic refrigeration applications, and hydrogen storage. Acknowledgments: This research was supported by the CNRS and the "Ministère de l'Enseignement et de la Recherche Scientifique, LR99ES17". The authors would like to acknowledge the PRF2019-D4P2 and PHC-Utique G211408 projects.

Conflicts of Interest:
The authors declare no conflict of interest.