Cyber-physical System Modeling using Modelica for Smart and - - PowerPoint PPT Presentation

β–Ά
cyber physical system modeling using modelica for smart
SMART_READER_LITE
LIVE PREVIEW

Cyber-physical System Modeling using Modelica for Smart and - - PowerPoint PPT Presentation

Cyber-physical System Modeling using Modelica for Smart and Sustainable Communities Jing Wang 1 , Sen Huang 2 , Wangda Zuo 1 1 Sustainable Buildings and Societies Laboratory, University of Colorado Boulder 2 Pacific Northwest National Laboratory


slide-1
SLIDE 1

1

Cyber-physical System Modeling using Modelica for Smart and Sustainable Communities Jing Wang1, Sen Huang2, Wangda Zuo1

1Sustainable Buildings and Societies Laboratory, University of Colorado Boulder 2Pacific Northwest National Laboratory

9/18/2020

slide-2
SLIDE 2

Introduce the Speakers

2

Jing Wang, Ph.D. Candidate

Jing is a PhD Candidate in Architectural Engineering at University of Colorado Boulder. Her research interests are resilient energy systems, building energy system modeling and control, building-to-grid integration. She is an ASHRAE Student Member.

Sen Huang, Ph.D.

Sen Huang joined the Pacific Northwest National Laboratory as a scientist in May 2016. Before joining PNNL, he worked as a building services engineer at Arup (2011- 2012), a teaching assistant (2013) and a research assistant (2014-2016) both at the University of Miami.

slide-3
SLIDE 3

3

Acknowledgement

  • This presentation is supported by the following projects:
  • U.S. Department of Energy, Energy Efficiency and Renewable

Energy, Building Technologies Office, under Contract No. DE- AC05-76RL01830.

  • National Science Foundation under Award IIS-1802017.
  • Special thanks to Dassault SystΓ¨mes and Barcroft Technology

for providing free Dymola licenses during the workshop!

slide-4
SLIDE 4

Background

Air Conditioning Household Appliances Electric heating Commercial Buildings Centralized HVAC Lighting system

Communication System

Residential Buildings Autonomous electrical vehicle Hydro Thermal Wind Park Solar Panel Energy Storage Communication Flux Transportation network Energy Flow

Transportation System Energy System

Communication Tower Wireless Signal Charging Station

4

Vision of future smart cities

slide-5
SLIDE 5

Goals and Challenges

5

Modeling for smart and sustainable communities

Interdependency Modeling Optimal Operation Built Environment Improving Dynamic System Controls

slide-6
SLIDE 6

Who are we?

6

Principal Investigator: Prof. Wangda Zuo

  • 9 PhD Students
  • 1 Visiting PhD Student
  • 3 Graduate/Undergraduate Research Assistants

Homepage: https://www.colorado.edu/lab/sbs/

Major Research Projects

  • Modelica library development
  • Modelica Buildings Library
  • Data Center package
  • District Heating & Cooling
  • Modelica supported research
  • Occupancy-centric flexibility

quantification

  • Building-to-grid integration
slide-7
SLIDE 7

NSF Funded Development

BIGDATA: Collaborative Research: IA: Big Data Analytics for Optimized Planning of Smart, Sustainable, and Connected Communities (9/16-8/21), National Science Foundation, collaboration with Virginia Tech.

CU Boulder

  • Dr. Wangda Zuo
  • Xing Lu

7

Virginia Tech

  • Dr. Walid Saad
  • Dr. Harpreet Dhillon
  • Kathryn Hinkelman
  • Jessica Stershic
  • Jing Wang

Smart and Connected Community Library Net-Zero Energy Community Library

slide-8
SLIDE 8

DoE Funded Application

C3PO: Comprehensive Pliant Permissive Priority Optimization (10/18-9/20), Department of Energy, collaboration with PNNL and ORNL.

CU Boulder

  • Dr. Wangda Zuo
  • Jing Wang

8

PNNL

  • Dr. Draguna Vrabie
  • Dr. Sen Huang

ORNL

  • Dr. Piljae Im
  • Dr. Yeonjin Bae
  • Dr. Jian Sun

Stochastic

  • ccupancy

module Occupancy- based control Occupant- centric

  • ptimization
slide-9
SLIDE 9

SCC Library - Proposed Framework

City Layer Community Block Layer System Agent Layer

Communication

Com munication Transportation

Energy Block C Block B Block A Power Lines Communicative Roads Transmission

Block A Block C

... ...

Renewable enengy generation Distribution Storage Consumption Charging infrastructure Road/Vehicles Control / Price signal Charging demand Packets for control Packets for navigation

Multi Block Multi Layer

Control events

Transportation

Routing events

Energy Charging

demand Control/ Price signal

Com munication Transportation

Energy

Block B

Multi Agent

Road Network Grid Network Communication Center

Multi-block Multi-layer

9

Multi-agent

slide-10
SLIDE 10

SCC Library - Models

10

loaEV loaEV numEV*PChar PEV

term_p

numEV P

EV Charging

roaTyp varDel delayMax=100000000 s int1

I

k=1 int2

I

k=1

Delay traCos

abs((int1.y - int2.y)/3600) numVeh

qOut qIn

Road

batCon.y == 1 batMod1 PSta k=0 batCon.y == 2 batMod2 swi2 swi1 P SOC batBan batCon add + +1 +1 add.y - batCon.thrCha PowerCha add.y - batCon.thrDis PowerDis PSup PDem

term_p

Battery

RL4 RL4 RL5 RL5 RL6 RL6 RL7 RL7 RL16 RL16 RL15 RL15 RL11 RL11 RL12 RL12 RL9 RL9 RL8 RL8 RL10 RL10 RL14 RL14 RL13 RL13 pow4 pow5 pow6 pow15 pow13 pow8 pow16 pow14 pow12 pow10 pow9 pow11 pow7 lin4 lin4 lin7 lin7 lin8 lin8 lin11 lin11 lin13 lin13 lin2 lin2 lin14 lin14 lin15 lin15 lin16 lin16

ter1 ter2 ter3

Distribution System

res com

numPac2 numPac1

tra1 tra2

Communication System

resBlo comBlo

roa1 roa2

Transportation System

resBlo E+T comBlo E+T

qRes qCom weaDat powRes numPacRes powCom numPacCom

Energy + Transport Energy + Comm.

E+C comBlo

weaDat powRes powCom nevRes nevCom numPac1 numPac2

E+C resBlo

resBlo T+C comBlo T+C

qRes qBlo

Transport + Comm.

slide-11
SLIDE 11

Coupled Infrastructure Networks

11 Residential District Roads Commercial District Communication Resistance Power Cable Residential District Energy System

slide-12
SLIDE 12

12

Energy Model

Energy System Detailed Model Simple Load Model Communication Tower Load

slide-13
SLIDE 13

13

Transportation Model

ሢ 𝑂 = ෍

𝑗=1 π‘™π‘—π‘œ

π‘Ÿπ‘—π‘œ βˆ’ ෍

𝑗=1 𝑙𝑝𝑣𝑒

π‘Ÿπ‘π‘£π‘’

Charging Station Model

U = 𝛽1𝑉𝑑 1 + π‘Š 𝐷

𝛾

𝛾 = 𝛽2 + 𝛽3 π‘Š 𝐷

3

V = U Β· Χ¬ π‘Ÿπ‘π‘£π‘’ βˆ’ π‘Ÿπ‘—π‘œ 𝑒𝑒 𝑀

Road Model

slide-14
SLIDE 14

Validation

14

21.0 21.5 22.0 22.5 23.0 23.5 24.0 3 5 7 9 11 13 15 17 Bus Voltage (kV) Bus Number Original Data Simulation Results

Relative errors are within

2% for all locations

Literature Comparison: Civanlar, S., Grainger, J. J., Yin, H., & Lee, S. S. H. (1988). Distribution feeder reconfiguration for loss reduction, in IEEE Transactions on Power Delivery, 3, 3, 1217-1223.

Power Distribution Road Model

Literature Comparison: Ang, K. C. & Neo, K. S. (2005). Real-life application of a simple continuum traffic flow model,’ International Journal of Mathematical Education in Science and Technology, 36, 8, 913–922.

slide-15
SLIDE 15

Case Study

15

  • At

high traffic hours (around 8:00 and 18:00), the communication system deteriorates the traffic condition due to poor packet arrival rates.

  • The

deviation

  • f

power draw prediction increases during the peak commuting times (circled). The largest deviation ratio

  • f 7% occurs around 8:00.

(a)

(b)

slide-16
SLIDE 16

Workshop Tutorials

16

Tutorial 1: Residential District Tutorial 2: Coupling Energy and Transportation Systems

slide-17
SLIDE 17

Summary

17

  • We developed a multi-domain modeling framework, which

integrates the energy, transportation, and communication systems.

  • An open source Modelica Smart and Connected Community

(SCC) library utilizing our 3M approach has been released.

  • The workshop cases demonstrate the application of the

modeling framework for studying the operation of future connected communities.

slide-18
SLIDE 18

Net Zero Energy Community (NZEC) Library

18

  • What?
  • An open source library for the NZECs
  • This library consists of
  • components for subsystem of NZECs
  • A system model for a real-world NZEC in Florida
  • Who should use it?
  • Building owners who seek for economically sound design
  • Building operators who seek for optimal and resilient operation
  • Researchers who develop advanced control strategies

Subsystems Historical Green Village

slide-19
SLIDE 19

Major components

19

Domestic Hot Water Subsystem Grid Subsystem Ground-coupled Heat Pump Subsystem Buildings Subsystem Building Solar Heater PV Panel Bus Bus Bus Bus Bus Bus Bus Heat Exchanger Borehole Bus Bus Heat Pump Bus

Electricity Domestic Hot Water Heating /Cooling Air Recovered Heat Heating /Cooling Water

Renewable Energy Subsystem Wind Turbine Grid

  • Containing both physics-based (Modelica) and data-driven (ANN) models
  • Standard interfaces for considering the interactions between subsystems

Weather bus Zone Controller GSHP Heat recovery loop Condenser water loop Performance Dataset Internal heat gain

Physics-based Data-driven

slide-20
SLIDE 20

Components - Validations

20

PV Heat Pump

  • Unit tests were performed to validate the accuracy of the components
slide-21
SLIDE 21

Historical Green Village

21

Location Anna Maria Island, FL Building Type Floor area (m2) HVAC system (kW) DHW system F Bakery 410 HP (19.5) Gas heater G1 Office 95 HP (8.22) Gas heater G2 Residential 95 HP (8.22) Solar thermal water heater A1-W Gift shop 88 HP (8.22) Electric heater A1-E Gift shop 56 HP (11.07) A2 Residential 94 HP (11.07) Solar thermal water heater D Gift shop 95 HP (15.07) Electric heater C1 General store kitchen 120 HP (15.07) Solar thermal water heater C2 Ice cream shop 40 HP (15.07)

37,301 102,828 119,448 118,096 43,141 105,133 150,485 116,582 2011 2012 2013 2014

[kWh] Annual Electricity Generation Annual Electricity Demand

A community consisting of both residential buildings and commercial buildings Achieved the net zero energy goal in 2014

slide-22
SLIDE 22

System Model - Model Diagram

22 Irradiation information Weather bus Power Grid Information bus Building PV GSHP DHW

slide-23
SLIDE 23

System Model - Validation

23

slide-24
SLIDE 24

System Model - Virtual Testbed

24

  • A software framework for facilitating the usage of the system model for design and

control optimization purposes

slide-25
SLIDE 25

25

Summary

  • Basics of creating system-level models using Modelica has been

introduced.

  • The design purposes and contents of two Modelica libraries were

introduced.

  • The attendees should now be more familiar with the Modelica

language and its application in cyber-physical system modeling for smart and sustainable communities.

  • Future work:
  • Improvement by enabling occupant-centric control
  • Dissemination through IBPSA Project 1 WP3 Applications
slide-26
SLIDE 26

26

References

1.

  • X. Lu, K. Hinkelman, Y. Fu, J. Wang, W. Zuo, Q. Zhang, W. Saad 2019. β€œAn Open Source

Modeling Framework for Interdependent Energy-Transportation-Communication Infrastructure in Smart and Connected Communities.” IEEE Access, 7, pp. 55458-55476. 2.

  • X. Lu, Y. Fu, W. Zuo 2018. β€œModeling of Smart Community Infrastructure Accounting for the

Interdependencies Among Energy, Transportation and Communication Networks.” 2018 ASHRAE Building Performance Analysis Conference and SimBuild (BPACS 2018), pp. 250- 257, September 26-28, Chicago, IL. 3.

  • J. Wang, K. Garifi, K. Baker, W. Zuo, Y. Zhang 2020. β€œOptimal Operation for Resilient

Communities through A Hierarchical Load Scheduling Framework.” Accepted by 2020 Building Performance Modeling Conference and SimBuild, Chicago, USA. 4.

  • J. Wang, W. Zuo, S. Huang, D. Vrabie 2020. "Data-driven Prediction of Occupant Presence

and Lighting Power: A Case Study for Small Commercial Buildings." Accepted by the American Modelica Conference 2020, Boulder, USA. 5.

  • D. He, S. Huang, W. Zuo, R. Kaiser 2016. β€œTowards to the Development of Virtual Testbed

for Net Zero Energy Communities.” Proceedings of the ASHRAE and IBPSA-USA SimBuild 2016: Building Performance Modeling Conference, pp. 125-132, August 8-12, Salt Lake City, UT.

slide-27
SLIDE 27

27

Q&A

Thank You!

Jing Wang jing.wang@colorado.edu Sen Huang huang875@pnnl.gov Wangda Zuo wangda.zuo@colorado.edu

slide-28
SLIDE 28

28

Downloading and License Information

  • Download the libraries and tutorials through the following

links:

  • SCC
  • https://www.colorado.edu/lab/sbs/scc-library
  • NZEC
  • https://www.colorado.edu/lab/sbs/nzec-library
  • Open Dymola to open the libraries
  • Open tutorials for step-by-step guide
  • Questions?
slide-29
SLIDE 29

29

Communication Model

𝛅 = π›Œ 𝑹 βˆ’ 𝑫

Packet Loss Model

Packet loss rate Proportionality constant Normalized throughput Transmission threshold

slide-30
SLIDE 30

Open-Source Release

30

https://www.colorado.edu/lab/sbs/scc-library