Dear TRNSYS users,

I have written a new TRNSYS Type in C++ which will not work because TRNSYS
skips the initialization procedures. The result is that TRNSYS crashes
because arrays are not sized properly etc. I have checked some values of
the INFO array during program execution, and they show that at the very
first call to the Unit, INFO(8) (in FORTRAN, info[7] in C++) already has a
value of 4. This means that the version signing, initialization call
(INFO(7)=-1) and time=start time steps are not executed.

Does anyone know why this happens?

Thanks in advance.

Kind regards,

Knut Erik Enerstvedt




----------------------------------------------------------------------------------------------------------------------
NIVAs hovedkontor har flyttet til nye lokaler i CIENS - Forskningssenter
for miljø og samfunn; Gaustadalléen 21, 0349 Oslo. Meld deg på vårt
nyhetsbrev på www.niva.no


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users

Reply via email to