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

[TRNSYS-users] TRNSYS christmas riddle



Dear TRNSYS users,

 

Christmas approaches, and we found an amazing issue concerning TRNSYS equations that we would like to share with you.

 

A day, we created a new equation in TRNSYS, taping (by error) the following _expression_ :

 

new = max(12),7

 

you could think that TRNSYS reports an error…but you are wrong : the result was 12 (try to plot it !)

 

We was just thinking that TRNSYS is so smart that it corrects our error, when we had a doubt. We tried to change the _expression_ in :

 

new = (max(12),7)

 

and in this case, TRNSYS crashed giving us a horrible statement : “forrtl : severe (408): fort: (3) : Subscript #1 of the array STACK has value 0 which is less than the lower bound of 1”…

 

But variety is the spice of live, than we tried another _expression_ again :

 

new = 0*(max(12),7)

 

You can imagine how we were surprised when TRNSYS plotted a constant value of…84 !!!

 

Definitely, we decided to write a letter to Santa Claus to help us to solve this riddle…

 

Merry Christmas to the TRNSYS group!

Marcello Caciolo
Responsable Outils et Méthodes d'Analyse Energétique

cid:image003.jpg@01CD4E08.954D04D0

C
ellule Efficacité Energétique et Environnementale - Pôle Projets et Réalisations
46 Boulevard de la Prairie au Duc
BP 40119 - 44201 Nantes Cedex 02

Tél.: +33 02 40 41 06 57
marcello.caciolo@cofelyaxima-gdfsuez.com

P Pensez à l'environnement avant d'imprimer ce message