Calculates reference current from reference force, either using steady-state position or actual position of magnet. Additionally, the maximum admissible force is calculated from the maximum admissible current.