Giter VIP home page Giter VIP logo

Comments (10)

t-sommer avatar t-sommer commented on August 23, 2024 1

You could create a Container FMU that allows you to bundle multiple FMUs into one Co-Simulation FMU. See https://github.com/CATIA-Systems/FMPy/blob/master/tests/test_fmu_container.py for an example.

from fmpy.

fmahiant avatar fmahiant commented on August 23, 2024

from fmpy.

chrbertsch avatar chrbertsch commented on August 23, 2024

It would be great to have also an example for connected ME FMUs

from fmpy.

t-sommer avatar t-sommer commented on August 23, 2024

Another option is to write a custom simulation loop and to connect the FMU instances using their get*/set* functions. You can use custom_input.py as a starting point.

from fmpy.

tomlankhorst avatar tomlankhorst commented on August 23, 2024

Great! I might send a PR when I have some interesting examples to share.

from fmpy.

t-sommer avatar t-sommer commented on August 23, 2024

@chrbertsch Can you please open a new issue and provide an example scenario with FMUs where model exchange makes sense?

from fmpy.

SimFox avatar SimFox commented on August 23, 2024

@t-sommer @chrbertsch I am also looking for an example in which multiple ME-FMUs are coupled. Has this been adressed? It would be much appreciated.

from fmpy.

t-sommer avatar t-sommer commented on August 23, 2024

@t-sommer @chrbertsch I am also looking for an example in which multiple ME-FMUs are coupled. Has this been adressed? It would be much appreciated.

Connecting ME FMUs is currently not supported.

from fmpy.

indhupriyadharshini avatar indhupriyadharshini commented on August 23, 2024

@t-sommer
I am looking for some examples where 2 Co-simulation Fmu's communicate with each other. Instead of running one .fmu
i need to run 2 fmus
Could you please help me with this?

from fmpy.

HoaiTV avatar HoaiTV commented on August 23, 2024

Dear t-sommer

I am a new member of the field.

When I try with test_fmu_container.py, it does not support fmi3.0, is this right? what about if FMUs have some ports that have the same name? Do we have to change the name of these ports?

And I try to simulate interconnected FMUs as https://github.com/CATIA-Systems/FMPy/wiki/Simulate-SPPs, but it does not work? I downloaded https://github.com/CATIA-Systems/FMPy/wiki/ControlledDrivetrain.ssp but I can not run the file

Thank you!

from fmpy.

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.