Plotting results #364
Replies: 2 comments 27 replies
-
Hello, The issue is that elec.Pem_av_ref is defined as "Average Electromagnetic power" and is a float and not a Data object so you can't use this method. (computed here: https://github.com/Eomys/pyleecan/blob/master/pyleecan/Methods/Simulation/Electrical/comp_power.py) Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello, I am trying to plot an efficiency curve with power input/output. Is there a way to do this with Pyleecan classes? The InputElec class doesn't seem to have any Input power parameters |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to plot the power output of my motor with the Electrical module and it runs into the following error
Traceback (most recent call last):
File "", line 135, in
out_femm.plot_2D_Data("elec.Pem_av_ref", "time")
File "\Methods\Output\Output\plot\plot_2D_Data.py", line 96, in plot_2D_Data
File "\Methods\Output\Output\getter\get_fund_harm.py", line 23, in get_fund_harm
if data.symbol in ["B", "P", "Is", "Phi_{wind}"]:
AttributeError: 'numpy.float64' object has no attribute 'symbol'
Also, is it possible to plot the torque-speed/power_speed characteristics ?
Beta Was this translation helpful? Give feedback.
All reactions