An investigation of the effective parameters causing the critical current drop in a small high temperature superconducting D-shaped coil