Está en la página 1de 14

TUTORIAL DE VENSIM (Ejemplo Prctico)

MODELADO Y SIMULACIN CON VENSIM

A continuacin se resumen los pasos tpicos para construir y utilizar modelos en Vensim.

Construya un modelo o abra un modelo existente.

Dibujo del modelo.

Introduccin de las ecuaciones.

Unidades de las variables

Examinar la estructura del modelo y sus unidades.

Examinar la estructura del modelo utilizando las herramientas de anlisis.

Simular el modelo cambiando los parmetros para ver cmo responde.

Examinar el comportamiento del modelo mediante las herramientas de anlisis.

Realizar diferentes experimentos para entender y refinar el modelo.

Para construir, examinar y modificar los modelos se debe de seguir un procedimientoiterativo. Em


construccin rpida de un modelo de simulacin para trabajar. Este modelo desimulacin para trabaja

Vensim muestra las salidas de la


simulacin en un solo paso, permitiendo ver los resultados dela simulacin al instante, para todas las v
ntinuacin, se puedeseleccionar cualquier variable y analizarla con las herramientas de anlisis.

UN MODELO SENCILLO DE POBLACIN


Se desea estudiar, utilizando el programa Vensim, la evolucin de la
poblacin est formada por1600 individuos, la tasa de natalidad es de un 4% y la tasa de mortalidad

(1) dPOB(t) = NAC(t) - MU(t)


dt

(2) NAC(t) = TN * POB(t)

(3) MU(t) = TM * POB(t)

Siendo:
POB, la poblacin de la regin.
NAC, el nmero de nacimientos.
MU, el nmero de muertes.
TN, la tasa de natalidad.
TM, la tasa de mortalidad.

Nota: se ha utilizado el nombre abreviado de las variables que intervienen en el modelo porcomodidad

A modo de ejemplo, la ecuacin (2) se podra escribir de la siguiente forma:

Al crear un modelo nuevo en Vensim, primeramente se introducen los valores o parametros con los cu

INITIAL TIME = 2012


FINAL TIME = 2112
TIME STEP = 1
UNITS FOR TIME = AO
A continuacin se realiza el diagrama de Forrester, se agregan los valores a cada una de las variables
Las influencias sobre la variable POB son las siguientes:

La documentacin del modelo es:


Al realizar nuestra simulacin, la grfica de nuestra variable POB, sera:

La evolucin temporal de las variables que estn relacionadas directamente con POB, se muestran en l
Los valores numericos de la variable POB son:
A continuacin se va a intentar encontrar una evolucin decreciente de POB. Para ello essuficiente

Las diferencias que existen en el modelo entre las dos simulaciones se pueden observar a continuacin
Modificacin del Modelo Sencillo de Poblacin.

Hasta ahora en el ejemplo que se est presentando la variable MU


es directamenteproporcional al valor de la variable POB. Esto no significa que MUse incrementa linea
cimiento de la poblacin cuando sta haya alcanzado un cierto lmite. Estahiptesis es bastante realis
Para reflejar este hecho en nuestro modelo hay que modificar la estructura del mismointroducien

- NMAX: es el nmero de personas a partir del cual el exceso de poblacin afecta al

nmero de muertes.

- FAMU: es el factor que afecta al nmero de muertes debido al exceso de poblacin.

Las ecuaciones del modelo se ven afectadas de la siguiente manera: hay que modificar laecuacin

(3) MU(t)= TM * POB(t) * FAMU(t)

(4) FAMU(t)= f(MAX)

La funcin f representa una no linealidad. Este tipo de funciones, generalmente, se suelenproporcion

Para nuestra simulacin NMAX = 5000 y la funcin f vine dada por los alores de lasiguiente tab

POB(t)NMAX
FAMU
0 0.9
1 1
2 5
3 10
4 16

El diagrama de Forrester seria el siguiente:

Vensim Tutorial
You can download the software from the Vensim website,
Once you have done that you can now complete this short tutorial which outlined the mechanics of using the

When you open the software you will see this dialogue box.

Click OK and the modelling benchtop will open.


We are only going to use a limited number of the tools on the bench top.
We are going to build a simple model of the chicken and egg problem.

Click on the variable button


Drag it to the workbench
Click again and a dialogue box will open
Type Chicken
Click again on the bench top and another dialogue box will open
Type Egg ( you can use the Hand to align the two words)

Click on the arrow button


Drag it onto the word Chicken
Click and drag the arrow to the word Egg

On the benchtop you will have a small circle in the middle of the arrow. This is used to change the shape of t

Drag it upwards to reshape the arrow

Draw a connection between Eggs and Chickens


Reshape the arrow

We have now sketched a causal relationships chickens cause eggs and eggs cause chickens. We can now put

Use the Hand to click on the arrowhead at Egg


Click on the causal arrow button

This menu will drop down for you

Click on the S ( this indicates that number of Eggs will change in the same way as the number of chickens. I

You can enlarge the type size using the typeface command

Repeat this for the arrow connecting Egg and Chicken.


What you have here is called a reinforcing loop, with a number of chickens goes up and the number of acres

We are now ready to move on to the question of why the chicken crossed the road and more importantly wh

As the number of chickens increase, the number of road crossings will also increase, so create a causal arrow

Now, as the number of Roadcrossings increases, the number of chickens declines (chickens traditionally hav

So the causal arrow between Road crossings and chickens has an O because as road crossings increase, the n
The loop on the left-hand side of the diagram is called a balancing loop, because the road crossings tend to b
loop on the right-hand side of the diagram.

This completes the tutorial designed to familiarise you with the causal diagramming function in the Vensim

También podría gustarte