CONTINUOUS_MODEL TQNODE ABSTRACT "A node model for thermal connection" /* History: 020321 PG Written */ EQUATIONS /* Heat balance */ Qout = SUM i=1,n Qin[i] END_SUM; LINKS /* type name variables */ TQ Term0 T, POS_OUT Qout; FOR i=1, n TQ Term[i] T, POS_IN Qin[i] END_FOR; VARIABLES /* type name role def min max description */ Temp T IN 20 ABS_ZERO BIG "Node temperature" HeatFlux Qin[N] IN 0 -BIG BIG "Heat flux through input links" HeatFlux Qout OUT 0 -BIG BIG "Heat flux through output link" MODEL_PARAMETERS /* type name role def min max description */ INT n SMP 1 0 BIGINT "Number of input links" /*PARAMETERS*/ /* type name role def min max description */ END_MODEL