Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Find out what's new in the upcoming V2 release of SCCharts!

What is new to SCCharts?

Controlflow / Dataflow Hybrid-Models


Semantic Comments


New Reference / Module Support


For Region


Vectors

New Transformations


New Annotations & Pragmas


SCCharts Syntax Changes


New Code Generation

  • The code generation now creates functions that can handle different status instances of a program.
  • You can toggle additional debug comments which are printed as comments into the generated code.


What is new to the KIELER SCCharts workflow?

New Warnings & Errors

  • Detailed reference warnings
  • Label shadowing

Project Management

Working with SCCharts now integrates better in the Eclipse workflow by providing new wizards and an incremental project builder.

There are wizards for SCCharts projects on the one hand and different files on the other hand. The file wizards are used, e.g., to create files for the new configuration DSLs.

The SCCharts project wizard is a flexible approach to create a project for some target platform that is ready to be deployed. Therefore the wizard references another project wizards (e.g. from the CDT or JDT) to integrate with other tooling. After the referenced wizard has created the project, additional files are added to work with SCCharts. These files include a model file and configuration files for the new incremental project builder.

The incremental project builder is run by Eclipse either in the background when resources changes (Project > Build automatically), or manually by the user (Project > Build Project).
Several tasks are performed to build a project:

  • Compilation of models
  • Generation and compilation of simulation code, typically for each compiled model
  • Processing of templates and generation of wrapper code

What tasks are performed exactly when a project is build can be configured in a new DSL (kibuild files).

The new incremental project builder replaced the KiCo launch configuration that was used before to compile models and generate wrapper code.

Integrated Simulation

The simulation backend has been rewritten to be more lightweight, flexible and transparent and to better integrate in the workflow.

Major new features are:

  • simulation of multiple models at once that interact with each other
  • starting the simulation with precompiled executables
  • support for arrays
  • more user friendly interaction with the simulation
  • a DSL (kisim files) to configure complex simulation setups

Simulation Visualization

The current state of a running simulation can be displayed by setting attributes of elements in an SVG image. For instance it is possible to set the color or position of elements based on the value of a variable in the simulation.
Furthermore it is possible to interact with SVG elements to control the simulation and set variable values. This way it is possible to define buttons in the SVG to play, pause, step or stop the simulation, as well as setting variables.

To use these features, an SVG image has to be created, in which the elements that should be animated must have a unique id. Afterwards the interactions and animations for these elements are defined using a DSL (kivis files).

Interactive Model-Based Compiler


What is new for SCCharts developer?

  • No labels