Sim InitOptions e

Embed Size (px)

Citation preview

  • 8/13/2019 Sim InitOptions e

    1/1

    Home | Support | FAQ

    What different options do I have to initialize my DSL model ?

    There are several possibilities to calculate the initial conditions.

    Assuming y is the output and u the input signal of the model, in the small example y=x^3-ax-b. The initialvalue of y is known (=0), normally determined from outside, if output is unconnected then determined in themodel itself (inc0). The initial value of u is unknown.

    Approach 1, analytical solution (direct input of initial value, not possible in the example above):

    y=2+3*ui nc0( y) =5i nc( u) =( y- 2) / 3

    Approach 2, loopinc (simple linear search for initial value):

    y=2+3*ui nc0( y) =5i nc( u) = l oopi nc( y, - 10, 10, 0. 01, 0. 001)

    Approach 3, intervalinc ('interval-division search' for initial value):

    y=2+3*ui nc0( y) =5i nc( u) = i nt er val i nc(y, - 10, 10, 40, 0. 001)

    Approach 4, newtoninc (newton iterative search for initial value normally using a set of coupled equations):

    y=2+3*ui nc0( y) =5i nc( u) = newt oni nc( ( y- 2) / 3, 0, 100, 0. 001)

    Approach 5, automatic calculation of initial conditions (option in block definition must be set):

    y=2+3*ui nc0( y) =5i nc(u) = 0 ! i ni t i al val ue f or aut omat i c cal cul at i on

    Home | Support | FAQ

    Version: >= 13.0

    Keywords: InitialConditions, Simulation

    Pgina 1 de 1What different options do I have to initialize my DSL model ?

    16/01/2009http://www.digsilent.es/_support/faqs/sim_InitOptions_e.html