Realtime Technologies, Inc. Distributed Simulation Training April 2005.
-
Upload
millicent-melton -
Category
Documents
-
view
215 -
download
0
Transcript of Realtime Technologies, Inc. Distributed Simulation Training April 2005.
![Page 1: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/1.jpg)
Realtime Technologies, Inc.Distributed Simulation Training
April 2005
![Page 2: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/2.jpg)
Purpose
Introduce distributed simulation concepts. Build and test a distributed simulator.
![Page 3: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/3.jpg)
Network Properties
Must set up your IP address and Subnet mask
![Page 4: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/4.jpg)
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
![Page 5: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/5.jpg)
Install IIS
Go to install windows components and select IIS to install (if it is checked already then it is already installed)
![Page 6: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/6.jpg)
Set Up IIS Manager
Inside the Control Panel
Inside of Administrative Tools
![Page 7: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/7.jpg)
Configure IIS
Select ftp sites Select Default FTP
site Right click and
select properties
![Page 8: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/8.jpg)
Configure IIS
Unclick Anonymous Connections
![Page 9: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/9.jpg)
Configure IIS
Turn on write permissions to home directory
![Page 10: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/10.jpg)
Configure SimCreator
Make sure ftp path is the same as the local path in IIS
![Page 11: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/11.jpg)
Build a Simple Simulation
Compile a model by selecting:Code -> Compile
Select the appropriate host
![Page 12: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/12.jpg)
Run the Model Over the Network
Select:Run->Execute
Make sure the appropriate host is selected and the interpreter flag is turned off
![Page 13: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/13.jpg)
Compile a Generic Model Over the Network
Open Standard Library
Select:Code->Compile Generic
Select the appropriate host
![Page 14: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/14.jpg)
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
![Page 15: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/15.jpg)
Simple Distributed Simulator
![Page 16: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/16.jpg)
Configuring Across Systems
Local
Remote
![Page 17: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/17.jpg)
Models
Local Remote
![Page 18: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/18.jpg)
Distributed CompileParsing: C:\Program Files\SimCreator\Components\User\Class\Distrib_Local.cmp***
Finished Parsing: C:\Program Files\SimCreator\Components\User\Class\Distrib_Local.cmp***
Preprocessing: C:\Program Files\SimCreator\Components\User\Class\Distrib_Local.cpp***
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
genModel.cppCompiling: C:\Program Files\SimCreator\Components\User\Class\Distrib_Local.cmp on local***
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
model.cppCompiled: C:\Program Files\SimCreator\Components\User\Class\Distrib_Local.exe on localh***
Parsing: C:\Program Files\SimCreator\Components\User\Class\Distrib_Remote.cmp***
Finished parsing: C:\Program Files\SimCreator\Components\User\Class\Distrib_Remote.cpp ***
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
Distrib_Remote.cppscDoneCompiling: C:\Program Files\SimCreator\Components\User\Class\Distrib_Remote.cmp on hawk***
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
model.cppscDoneCompiled: C:\Program Files\SimCreator\Components\User\Class\Distrib_Remote.cmp on hawkm***
Parsing: C:\Program Files\SimCreator\Components\User\Class\Distrib_Local.cmp***
Finished Parsing: C:\Program Files\SimCreator\Components\User\Class\Distrib_Local.cmp***
Preprocessing: C:\Program Files\SimCreator\Components\User\Class\Distrib_Local.cpp***
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
genModel.cppCompiling: C:\Program Files\SimCreator\Components\User\Class\Distrib_Local.cmp on local***
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
model.cppCompiled: C:\Program Files\SimCreator\Components\User\Class\Distrib_Local.exe on localh***
Parsing: C:\Program Files\SimCreator\Components\User\Class\Distrib_Remote.cmp***
Finished parsing: C:\Program Files\SimCreator\Components\User\Class\Distrib_Remote.cpp ***
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
Distrib_Remote.cppscDoneCompiling: C:\Program Files\SimCreator\Components\User\Class\Distrib_Remote.cmp on hawk***
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
model.cppscDoneCompiled: C:\Program Files\SimCreator\Components\User\Class\Distrib_Remote.cmp on hawkm***
![Page 19: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/19.jpg)
Component Data
COMPONENT Local_RampInitValue [0][0] = 0 [ND] Initial Value Before RampRampTime [0][0] = 1 [sec] Starting Time of RampSlope [0][0] = 1 [ND/sec] Ramp Slope
COMPONENT Remote_RampInitValue [0][0] = 0 [ND] Initial Value Before RampRampTime [0][0] = 1 [sec] Starting Time of RampSlope [0][0] = 1 [ND/sec] Ramp Slope
COMPONENT Remote_GainGain [0][0] = 1 [ND] Gain
![Page 20: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/20.jpg)
Run the Simulation
If the generic model has all the components can run interpreted
![Page 21: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/21.jpg)
Results
![Page 22: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/22.jpg)
Results
0
1
2
3
4
5
6
7
8
9
10
0 2 4 6 8 10
Rem
ote
_G
ain
-Sig
Out[0][0] (N
D)
Time (seconds)
Remote_Gain-SigOut[0][0] (ND)Remote_Ramp-SigOut[0][0] (ND)
Distance between two lines is the delay between machines
![Page 23: Realtime Technologies, Inc. Distributed Simulation Training April 2005.](https://reader036.fdocuments.us/reader036/viewer/2022062517/56649eb25503460f94bb8ead/html5/thumbnails/23.jpg)
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.