2.23.0
New Features
- Support for DCP (Distributed Co-simulation Protocol) standard, both in slave and master mode
- Re-enabled support for saving and loading plot window specifications to XML
Enhancements
-
Graphical Interface
- Optimization log files now store start time and duration
- System parameters are now applied before simulation even if they are still being edited
- Improved scaling on high DPI monitors
- Plot markers are now automatically updated when changing plot data
-
FMI import/export:
- Added unit definitions, model structure and time variable to exported FMUs
- Added FMI compatibility information
- Option to reload FMU using right-click menu
- Option to reinstantiate an FMU before each simulation
- Imported FMUs now read variable units from specifications
- Support for port names for power ports in FMIWrapperQ component
- FMIWrapepr components now supports (and ignores) whitespaces in the "portspec" parameter
- Exported FMUs now use flat variable naming convention
- Dangling connectors are now remembered and reconnected when changing FMIWrapper path or portspecs
-
HCOM scripting:
- New function: count(typename): count number of components with specified type name that exists in the model
- New function: log10(x) - 10-base logarithm function
- New command: clear: Clears the terminal output
- New command: pwvl: Toggle plot window variable list visibility
- New command: pwcc: Toggle plot window curve controls visibility
- New command: pwle: Toggle plot window legends visibility
Bugs
- Fix lost mapping when pasting components with system parameters
- Fix crash when calling HCOM exists() with no model open
- Remove annoying debug outputs to the terminal
- HCOM commands with string arguments can now handle semicolons