[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Problem with type 9a reading data values



Kordu,
  One thing to be careful of is that if you change the units of the simulation time step to minutes (from its default of hours) and enter a value of 5, then change the units back to hours, you'll notice that the conversion is not perfect. Also 5 minutes, expressed in hours, is a continuously repeating decimal. What I would recommend is that you enter the following two lines in the "control cards" field:

EQUATIONS 1
delt = 5/60

set both the simulation time step and the Type9 data interval parameter to units of "string" and enter the name of the equation that you defined: delt. This will force both the simulation time step and the data interval to be the result of two integers divided by each other and they will be precisely equal as far as the TRNSYS engine is concerned. My guess as to the cause of your problem is that where the TRNSYS engine is concerned, the two values are not identically equal.

You might also look at the example:

..\Trnsys16_1\Examples\Reading Data Files\DataReaders.tpf

It is often easier to start with something that already works!!
regards,
 David


On 9/20/2011 03:59, kordou wrote:

Hi,

 

I am trying to valuate a new type that I have made in trnsys 16 with some experimental measurements.

To do this I need to import some measurement weather data (Total solar rad, Tamb, Wind speed and direction, RH, a room temperature, and a voltage)

The measurements that I have are based on time interval of 5min.

 

So I fount that I could use the type9a (Utility àData readers -->Generic Data FilesàFirst Line is Simulation Start àFree Format)

 

The problem that I have is that if I input a dt=5min on type9a and the same dt in simulation, it does not run.

If I Input dt=5min on Type9a and 1min in simulation it runs but in results of the total simulation time is the double minus 1 hour from the expected!!!

With that I mean that I got the results of one day (24 hr) twice in this time period minus 1 hr.  (For 24 hours of simulation I got a curve of 47 hours)

 

It is like the trnsys reads the input file in about the half time of the real so I get 2 times this file

 

Could someone help here?

 

Thank you in advanced

 

Regards

Kordou

 



_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com