Index: mttroot/mtt/bin/trans/dae_r2m ================================================================== --- mttroot/mtt/bin/trans/dae_r2m +++ mttroot/mtt/bin/trans/dae_r2m @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.3 1996/08/16 13:10:53 peter +## Fixed bug Ny changed to Nx in redidual loop. +## ## Revision 1.2 1996/08/16 08:57:34 peter ## Reads $1_input. ## ## Revision 1.1 1996/08/15 16:46:06 peter ## Initial revision @@ -84,10 +87,16 @@ write "% Set up the non-state variables"; FOR i := 1:MTTNz DO BEGIN write "MTTz", i, " = MTTx(", MTTNx+ i, ");"; END; + + write "% Set up the internal inputs"; + FOR i := 1:MTTNz DO + BEGIN + write "MTTui", i, " = MTTx(", MTTNx+MTTz+i, ");"; + END; write "% Set up the Input variables"; IF MTTNu>0 THEN FOR i := 1:MTTNu DO BEGIN