[UrbanSim-Users] Own identifiers: zone_id, grid_id, group_id, etc.

From: Mark Kryvobokov <k_mark_at_ukr.net>
Date: Tue, 25 Sep 2007 18:44:34 +0300
('binary' encoding is not supported, stored as-is)

          Hello!
  
We still use UrbanSim version 4.0 (though we are thinking about the updating).
  
We have a question about the creation of our own identifiers. We tried to use our own zone_id (unique integer values with the range of 10050000 to 693890604) . We changed the Eugene zone_id values with our zone_id values in zones and gridcells tables. We changed also from_zone_id and to_zone_id values in travel_data table. After that simulation running failed while executing the Commercial Employment Location Choice Model. This is a part of the traceback message:
  

                            File "C:\MyNew\projects\OPUS\opus-4.0\urbansim\gridcell\population.py", line 34, in compute

          return self.get_dataset().sum_dataset_over_ids(households, self.hh_persons)

                            File "C:\MyNew\projects\OPUS\opus-4.0\opus_core\dataset.py", line 1118, in sum_dataset_over_ids

          return self.aggregate_dataset_over_ids(dataset, "sum", attribute_name, constant)

                            File "C:\MyNew\projects\OPUS\opus-4.0\opus_core\dataset.py", line 1148, in aggregate_dataset_over_ids

          return self.aggregate_over_ids(dataset_id_values[used], values, function)

                            File "C:\MyNew\projects\OPUS\opus-4.0\opus_core\dataset.py", line 1112, in aggregate_over_ids

          raise StandardError, "Unknown function " + function + " or error occured during evaluation."

          StandardError: Unknown function sum or error occured during evaluation.
We suppose that the reason or the error is a big difference between max and min values of zone_id. Could somebody confirm this and/or explain why it is so?
  
Our next question is about group_id. In development_type table for Eugene, we see min_sqft and max_sqft for different development types. Is there some rule according to which a gridcell should belong to e.g. industrial or commercial group if there are different types of development? Can we formulate our own rules?
  
Thank you in advance,
Mark and Philippe
Received on Tue Sep 25 2007 - 08:44:37 PDT

This archive was generated by hypermail 2.2.0 : Tue Sep 25 2007 - 08:44:39 PDT