230 likes | 438 Views
April 2005. Realtime Technologies, Inc. Distributed Simulation Training. Purpose. Introduce distributed simulation concepts. Build and test a distributed simulator. Network Properties. Must set up your IP address and Subnet mask. Configure SimCreator Network.
E N D
April 2005 Realtime Technologies, Inc.Distributed Simulation Training
Purpose • Introduce distributed simulation concepts. Build and test a distributed simulator.
Network Properties • Must set up your IP address and Subnet mask
Configure SimCreator Network • The IP Broadcast Address is based on your IP address and the subnet mask. Subnet numbers that are zero become 255 in the IP address to create the broadcast address:IP Address: 192.168.0.1Subnet: 255.255.255.0-> Broadcast Address: 192.168.0.255 • Login Name must be a Windows user with correct password • Storage path must exist in the ftp folder
Install IIS • Go to install windows components and select IIS to install (if it is checked already then it is already installed)
Set Up IIS Manager • Inside the Control Panel • Inside of Administrative Tools
Configure IIS • Select ftp sites • Select Default FTP site • Right click and select properties
Configure IIS • Unclick Anonymous Connections
Configure IIS • Turn on write permissions to home directory
Configure SimCreator • Make sure ftp path is the same as the local path in IIS
Build a Simple Simulation • Compile a model by selecting:Code -> Compile • Select the appropriate host
Run the Model Over the Network • Select:Run->Execute • Make sure the appropriate host is selected and the interpreter flag is turned off
Compile a Generic Model Over the Network • Open Standard Library • Select:Code->Compile Generic • Select the appropriate host
Run the Previous Model Over the Network with Interpreter • Select:Run->Execute • Make sure the appropriate host is selected and the interpreter flag is turned on
Configuring Across Systems Remote Local
Models Local Remote
Component Data COMPONENT Local_Ramp InitValue [0][0] = 0 [ND] Initial Value Before Ramp RampTime [0][0] = 1 [sec] Starting Time of Ramp Slope [0][0] = 1 [ND/sec] Ramp Slope COMPONENT Remote_Ramp InitValue [0][0] = 0 [ND] Initial Value Before Ramp RampTime [0][0] = 1 [sec] Starting Time of Ramp Slope [0][0] = 1 [ND/sec] Ramp Slope COMPONENT Remote_Gain Gain [0][0] = 1 [ND] Gain
Run the Simulation • If the generic model has all the components can run interpreted
Results • Distance between two lines is the delay between machines
Rerun With Interpreter On • If the interpreter is compiled on every machine. Then you don’t have to compile distributed models. Just run them in interpreted mode.