blue background

オンラインライブラリー

  • Stop Simulation at Convergence
    16.02.2016
  • KULI-System

    This example shows how to automatically stop a transient KULI simulation if a given signal has become stationary.

    In this example a stop controller is used to check if a certain signal has converged. The convergence itself is checked with the help of a series of delay controllers and a calculation controller. So the signal value at the current time t and at the time steps t-10, t-20, t-30, t-40, and t-50 seconds are evaluated. If the difference between the maximum and the minimum of these values is smaller than the value specified in the stop controller, then the simulation is stopped. In the given example the stop criterion is 0.1 K.

    The big advantage of using the stop controller is that you can specify a very long simulation time (in the simulation parameters) such that it is ensured that convergence will occur, but if the convergence occurs pretty early, then KULI stops and does not produce “unnecessary” simulation output.

    The calculation of this convergence value is put into a subsystem such that it can easily be transferred to other models.

    Usable from release: KULI 11
    Necessary modules: KULI base + KULI drive


    KULI File, 31 KB
    Please login for Download.