[esp-r] Re: Log Trace

Geissler Achim achim.geissler at fhnw.ch
Mon Jan 27 07:21:31 GMT 2014


Hi Amar,

you either need to update to current development branch or recompile your version after editing src/cetc/h3kreports/TReportsManager.cpp, line 4 (comment out the "#define TRACE_VARIABLE 120")

Best
Achim

> -----Ursprüngliche Nachricht-----
> Von: esp-r-bounces at lists.strath.ac.uk [mailto:esp-r-bounces at lists.strath.ac.uk] Im
> Auftrag von Amar Seeam
> Gesendet: Mittwoch, 22. Januar 2014 12:09
> An: Jon Hand
> Cc: esp-r at lists.strath.ac.uk
> Betreff: [esp-r] Re: Log Trace
> 
> Its log_trace.txt - which is created everytime I ran bps, I have configured an
> input.xml file which looks like this:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <configuration>
> <hierarchy>tree</hierarchy>
> <output_dictionary>true</output_dictionary>
> <step_output_format>csv</step_output_format>
> <log_output_format>xml</log_output_format>
> <step_variable>building/zone_01/air_point/temperature</step_variable>
> <step_variable>climate/solar/direct_normal_radiation</step_variable>
> <step_variable>climate/dry_bulb_temperature</step_variable>
> <step_variable>climate/relative_humidity</step_variable>
> <step_variable>climate/solar/diffuse_horizontal_radiation</step_variable>
> <time_step_averaging>false
> </time_step_averaging>
> </configuration>
> 
>  and log_trace.txt looks like this,
> 
> ------------------ START LOG INSTANCE -----------------------
> 14:07:48: ID:  115; Delimiters:               ; h3kmodule:
> building/time/present; derived:building/time/present;
> 14:07:48: ID:  116; Delimiters:               ; h3kmodule:
> building/time/future; derived:building/time/future;
> 14:07:48: ID:  117; Delimiters:               ; h3kmodule:
> building/hour/present; derived:building/hour/present;
> 14:07:48: ID:  118; Delimiters:               ; h3kmodule:
> building/hour/future; derived:building/hour/future;
> 14:07:48: ID:  119; Delimiters:               ; h3kmodule:
> building/day_number/present; derived:building/day_number/present;
> 14:07:48: ID:  120; Delimiters:               ; h3kmodule:
> building/day_number/future; derived:building/day_number/future;
> 14:07:48: From BPS: id:  120; Value:     9.000000; CurrentStep:   0;
> ActiveSteps:   0; OutputStepCount:   0
> 14:07:48: ID:  123; Delimiters:               ; h3kmodule:
> building/day/present; derived:building/day/present;
> 14:07:48: ID:  124; Delimiters:               ; h3kmodule:
> building/month; derived:building/month;
> 14:07:48: ID:  125; Delimiters:               ; h3kmodule:
> building/day/future; derived:building/day/future;
> 14:07:48: ID:  126; Delimiters:               ; h3kmodule:
> building/time_step; derived:building/time_step;
> 14:07:48: ID:  211; Delimiters:               ; h3kmodule:
> Building/Ground_Reflectivity; derived:Building/Ground_Reflectivity;
> 14:07:48: ID:  212; Delimiters:               ; h3kmodule:
> Climate/SnowDepth; derived:Climate/SnowDepth;
> 14:07:48: ID:    3; Delimiters:          01*01; h3kmodule:
> building/zone_*/surface_*/heat_flux/radiation/shortwave;
> derived:building/zone_01/surface_01/heat_flux/radiation
> 
> <  the file gets very large with similar kind of data - I have edited it out >
> 
> 13:54:28: From BPS: id:  120; Value:     2.000000; CurrentStep:   1;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:     3.000000; CurrentStep:   2;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:     4.000000; CurrentStep:   3;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:     5.000000; CurrentStep:   4;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:     6.000000; CurrentStep:   5;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:     7.000000; CurrentStep:   6;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:     8.000000; CurrentStep:   7;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:     9.000000; CurrentStep:   8;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:    10.000000; CurrentStep:   9;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:    11.000000; CurrentStep:  10;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:    12.000000; CurrentStep:  11;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:    13.000000; CurrentStep:  12;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:    14.000000; CurrentStep:  13;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:    15.000000; CurrentStep:  14;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:    16.000000; CurrentStep:  15;
> ActiveSteps:   0; OutputStepCount:   0
> 13:54:28: From BPS: id:  120; Value:    17.000000; CurrentStep:  16;
> ActiveSteps:   0; OutputStepCount:   0
> 
> 
> Amar.
> On Wed, 2014-01-22 at 10:44 +0000, Jon Hand wrote:
> > Not sure what "log trace" is.  What application is running that
> > generates this file?  What are the contents of this file?  Are there
> > many of these files and what kind of names are these files?
> >
> > Actually, the easy way is to find some unique strings that are written
> > into the file and then search the source for matching strings and that
> > would provide a good indication of the facility involved.
> >
> > Regards, Jon Hand
> > ________________________________________
> > From: esp-r-bounces at lists.strath.ac.uk
> > [esp-r-bounces at lists.strath.ac.uk] on behalf of Amar Seeam
> > [amar.seeam at strath.ac.uk]
> > Sent: 22 January 2014 09:13
> > To: esp-r at lists.strath.ac.uk
> > Subject: [esp-r]  Log Trace
> >
> > I am doing many batch simulations, and my log trace file is becoming
> > quite large.
> >
> > Is there any way to disable it?
> >
> > Amar.
> >
> >
> > _______________________________________________
> > esp-r mailing list
> > esp-r at lists.strath.ac.uk
> > http://lists.strath.ac.uk/mailman/listinfo/esp-r
> 
> 
> 
> _______________________________________________
> 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