Modelica 2 provides new powerful language constructs for specifying initial conditions. Before any operation is carried out with a Modelica model, such as simulation or linearization, initialization takes place to assign consistent values for all variables, derivatives and pre-varialbles present in the model. To obtain consistent values, the initialization uses all equations and algorithms that are utilised during the simulation. Additional constraints necessary to determine the initial values of all variables can be provided as start values for any variables as well as additional constraint equations in initial equation sections. A novel feature is the possibility to have a sampled controller initialized in steady state. This tutorial paper describes and explains the new language constructs and illustrates how they in combination with Modelica's other language elements allow very flexible and powerful initialization conditions to be defined.


    Access

    Download


    Export, share and cite



    Title :

    Initialization of Hybrid Differential-Algebraic Equations in Modelica 2


    Contributors:

    Conference:

    2002 ; Oberpfaffenhofen



    Publication date :

    2002-03-01


    Type of media :

    Conference paper


    Type of material :

    Electronic Resource


    Language :

    English




    Modelica Hybrid Modeling and Efficient Simulation

    Mattsson, Sven Erik / Otter, Martin / Elmqvist, Hilding | German Aerospace Center (DLR) | 1999

    Free access

    Object-Oriented and Hybrid Modeling in Modelica

    Elmqvist, Hilding / Mattsson, Sven Erik / Otter, Martin | German Aerospace Center (DLR) | 2001

    Free access

    New Features in Modelica 2.0

    Otter, Martin / Olsson, Hans | German Aerospace Center (DLR) | 2002

    Free access


    The New Modelica MultiBody Library

    Otter, Martin / Elmqvist, Hilding / Mattsson, Sven Erik | German Aerospace Center (DLR) | 2003

    Free access