[TRNSYS-users] Problem with Boolean Input

Marco D'Urso durso.marco at gmail.com
Thu Mar 15 05:18:37 PDT 2012


Dear TRNSys users,
it's the first time I use this program and I have a problem importing
a simple txt file with boolean value (0 or 1) with a Data Reader:
In my file a have something like this

.....
21	0	0	0	0	0	1	0
22	0	0	0	0	0	1	0
23	0	0	0	0	0	1	0
24	0	0	0	0	0	1	0
25	0	0	0	0	0	0	1
26	0	0	0	0	0	0	1
27	0	0	0	0	0	0	1
28	0	0	0	0	0	0	1
......

but when i go to read this inputs with a plotter and a printer
(creatinh a .out file) i have this response:

......
  +2.3000000000000000E+01	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+1.0000000000000000E+00	  +0.0000000000000000E+00
  +2.4000000000000000E+01	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+1.0000000000000000E+00	  +0.0000000000000000E+00
  +2.5000000000000000E+01	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+5.0000000000000000E-01	  +5.0000000000000000E-01
  +2.6000000000000000E+01	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +1.0000000000000000E+00
  +2.7000000000000000E+01	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +1.0000000000000000E+00
  +2.8000000000000000E+01	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +0.0000000000000000E+00	
+0.0000000000000000E+00	  +1.0000000000000000E+00
......

It seems like it try to give a mean value, but in my simulation, where
i use a neural network created with Matlab, this is a big problem!
How can i import these without change? Which settings I have to use?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20120315/08ea32cd/attachment-0005.htm>


More information about the TRNSYS-users mailing list