PNNL VOLTTRON TM Application Development



Similar documents

Designer. of control solutions NA O7.124A

Communicating Thermostats. Add More Flexibility to Building Automation with New. Communicating Thermostats

Analytics Software for a World of Smart Devices. Find What Matters in the Data from Equipment Systems and Smart Devices

System integration oriented data center. planning. In terms of ATEN's eco Sensors DCIM solution

Find what matters. Information Alchemy Turning Your Building Data Into Money

Comprehensive Data Center Energy Management Solutions

Integrating VOLTTRON and GridLAB-D to create a Power Hardware-in-the-Loop Test Bed. Ricardo Rangel

Introduction to Building Automation Systems (BAS)

Guest Room Controls & Monitoring System. Integrated Solution for Hotels Southern Countries.

Ventilation Retrofit Opportunities for Packaged HVAC

Comprehensive Data Center Energy Management Solutions

KURA M2M/IoT Gateway. reducing the distance between embedded and enterprise technologies. Tiziano Modotti, October 28 th, 2014

KU DESIGN GUIDELINES APPENDIX XVI RECOMMENDED BAS I/O CONTROL POINTS BY EQUIPMENT / SYSTEM

It s all open from here.

5.6 Technical Specification: Premium Efficiency Electric Air Conditioning Equipment

Smart Energy Consumption and the Smart Grid

IntesisBox. KNX SAMSUNG Air Conditioning. Gateway for integration of Samsung air conditioners into KNX control systems. RS485.

Variable Air Volume - VAV

MSWL Development & Tool. Eclipse IDE

User interfaces: smart phone/web-based Control algorithms: schedule, optimization, demand response. Database (Time series service) smap driver

IT Security and OT Security. Understanding the Challenges

Building Diagnostic Market Deployment Final Report

Catalyst RTU Controller Study Report

Introduction To SCADA and Telemetry

Open Software-Architecture for Building Monitoring and Control

Self-Correcting HVAC Controls: Algorithms for Sensors and Dampers in Air Handling Units

Leveraging the Power of Intelligent Motor Control to Maximize HVAC System Efficiency

Building Energy Management Open- Source SoCware (BEMOSS)

Integrated Building Management and Security System. Building Automation & Security.

Unified HVAC and Refrigeration Control Systems for Small Footprint Supermarkets

SmartVFD HVAC and BYPASS

PROFIBUS DP Diagnostics and Network Monitoring Tools

Monitoring & Control of Small-scale Renewable Energy Sources

HVAC Processes. Lecture 7

Management of VMware ESXi. on HP ProLiant Servers

Self-Correcting HVAC Controls Project Final Report

Fundamentals of HVAC Control Systems

Cisco Unified Computing Remote Management Services

Fahim Uddin 1. Java SDK

Technical Training Module ( 30 Days)

Xuan (The STACK Box) Application Development. Xuan (The STACK Box) Application Development

edoc Document Generation Suite

Integrated Building Management and Security System. Building Automation & Security.

Modbus Server SAMSUNG Air Conditioners

Semaphore T BOX Applications in Data Center Facilities

Air Side Economizers and Energy Recovery - Improvements and New Regulations. Richard Lord

PLC Support Software at Jefferson Lab

C-Bus Application Messages & Behaviour Chapter 25 Air Conditioning

Building the Internet of Things Jim Green - CTO, Data & Analytics Business Group, Cisco Systems

zseries 18-Slot Chassis 18-Slot 3U PXI Express Chassis with AC Up to 8 GB/s

Vortex White Paper. Simplifying Real-time Information Integration in Industrial Internet of Things (IIoT) Control Systems

More Efficient Virtualization Management: Templates

Universal Controller Solution Brief

WISE-4000 Series. WISE IoT Wireless I/O Modules

Open Source building blocks for the Internet of Things. Benjamin Cabé JFokus 2013

Optimize your simple machines... Modicon M218 Selection Guide

Supporting ANY PRODUCT employing

RUGGEDCOM NMS. Monitor Availability Quick detection of network failures at the port and

Easily Connect, Control, Manage, and Monitor All of Your Devices with Nivis Cloud NOC

IBMS Specification. Specification & Design Guideline for Integrated Intelligent Building Management System. Lonix Ltd.

Guide Specification SECTION COMMISSIONING OF HVAC PART 1 - GENERAL 1.1 SUMMARY

Running a Program on an AVD

Smart Monitoring and Diagnostic System Application DOE Transactional Network Project

Philips remote monitoring and control systems

Application Note #563 Revision A November 2015 Lutron / Automated Logic BACnet Integration

savic-net for Integrated Building Management System

ComfortPoint Open Building Management System. For consultants and specifiers. The Simply Smart way to optimize building control and performance

Wonderware: Corporate Energy Management CEM. Dawid Sadie General Manager: Sales Wonderware Southern Africa

Software Development for Multiple OEMs Using Tool Configured Middleware for CAN Communication

1 Application Description Objective Goals... 3

Application Sheet Fan coil unit with staged fan, heating/cooling coil (2 pipe) on analog output

Electronic Control Devices The European Product Catalogue 2007

Configuring PROFINET

Alain Nifenecker - General Electric Manager Controls Engineering

Sensor Devices and Sensor Network Applications for the Smart Grid/Smart Cities. Dr. William Kao

Easy and efficient asset management for your business

AutoLog ControlMan. Remote Monitoring & Controlling Service

IntesisBox Modbus Server - Mitsubishi Electric G50

Dream Report vs MS SQL Reporting. 10 Key Advantages for Dream Report

StruxureWareTM for Buildings

A M D DA S 1. 0 For the Manageability, Virtualization and Security of Embedded Solutions

Sisense. Product Highlights.

Tizen Compliance Test (TCT) Hojun Jaygarl (Samsung Electronics), Cathy Shen (Intel)

APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS

Workshop 7 PC Software - Tracker

CONTROL STRATEGIES FOR HVAC SYSTEMS

Climate Ready Shade Operating Systems for residential applications.

Peach Fuzzer Platform

OpenMake Dynamic DevOps Suite 7.5 Road Map. Feature review for Mojo, Meister, CloudBuilder and Deploy+

Detailed Design Report

Reducing operating costs of telecom base stations with remote management

Applying ICT and IoT to Multifamily Buildings. U.S. Department of Energy Buildings Interoperability Vision Meeting March 12, 2015 Jeff Hendler, ETS

The BSN Hardware and Software Platform: Enabling Easy Development of Body Sensor Network Applications

Wireless Field Data Backhaul

INTEGRATING SUBSTATION IT AND OT DEVICE ACCESS AND MANAGEMENT

Personna PC web-based software. Q-AdminTM client. Lighting management hub (floor 2) Lighting management hub (floor 1)

Using Time-of-Day Scheduling To Save Energy

Building Analytics Improve the efficiency, occupant comfort, and financial well-being of your building.

Department of Veterans Affairs. Open Source Electronic Health Record (EHR) Services

Transcription:

PNNL VOLTTRON TM Application Development Srinivas Katipamula DOE Building Technologies Office: Technical Meeting on Software Framework for Transactive Energy July 23-24, 2014 1

Presentation Outline Application Development Environment PNNL Developed VOLTTRON Apps VOLTTRON Services Used by PNNL Apps Walkthrough of an Application Development Lessons Learned Concluding Remarks

Application Development Environment and Language Support VOLTTRON is a native Linux application Can be run on PC and MAC using virtual machine (VM) VirtualBox by Oracle is flexible free VM software VOLTTRON allows application and development flexibility Applications can be developed in nearly any software language giving developers increased flexibility Any application dependencies can be packaged with the application (i.e., external software libraries) to simplify deployment for end users All PNNL applications were developed in Python 2.7 3

Recommended Development Environment Eclipse IDE (integrated development environment) is not required for agent development, but it can be a powerful developmental tool Can be downloaded - http://www.eclipse.org/ Useful Eclipse plug-ins EGit integrates Git source control with Eclipse - http://download.eclipse.org/egit/updates Pydev support Python programming, code refactoring, debugging, code analysis and many other helpful feature - http://pydev.org/updates For more details on how to use and configure Eclipse with VOLTTRON to create applications refer to - http://buildingsystems.pnnl.gov/documents/buildinggrid/pnnl- 23182.pdf 4

Presentation Outline Application Development Environment PNNL Developed VOLTTRON Apps VOLTTRON Services Used by PNNL Apps Walkthrough of an Application Development Lessons Learned Concluding Remarks

PNNL VOLLTTRON Applications Demand Response Agent Make rooftop units (RTUs) grid responsive Automatically Detect and Diagnose Faults for RTUs Detect economizer and ventilation failures as they occur and notify building operator to correct them Smart monitoring and diagnostics system for conditioned-based maintenance service Intelligent Duty Cycling Embedded Advanced RTU Controls Partner Solution Improve operational efficiency of RTUs through use of advanced RTU controls leading to energy and carbon emission reductions over 50% 6

Presentation Outline Application Development Environment PNNL Developed VOLTTRON Apps VOLTTRON Services Used by PNNL Apps Walkthrough of an Application Development Lessons Learned Concluding Remarks

VOLTTRON Platform Services Used 8 Device drivers BACnet and MODBUS drivers Message bus Information (data and messages) exchanged between applications and services thru the VOLTTRON message bus using Publish/Subscribe mechanism smap Data is stored in a simple measurement and actuation protocol (smap) data historian smap is a fast open source time series database, but can t store non-numeric data

VOLTTRON Platform Services Used Device Control BACnet/MODBUS driver publishes data from devices to the platform and also stores the data in the smap historian Actuator agent Device control: Actuator agent will accept commands from applications and issue the commands to the specified device Device access scheduling: Allows scheduling of agents access to devices to prevent multiple agents from controlling the same device at the same time Supports time-of-day, day-of-week and priority 9

Presentation Outline Application Development Environment PNNL Developed VOLTTRON Apps VOLTTRON Services Used by PNNL Apps Walkthrough of an Application Development Lessons Learned Concluding Remarks

Application Development - RTU Proactive AFDD Application TOutside-air TSpace Exhaust Air Outdoor Air Temperature Mixed-air Dampers Modulate M M T Mixed-air Temperature Filter Heat Stage 1 Start/Stop Heat Stage 2 Start/Stop Return Air Temperature T Cool Stage 1 Start/Stop Cool Stage 2 Start/Stop Return Air CO2 PPM CO2 VFD Supply Fan Speed Signal Supply Fan M VFD VFD Supply Fan Start/Stop Return Air VFD Supply Fan Status T Discharge-air Temperature Supply Air Temperature Automated Fault Detection and Diagnostic (AFDD) Capabilities: Comparing discharge-air temperature with mixed-air temperature (AFDD0) Checking damper modulation (AFDD1) Sensor faults (outdoor-, mixedand return-air temperature) (AFDD2) Not economizing when RTU should (AFDD3) Economizing when RTU should not (AFDD4) Excess outdoor air (AFDD5) Inadequate outdoor ventilation air (AFDD6) Unique: Diagnostics algorithms will initiate proactive tests on schedule (e.g., commanding damper, etc.) 11

Identifying Needs of the AFDD Application First, identify the list of sensor values and command outputs necessary for application Identify the protocol to use (MODBUS or BACnet) Identify other data sources Weather information from the VOLTTRON Weather Agent or other application within VOLTTRON Other data sources Configure the data points Database Internet 12

13 Application Development: Communication and Control Communication and control of BACnet devices VOLTTRON provides a network discovery tool as well as a device configuration tool BACnet discovery provides a list of BACnet devices on a network (Built on BACnet Who-Is and I-AM) BACnet configuration tool will generate a usable configuration file that will allow applications to communicate with the device Ensure that the control points on the device are writeable Auto discovery may say some points are writeable, even though they are not Performing simple test could be useful May need BACnet vendor software to enable write access to the desired points

Configuring the AFDD Application Applications utilize a JSON style configuration file Types of configurable parameters Application identifying parameters such as agent id, site, and device information Point name mapping for getting or setting device points via the BACnet/MODBUS driver Diagnostic thresholds and parameters 14

VOLTTRON Platform Service - Scheduling To schedule active control of a device an application must publish a schedule request on the message bus with the topic Example topic format - RTU/actuators/schedule/request Components of schedule request Request type (NEW_SCHEDULE, CANCEL_SCHEDULE) Requestor ID (typically agent ID) Task ID (Unique task identifier) Task priority Device (Typically in the form campus/building/device ) Start time and end time of requested schedule block 15

16 VOLTTRON Platform Services Scheduling (Cont.) Scheduling a block of time for applications is first come first serve, but employs the following priority schema HIGH High priority applications cannot be pre-empted under any circumstance, but they can preempt other applications that use of LOW_PREEMPT priority LOW Low priority applications cannot be preempted once they start device control Considered started once the earliest time slot on any device has been reached Cannot preempt other tasks LOW_PREEMPT Low preempt priority applications can be preempted at any time Applications are given a grace period to clean up interactions with the devices before being revoked (e.g. 120 seconds, configurable) Cannot preempt other tasks For more details on formatting schedule request visit https://github.com/volttron/volttron/wiki/actuatorschedulereq uest

How do we to Handle Multiple RTUs? Each RTU has a Separate instance Each instance is configured to monitor, control, and produce diagnostic results for one RTU Some diagnostics are contingent on earlier diagnostics being fault free If each instance was configured to run on multiple RTUs the application would have to manage these contingencies Applications are not limited to one device per instance, especially if an application s interactions with a device are passive 18

Testing: Test Early and Test Often Test device and sensor communication early in the development Perform unit tests on manageable pieces of code. This will make debugging and correcting any problems easier Test after any software change, data I/O change, or device change 19

Presentation Outline Application Development Environment PNNL Developed VOLTTRON Apps VOLTTRON Services Used by PNNL Apps Walkthrough of an Application Development Lessons Learned Concluding Remarks

Lessons Learned During the proactive fault diagnostic an unexpected occurrence led to problems PNNL applications and VOLTTRON service agent updates were performed Application updates were performed first and the proactive diagnostic was restarted Update coincided with the scheduled daily proactive diagnostics for the test site AFDD application started the scheduled proactive diagnostics immediately after the application was updated and restarted 21

Lessons Learned (cont.) AFDD application requested a device lock from the actuator agent AFDD application received the device lock and commanded the outdoor air damper fully open (this occurred in mid-november) Next, the actuator agent was updated and restarted When the AFDD attempted to continue with the diagnostic, the actuator agent would not allow the AFDD application to modify the device controls When the actuator agent restarted, it had no recollection of any previous approved device interactions 22

Lessons Learned (cont.) Consequences When occupants arrived in the morning, the room temperatures in the building were near 50 o F Because the occupants had an override, RTUs were returned to normal operations Steps taken Actuator agent was updated to store all previous device interactions and approved device lock requests If the actuator agent was restarted for any reason, all scheduled device interactions would be saved AFDD application was updated to handle the unexpected loss of a device lock 23

Presentation Outline Application Development Environment PNNL Developed VOLTTRON Apps VOLTTRON Services Used by PNNL Apps Walkthrough of an Application Development Lessons Learned Concluding Remarks

25 Summary 11 RTUs are being monitored and control for over1 year, with very little supervision Seamless interaction of data and information between applications and devices has been a myth for a long time What s good? VOLTTRON has shown that it has the potential to overcome the data exchange myth Application development was easy and flexible Limitation? Lack of flexibility of choosing a historian of choice Debugging can be a bit cumbersome Lack of management tools Lack of diagnostic tools No PC or Mac versions

Questions? Srinivas.Katipamula@pnnl.gov VOLTTRON - https://transactionalnetwork.org/ http://github.com/volttron PNNL Developed Applications (Transactional Network) Smart Monitoring and Diagnostic System - http://buildingsystems.pnnl.gov/building/smds.stm Proactive Diagnostics - http://buildingsystems.pnnl.gov/building/afdd.stm Automated Demand Response - http://buildingsystems.pnnl.gov/building/adr.stm 26