Non-ideal magnetohydrodynamics of self-gravitating filaments by Nicol GutiƩrrez-Vera et al. on Wednesday 30 NovemberFilaments have been studied in detail through observations and simulations. Arange of numerical works have separately investigated how chemistry anddiffusion effects, as well as magnetic fields and their structure impact thegas dynamics of the filament. However, non-ideal effects have hardly beenexplored thus far. We investigate how non-ideal magnetohydrodynamic (MHD)effects, combined with a simplified chemical model affect the evolution andaccretion of a star-forming filament. We modeled an accreting self-gravitatingturbulent filament using lemongrab, a one-dimensional (1D) non-ideal MHD codethat includes chemistry. We explore the influence of non-ideal MHD, theorientation and strength of the magnetic field, and the cosmic ray ionizationrate, on the evolution of the filament, with particular focus on the width andaccretion rate. We find that the filament width and the accretion rate aredetermined by the magnetic field properties, including the initial strength,the coupling with the gas controlled by the cosmic ray ionization rate, and theorientation of the magnetic field with respect to the accretion flow direction.Increasing the cosmic-ray ionization rate leads to a behavior closer to that ofideal MHD, reducing the magnetic pressure support and, hence, damping theaccretion efficiency with a consequent broadening of the filament width. Forthe same reason, we obtained a narrower width and a larger accretion rate whenwe reduced the initial magnetic field strength. Overall, while these factorsaffect the final results by approximately a factor of~2, removing the non-idealMHD effects results in a much greater variation (up to a factor of~7). Theinclusion of non-ideal MHD effects and the cosmic-ray ionization is crucial forthe study of self-gravitating filaments and in determining critical observablequantities, such as the filament width and accretion rate.arXiv: http://arxiv.org/abs/http://arxiv.org/abs/2211.15615v1