First time here? Check out the Help page!
1 | initial version |
I think that your FMU was wrapped as a Model Exchange FMU (version 2.0) but you are trying to run it as a Co-Simulation FMU. This is I believe the reason why PyFMi is showing the following error pyfmi.fmi.FMUModelME' object has no attribute do_step
. The do_step ()
method is only available in Co-Simulation FMU. If you really wanted a Model Exchange FMU, then you should use the Model Exchange functions to drive your FMU.
2 | No.2 Revision |
I think that your FMU was wrapped as a Model Exchange FMU (version 2.0) but you are trying to run it as a Co-Simulation FMU. This is I believe the reason why PyFMi PyFMI is showing the following error
. The pyfmi.fmi.FMUModelME' pyfmi.fmi.FMUModelME2' object has no attribute do_stepdo_step ()
method is only available in Co-Simulation FMU. If you really wanted a Model Exchange FMU, then you should use the Model Exchange functions to drive your FMU.