Git Product home page Git Product logo

Comments (2)

ewuerger avatar ewuerger commented on September 26, 2024

I've tried to test this for the versions 5.0.0 and 6.0.0 but can't accomplish a state where I can link multiple PhysicalLinks to the same ComponentExchange (especially from the Logical Layer). The tree simply doesn't allow it. I mean the needed change would be very small:

c.set_accessor(
    fa.ComponentExchange,
    "allocating_physical_links",
    c.ReferenceSearchingAccessor(PhysicalLink, "exchanges", aslist=c.ElementList),
)
c.set_accessor(
    fa.ComponentExchange,
    "allocating_physical_link",
    c.DeprecatedAccessor[PhysicalLink]("exchanges"),
)

But first I'd like to see that can be properly done in Capella via the UI. Can you give me instructions on how to model this in a minimal way?

from py-capellambse.

kairibu avatar kairibu commented on September 26, 2024

Sure, I have a typical PC with Ethernet and WIFI connection as example. Note it is about Physical Paths, not Physical Links.

image

It shows that you can have the logical component exchange routed over two different physical paths, via Ethernet, or via WIFI.

In the Semantic Browser, it shows:

image

capellambse only supports one of the physical paths and crashes with this model if you try to access

model.pa.all_component_exchanges[0].allocating_physical_path

from py-capellambse.

Related Issues (20)

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.