You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello All, please be lenient if I misposted this as a bug if it indeed is a "user error".
However I have tried to reproduce my current issue with OMSimulator in another tool (Matlab/Simulink as well as pyfmi), where it would principally work.
Basically: I have generated two FMUs
a Dc motor and
some simple Mechanics with a switch
which I would like to connect in an SSP to create the expected behavior:
The Mechanics send a boolean signal to the Dc motor
This causes the Dc motor to rotate
The rotation is a real signal sent back to the Mechanics that reduce an internal value
As soon as an internal limit is reached, the Mechanics switch the boolean signal off
The Dc motor should stop rotating
However running the same setup within OMSimulator always generates an error:
Looking for solutions, removing the rotation signal OR the boolean signal cause it to complete, removing the error (and of course also the expected behavior, becasue the motor never stops):
Steps to reproduce the behavior
Start OMEdit
New SSP Model
Add SSP Submodel "dcmotor.fmu"
Add SSP Submodel "newmechanics_inverted.fmu"
Connect Submodels accordingly (see 2nd image)
Execute simulation
Error: Unknown Signal "twofmu.Root.newmechanics_inverted.mechanicalsignalout"
(both FMUs are attached in the zip file as well as the working python code and the SSP)
Description
Hello All, please be lenient if I misposted this as a bug if it indeed is a "user error".
However I have tried to reproduce my current issue with OMSimulator in another tool (Matlab/Simulink as well as pyfmi), where it would principally work.
Basically: I have generated two FMUs
which I would like to connect in an SSP to create the expected behavior:
However running the same setup within OMSimulator always generates an error:
Looking for solutions, removing the rotation signal OR the boolean signal cause it to complete, removing the error (and of course also the expected behavior, becasue the motor never stops):
Steps to reproduce the behavior
(both FMUs are attached in the zip file as well as the working python code and the SSP)
2-fmu-test.zip
Expected behavior
Running the two FMUs in pyfmi generated the expected result:
Version and OS
The text was updated successfully, but these errors were encountered: