A Service Oriented Simulation Architecture for ...

0 downloads 0 Views 3MB Size Report
System Architecture – service oriented service oriented ... System Architecture – www.fcint.ro. International ... visualized in the SC in the timeline a set of virtual ...
A Service Oriented Simulation Architecture for Intelligent Building Management Monica Drăgoicea LaurenŃiu Bucur Monica Pătraşcu Department of Automatic Control and Systems Engineering University Universit y Politehnica of Bucharest

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto Portugal

Summary Smarter Buildings System Architecture – service oriented

Use cases Value coco-creation through simulation

Example Earthquake EMS – (Vrancea Vrancea,, Romania) Policy definition, simulation

Conclusions Further developments Use cases extension

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

2

The Smarter Building A system of systems within a larger ecosystem Portal Syndicating Building Intelligence

Emergency Intervention

Critical systems emergency protocols

Warning dispersion and panic control Traffic control

Distributed integration of electronic, mechanical, software and electrical engineering Elevators

Energy Security

Software intensive sub-systems Communication

Access Fire control

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

Lighting

Ventilation

3

System Architecture –

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

www.fcint.ro

4

Smarter Building –

a Service Oriented Approach

Policy Editor (Desktop Application)

3 6 Enviroment Manager (Web Application)

1

Smart Building Controller (WCF Service) 7 2

Simulation Console (Web Application)

4

Device Control Web Services

Simulation Bridge Simulated Devices (WCF Service)

Simulation Engine (RESTful Service)

5

Report Generation (RESTful Service)

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

5

Smarter Building – Simulation Framework based on a Smart Building Simulator goals: testing the response of a Smart Building Controller estimating the utility bill (real / virtual building)

uses simulation scenarios time ordered events virtual devices real devices

Simulation Console (Web Application)

5

Report Generation (RESTful web service)

4

Simulation Engine (RESTful web service)

2

Smart Building Controller (WCF web service)

Smart Building Simulator International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

6

System usability – use cases

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

7

Case study – EMS for Earthquakes www.inpf.ro

http://earthquake.usgs.gov/earthquakes/m ap/

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

8

EMS for Earthquakes – system integration integrating earthquake and EMS in Smarter Buildings

User

Portal Syndicating Building Intelligence:

SBC Smart Building Controller (WCF Web Service)

1

Policy Repository

Environment Manager (Web application)

Policy 1 Policy 2 ... Policy n 3 Simulation Engine (RESTful service)

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

2

Air C ondition (web service)

2

Lighting (web service)

2

Damping Controller (web service)

2

Fire C ontrol (web service)

2

Elevator control (web service)

4 Critical system emergency protocol (Web service)

9

Simulation framework –

working definitions

A simulation scenario is a perspective created in the Simulation Console by the composition of: a set of time ordered events that are processed by the SE and visualized in the SC in the timeline a set of virtual devices (instances (instances of virtual device classes defined by the user) a set of real devices (installed at the facility level, recognized and controlled by the SBC through the corresponding web services)

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

10

Simulation framework –

working definitions

A schedule is an executable instruction set for the control of physical devices and device groups actions are associated with certain time intervals (e.g. days of the week)

A policy is a set of rules: ON (Trigger) IF (Condition) THEN {Block of actions} ELSE {Block of actions}

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

11

Simulation framework –

working definitions

Policy examples: “If earthquake warning is active, stop all elevators at closest floor.”

Low level:

High level:

“If earthquake alarm active and occupancy < 40% and security understaffed, then apply emergency evacuation protocol number 6.”

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

12

Working steps

FCINT Simulation FCINT Simulation Engine imported Engine imported thethe EarthquakeAlarm EarthquakeAlarm

FCINT Simulation FCINT Simulation Console ready with Console ready with empty scenario anan empty scenario

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

FCINT Policy Management System connection policy created and saved established SBC ready SBC ready to to SBC ready receive receive EarthquakeAlarm to execute EarthquakeAlarm Event types the policy events events imported SBC ready to send commands to the Simulation Bridge virtual devices FCINT Simulation FCINT Simulation Bridge ready with Bridge ready with virtual devices virtual devices Virtual devices ready to receive commands 13

Case study Testing the response of a Smart Building Controller – steps: define the events in the simulation scenario to be sent to the Smart Building Controller - as external events corresponding to the events list defined in the SBC define the simulation scenario in the Simulation Console including real devices in the building infrastructure recognized and controlled by the SBC and models of the virtual devices through the Simulation Bridge define the policies and schedules for the Smart Building Controller operation, through the Policy Editor execute simulation scenario in the Simulation Console and inspect the SBC’s execution logs

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

14

Case study – (1) define events

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

15

Case study – define a simulation scenario Q: What do we want to simulate ? Q: Given a set of rules that specify the behavior of the SBC in a real EarthquakeAlarm situation, how to test this scenario without a real alarm occurring ? A: We use the FCINT Simulation framework to create a scenario in the Simulation Engine. Idea: Have the Simulation engine “pump” EarthquakeAlarms to the SBC

International Conference on Exploring Service Science 1.3

16

Case study – define a simulation scenario there are no physical devices to control in case of an EarthquakeAlarm event, yet installed in the SBC we use the Simulation Bridge to create virtual devices for the policies to act upon virtual devices are treated by the SBC the same way as real devices, via the web services interface

use the Simulation Bridge to create, expose and allow the SBC to control the following virtual devices: GasSwitch (state: int = 0/1) Light1, Light2, Light3 (state: int = 0/1) EarthquakeAlarm (running: int = 0/1)

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

17

Case study – (2) define simulation scenario

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

18

Case study – define a simulation scenario System status Simulation Engine import the EarthquakeAlarm event

connection established

SBC ready to receive EarthquakeAlarm events Event types imported

list external events in EventType window

Simulation Console ready with an empty scenario

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

SBC ready to send commands to the Simulation Bridge virtual devices

Simulation Bridge ready with virtual devices

19

Case study – create policies and rules use the Policy editor to create the EarthquakeTestPolicy:

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

20

Case study – create scenarios to simulate create 3 earthquake alarm scenarios to test the EarthquakeTestPolicy:

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

21

Case study – add events

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

22

Case study – add events

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

23

Case study – execute scenario step by step execution in the Simulation Console main window inspection of the SBC Console – was the event received ? inspection of the virtual device status in the Simulation Bridge were the actions in the policy executed on the simulated devices ?

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

24

Case study – execute scenario (Test #2)

Event 2 : At simulation time 14:00, an earthquake alarm having: Magnitude_min=3, Time_to_earthquake=5, Geographical_Area=Vrancea is processed Desired behaviour: Turn off the lights, leave EarthquakeAlarm and GasSwitch unchanged Prior to execution, we manually set: Light1,2,3. state=1, EarthquakeAlarm=0 and GasSwitch=1; International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

25

Case study – execute scenario (Test #2)

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

26

Conclusion an extensible and flexible service-oriented approach a unitary description of devices based on web services it supports development of a larger service ecosystem dedicated to Smarter Buildings Control Monitoring Utility cost estimation Testing Training

Portal Syndicating Building Intellige nce

Emergency Intervention

Critical systems emergency protocols

Traffic control

Distributed integration of electronic, mechanical, software and electrical engineering

more use cases to be developed Energy Security

Elevators Software intensive sub-systems Communication

Access Fire control

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

Warning dispersion and panic control

Lighting

Ventilation

27

Thank you!

International Conference on Exploring Service Science 1.3 7-8 February 2013, Porto, Portugal

28

Suggest Documents