[TRNSYS-users] PSYCHROMETRICS routine issue

Antoine Gautier antoine.gautier at solamen.fr
Tue May 31 00:51:59 PDT 2011


Dear all

 

Same problem illustrated in a more simplified way.

 

source code

 

MODE=6

      PSYDAT(6)=0.8524754597715760D-02

      PSYDAT(7)=0.5159925701758463D+02

      CALL PSYCHROMETRICS(TIME,INFO,IUNITS,MODE,WBMODE,

     &                                     PSYDAT,EMODE,STATUS)

      write(myMessage,'(" PSYDAT(2)=",D," PSYDAT(6)=",D,

     &            " PSYDAT(7)=",D)') PSYDAT(2),PSYDAT(6),PSYDAT(7)

      CALL MESSAGES(-1,trim(myMessage),

     &                  'Notice',info(1),info(2))

 

simulation response

 

*** Notice at time    :   9.125000

      Generated by Unit     :     2

      Generated by Type     :   206

Message               :  PSYDAT(2)=   0.1732587158021238D+02 PSYDAT(6)=
0.8524754597715760D-02 PSYDAT(7)=   0.5159925701758463D+02

 

DB Temperature = 17.3°C instead of ~ 30°C for that state point.

Is there any explanation?

 

Thanks a lot.

Regards

--

Antoine Gautier
Solamen
+33 6 98 78 56 46

antoine.gautier at solamen.fr

 

De : Antoine Gautier [mailto:antoine.gautier at solamen.fr] 
Envoyé : lundi 30 mai 2011 18:50
À : 'trnsys-users at cae.wisc.edu'
Objet : PSYCHROMETRICS routine issue

 

Dear all

 

Please have a look below at the short excerpt of a source code.

 

      MODE=6

      PSYDAT(6)=wAirEnt

      PSYDAT(7)=hAirEnt

      CALL PSYCHROMETRICS(TIME,INFO,IUNITS,MODE,WBMODE,

     &                                     PSYDAT,EMODE,STATUS)

      write(myMessage,'(" PSYDAT(2)=",D," PSYDAT(6)=",D,

     &            " PSYDAT(7)=",D)') PSYDAT(2),PSYDAT(6),PSYDAT(7)

      CALL MESSAGES(-1,trim(myMessage),

     &                  'Notice',info(1),info(2))

 

      PSYDAT(2)=29.82D0

 

      CALL PSYCHROMETRICS(TIME,INFO,IUNITS,MODE,WBMODE,

     &                          PSYDAT,EMODE,STATUS)

      write(myMessage,'(" PSYDAT(2)=",D," PSYDAT(6)=",D,

     &            " PSYDAT(7)=",D)') PSYDAT(2),PSYDAT(6),PSYDAT(7)

      CALL MESSAGES(-1,trim(myMessage),

     &                  'Notice',info(1),info(2))                

 

I know PSYDAT(2) is not used in MODE 6 but please have a look now at the
response I get


 

*** Notice at time        :        16.375000

    Generated by Unit     :     2

    Generated by Type     :   206

    Message               :  PSYDAT(2)=   0.1732587158021238D+02 PSYDAT(6)=
0.8524754597715760D-02 PSYDAT(7)=   0.5159925701758463D+02

 

 

*** Notice at time        :        16.375000

    Generated by Unit     :     2

    Generated by Type     :   206

    Message               :  PSYDAT(2)=   0.2981999969482422D+02 PSYDAT(6)=
0.8524754597715760D-02 PSYDAT(7)=   0.5159925701758463D+02

 

Same humidity ratio, same enthalpy and quite different dry bulb temperature.
Why the second PSYCHROMETRICS statement does not rewrite on PSYDAT(2)?

Any help would be quite appreciated as I am slowly but surely getting crazy!

 

Thanks a lot.

Regards

--

Antoine Gautier
Solamen
+33 6 98 78 56 46

antoine.gautier at solamen.fr

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20110531/1d50b7f1/attachment-0005.htm>


More information about the TRNSYS-users mailing list