Re: Re[2]: Creating a new model

From: Alan Borning <borning_at_cs.washington.edu>
Date: Sat, 21 Jul 2007 12:53:06 -0700

Mark,

I'm glad to hear this is now working! One suggestion though - if you
are going to be making anything more than casual use of UrbanSim (and
if you are creating a new model you are out of the casual category),
I would urge you to switch to the current version, and check it out
of our repository using subversion. (You can get either stable
release 4.1 or the latest version, as you prefer.) Once you've made
the transition to subversion, you can much more easily get updates to
the code and integrate it with your work. Otherwise sooner or later
you will probably encounter some problem that is fixed in a newer
version, or that we fix based on a bug report from you, and it will
be much harder to integrate the update with your own changes.
     Alan

On Jul 21, 2007, at 12:05 PM, Mark Kryvobokov wrote:

> Hana,
>
> We succeded to create a new model (New Land Price Model). We
> checked all the "controllers", and now it works.
> So, skip my previous message with the attached file. Excuse my
> disturbing you.
>
> Mark
>
>
> --- Исходное сообщение ---
> От кого: Hana Sevcikova (hana_at_cs.washington.edu)
> Кому: Mark Kryvobokov
> Дата: 20 июля, 16:23:50
> Тема: Re: Creating a new model
>
> > Mark,
> >
> > Please attach your general_configuration.py. BTW,
> > general_configuration_with_changed_elcm.py is not contained in
> the current
> > version of urbansim. Are you using the current version?
> >
> > The general_configuration.py must contain a 'controller' entry of
> the
> > 'new_land_price_model' entry. Please check, if it is the case.
> >
> > Hana
> >
> >
> > On Fri, 20 Jul 2007, Mark Kryvobokov wrote:
> >
> > > Thank you Paul and Hana!
> > >
> > > Now the difference between estimation and running a simulation
> is clear. It works.
> > >
> > > We want to create a new model, e.g. New Land Price Model, which
> in the beginning should be the same as the original Land Price
> Model. We have created:
> > > - new_land_price_model.py script, which is the copy of original
> land_price_model.py (the only differences are model_name="New Land
> Price Model", and model_short_name="nlpm");
> > > - NLPM_specification.py, which is the copy of
> LPM_specification.py;
> > > - nlpm_estimation_config.py.
> > > We mentioned our model ('nlpm') in run_estimation.py and
> estimation_runner.py.
> > > We have changed also:
> > > - general_configuratoin.py;
> > > - general_configuration _with_changed_elcm.py;
> > > - models_configuration.
> > >
> > > However, when running estimation we have this message:
> > >
> > >
> > >
> > > KeyError: "Key 'new_land_price_model' not found in this
> configuration"
> > > Could you be so kind to say what else should be done to create
> a new model?
> > >
> > > Mark
> > >
> > >
> >
>
>
> --
> Новые знакомства на http://LovePlanet.ua!
> Мир любви и общения, неограниченный
> ничем!
>
> _______________________________________________
> Users mailing list
> Users_at_urbansim.org
> http://www.urbansim.org/mailman/listinfo/users
Received on Sat Jul 21 2007 - 12:53:06 PDT

This archive was generated by hypermail 2.2.0 : Sat Jul 21 2007 - 12:53:07 PDT