Visual Studio 2005 中選擇 Simple Dss Service (1.5) 範本:

圖 4:新建 DSS 服務
程式化模擬需引用下列組件:

圖 5:模擬專案所需組件
| 組件名稱 | 說明 |
|---|---|
| PhysicsEngine | 存取 AGEIA 物理引擎 |
| RoboticsCommon | PhysicalModel 命名空間,定義機器人物理特徵 |
| SimulationCommon | 模擬與物理引擎相關型別定義 |
| SimulationEngine | 模擬引擎核心 |
| SimulationEngine.proxy | 模擬引擎代理,載入為合作夥伴時使用 |
using Microsoft.Robotics.Simulation;
using Microsoft.Robotics.Simulation.Engine;
using engineproxy = Microsoft.Robotics.Simulation.Engine.Proxy;
using Microsoft.Robotics.Simulation.Physics;
using Microsoft.Robotics.PhysicalModel;
完成上述設定後,即可在服務實作類別中撰寫程式碼動態建立、插入實體。