Title: Seminar Development of an Open Source User Interface for a train simulator allowing it to be offered
1Seminar Development of an Open Source User
Interface for a train simulator allowing it to be
offered as web service.
- Project Partner Faiveley Transport , Turin,
Italy - By Nawaz Khurshid
2Introduction
- Today in Railway application the Simulation
of Distributed brake System is done using modules
available as DLL. The simulation of Complex
Models requires manual generation of
Configuration files which are used by simulation
tool for performing simulation. - The aim is to investigate on the possibility to
have a GUI setup for this simulation setup
3(No Transcript)
4Simulation
- Configuration of Project PROJ.txt
- Configuration of Physical Input/Output of BCU
BCU.txt - Configuration of input of console
CONSUL.txt - Configuration of Algorithms ALGO.txt
- Configuration of Output on display
DISPLAYO.txt - Configuration of Input on display
DIPLAYI.txt - Configuration of BCU hardware
BCUHWCFG.txt
5Tasks
The aim of the thesis is to develop a GUI tool
for this simulation setup and to investigate on
possibility to have Web based access to
Simulation resources
- The interfacing tool should be license free
- Possibility to add custom blocks
- Block has parameters which can be set at run time
by user. - Super block functionality.
- Link between block ports is the most important
entity. - Link will have parameters like label, unit, type,
value that will be assigned to its source and
destination block port - structure.
- Tool must have functionality to generate
- configuration files for simulator(NET LIST)
6Tasks
- TASK 1 Investigation on different solution
concept -
- Finding /adapting/developing a Graphical Editor
in Java - Using the possibilities of Scilab (Scicos)
- Using the possibilities given in free
simulator - TASK 2 Implementation and Test of System
- TASK 3 Investigation for a Web Based access
7Investigation on different solution concepts
MAGELAN
yED
EAGLE
SCICOS
8Investigation on different solution concepts
9Implementation and Test of System
scs_m
props
objs
Title
Block
Link
Background
Options
xx
yy
graphics
model
id
thick
ct
from
to
10Mapping of Block Structure
modelmlist('model','sim','in','out','evtin','e
vtout','state','dstate,rpar','ipar','blocktype','
firing','dep_ut','label','nzcross','nmode',..
sim,in,out,evtin,evtout,state,dstate,..
rpar,ipar,blocktype,firing,dep_ut,label,nzcross ,n
mode)
11Mapping of Link Structure
Lnkmlist('Link','xx','yy','id','thick','ct', 'fr
om','to',.. xx,yy,id,thick,ct,from,to)
12Interfacing Function
- New block is defined by an interfacing function
- Functions are created as Scilab files .sci .
- These files are created in SCIPAD editor.
- Interfacing function determines the geometry,
color, number of ports and their sizes, icon,
etc. - This function also handles the blocks user
dialog.
13Implemented Functionalities
- Possibility to add custom blocks (custom block)
- Block has parameters which can be set at run time
by user. - Super block functionality.
- Link has parameters which can be set at run time
by user. - Functionality to generate configuration files for
simulator - (NET LIST)
- Functionality to create a project folder on hard
disk where all the configuration files are stored
. - Functionality to copy a region from diagram in to
a new diagram. - Functionality that allow user to move an object
in diagram and align it in desired way
14Implemented Functionalities
- Super block functionality.
- Generation of Net List
ALGO.txt
BCU.txt
CONSUL.txt
DISPLAYI.txt
DISPLAYO.txt
15ALGO.txt
16Investigation for a Web Based Access
Deploying Java web service and use SOAP
message. Deploying C language web service and use
SOAP messages
17Java Web Service
18C Web Service using gSOAP
19Results
TASK 1
TASK 2