#! Flux2D 11.2
#! Sun Jun 29 10:33:46 BST 2014 loadProject('F:/BaiduYun/TianyuanTech_FLUX/FluxVideo/18_Portunus/v08DesignI_Portunus002F2P.FLU')

DeleteAllResults(deletePostprocessingResults='YES')

generatePortunusCouplingComponent(PortunusName='SPM_FW_SVM001_FLUX',
                                  PortunusOverwrite=0,
                                  PortunusInput=[VariationParameter['TLOAD'],
                                                 VariationParameter['V1_IN'],
                                                 VariationParameter['V2_IN'],
                                                 VariationParameter['V3_IN'],
                                                 VariationParameter['INIPOS'],
                                                 VariationParameter['INISPEED']],
                                  PortunusOutput=[VariationParameter['ANGLE_SPEED'],
                                                  VariationParameter['ETORQUE'],
                                                  VariationParameter['I1'],
                                                  VariationParameter['I2'],
                                                  VariationParameter['I3'],
                                                  VariationParameter['ROTOR_POS']])

