• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
A framework for distributed control and building performance simulation

A framework for distributed control and building performance simulation



Presentation delivered at the 3rd IEEE Track on

Presentation delivered at the 3rd IEEE Track on
Collaborative Modeling & Simulation - CoMetS'12.

Please see http://www.sel.uniroma2.it/comets12/ for further details.



Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    A framework for distributed control and building performance simulation A framework for distributed control and building performance simulation Presentation Transcript

    • A Framework for Distributed Control and Building Performance Simulation Azzedine Yahiaoui1 and Abd-El-Kader Sahraoui2 for Building & Systems TNO – TU/e, 1Center Technische Universiteit Eindhoven, The Netherlands 2Systems Engineering & Integration Group, LAAS-CNRS of Toulouse , FranceCoMetS12, June 25-27, Toulouse
    • OutlinesProblem StatementBuilding Automation and Control SystemsClassical and Advanced Control SystemsIntegration PossibilitiesDevelopment and Implementation of aDistributed Dynamic Simulation MechanismModelling: Example of ApplicationSimulation ResultsConclusions and Future Work 2
    • Problem Statement (1)Domain based Control Modeling Environment(e.g., Matlab/Simulink) very advanced in control systems design but still limited in building performance simulationDomain specific Building PerformanceSimulation (e.g., ESP-r) relatively based on modeling of building zone, plant ...Marrying two approaches by run-time coupling integrated building performance assessments 3
    • Problem Statement (2)Extending this potential by distributingone or more ESP-r(s) withMatlab/Simulink over a network typical pattern of distributed simulation between control systems and building performance applications as qualified by similarity to BACS architecture 4
    • Building Automation and Control Systems ‘LonMark’ Central computer Control & 1 ProtocolsManagement Netwerk Protocol 2 Substation (computer) Substation ‘BACnet’ + Building & Plants 3 - General architecture of BACS Modern BACS Architecture 5
    • AdvancedControl Applications Classical Control Applications Input MATLAB ESP-r disturbance •Optimal Control diReference ri + •Predictive Control u ei Control yi icommand •Fuzzy Logic Send Rec. Room - law •Neural Nets Communication •… mechanism Rec. Send 1 2 3 Building Control Application 6
    • Integration Possibilities These APIs must present the highest possible abstraction meaningful to run-time coupled software tools ESP-r Matlab/Simulink • Shared file • Pipescontrol data control data • Shared Memory Struct function MEX-file • Sockets (XML/SOAP) run-time coupling infrastructure • CORBA • HLA •… 7
    • Classification Different Possibilities Trade-Off Analysis Requirements Flexibility Reliability Concurrency Scalability Transparency ApplicabilityIPCPipe + + + + + −+Standard File + − + + −+ −+Shared memory ++ ++ + ++ ++ +Socket ++ ++ ++ ++ ++ ++CORBA ++ ++ ++ ++ ++ − Performance comparison and ease use indicated  Sockets were best suited for Development and Implementation of run-time coupling between two or more software tools on different platforms 8
    • SE Structured Approach to run- time coupling Development (1)Level ofAbstraction User’s Acceptance Requirements Test System System Requirements Test System Architecture Integration and Design Test System Level Technical Sub-System Technical Sub-System Requirements Test Requirements Test High Level High Level Integration Design Integration Design Test Test Sub-System Level Software Integration Communication Integration Software Integration Requirements Test Requirements Test Requirements Test High Level Unit High Level Unit High Level Unit Design Test Design Test Design Test Integration Implementation Integration Component Level Building Model Run-Time Coupling Controller Mechanism 9 Time
    • SE Structured Approach to run-time coupling Development (2) 10
    • Run-Time Coupling Implementation advantage of modeling building model and its control systems separately and using different platforms or Windowsor Windows Unix-variantUnix-variant ESP-r Matlab/Simulink network 2 3 1 Run-time coupling between ESP-r Distributed Control and Building Performance Simulation and Matlab/Simulink 11
    • Conceptual Design & User Interfaces Matlab Side ESP-r Side 12
    • Extension of Run-Time Coupling to Represent BACS in Simulation Extension Possibilities for  Multiplexing (using select() function)  Broadcasting (using SO_BROADCAST API)  Multitasking (using POSIX treads – library) ESP-r (1) ESP-r (9) MatlabConventional representation Equivalence in V-lifecycle model Run-time Coupling Infrastructure Conceptual view of a Distributed simulation between Matlab/Simulink and one or more ESP-r (s) 13
    • Distributed Simulation Mechanism for BACS representation123 14
    • Run-Time Coupling OptionsData Exchange Formats: ASCII format Binary format Web-Services (SOAP/XML) formatCommunication Modes: Synchronous Asynchronous Partially Synchronous 15
    • Modelling: Example of ApplicationControl of Building Heating System 16
    • Modelling: Example of Application Control of Building Heating System Matlab/Simulink ESP-r Sensors Building ActuatorsReferences Control systems 17
    • Simulation Results: Continuous and Digital Control Systems Simulation results obtained with continuous PI control system 18 Simulation results obtained with discrete PI control system
    • Conclusion & Future WorkA distributed simulation mechanism for BACStechnology by run-time coupling Matlab/Simulink andone or more ESP-r(s) is implemented as a practicalsolution for improving control applications in ABsUsing a SE methodology to define all requiredfunctionalities in the development, implementation,validation, and operation of run-time couplingbetween ESP-r and Matlab/Simulink early in V-moelFuture work will envisage to analyze and simulatecomplex and large-scale building control applicationsinvolving the utilization of multiple ESP-r(s) by run-time coupling to Matlab/Simulink 19
    • Any Questions & Comments Thank you for your kind attention 20