I tried two ways of substituting which should have be equivalent.
(1) The fist way is that I collected varsol and dvarsol in a global variablea global variable solGolbal then do the substituting, and thesubstituting;
(2)The second way is that I collected varsol and dvarsol in a local variablelocal variable solModule and then do the substituting.
-------The The above code is fine. The problem occured in following lines. ------
The problem confusing me is :
Why did dpdxGlobal[t] hashave one more term than dpdxModule[t], as shown in the red box in my second figure?

![dpdxGlobal[t] has one more term than dpdxModule[t]](https://i.sstatic.net/BGkdR.png)