[TRNSYS-users] Problem with Boolean Input

Adrien JEZEQUEL - ITF a.jezequel at itf.biz
Thu Mar 15 05:57:52 PDT 2012


Dear Marco,

If you want to use data value written on your text file, you have to put 
parameter 5of your data reader (interpolate or not) to"-1" instead of "1".

Best regards
------------------------------------------------------------------------
www.itf.biz <http://www.itf.biz>
www.itf.biz <http://www.itf.biz>

	Adrien JEZEQUEL
Simulations Thermiques Dynamiques
*ITF*
	62, Rue du Bolliet
73230 St Alban Leysse
FRANCE
Phone :
Fax :
Mail:
	+33(0) 479 750 029
+33(0) 479 852 122
a.jezequel at itf.biz ou aj at itf.biz

/Afin de contribuer au respect de l'environnement, merci de n'imprimer 
cet e-mail que si nécessaire
Please, consider our environmental responsability before printing this email
/

Le 15/03/2012 13:18, Marco D'Urso a écrit :
> 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!
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://mailman.cae.wisc.edu/listinfo/trnsys-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20120315/5aa0ddc5/attachment-0005.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo_itf_2010.jpg
Type: image/jpeg
Size: 2583 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20120315/5aa0ddc5/attachment-0005.jpg>


More information about the TRNSYS-users mailing list