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 130 forks source link

Can we integrate Pyleecan with Scilab/XCOS?. #583

Open crowdnidhi-design opened 1 year ago

crowdnidhi-design commented 1 year ago

Dear Pierre,

Just curious do you have MTPA, FOC, or DTC options/libraries /Algo available as a functionality/feature? Can we integrate Pyleecan with Scilab/XCOS?. If yes please share the procedure to integrate with a few examples...

BonneelP commented 1 year ago

Hello,

Regarding MTPA there are few functions and tests within pyleecan that will be improved by #558. Otherwise we have few scripts/Tests that uses EEC (Electrical Equivalent circuit) but most of the time simulation are sinusoidal in pyleecan. The exception is PWM that is available for PMSM so harmonic current is also possible (and enforced harmonic current shouldn't be too hard to implement). There is no coupling with Scilab/XCOS but it could be interesting to investigate that. If you have some time to work on the subject I should be able to guide you.

Best regards, Pierre

crowdnidhi-design commented 1 year ago

Dear Pierre,

Sure. Let me set up some modules with Scilab/XCOS and get back to you.

Any update/ feedback on FOC, DTC , etc . Further, do you have support to generate SVM ( 3 or multistage)?.