Page 1 of 2

Induced voltage in PMSM without Paraview

Posted: 05 Nov 2019, 10:41
by ladislav
Hello guys, I'm newbie in Elmer software and I have to say I love it.

One thing that I'm struggling with is the computation of the induced voltage in winding of PMSM machine. I found tutorial from Pavel Ponomarev and he is modeling the whole machine and calculating the fluxes in Parview and then induced voltage in Python. Is there any way to export the fluxes directly to a file, or it has to be done that way? And also, do I have to simulate two poles or one is enough for the induced voltage calculation?

Thank you.

Re: Induced voltage in PMSM without Paraview

Posted: 05 Nov 2019, 12:43
by kevinarden
Elmer has many utility solvers, page 250 of the Elmer's model manual describes the save data solver. You would add another solver to your sif file to write data.
example:
Solver 2
Equation = SaveScalars
Procedure = "SaveData" "SaveScalars"
Filename = f.dat
Show Norm = True
Show Norm Index = 4

Variable 1 = Temperature
Coefficient 1 = Heat Conductivity
Operator 1 = diffusive flux

Variable 2 = Temperature Loads
Operator 2 = boundary sum
End

Re: Induced voltage in PMSM without Paraview

Posted: 27 Dec 2021, 17:54
by zmladen
Hello,

I know it hase been some time ago. Is there any example on how to do this. This would be much helpful!

Regards,
Mladen

Re: Induced voltage in PMSM without Paraview

Posted: 27 Dec 2021, 19:02
by kevinarden
Do you mean an example of the SaveScalers, or an example of the previous post?

Re: Induced voltage in PMSM without Paraview

Posted: 27 Dec 2021, 22:28
by zmladen
I meant the calculation of the induced voltage which Pavel did using Paraview as stated in the previous post. I would like to do similar 2D no-load simulation of BLDC Machine in Ansys Maxwell and ElmerFEM and compare the results. I am interested in comparing the typical no-load motor parameters as voltage constant, cogging torque, core losses and inductance matrix. I am not sure if all these quantities can be calculated with ElmerFEM. In Ansys it is quite straightforward to obtain these values. It would be great if ElmerFEM could be used for these problems as well.

Re: Induced voltage in PMSM without Paraview

Posted: 28 Dec 2021, 13:16
by kevinarden
do internet search for tutorial from Pavel Ponomarev there is a PDF

Re: Induced voltage in PMSM without Paraview

Posted: 28 Dec 2021, 22:59
by zmladen
I know the tutorial from Pavel. The question was how to do it directly in elmer without using Paraview to calculate the flux linkages?

Re: Induced voltage in PMSM without Paraview

Posted: 06 Jan 2022, 11:29
by zmladen
Any additional thoughts on this? Can we use circuits to calculate quantities such as induced voltage or inductance?

Mladen

Re: Induced voltage in PMSM without Paraview

Posted: 06 Jan 2022, 21:34
by MartinHoeijmakers
Hi,

I use circuits to calculate voltages in electrical machines. That works well.

However, I also use the spatial average of the vectorpotential to calculate the flux linkages. I export the integral of the vector potential by something like

Code: Select all

Body 4
  Name = aPlus
  Equation = 2
  Material = 5  ! statorWinding
  Body Force = 2 
  aPlus = Logical True ! Mask Name
End

Solver 7    ! SaveScalars
  Procedure = "SaveData" "SaveScalars"
  Exec Solver = After Timestep
  Filename = "scalars.dat"
  
  Variable  1 = A
  Operator  1 = body int
  Mask Name 1 = aPlus
  
    ......
With kind regards,
Martin

Re: Induced voltage in PMSM without Paraview

Posted: 07 Jan 2022, 00:57
by zmladen
Hello Martin,

Thank you very much for your reply. I had a feeling that the circuits are the most practical way to calculate the voltages. My problem is that I am relatively new to elmer and at the moment it seems very difficult for me to set up this circuit simulation. Is it possible for you to use the project in the attachment and set up the simulation to calculate voltages? If the inductance matrix can be calculated as well I think that elmer could find broader acceptance for el. machines in the industry as well.

Mladen