Fmpy

Latest version: v0.3.21

Safety actively analyzes 666166 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 9

0.3.3

Bug fixes

- Add type cast to arguments of QMainWindows.resize() (344)
- return filename in download_file() if file already exists (332)
- Decode UTF-8 string in fmi3.printLogMessage()
- Handle c_bool in _log_fmi_args()
- Add default "initial" for fixed structural parameters (340)
- Update time before recording result in custom input example (333)
- Update icons for FMI 3 and add type column (295)
- Change type hint for Unit.displayUnits to List[DisplayUnit] (336)

Enhancements

- Add Early Return and Event Mode for FMI 3.0 CS
- Calculate output_interval from fixedInternalStepSize
- Add type hint to FMU3Slave.doStep()
- Add unit and type definitions to Container FMU (335)

**Full Changelog**: https://github.com/CATIA-Systems/FMPy/compare/v0.3.2...v0.3.3

0.3.2

Bug fixes

- Escape XML attributes in Container FMU (216)
- Handle NULL pointers in fmi2Instantiate() in remoting client (324)
- Add fmi2CancelStep() to remoting client (325)
- Calculate t_next from n_fixed_steps (318)
- Add trailing path separator to resourcePath in FMI 3.0 (309)
- Don't plot multi-dimensional variables (293)
- Fix type conversion in FMI 3.0 high level API (300)
- Add attribute "interval" to ScalarVariable (314)

Enhancements

- Log FMI calls to nested FMUs if loggingOn == true
- Add Configuration class for FMU Container (321)
- Use FMI import framework in FMU Container (327)
- Use the Reference FMU's import framework in remoting server (326)
- Check uniqueness of value references in FMI 3.0 (294)
- Check for backslashes in ZIP file entries (297)

0.3.1

Bug fixes

- Fix type hint for parameter "input" in "simulate_fmu()" (286)
- Set output arguments in fmi3.intermediateUpdate() (273)
- Allow fixed and tunable structural parameters (268)
- Fix model structure of Container FMU (267)
- Add missing parameter "nValues" to getString() and getBinary() and decode byte strings (263)
- Set stop time and handle negative start time in (261)

Enhancements

- Update FMI 3.0 API to v3.0-beta.2
- Offer to open generated Jupyter notebook in GUI (262)
- Add arguments of fmu_info() to dump() enhancement (285)
- Improve Plotly plots of discrete signals (284)
- Define variables of Container FMU independent of inner FMUs (265)
- Validate that initial is not set for input and independent variables (280)
- Return filename from fmpy.util.download_file() (267)
- Add win64 on linux64 remoting w/ wine and linux64 on win64 remoting w/ WSL (experimental)
- Assert mandatory independent variable in FMI 3.0 (272)
- Define model description classes with attrs (275)
- Detect drive letter in fmuResourceLocation on Windows

0.3.0

This release drops Python 2.7 support. The minimum required version is now Python 3.5.

Enhancements

- Update API to FMI 3.0-beta.1
- Add type hints to Model Description and simulate_fmu()
- Add "Hide All" and fix "Show All" columns in GUI
- Add target_platform parameter to compile_platform_binary()
- Link against libm when compiling platform binaries on Linux (242)
- Add parameter set_input_derivatives to Input and simulate_fmu() (240)
- Escape non-ASCII characters in XML attributes (216)

0.2.27

Enhancements

- Scale icons on High DPI screens (226)
- Add min and max columns and "Show All" action (225)
- Update link to FMI 2.0.2 spec (210)
- Handle missing documentation and model.png in web app (187)
- Validate XML against schema in validate_fmu() (223)
- Check for illegal start values (224)
- Add "Validate FMU" action to GUI (221)
- Set input derivatives for FMI 2.0 Co-Simulation (214)
- Add "include" parameter to fmpy.extract() (208)
- Handle missing "derivative" attribute in validate_fmu() (206)
- Call SetProcessDpiAwareness(True) on Windows to avoid broken PyQtGraph plots (201)

0.2.26

Enhancements

- Create "FMU Containers" with nested FMUs (experimental) (193)
- Handle Scheduled Execution in instantiate_fmu() (200)
- Add "create-jupyter-notebook" command to CLI (192)
- Add all parameters to start_values in Jupyter Notebook (190)
- Fix Boolean start values in Jupyter Notebooks (188)
- Validate FMI 3 model description (181)
- Remove assert statements from fmpy.sundials (202)
- Update SSP schema to v1.0 and remove ssp.examples

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.