simulation emulation in smart grid assessment
play

Simulation & Emulation in Smart Grid Assessment David M. Nicol - PowerPoint PPT Presentation

Simulation & Emulation in Smart Grid Assessment David M. Nicol Director, Information Trust Institute Professor, Electrical & Computer Engineering University of Illinois at Urbana-Champaign | 1 I have a dream That one day we will


  1. Simulation & Emulation in Smart Grid Assessment David M. Nicol Director, Information Trust Institute Professor, Electrical & Computer Engineering University of Illinois at Urbana-Champaign | 1

  2. I have a dream… That one day we will have the capability to embed a Smart Grid subsystem within a high fidelity virtual environment and quantitatively assess – Behavior under realistic conditions – Reliability in the face of faults – Effectiveness of security defenses – The presence of un-known vulnerabilities | 2

  3. I have a dream… That one day we will have the capability to embed a Smart Grid subsystem within a high fidelity virtual environment and quantitatively assess – Behavior under realistic conditions – Reliability in the face of faults – Effectiveness of security defenses – The presence of un-known vulnerabilities The high fidelity virtual environment is key | 3

  4. I have a dream… That one day we can operate a Smart Grid assessment facility • User requests hardware, software, simulators • User describes experimental design (including output saved) • Facility manages multiple requests – Allocates, auto-configures, and checkpoints resources – Runs experiments according to design – Stores output, releases resources, notifies users – Depending on experimental objective, suggests additional experiments | 4

  5. I have a dream… That one day we can operate a Smart Grid assessment facility • User requests hardware, software, simulators • User describes experimental design (including output saved) • Facility manages multiple requests – Allocates, auto-configures, and checkpoints resources – Runs experiments according to design – Stores output, releases resources, notifies users – Depending on experimental objective, suggests additional experiments Virtualization and adaptive configuration are key | 5

  6. Pieces of the puzzle : devices AMI Relay Relay Phasor Measurement Unit F-Net Phasor Data Collector Inverters Programmable Logic Array ICS Firewall Meters Data acquisition devices Sensors Gigabit firewall | 6

  7. Pieces of the puzzle : software systems Data historians Control Systems Home Energy Management Systems Display + Visualization On-line analysis Intrusion detection systems Meter Data Management Systems | 7

  8. Pieces of the puzzle : simulators Electric flow Communication AMI Powerworld S3F Trilliant Testbench RTDS RINSE PSCAD PRIME PSLF ns-3 Opnet | 8

  9. Pieces of the puzzle : assessment tools DSAtools DynRed Testbench LabView Mu Dynamics Fortify | 9

  10. Testbed Donations Provided By | 10

  11. We’ve got it | 11

  12. We’ve got it | 12

  13. We’ve got it | 13

  14. We’ve got it | 14

  15. We’ve got it | 15

  16. We’ve got it | 16

  17. We’ve got it | 17

  18. We’ve got it | 18

  19. We’ve got it | 19

  20. We’ve got it | 20

  21. I have a dream To make the whole greater than the sum of the parts We need an infrastructure that includes all this reality, but also models of real stuff We need simulation, and emulation | 21

  22. Assembling the puzzle A high fidelity virtual environment presents to each interface a realistic representation of the environment HMI Specialized Devices Emulated SG Software Systems Electric Flow Communication Simulator Simulator Simulated Systems Emulated devices Simulated devices | 22

  23. Emulation & Simulation Emulation --- executing “native” software to produce behavior Simulation --- executing model software to produce behavior Emulation Simulation – High fidelity functional – Uses abstraction to behavior accelerate changes to model state – Typically tied to “wall-clock” – May run faster or slower time than real-time – Resource intensive – Low(er) memory needs – Little extra effort needed to – Effort needed to develop include models | 23

  24. Emulation vs Native Execution Emulation runs software in “Virtual Machine” • Shares lower layer resources transparently – Even hw platform HMI Specialized Devices Emulated SG Software Systems Electric Flow Communication Simulator Simulator Simulated Systems Emulated devices Simulated devices | 24

  25. Emulation vs Native Execution Emulation runs software in “Virtual Machine” • Shares lower layer resources transparently – Even hw platform • Critical differences – Native execution tied to wall-clock time – Interface to emulation is standard networking – Specialized hardware functionality (e.g. DSP) hard to emulate HMI Specialized Devices Emulated SG Software Systems Electric Flow Communication Simulator Simulator Simulated Systems Emulated devices Simulated devices | 25

  26. Interfacing Electrical & Communication Simulations This … HMI Specialized Devices Emulated SG Software Systems Electric Flow Communication Simulator Simulator Simulated Systems Emulated devices Simulated devices Is really | 26

  27. Interfacing Electrical & Communication Simulations This … HMI Specialized Devices Emulated SG Software Systems Electric Flow Simulator Communication Simulator Simulated Systems Emulated devices Simulated devices Closed loop is harder…much harder… | 27

  28. Configurable integration of physical devices How do you make a relay think it’s in the field? V Adaptive multi- Programmable Relay channel source control Relay built to respond to voltage as well as current • Included by manufactorer for testing, we use it for simulation • We program an AMS to represent electrical state from a simulator | 28

  29. Configurable integration of physical devices How do you multiplex inputs/outputs of an analog device? Bus control Bus Put onto a bus (analog multiplexor (/demultiplexor) ), select input/output line through programmed bus control | 29

  30. Configurable integration of physical devices How do you automatically configure an RTDS for a given experiment? GTNet output RTDS RSCAD Streamer RSCAD Experiment setup commands • Selection of configuration • Load models • Run-time interaction | 30

  31. Integrating Emulation & Simulation Ordinary emulators embedded in real-time, BUT – Integration with virtual time causes issues – TCIPG research effort shows how to embed a lightweight emulator in virtual time HMI Specialized Devices Emulated SG Software Systems Electric Flow Communication Simulator Simulator Simulated Systems Emulated devices Simulated devices | 31

  32. Integrating Emulation & Simulation Why is this needed? Imagine a set of synchronized emulated devices that in the real system all generate a message within the same small δ of time. VMM separates generation in real-time by time-slice allocation VM VM VM VM VM VM t = 1000 | 32

  33. Integrating Emulation & Simulation Why is this needed? Imagine a set of synchronized emulated devices that in the real system all generate a message within the same small δ of time. VMM separates generation in real-time by time-slice allocation VM VM VM VM VM VM t = 2000 | 33

  34. Integrating Emulation & Simulation Why is this needed? Imagine a set of synchronized emulated devices that in the real system all generate a message within the same small δ of time. VMM separates generation in real-time by time-slice allocation VM VM VM VM VM VM t = 3000 | 34

  35. Integrating Emulation & Simulation Why is this needed? Imagine a set of synchronized emulated devices that in the real system all generate a message within the same small δ of time. VMM separates generation in real-time by time-slice allocation VM VM VM VM VM VM t = 4000 | 35

  36. Integrating Emulation & Simulation Why is this needed? Imagine a set of synchronized emulated devices that in the real system all generate a message within the same small δ of time. VMM separates generation in real-time by time-slice allocation VM VM VM VM VM VM t = 5000 | 36

  37. Integrating Emulation & Simulation Why is this needed? Imagine a set of synchronized emulated devices that in the real system all generate a message within the same small δ of time. VMM separates generation in real-time by time-slice allocation VM VM VM VM VM VM t = 6000 | 37

  38. Integrating Emulation & Simulation What the network simulator sees Virtual time Network Simulator Suppose the medium is shared access… Suppose the packets all join the same queue…. The emulator’s serialization of the time presents the wrong input behavior to the simulator | 38

  39. Integrating Emulation & Simulation When the emulator is embedded in virtual time, time stamps on messages are closer to reality VM VM VM VM VM VM t = 1000 vt = 1000 | 39

  40. Integrating Emulation & Simulation When the emulator is embedded in virtual time, time stamps on messages are closer to reality VM VM VM VM VM VM t = 2000 vt = 1000 | 40

  41. Integrating Emulation & Simulation When the emulator is embedded in virtual time, time stamps on messages are closer to reality VM VM VM VM VM VM t = 3000 vt = 1000 | 41

  42. Integrating Emulation & Simulation When the emulator is embedded in virtual time, time stamps on messages are closer to reality VM VM VM VM VM VM t = 4000 vt = 1000 | 42

Recommend


More recommend