Problem with lag variables

From: David Socha <socha_at_cs.washington.edu>
Date: Fri, 25 Aug 2006 18:12:30 -0700

Dear UrbanSim Users,
 
We have discovered that there is a bug in the Opus support for lag
variables. We plan to fix this soon, but wanted you all to know about
it.
 
The details of the problem are as follows. If a lag variable has
dependencies on computed attributes (those attributes whose values are
computed by Opus Variables) the values returned by the lag variables
will always be for the current year, instead of the lagged year. For
example, if we want to compute urbansim.gridcell.population_lag1 for
2001, which depends on persons attribute of HouseholdSet, it *should*
use the HouseholdSet data of year 2000. Unfortunately, it uses the
HouseholdSet data of year 2001. If the dependencies are on primary
attributes (those attributes of an entity that are not created by a
variable), the lag variable will work fine. This bug has been in the
code all along.
 
Best regards,
 
David Socha
Center for Urban Simulation and Policy Analysis
University of Washington
www.urbansim.org <http://www.urbansim.org/>
206 616-4495
 
Received on Fri Aug 25 2006 - 18:12:33 PDT

This archive was generated by hypermail 2.2.0 : Fri Aug 25 2006 - 18:12:35 PDT