A matlab program to calculate rough general parameters for PMSG in ANSYS RMxprt
Attention: Run size1.m before size2_2.m !!! Use the rough D, L calculated in size1.m to set inputs in size2_2.m.
The h_cp is usually smaller, need to be adjust maunally in RMxprt.