Please enable JavaScript to view this site.

Vensim Help

Vensim has two methods to set up optimizations: from the Optimization button on the Toolbar, and from the Simulation Control.

In calibration optimization, the payoff defines which variable(s) you are trying to fit.  Payoff files have the extension .vpd (Vensim payoff definition) and by default have the same name as the model (e.g., electric.vpd for this model).

 

ØDouble click on the simulation Runname editing box and type a name for the dataset, e.g., run2.
ØClick the Optimization button user_guide_optimization_setting_the_payoff_001 on the Toolbar.  The Optimization Wizard opens with the Payoff Definition active.
ØClick the "Add" button to add a new payoff element.
ØMake sure the Calibration radio button is selected.  
ØIn the Variable editing box, type in percent of US dwellings with electric power (or use the Sel button to select it).  In the Weight editing box, type in the number 0.25.  Click the "OK" button.
ØClick the "Add" button to add a new payoff element.
ØMake sure the Calibration radio button is selected.  
ØIn the Variable editing box, type in US population (or use the Sel button to select it).  In the Weight editing box, type in the number 3E-7 ( 0.0000003).    Click the "OK" button.

 

The weights act to balance the numerical sizes of the different variables.  Because the optimizer is only looking at pure numbers, variables with larger values are given more importance than those with smaller values.  The numbers assigned to weights are based on both the confidence we have in the data, and the units of measurement. percent of US dwellings with electric power has values around 50 and a weight set to 0.25. US population, which has a number around 200 million, has a weight that is much smaller (30 / 100 million).  These weights were chosen to be approximately equal to the one over the standard deviation of the prediction error on these variables. Optimization in the Reference Guide contains more discussion on the meaning of these weights.

 

This is how the dialog looks when creating a new payoff element

user_guide_optimization_setting_the_payoff_002

 

This is how the dialog looks when both payoff elements have been created

clip0002

 

ØClick Next to move to Optimization Control.