14.02.2013 Views

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 8 / Simulation<br />

_ _<br />

i.e. an operation in one is reflected in the others taking into account<br />

initialisation and in-run changes initiated by external data file. Dynamic<br />

linkage between the windows is limited to RUN, STEP and STOP buttons<br />

shown in Figure 8-9. When initialisation is complete program control is<br />

passed to the Windows interface if INTACT is set to 1, otherwise external<br />

data is used. When using the windows I/F any changes specified in the<br />

user’s input data files are processed and their effect on the system observed.<br />

Each window is created during program initialisation using separate<br />

resource files (*.RES) accessed by setting the logical pointer RES_LOC.<br />

The windows I/F is constructed using data file GENWINDOWS.DAT<br />

residing in the user’s top-level directory. The research simulation contains<br />

three windows: target wire frame modelling, parameter visualisation and<br />

parameter tracing. The flexibility of these facilities is a tribute to Mr. P.<br />

Heath and his input to the design process. Once the windows are activated<br />

they must be de-activated using the control buttons provided and not by the<br />

window manager as this terminates the simulation without final diagnostic<br />

data processing.<br />

Figure 8-9 : Browser Control Window<br />

The RUN button instructs the simulation to run continuously without<br />

passing control back to the windows I/F unless interrupted using either the<br />

STEP or STOP buttons. The STEP button interrupts the simulation, passing<br />

control back to the windows I/F after each processing period. The STOP<br />

button instructs the simulation to terminate at the end of the current<br />

integration loop and prepare all the requested diagnostic data. The windows<br />

refresh rate is controlled by OUT_CONTROL. Until the missile is within<br />

1 km of the target, the data viewing windows refresh rate is determined by<br />

8-20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!