Modeling a coronal loop heated by magnetohydrodynamic turbulence nanoflares