Skip to content

v0.8.15

Compare
Choose a tag to compare
@henrystoldt henrystoldt released this 09 Jun 11:57
· 16 commits to master since this release
  • Support for stateful rocket components

  • A revamped logging system

    • Will now properly track log columns across stage separation
    • Outputs .csv and text files, all stored in a directory created for each simulation
    • Logging is now completely off when SimControl.loggingLevel = 0 (in the simulation definition file), providing about a ~10% speed up compared to having full logging on
    • Old getLogHeader functions are deprecated and removed
    • Have a look at MAPLEAF/IO/CythonLog.pyx to see the new log class, and MAPLEAF/Rocket/rocket.py:Rocket._logState() for an example of it in use
  • Support for batch optimization

    • In MAPLEAF, ‘conventional‘ optimization optimizes for a cost function computed based on the result a single scenario/simulation. In contrast, ‘batch’ optimization optimizes for the average value of a cost function across a set (batch) of simulations/scenarios.
    • This is helpful for optimization of control systems based on a diverse set of possible disturbed initial conditions
    • See MAPLEAF/Examples/Simulations/CanardsOptimization.mapleaf for an example of a batch optimization definition and MAPLEAF/Examples/BatchSims/CanardOptimizationTest.mapleaf for an example of the corresponding batch simulation definition
    • Thank you @dtquinnde for your help with this!
  • Better support for simulations outside the source code directory (relative file paths etc.)