Induced voltage in PMSM without Paraview

Numerical methods and mathematical models of Elmer
ladislav
Posts: 2
Joined: 05 Nov 2019, 10:36
Antispam: Yes

Induced voltage in PMSM without Paraview

Post 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.
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Induced voltage in PMSM without Paraview

Post 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
zmladen
Posts: 43
Joined: 28 Apr 2013, 17:15
Antispam: Yes

Re: Induced voltage in PMSM without Paraview

Post 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
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Induced voltage in PMSM without Paraview

Post by kevinarden »

Do you mean an example of the SaveScalers, or an example of the previous post?
zmladen
Posts: 43
Joined: 28 Apr 2013, 17:15
Antispam: Yes

Re: Induced voltage in PMSM without Paraview

Post 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.
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Induced voltage in PMSM without Paraview

Post by kevinarden »

do internet search for tutorial from Pavel Ponomarev there is a PDF
zmladen
Posts: 43
Joined: 28 Apr 2013, 17:15
Antispam: Yes

Re: Induced voltage in PMSM without Paraview

Post 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?
zmladen
Posts: 43
Joined: 28 Apr 2013, 17:15
Antispam: Yes

Re: Induced voltage in PMSM without Paraview

Post by zmladen »

Any additional thoughts on this? Can we use circuits to calculate quantities such as induced voltage or inductance?

Mladen
MartinHoeijmakers
Posts: 37
Joined: 22 Oct 2017, 21:03
Antispam: Yes

Re: Induced voltage in PMSM without Paraview

Post 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
zmladen
Posts: 43
Joined: 28 Apr 2013, 17:15
Antispam: Yes

Re: Induced voltage in PMSM without Paraview

Post 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
Attachments
project-emf.zip
(191.79 KiB) Downloaded 104 times
Post Reply