Eomys / pyleecan

Electrical engineering open-source software providing a user-friendly, unified, flexible simulation framework for the multiphysic design and optimization of electrical machines and drives
https://www.pyleecan.org
Apache License 2.0
156 stars 131 forks source link

Dynamic co-simulation #213

Open wallscheid opened 4 years ago

wallscheid commented 4 years ago

Really exciting project, which is advancing here - large praise to the project group!

After going through the tutorials and documentation it seems that the simulation so far is always working with predefined current waveforms in a (quasi-)static fashion - is that correct or did I missed something?

In particular, I'm looking for a dynamic simulation mode where the voltage applied to the motor terminals is the input quantity to the simulation resulting in current and torque waveforms over time as outputs. If such a mode is available one could easily integrate the pyleecan toolbox within a co-simulation framework (adding power electronics, controller and mechanical load models) which would be very nice for certain investigations like accurate loss modeling or (automatic) controller tuning.

Is such a feature already available or plant for the fture?

EmileDvs commented 4 years ago

Hello Wallscheid,

Thank you very much for the feedback.

Yes, the magnetic model of pyleecan that is calling FEMM is exactly working as you described: quasi-static with imposed current and rotor position.

Concerning your last question, we are currently discussing about developing a dynamic simulation mode that can couple electric and magnetic resolution using the coupling with Elmer (see #202 #205).

Besides, you can have a look to the general issue (#214) that summarizes the mid/long-term roadmap of pyleecan developments and that we'll present during tomorrow's webinar on how to contribute to pyleecan (https://www.pyleecan.org/tutorials.html).

Best regards, Emile