Comments (6)
Hello,
I downloaded and installed SUAVE yesterday following the instructions and when I run any of the tutorials (in particular the tut_mission_B737.py), I get the same error as you:
AttributeError: 'Config' object has no attribute 'propulsors'
I found a solution that I am sharing with you now, but I am not sure that it is the right thing to do as I am a very beginner with the SUAVE code.
I replaced line 143 : energy.network = vehicle.propulsors
by: energy.network = vehicle.networks
It seems to go well like that, but maybe one of the contributors can confirm this.
Good afternoon
from tutorials.
from tutorials.
Hi folks. The issue has to version compatibility. The tutorials are only really guaranteed to work with the same numbered version of SUAVE. We do not update tutorials with every change in code that has not been released.
If you're using git, you can check out the master branch and that is equivalent.
We decided to remove propulsors as the default name in recognition of how complex the power systems are, so in future versions of SUAVE it will be named network.
from tutorials.
from tutorials.
Maybe my response was confusing.
The tutorial releases have matching version numbers to the SUAVE releases and are guaranteed to work together.
Bob, you indicated in your first post that you did a developer install. The developer installation guide at the beginning lists the master branch as the stable branch. If you choose not to use a stable branch, you should expect unstable results as you have found. You’re not using an official release. There are no notes because they’re still a work in progress. We just made this change days ago, that's how I know you're not using the master branch. That’s the cost of working on the bleeding edge. Sharp edges should be expected. This way of version controlling is standard practice with any open source project.
We understand that these changes are not trivial. They will be fully explained and documented in the next release when that happens.
I apologize that we don’t provide a heads up on deprecations. Road maps are fuzzier when software is developed by a small team of volunteers. Developers change things for their own personal needs, not from a paying customers road map. We’re in the midst of a major under the hood change to the networks and decided it was time for this nomenclature update. These changes are not complete yet and won't be until 2.5. When it comes most users will probably not realize that anything has change other than this.
We have already discussed internally a change prior to your posting. With the next release, it will no longer be possible to run the tutorials with anything other than same versioned released of SUAVE.
from tutorials.
from tutorials.
Related Issues (11)
- Ask a question about running the program
- BWB Missing Tip Segment HOT 1
- UnboundLocalError in tut_concorde.py HOT 4
- Plot labels from examples unclear HOT 1
- Small mistakes in Solar UAV Optimization tutorial
- Mission Plots Module Import Error HOT 1
- B737 Deflections are not enabled
- Error when running the VTOL
- problem with OpenVSP compgeom file format HOT 5
- Add a Drag Polar Tutorial
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tutorials.