Strangely, there seems to be a C access function to
get the maximum number of storage spots, but none to actually push values to
the S-array (let alone retrieve them). You could of course add these functions to TRNSYS.h +
the kernel, or threaten the Werner PS: The pacemaker type I sent recently uses this
technique to remember the 'real world time' when it was started and the time it
was last called in the line CTime lastRealTime; CTime startRealTime; (To be really clean, it should actually read static CTime lastRealTime; ) -----Message d'origine----- Dear TRNSYS users, Does anyone know how to declare SETSTORAGESIZE, SETSTORAGEVARS and GETSTORAGEVARS correctly in the TRNSYS.h file, and then use these
functions in a C++ Type? Kind regards, Knut Erik ---------------------------------------------------------------------------------------------------------------------- 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 ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals &
computer viruses. ************************************************************************************ ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************ |