In my component I got to the point of destroying the whole code I wrote just to see the sensibility of TRNSYS to this maximum number of derivatives with the TRACE command. I have set there also the correct Dimensions for the DTDT and T arrays (in the case of 60 derivatives, their size is 60), and T=0 and DTDT=0.
In the deck file I have this:
* START, STOP and STEP
CONSTANTS 3
START=0
STOP=1.000000024
STEP=0.000277778
* User defined CONSTANTS
SIMULATION START STOP STEP ! Start time End time Time step
TOLERANCES 0.0001 0.0001 ! Integration Convergence !>>Adicionei aqui um zero (diminui a tolerancia por uma ordem de grandeza)
LIMITS 84 30 84 ! Max iterations Max warnings Trace limit
DFQ 1 ! TRNSYS numerical integration solver method
WIDTH 80 ! TRNSYS output file width, number of characters
LIST ! NOLIST statement
MAP ! MAP statement
SOLVER 0 1 1 ! Solver statement Minimum relaxation factor Maximum relaxation factor
NAN_CHECK 1 ! Nan DEBUG statement
OVERWRITE_CHECK 1 ! Overwrite DEBUG statement
TIME_REPORT 1 ! enable time report statement
EQSOLVER 0 ! EQUATION SOLVER statement
ETRACE START STOP ! EQUATION TRACE statement
* Model "Type810" (Type 810)
*
UNIT 2 TYPE 810 Type810
*$UNIT_NAME Type810
*$MODEL .\My Components\Type810.tmf
*$POSITION 300 142
*$LAYER Main #
TRACE START STOP
DERIVATIVES 60