Comments (10)
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.
from fmpy.
It would be great to have also an example for connected ME FMUs
from fmpy.
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.
Great! I might send a PR when I have some interesting examples to share.
from fmpy.
@chrbertsch Can you please open a new issue and provide an example scenario with FMUs where model exchange makes sense?
from fmpy.
@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 @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.
@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.
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)
- Potential Problem Loading Directory FMU using relative path HOT 1
- FMPy ignores the StartTime annotation when solving initial equations HOT 6
- Pipe Init Failed. Error Code: 231 HOT 5
- fmpy/examples/custom_input.py with FMI3 HOT 2
- Can't update value of getString HOT 1
- fmi2GetDirectionalDerivative is missing in shared library HOT 1
- Schedule only nCores - 1 parallel doSteps() in Container FMU
- Get rid of unneeded dependency pytz which is in maintenance mode
- Write to csv file option doen't work, as expected: expected Integer, get an exponential HOT 4
- Allow other plot libraries than Kaleido for use in Docker containers HOT 9
- Compilation error HOT 6
- fmi[2/3]CompletedIntegratorStep called regardless of needsCompletedIntegratorStep=false HOT 1
- Unable to output variables from instantiated objects in FMI 3 HOT 6
- create_fmu_container(configuration, fmufile) is working with old verion and not working with new version HOT 3
- Issues with non-integer --output-interval in ModelExchange simulation of a Buildings FMU HOT 8
- Best way to interact with a FMU HOT 1
- Display icons for Clock variables in GUI
- Add FMI 3.0 support for remoting
- No API documentation
- fmpy.sundials not importable on MacOS Apple Silicon in version 0.3.20 HOT 11
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 fmpy.