Page 314 - TransAT_Tutorial_Manual
P. 314

TransAT Tutorial Manual                                                    7.2. coupling slug



                   • Right-click it and select “Add >> Serverdata”.
                   • Then, in the Properties of the serverdata created, set:


               GENERAL:
                   VARIABLE     : HT, NINTGR, TIME
                   DTPLOT       : 0 s


                   • Select “Output >> Profile”, and set:


               DTPLOT     : 0.01 s
               DTTIME     : 0 s


                   • Set the same for ”Output >> Trend”:


               DTPLOT     : 0.01 s
               TIME       : 0 s

                   Now that the OLGA problem has been set up,

                   • Press the F7 key (or click the green button at the top of the OLGA window) to verify the
                     setup

                   • Then press the F4 button, or click the play button as shown in Fig. 7.2.9 to RUN BATCH.

               Doing this, the simulation has not been started yet, but the OLGA server is now listening to
               possible clients that will connect to it.


               7.2.10    Run OLGA simulation

               The TransAT–OLGA coupling communication is managed by a Python script called OLGA client.py,
               which must be executed on the machine where OLGA is run. This file is located in the TransAT
               installation directory inside the folder transatMB/OLGA CLIENT.

               Thus, in order to be able to start the OLGA simulation a Python installation is required on
               the Windows machine that runs OLGA (version 2.7.3, 32 bit compilation has been tested) to-
               gether with an additional package, which is called OpenOPC. This package can be downloaded
               from: “http://sourceforge.net/projects/openopc/files/openopc/1.2.0/”.


               To install OpenOPC,

                   • Double-click “OpenOPC-1.2.0.win32-py2.7.exe”, and use the default installation settings.






                c 
Ascomp AG Switzerland                    304                                  Version 5.7
   309   310   311   312   313   314   315   316   317   318   319