Giter Site home page Giter Site logo

Comments (6)

RemyCharayron avatar RemyCharayron commented on July 3, 2024

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.

BBFlyer1 avatar BBFlyer1 commented on July 3, 2024

from tutorials.

planes avatar planes commented on July 3, 2024

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.

BBFlyer1 avatar BBFlyer1 commented on July 3, 2024

from tutorials.

planes avatar planes commented on July 3, 2024

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.

BBFlyer1 avatar BBFlyer1 commented on July 3, 2024

from tutorials.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.