Modelling Transformer Core with Appropriate Boundary Conditions for Partial Discharge Studies