Principle of communication systems simulation with wireless applications