Packages

vle.adaptative-qss

The vle.adaptative-qss package is system package. It is provided by VLE during installation. The goal of this package is to build ordinary differential system without C++. Generic models These packages provides generic models. You can use it directly without changing their source code. AdaptativeQuantifier Integrator Adder: Each value receives on input port is added to each other and send to the output port. Generator: Value read from experimental condition are send to the output port.

packages

Useful packages VLE provides its own packages distribution. It contains packages for modelling extensions, outputs, generic tools and generic models. Packages provided with this distribution are: Package Description ext.lua Allow the use of lua ext.muparser Allow the use of muparser gvle.discrete-time GVLE’s Discrete time modelling extension gvle.forrester GVLE’s Forrester Diagrams extension (based on vle.ode) vle.

vle.discrete-time

Introduction The vle extension vle.discrete-time can be used to model and simulate discrete time atomic models into VLE. Discrete time atomic models are models that compute at time t outputs of variables v1, …, vn taking into account values of variables v1,…, vn, given a user specified parameter D, at times t, t - D, t - 2 * D,…, The packages related to this extension are: vle.

vle.ode

Introduction The vle extension vle.ode allow to model and simulate ordinary differential equations (ode) into VLE. It provides three numerical methods for integration of ode: Euler: referred below as a time slicing method Runge-Kutta 4: referred below as a time slicing method QSS2: quantized state systems of order 2; the implementation is the one proposed by Kofman in ‘A Second Order Approximation for DEVS Simulation of Continuous Systems’ (Simulation, 2002).

vle.reader

Introduction The vle package vle.reader provides functions for reading 2D table matrices (eg. csv files). A data matrix can be filled using one call or the file can be read line by line. Use case: read an entire file First, add your data file data.txt into your package (mypackage/data/data.txt). Then fill it with double, integers or strings. In this example the first column contains double, the second contains integer, and the third contains strings:

vle.recursive

Introduction The package vle.recursive allows to perform recursive/embedded simulations. Based on the vle API, one can launch simulations of a nested model into a vle Dynamics. It provides: An API MetaManager for performing multi simulations A dynamic based on this API that can be configured by experimental conditions The goals are: to provide both an API and a PDEVS dynamic for multi simulation, based on the same approach for configuration.

vle.tester

Introduction The package vle.tester facilitates the writing of unit tests based on the simulation of vpz files. Use case: declares unit tests on models First you have to write a test file into the data directory of your package. The test file is composed of a list of unit test. Each line of the test file corresponds to a unit test. The test file has the following form: