Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electric Machines #84

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Electric Machines #84

wants to merge 11 commits into from

Conversation

askprash
Copy link
Member

Draft PR

Adds Permanent magnet electric machines, cables and inverters to be used in alternate propulsion systems.

To do:
[ ] Clean up commit history with more useful comments
[ ] Highlight areas for improvement (slot modeling for PMSM/ Carter's coeff etc)
[ ] Documentation for all new components
[ ] Tests

Copy link

codecov bot commented Sep 30, 2024

Codecov Report

Attention: Patch coverage is 0% with 144 lines in your changes missing coverage. Please review.

Project coverage is 72.22%. Comparing base (430cfd8) to head (c150ce7).
Report is 32 commits behind head on main.

Files with missing lines Patch % Lines
src/propsys/PMSM.jl 0.00% 82 Missing ⚠️
src/propsys/cable.jl 0.00% 25 Missing ⚠️
src/propsys/inverter.jl 0.00% 25 Missing ⚠️
src/misc/materials.jl 0.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
- Coverage   73.41%   72.22%   -1.20%     
==========================================
  Files          77       83       +6     
  Lines       13908    13637     -271     
==========================================
- Hits        10211     9849     -362     
- Misses       3697     3788      +91     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

shaft.Ri = (shaft.Ro^4 - torque / shaft.material.τmax * 2 * shaft.Ro / π)^0.25
else
# shaft can be solid as well
shaft.Ri = 0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this case should return an error. The case when Ri = 0 is covered by the previous case as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants