Title: Error when running the VTOL · Issue #33 · suavecode/Tutorials · GitHub
Open Graph Title: Error when running the VTOL · Issue #33 · suavecode/Tutorials
X Title: Error when running the VTOL · Issue #33 · suavecode/Tutorials
Description: Optimum motor design failed. Using slack constraints Traceback (most recent call last): File "c:\Users\soren\Downloads\tut_eVTOL.py", line 592, in main() File "c:\Users\soren\Downloads\tut_eVTOL.py", line 48, in main results = mission.ev...
Open Graph Description: Optimum motor design failed. Using slack constraints Traceback (most recent call last): File "c:\Users\soren\Downloads\tut_eVTOL.py", line 592, in main() File "c:\Users\soren\Downloads\tut_eVTOL.py...
X Description: Optimum motor design failed. Using slack constraints Traceback (most recent call last): File "c:\Users\soren\Downloads\tut_eVTOL.py", line 592, in main() File "c:\Users\soren\Downloa...
Opengraph URL: https://github.com/suavecode/Tutorials/issues/33
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when running the VTOL","articleBody":"Optimum motor design failed. Using slack constraints\r\nTraceback (most recent call last):\r\n File \"c:\\Users\\soren\\Downloads\\tut_eVTOL.py\", line 592, in \u003cmodule\u003e\r\n main()\r\n File \"c:\\Users\\soren\\Downloads\\tut_eVTOL.py\", line 48, in main\r\n results = mission.evaluate()\r\n ^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Mission\\Segments\\Segment.py\", line 180, in evaluate\r\n self.process(self)\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Process.py\", line 96, in __call__\r\n return self.evaluate(*args,**kwarg)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Process.py\", line 67, in evaluate\r\n result = step(*args,**kwarg)\r\n ^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Methods\\Missions\\Segments\\Common\\Sub_Segments.py\", line 137, in sequential_sub_segments\r\n sub_segment.evaluate()\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Mission\\Segments\\Segment.py\", line 180, in evaluate\r\n self.process(self)\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Process.py\", line 96, in __call__\r\n return self.evaluate(*args,**kwarg)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Process.py\", line 65, in evaluate\r\n result = step.evaluate(*args,**kwarg)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Process.py\", line 67, in evaluate\r\n result = step(*args,**kwarg)\r\n ^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Methods\\Missions\\Segments\\converge_root.py\", line 50, in converge_root\r\n unknowns,infodict,ier,msg = root_finder( iterate,\r\n ^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\scipy\\optimize\\_minpack_py.py\", line 166, in fsolve\r\n res = _root_hybr(func, x0, args, jac=fprime, **options)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\scipy\\optimize\\_minpack_py.py\", line 232, in _root_hybr\r\n shape, dtype = _check_func('fsolve', 'func', func, x0, args, n, (n,))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\scipy\\optimize\\_minpack_py.py\", line 29, in _check_func\r\n res = atleast_1d(thefunc(*((x0[:numinputs],) + args)))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Methods\\Missions\\Segments\\converge_root.py\", line 99, in iterate\r\n segment.process.iterate(segment)\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Process.py\", line 96, in __call__\r\n return self.evaluate(*args,**kwarg)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Process.py\", line 65, in evaluate\r\n result = step.evaluate(*args,**kwarg)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Process.py\", line 67, in evaluate\r\n result = step(*args,**kwarg)\r\n ^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Methods\\Missions\\Segments\\Common\\Energy.py\", line 87, in update_thrust\r\n results = energy_model.evaluate_thrust(segment.state)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Analyses\\Energy\\Energy.py\", line 65, in evaluate_thrust\r\n results = network.evaluate_thrust(state)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Components\\Energy\\Networks\\Network.py\", line 143, in evaluate_thrust\r\n results_p = net.evaluate_thrust(state)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Components\\Energy\\Networks\\Lift_Cruise.py\", line 167, in evaluate_thrust\r\n volts = battery.compute_voltage(state)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Components\\Energy\\Storages\\Batteries\\Constant_Mass\\Lithium_Ion_LiNiMnCoO2_18650.py\", line 432, in compute_voltage\r\n V_ul_cell = compute_NMC_cell_state_variables(battery_data,SOC,T_cell,I_cell)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\soren\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\suave-2.5.2-py3.11.egg\\SUAVE\\Methods\\Power\\Battery\\Cell_Cycle_Models\\LiNiMnCoO2_cell_cycle_model.py\", line 51, in compute_NMC_cell_state_variables\r\n V_ul = np.atleast_2d(battery_data.Voltage(pts)[:,1]).T\r\n ^^^^^^^^^^^^^^^^^^^^\r\nAttributeError: 'NoneType' object has no attribute 'Voltage'","author":{"url":"https://github.com/jjxx2","@type":"Person","name":"jjxx2"},"datePublished":"2024-06-08T17:50:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/33/Tutorials/issues/33"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:05d12b9e-ff98-e509-4b80-4834660e05bf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD7E:2A8767:1A5D2CD:2498136:697C9687 |
| html-safe-nonce | 03b327890b148fa9e8d070cea1f570eb5fe8f02b917a7f3f3f737690660fc76a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDdFOjJBODc2NzoxQTVEMkNEOjI0OTgxMzY6Njk3Qzk2ODciLCJ2aXNpdG9yX2lkIjoiODg5MDE1NTA1NDAyODA2ODQ4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dfc9dceddb14e16099842c02d399c4ebf8ab7eba1ecd98c6143dc772443864eb |
| hovercard-subject-tag | issue:2341761603 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/suavecode/Tutorials/33/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0dd461cd6d72024f3f743be084155d7f0cc163d8b17264ad97c3fb923bf5c8a7/suavecode/Tutorials/issues/33 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0dd461cd6d72024f3f743be084155d7f0cc163d8b17264ad97c3fb923bf5c8a7/suavecode/Tutorials/issues/33 |
| og:image:alt | Optimum motor design failed. Using slack constraints Traceback (most recent call last): File "c:\Users\soren\Downloads\tut_eVTOL.py", line 592, in main() File "c:\Users\soren\Downloads\tut_eVTOL.py... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jjxx2 |
| hostname | github.com |
| expected-hostname | github.com |
| None | f30e23787c843d478679169eb69bc1bf04c9aaf526e14cad93570a516ad7b047 |
| turbo-cache-control | no-preview |
| go-import | github.com/suavecode/Tutorials git https://github.com/suavecode/Tutorials.git |
| octolytics-dimension-user_id | 7026233 |
| octolytics-dimension-user_login | suavecode |
| octolytics-dimension-repository_id | 37677260 |
| octolytics-dimension-repository_nwo | suavecode/Tutorials |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 37677260 |
| octolytics-dimension-repository_network_root_nwo | suavecode/Tutorials |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0bf17967680d17d40933881af78023e6675fa045 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width