Electric Machines Design Toolkit - R16 INSTALLATION

  • 125 Views
  • Last Post 11 January 2019
  • Topic Is Solved
Yesid901208bc posted this 08 January 2019

Hello, 

I have some problems with the Electric Machines Design Toolkit - R16 installation. I followed de instruction in page 16 and 17 of the pdf. and after installation process I followed the open process described in pages 11 and 12. But when I try to define "User Defined Outputs" the probes window is empty and the following error appears:

*Global - Messages
  [error] MissingMemberException: 'ADispatchWrapper' object has no attribute 'GetCoreLossEffectOnField'  Method: "_GetDesignProp" In file "C:\Program Files\AnsysEM\Maxwell16.0\Win64\syslib\UserDefinedOutputs\Electric Machines Solutions - R16\Average and RMS Solutions.py", line 1033 ---- While calling "GetInputUDSParams(...)" on UDOExtension in "C:\Program Files\AnsysEM\Maxwell16.0\Win64\syslib\UserDefinedOutputs\Electric Machines Solutions - R16/Average and RMS Solutions.py"
BLDC1.5KW (CUsers/yesid/OneDrive/Documentos/Ansoft/DoctoradoTEST/)
  [info] User Defined Primitive: SpanExt is modified from 0.1 to 31.7805 (2:02:50 p. m.  ene. 08, 2019)

Also, if I try to run the toolkit this error appears: (But it could be caused because the user outputs have not been defined)

"*Global - Messages
  [error] MissingMemberException: 'IDispatch' object has no attribute 'GetUserDefinedSolutionNames'  In file "CProgram Files/AnsysEM/Maxwell16.0/Win64/syslib/Toolkits/Maxwell2D/Electric Machines Design Toolkit - R16/Electric Machines Design Toolkit.py", line 11578 ---- While executing script: CProgram Files/AnsysEM/Maxwell16.0/Win64/syslib/Toolkits/Maxwell2D/Electric Machines Design Toolkit - R16/Electric Machines Design Toolkit.py"

Please, I need help with this... I am using ANSYS Maxwell 16.0.2 over a PC i5 with Windows 10. I already tried with two versions of the toolkit.

Attached Files

Order By: Standard | Newest | Votes
mmadore posted this 08 January 2019

Hello,

 

It appears that you may have not set this up properly. Please check your directories, they should be setup within the C:\Program Files\AnsysEM\Maxwell16.0\Win64\Maxwell directory.

 

Yours:

C:\Program Files\AnsysEM\Maxwell16.0\Win64\syslib\Toolkits\Maxwell2D\Electric Machines Design Toolkit - R16

C:\Program Files\AnsysEM\Maxwell16.0\Win64\syslib\UserDefinedOutputs\Electric Machines Solutions - R16

 

Should be:

C:\Program Files\AnsysEM\Maxwell16.0\Win64\Maxwell\syslib\Toolkits\Maxwell2D\Electric Machines Design Toolkit – R16

C:\Program Files\Maxwell16.0\Win64\Maxwell\syslib\UserDefinedOutputs\Electric Machines Solutions – R16

 

Additional Directory to check:

C:\Program Files\AnsysEM\Maxwell16.0\Win64\Maxwell\syslib\Toolkits\Maxwell3D\Electric Machines Design Toolkit – R16

 

Please let me know if this helps with the issue.

 

Thank you,
Matt

Yesid901208bc posted this 08 January 2019

I put it there because in my Win64 folder there is not any Maxwell folder:

:S !!!

mbeliaev posted this 08 January 2019

Please go to Tools-Options-General Op.. - General - Directories.

 

Check path to userlib.

 

 

after that follow:

 

Installation:

If not already exist, create a folder UserDefinedOutputs under userlib or Personallib.
 
Place the directory  Electric Machines Solutions – R16  into the UserDefinedOutputs directory under syslib, userlib or Personallib.

If not already exist, create a folder Toolkits under syslib or userlib or Personallib.

If not already exist, create another folder Maxwell2D (and/or Maxwell3D) under Toolkits folder.

Place the directory Electric Machines Design Toolkit - R16 into the Maxwell2D (and/or Maxwell3D) directory.

 

 

 

Second idea to check.

From tools open command window and run:

oProject = oDesktop.GetActiveProject()
oDesign = oProject.GetActiveDesign()
oEditor = oDesign.SetActiveEditor("3D Modeler")
oModule = oDesign.GetModule("UserDefinedSolutionModule")
oModule.GetUserDefinedSolutionNames()

 

do you get it running or do you get an error?

 

Yesid901208bc posted this 09 January 2019

Good morning,


I checked the folders, I didn't find something wrong.

 

I placed the Toolkit and the UserDefinedOutputs in userlib and I tried to define "User Defined Outputs" with right click over "Maxwell2DDesign/Results/Create user defined solution/ElectricMachinesSolution - 16/Average and RMS solutions". I also tried to run the toolkit clicking over "Maxwell2D/Toolkit/Electric Design Machine Toolkit - 16/Electric machine design toolkit" but the errors mentioned in the first post apeared.

I repeat the process but in the syslib and Personallib but the result was the same.

When I tried to run the commands on the command window, the last command send me an error. "MissingMemberException: 'IDispatch' object has no attribute 'GetUserDefinedSolutionNames'".

I'm going to send a PDF showing the results into a graphic way.

 

Yesid901208bc posted this 09 January 2019

Here, the results previously explained are presented.Please... Help me..

mbeliaev posted this 09 January 2019

 the quality of image is very bad. but it seems that python throws you an error.

 

 

Unfortunately it is very very old version of Maxwell and it is difficult to say what exactly is wrong. But from here I see that this commands are unsupported in this version.

 

Please update to recent one version. In this version toolkit is preinstalled as ACT extension.

https://support.ansys.com/AnsysCustomerPortal/en_us/Downloads/Current+Release

 

Yesid901208bc posted this 10 January 2019

I apologize for the image quality, I didn't find how to upload a PDF. However, the text written in the post before the image describes the content of the image. I don't have a customer account, I just have a student software then I do not know how to login in the link you send me.

https://support.ansys.com/AnsysCustomerPortal/en_us/Downloads/Current+Release

But I can request the newest version to the laboratory. The version which has the Toolkit preinstalled is 19.0?

 

mmadore posted this 10 January 2019

Yes, it's included with 19.0, also with 19.1 and 19.2.

 

Thank you,
Matt

Yesid901208bc posted this 11 January 2019

Thanks, I will use 19.0.

Close