vehicle dynamic monitoring realtime distributed model implemented

12
1 Vehicle Dynamic Monitoring Realtime Distributed Model Implemented VDM2 Claus B. Nielsen

Upload: gent

Post on 20-Jan-2016

42 views

Category:

Documents


0 download

DESCRIPTION

Vehicle Dynamic Monitoring Realtime Distributed Model Implemented. VDM2. Claus B. Nielsen. Agenda. Realtime Distributed model Changes CPU and BUS Timing Now what?. Realtime Distributed Model. Changes. Changed to a static model Added system class Added CPU and BUSSES - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

1

Vehicle Dynamic Monitoring

Realtime Distributed ModelImplemented

VDM2

Claus B. Nielsen

Page 2: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

2

Agenda

• Realtime Distributed model– Changes– CPU and BUS– Timing– Now what?

Page 3: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

3

Realtime Distributed Model

Page 4: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

4

Changes

Changed to a static model

Added system class

Added CPU and BUSSES

Updated event model

Page 5: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

5

CPU

Page 6: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

6

BUS

Page 7: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

7

TimingIn this system timing and position is essential.

Given the static model required by VICE, this can be quiet troublesome.

New events has been added, to start the threads.

public VechicleRun :: ID : nat t : Time public TrafficLightRun :: ID : nat t : Time

Page 8: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

8

Deep Copy

CTOR updated

Page 9: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

9

Data exchange

Page 10: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

10

Data exchange

Page 11: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

11

Unittest

• As soon as test cases get more advanced than get/set, the object needs to be active.

• This causes timing issues.

• Better possibilities than with the distributed model, because of duration().

Page 12: Vehicle Dynamic Monitoring Realtime Distributed Model Implemented

12

What now?

• Timing hell

• Explore various deloyment and bus layouts