Tag derivation of magnetic of a solenoid