The simulation presented above is a circuit, and I add particles to re-present movement of charged particle in the circuit.

I do not know why you are talking about square wave or triangle wave?
You should not change your model if you just want to add view element.
There is no need to open your file because I do not really understand what you want to do/show?
And I do not know what to look for?