[esp-r] Re: Outdated zone-files and missing constructions

Jon Hand jon at esru.strath.ac.uk
Fri Apr 10 12:02:39 BST 2015


The problem might be the flat file structure of your model.  Essentially all new models
created in the Project Manager default to the same folder structure of cfg ctl zones dbs nets doc
and that is what ESP-r is tested with.  Attempting to coerce a model in to one folder can
result in subtle issues.  Part of the model cfg file includes lines which specify the names
of the folders used in the model.  Unless you specifically edited these the code will
be looking for the paths in the model which might not exist.

It really is recommended that models use the standard folder structure.

-Jon Hand
________________________________________
From: esp-r-bounces at lists.strath.ac.uk [esp-r-bounces at lists.strath.ac.uk] on behalf of Lars O.Grobe [grobe at gmx.net]
Sent: 10 April 2015 10:42
To: esp-r at lists.strath.ac.uk Club
Subject: [esp-r] Re: Outdated zone-files and missing constructions

Hi Jon,

thank you for your reply with all that information. I could finally understand what has happened (well, what I had done without knowing...).

> One more issue:  "I have a file .constrdb in my model directory, however I cannot select it from project managar (which allows me to choose only from ../)."
>
> The usual pattern is to place local .constrdb files in the model ../dbs folder. Does your model have a dbs folder?

I have a simple model, with a flat structure where all files are in folder (all ./).

> Try this - start the project manager from within the model cfg folder and see if you get an option to
> identify the construction database file in the ../dbs folder.  If all else fails you can use a text editor
> to alter the line of the model cfg file which holds the name of the constructions database.

I could load the constrdb-file, but it was empty. At that point I realized what happened. In the db maintenance menu, if I select the constructions db, there is a menu item "create new constructions". I must have clicked that, assuming that it would lead to a dialogue to create a new construction. Instead, what this does, is obviously creating a new (empty) constructions file, overwriting the existing one. I did not realize this immediately, as the information was still within the .con files of each zone. The problem showed up finally when I got the message indicating outdated file-formats, proposing to re-build the files from the constructions db - where these constructions did not exist any more.

> What version of ESP-r are you using and on what kind of computer and operating system?

I had initially set up the model on OS X using a version 11.11 from the repository. However, esp-r seams to be not really stable on the Mac at the moment (this would be another thread), so I continued working on a Linux installation (version 12.0).

> So your model has surfaces with attributes of construction which are not
> found in the current constructions database.  Are these constructions that
> you defined? Perhaps you need to use a different construction database?

I had those constructions in the .constrdb-file. What I was wondering was, is there any way to write back information from the .con-files into an empty .constrdb-file? It seamed that most information was there, but I could not sync backwards from the .con-file to the database to restore what I had deleted.

Related to this, I also found no way to move data between databases. E.g. I would like to import one construction from one construction database into my model construction database - is there any way to do so?

For now, I redefined the constructions. The model is just a simple room, three wall-types, one floor, one roof, one window, one door. So not too much effort to solve the problem, however I wanted to learn from that.

Cheers, Lars.
_______________________________________________
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