Electromagnetic analyses of single and double null configurations in DEMO device