Releases: CATIA-Systems/FMPy
Releases · CATIA-Systems/FMPy
v0.3.2
v0.3.2 (2021-10-14)
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)
v0.3.1
v0.3.1 (2021-07-21)
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
v0.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)
v0.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)
v0.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
v0.2.25
v0.2.24
v0.2.23
Enhancements
- Add getAdjointDerivative() and fix getDirectionalDerivative()
- Validate results for FMI 3 Reference FMUs
- Add getClock() and setClock() to _FMU3
- Add FMU2Model.getNominalsOfContinuousStates()
Bug fixes
v0.2.22
v0.2.21
FIXED
Set inputs in CVode root function before getting event indicators (#150)FIXED
Add scipy to required packages for fmpy[plot] (#146)FIXED
Activate conda environment in file open command and desktop shortcut (#131)FIXED
Evaluate terminateSimulation in simulation loop (#145)FIXED
Fix return value of FMU1Model.completedIntegratorStep()FIXED
Add Dimension class and calculate initial shape of FMI 3 model variablesFIXED
Raise an exception when a missing FMI function is called (#139)NEW
Update FMI 3 API to v3.0-alpha.4NEW
Validate model structure in read_model_description()NEW
Add "create-cmake-project" command to CLI (#129)NEW
Add Co-Simulation wrapper and build binaries in CI (#127)