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
Cosim has been very helpful and has solved many of my problems. However, I encountered an issue during my usage and would appreciate some assistance in resolving it.
When I load an FMU that contains a .res file in the resources folder, I found that Cosim is unable to correctly locate this file. I would like to know if I need to make any modifications to the fmu.cpp file in libcosim. If so, could you please guide me on how to make the necessary changes?
Thank you!
The text was updated successfully, but these errors were encountered:
Can you elaborate a bit when you are trying to load the .res file? libcosim should pass the path to the resource directory during initialization phase where you can store this in memory and use the path to the .res file as needed.
When instantiating with fmuResourceLocation=nullptr, FMI2 at least should revert to the standard /resources folder. But libcosim does not do anything to load resource files, so I don't quite understand what you mean by 'Cosim is unable to correctly locate this file'.
Note that I believe this changed in FMI1, FMI2, and possibly FMI3, so you want to check against the spec of the FMI version you're using what the expected behavior for nullptr argument is. See discussion on modelica/fmi-standard#1030
Hello,
Cosim has been very helpful and has solved many of my problems. However, I encountered an issue during my usage and would appreciate some assistance in resolving it.
When I load an FMU that contains a .res file in the resources folder, I found that Cosim is unable to correctly locate this file. I would like to know if I need to make any modifications to the fmu.cpp file in libcosim. If so, could you please guide me on how to make the necessary changes?
Thank you!
The text was updated successfully, but these errors were encountered: