Repository navigation
Fixes, efficient loops, 32-bit remoting, improved logging
FIXEDA list is now passed to np.stack() instead of an iterable and Iterable is now imported from collections.abc to avoid FutureWarnings.FIXEDArgument checksum of function fmpy.util.download_file() can now be upper case.FIXEDStart and stop time are now passed to initialize() in FMI 1.0.FIXEDVariadic arguments in log messages are now processed.NEWThe model.png is now displayed on the "Model Info" page of the GUI.NEW32-bit FMUs can now be simulated in a 64-bit Python environment on Windows.
Existing 32-bit FMUs can also be retro-fitted using the function fmpy.util.add_remoting(),
the CLI (fmpy add-remoting ...) and the GUI (Help > Add 32-bit Remoting).NEWThe FMI headers and schema have been updated to version 2.0.1 and 3.0-alpha.3 respectively.NEWThe function instantiate_fmu() allows the instantiation and re-use of an FMU independent of the FMI version and type to reduce CPU time.
Seeexamples/efficient_loops.pyfor an example.REMOVEDThe parameteruse_source_codehas been removed formsimulate_fmu()(usefmpy.util.compile_platform_binary()instead)
NOTE: This release is currently not available on conda-forge because of a bug in conda-build.