Replies: 4 comments 4 replies
|
Integration in pathsim would be tedious as is requires a matlab install and an env with matlab engine. Not sure how to proceed... |
1 reply
|
Thats cool! Are you familiar with FMI/FMU? I was planning on adding FMI support to PathSim via rumoca, haven't found the time yet. This would enable model exchange with other simulation tools and also simulink. |
0 replies
|
Thats how I would like to add cross compatibility to PathSim. |
1 reply
|
After taking some time to look around for fmu/fmi tools, fmipy looks like a good solution.
|
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Just finished developing a draft version of automatic matlab interface. The interface is generic and can be used by pathsim
This is rather not what I had first in mind but it therefore can be used in Wrapper and Function class.
Two class are used
MatlabWrapperto provide a callable with added features. AndMatlabParserto parse .m files. It leverages the matlab engine class allowing calling matlab function from pythonIt parses .m files as a way to know input and output sizes and add path to matlab. I have limited the use to only float and 1D inputs and outputs (vectors will most likely raise an error).
This version uses an old version of matlab and I wish to use a more recent version
Here is a sample of code and associated outputs
sq.mfile:pathsim_matlab_test.pyfile:All reactions