コード例 #1
0
    def __init__(self):
        Baseline.__init__(self)
        self['config_changes_for_estimation'] = ConfigChangesForEstimation()
        ## set base_year and years to 2006 for HLCM for the psrc_parcel project
        #self['config_changes_for_estimation']['household_location_choice_model'].merge({'base_year': 2006, 'years':(2006, 2006)})

        self['cache_directory'] = '/Users/hana/urbansim_cache/psrc/cache_source_parcel'
        self['estimation_database_configuration'] = EstimationDatabaseConfiguration(
                                                             database_name = 'psrc_2005_parcel_baseyear_change_estimation',
                                                             )
        self['dataset_pool_configuration'] = DatasetPoolConfiguration(
                                                                      package_order=['psrc_parcel', 'psrc', 'urbansim_parcel', 'urbansim', 'opus_core'],
                                                                      )
        self['datasets_to_cache_after_each_model'] = []
        self["datasets_to_preload"] = {
            'zone':{},
            'household':{},
            'building':{},
            'parcel':{'package_name':'urbansim_parcel'},
        #'development_template': {'package_name':'urbansim_parcel'},
        #'development_template_component': {'package_name':'urbansim_parcel'},
        #"job_building_type":{}
            'job':{},
            'person':{'package_name':'urbansim_parcel'},        
            "building_type":{'package_name':'urbansim_parcel'},
            'travel_data':{},
            }
        self['base_year'] = 2000
        self['years'] = (2000,2000)
        #self['low_memory_mode'] = True
        if 'models_in_year' in self.keys():
            del self['models_in_year']          
コード例 #2
0
 def __init__(self):
     Baseline.__init__(self)
     self['description']='Washtenaw baseline + travel model'
     
     from washtenaw.transcad.create_travel_model_configuration import create_travel_model_configuration
     travel_model_configuration = create_travel_model_configuration('C:\\SEMCOG_baseline\\', mode='full')
     self['travel_model_configuration'] = travel_model_configuration
コード例 #3
0
    def __init__(self):
        Baseline.__init__(self)
        self['description'] = 'Washtenaw baseline + travel model'

        from washtenaw.transcad.create_travel_model_configuration import create_travel_model_configuration
        travel_model_configuration = create_travel_model_configuration(
            'C:\\SEMCOG_baseline\\', mode='full')
        self['travel_model_configuration'] = travel_model_configuration
コード例 #4
0
ファイル: travel_model_only.py プロジェクト: psrc/urbansim
    def __init__(self):
        Baseline.__init__(self)
        self['description']='Washtenaw + travel model'
        self['models']= []
        self['years'] = (2001, 2002)
        #self['creating_baseyear_cache_configuration']['cache_from_database'] = False
        #self['creating_baseyear_cache_configuration']['cache_directory_root']=r'C:\urbansim_cache\washtenaw'
        #self['creating_baseyear_cache_configuration']['baseyear_cache']['directory_to_cache'] = r'C:\urbansim_cache\washtenaw\cache_source20070129'

        from washtenaw.transcad.create_travel_model_configuration import create_travel_model_configuration
        travel_model_configuration = create_travel_model_configuration('C:\\SEMCOG_baseline\\', mode='full')
        self['travel_model_configuration'] = travel_model_configuration
コード例 #5
0
 def __init__(self):
     Baseline.__init__(self)
     self['config_changes_for_estimation'] = ConfigChangesForEstimation()
     self['cache_directory'] = paths.get_opus_home_path('data/eugene_zone/base_year_data')
     self['scenario_database_configuration'] = ScenarioDatabaseConfiguration(database_name = 'eugene_1980_baseyear_zone')
     self['estimation_database_configuration'] = EstimationDatabaseConfiguration(database_name = 'eugene_1980_baseyear_zone')
 
     self['datasets_to_cache_after_each_model' ] = []
     self['low_memory_mode'] = False
     self['base_year'] = 1980
     self['years'] = (1980,1980)
     self['seed'] = 1
コード例 #6
0
 def __init__(self):
     Baseline.__init__(self)
     self['config_changes_for_estimation'] = ConfigChangesForEstimation()
     self['cache_directory'] = os.path.join(os.environ['OPUS_HOME'], 'data/eugene_gridcell/base_year_data')
     self['scenario_database_configuration'] = ScenarioDatabaseConfiguration(database_name = 'eugene_1980_baseyear')
     self['estimation_database_configuration'] = EstimationDatabaseConfiguration(database_name = 'eugene_1980_baseyear_estimation_xxx')
 
     self['datasets_to_cache_after_each_model' ] = []
     self['low_memory_mode'] = False
     self['base_year'] = 1980
     self['years'] = (1980,1980)
     self['seed'] = 10
コード例 #7
0
 def __init__(self):
     Baseline.__init__(self)
     self['config_changes_for_estimation'] = ConfigChangesForEstimation()
     self['cache_directory'] = os.path.join(os.environ['OPUS_HOME'], 'data/eugene_zone/base_year_data')
     self['scenario_database_configuration'] = ScenarioDatabaseConfiguration(database_name = 'eugene_1980_baseyear_zone')
     self['estimation_database_configuration'] = EstimationDatabaseConfiguration(database_name = 'eugene_1980_baseyear_zone')
 
     self['datasets_to_cache_after_each_model' ] = []
     self['low_memory_mode'] = False
     self['base_year'] = 1980
     self['years'] = (1980,1980)
     self['seed'] = 1
コード例 #8
0
    def __init__(self):
        Baseline.__init__(self)
        self['description'] = 'Washtenaw + travel model'
        self['models'] = []
        self['years'] = (2001, 2002)
        #self['creating_baseyear_cache_configuration']['cache_from_database'] = False
        #self['creating_baseyear_cache_configuration']['cache_directory_root']=r'C:\urbansim_cache\washtenaw'
        #self['creating_baseyear_cache_configuration']['baseyear_cache']['directory_to_cache'] = r'C:\urbansim_cache\washtenaw\cache_source20070129'

        from washtenaw.transcad.create_travel_model_configuration import create_travel_model_configuration
        travel_model_configuration = create_travel_model_configuration(
            'C:\\SEMCOG_baseline\\', mode='full')
        self['travel_model_configuration'] = travel_model_configuration
コード例 #9
0
ファイル: baseline_estimation.py プロジェクト: psrc/urbansim
    def __init__(self):
        Baseline.__init__(self)
        self["config_changes_for_estimation"] = ConfigChangesForEstimation()
        self["cache_directory"] = paths.get_opus_home_path("data/eugene_gridcell/base_year_data")
        self["scenario_database_configuration"] = ScenarioDatabaseConfiguration(database_name="eugene_1980_baseyear")
        self["estimation_database_configuration"] = EstimationDatabaseConfiguration(
            database_name="eugene_1980_baseyear_estimation_xxx"
        )

        self["datasets_to_cache_after_each_model"] = []
        self["low_memory_mode"] = False
        self["base_year"] = 1980
        self["years"] = (1980, 1980)
        self["seed"] = 10
コード例 #10
0
 def __init__(self):
     Baseline.__init__(self)
     self["config_changes_for_estimation"] = ConfigChangesForEstimation()
     self.merge(self._get_estimation_changes())
コード例 #11
0
 def __init__(self):
     Baseline.__init__(self)
     self['config_changes_for_estimation'] = ConfigChangesForEstimation()
     self.merge(self._get_estimation_changes())