Magnetic poles simulation