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

[TRNSYS-users] Problem with Boolean Input



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!