An Agent-Based Model for Virtual Experiment