[esp-r] Re: Problem with Esp-r for over 100 zones

Jon Hand jon at esru.strath.ac.uk
Mon Jan 19 16:54:15 GMT 2015


ESP-r has not been tested for 99+ zones. Your project has
identified some places where the existing logic gets confused.

The logic in the interface which determines whether the user is asking to
select a zone or copy a zone or delete a zone is based on the index of
the zone in the list.  As ESP-r traditionally had less than 100 zones the
logic passed a negative number of the index for deletion and the zone
index +100 to signal a copy zone request.

Example - to copy the 10th zone in the list uses 10+100=110.  When
you ask the existing interface to select from the list the 101 zone in the list
ESP-r thinks a copy request has been made.  The logic would need to
be re-designed (and tested).  The source code for this is mostly in
the file edcfg.F.  Look for comments in the code about copy and delete
zones.

There are a number of places in the code where ESP-r assumes that
it only needs 2 digits to report on the zone index.  This works ok up
to 99 and might result in some *** numbers written to files for the zones
100-107. This might cause issues when scanning the model files.

There is also a parameter which sets the maximum number of surfaces
in the model MCON.  If you have lots of complex zones you might need
to increase the value of MCON.

And the warning 'zone index value' is a warning embedded in the code
that scans the model and has the value 100 hard-coded.   Look for a
line in the source code esystem.F that looks like:
          CALL EGETWI(text,K,NCCODE(ICOMP),1,100,'W','zone index',IER)

and change the 100 to 150.

Consider if it would be possible to reduce the number of zones to 99.  This
would allow you to proceed without having to adapt the source code.

-Jon Hand

 
________________________________________
From: esp-r-bounces at lists.strath.ac.uk [esp-r-bounces at lists.strath.ac.uk] on behalf of Kostas Gobakis [kgobakis at isc.tuc.gr]
Sent: 19 January 2015 16:07
To: esp-r at lists.strath.ac.uk
Subject: [esp-r]  Problem with Esp-r for over 100 zones

Hi,

I have complete a new project that has 107 zones( i know that are a lot
but ...). I have changed the MCOM=150 in the src/include/building.h.
When i start the Esp-r a warning is given by the software for all zones
with index grater than 100
"WARNING: in modelName.cfg: 101"
"the zone index value(101) > normal maximum 100!"
Esp-r loads the model. When i go to select a zone with an index greater
than 100 (m->c->a), Esp-r decide not to show me then zone but instead to
promote the option to copy it. A solution to this problem is to select
the zone with index  100 and then select the "> jump to the next zone"
in order to select the zone with index 101.
Where i have to look to solve this issue?

Regards,
Kostas

_______________________________________________
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