[esp-r] Re: copy model
Jon Hand
jon at esru.strath.ac.uk
Mon Sep 22 10:17:59 BST 2008
There is work underway to provide an alternative key word for
databases that are in the so-called standard databases folder
so that the full path is not saved in the configuration file
but is re-generated on-the-fly based on the standard path
to the database folder on the current machine. This has been
done for 3 of the databases, but not yet for materials and
constructions.
Another technique - if you alter your standard databases
and add new items to it and you want to send models to
other people then you should ensure that the altered
database is copied into your model folders and referenced
locally. There is an option in the project manager database
maintenance menu to copy the standard database into the model.
-Jon
-----Original Message-----
From: esp-r-bounces at lists.strath.ac.uk on behalf of Georgios Kokogiannakis
Sent: Mon 9/22/2008 9:33 AM
To: esp-r at lists.strath.ac.uk
Subject: [esp-r] Re: copy model
Dear Wong,
the error you are getting is because you transfer the model without the
associated databases (at least the materials database). It is a (very) common
error when trying to transfer ESP-r models to another location.
You have two choices: Either open the model by ignoring all the errors and
click on database maintenance. After this, click on materials, constructions,
optical databases and copy the default databases (depending on the model, you
may have to do it for other databases too).
Save your model and then you will not get any errors the next time you open
it.
Alternative, in order to avoid all these clicks open the cfg file of your
model with an editor (in your case you can use Wordpad in Windows) and see
the lines below "* DATABASES". Check where the materials, constructions and
optics are pointing. They are the lines that they start with "*prm", "*mlc",
"*opt". They are probably pointing (for Windows) to C:/Esru/esp-r/databases
Change these 3 lines to point to "..\dbs/constr.db3" for Windows or
"../dbs/constr.db3" for Linux. Replace "constr.db3" with the names of the
databases you are using.
After this go inside C:/Esru/esp-r/databases and copy/paste the 3 files in
your models dbs folder (if you have a dbs folder). Your model will then work
fine the next you open it.
I prefer the second option.
Perhaps the default databases should be copied automatically each time
somebody creates a model instead of using hardwired locations(?
Regards,
Georgios
On Friday 19 September 2008 21:16, wong ing liang wrote:
> Dear ESP-r users,
>
> I would like to copy several models from one computer to another. What is
> the correct procedures of doing it?
>
> I am working on Window version 11.4 and have downloaded esp-r software in
> another computer. I tried to copy whole model folder from C/esru/Models to
> the same directory of the new computer. When I opened the building model,
> some problems existed:
>
> Material db reference 111 has no data, or all zero... 112 15 Please check
> your selection! Material db reference 268 has no data, or all zero... 269
> 15 Please check your selection!
>
> Simulations and result analysis functions are not perfoming well too.
> Anyone knows how to resolve the problem?
>
> Many thanks.
>
> Regards,
> Wong
> _________________________________________________________________
> Easily publish your photos to your Spaces with Photo Gallery.
> http://get.live.com/photogallery/overview
--
Energy Systems Research Unit (ESRU)
Department of Mechanical Engineering
University of Strathclyde
_______________________________________________
esp-r mailing list
esp-r at lists.strath.ac.uk
http://lists.strath.ac.uk/mailman/listinfo/esp-r
More information about the esp-r
mailing list