a co-simulation approach for modeling transmission

21
GridWrx Lab A Co-Simulation Approach for modeling Transmission – Distribution – Microgrid - DER 1 North Carolina State University, Raleigh, NC USA Dr. Ning Lu PHD Students: Catie McEntee and Fuhong Xie

Upload: others

Post on 16-Oct-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Co-Simulation Approach for modeling Transmission

GridWrx Lab

A Co-Simulation Approach for modeling Transmission – Distribution – Microgrid - DER

1North Carolina State University,

Raleigh, NC USA

Abdelsamad

Abdelsamad

Dr. Ning LuPHD Students: Catie McEntee and Fuhong Xie

Page 2: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Technology Overview

2

Challenges⚫ Voltage regulation at

subtransmission impedes solar penetration.

⚫ Regulation devices are uncoordinated, unable to cope independently with system net load changes.

Solutions⚫ Develop a Coordinated Real-time

Sub-Transmission Volt-Var Control Tool (CReST-VCT): ▪ autonomous and supervisory

control via flexible algorithm▪ co-optimization of distribution and

subtransmission scales

⚫ Develop an Optimal Future Sub-Transmission Volt-Var Planning Tool (OFuST-VPT): ▪ Determine the size and location of

new reactive compensation equipment needed to integrate high penetration of photovoltaic (PV) generation.

▪ Consider the coordination achieved by CReST-VCT.

Outcomes⚫ High penetration of PV (100%

of substation peak load, without violating voltage requirements)

▪ Allow utilities to meet ANSI, IEEE, and NERC standards.

⚫ Planning and operational support to utilities

▪ Reduce interconnection approval time and cost.

Page 3: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Technical Approach 1: Faster-than Real-time

3

Co-Optimization of Transmission and Distribution Voltage

Page 4: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Transmission Side Optimization Objectives

4

⚫ Constraints: Subject to

▪ AC power flow balance on each bus

▪ power plant scheduled real power, except on distributed slack

▪ power plant scheduled voltage and reactive power limits

▪ load real and reactive power

▪ distributed solar real power output

▪ bounds on reactive power from distributed solar

⚫ Output variables:▪ reactive power requirements from distributed PV at each substation▪ reactive power form capacitor banks at different substation▪ real/reactive power required from demand response▪ real power curtailment from PV

⚫ Objective function: minimize weighted sum of▪ load bus voltage deviation from target

value▪ transmission losses▪ capacitor bank switching▪ curtailment of controllable distributed solar

output▪ use of demand response

Transmission AC Optimal Power Flow for Reactive Power Optimization

Page 5: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Distribution Side Optimization Objectives

5

Page 6: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Smart PV Inverter Modeling

6

⚫ k should be adjusted based on power electronics devices and modulation method.⚫ The P/Q constraint is also dependent on the filter and DC capacitor design.⚫ During nighttime when P = 0, reactive power injection results in additional power losses that

might become an economic constraint.⚫ Three different reactive power regulation modes can be provided by the inverter

(constant Q, constant Power Factor, and volt-var). We are using constant Q that is obtained from the optimization engine.

k is the improved factor for reactive power constraint, 1.1 for a normal IGBT-based PV inverter

Page 7: A Co-Simulation Approach for modeling Transmission

GridWrx Lab CReST-VCT Control Flow

7

1

2

3

4

5

6

CReST-VCT user interface through Python

MATLAB/GAMS

Page 8: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Technical Approach 2: Real-time, HIL

8

⚫ Three hardware-in-the-loop (HIL) test systems have been developed to test the performance of

▪ CReST-VCT developed at PNNL

▪ Distribution voltage control based on PV control and demand response at NCSU

▪ PV control with smart inverters at UT-Austin

⚫ An integrated HIL test system have been developed using an Opal-RT facility at each site via a selected communication protocol.

Page 9: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Real-time Hardware-in-the-loop Simulation

• What is real-time, hardware-in-the-loop simulation?– Real-time: Simulation time elapsed is the actual time elapsed

• Matlab simulation runs either faster or slower than the actual time

– Hardware-in-the-loop: A piece of hardware is connected to the simulation platform

• As the simulation time of a real-time HIL test system is the same as the actual time elapsed, one can connect hardware (e.g., controllers, relays, batteries, PV inverters) to it and test their performance

– Model communication protocols– Consider both the steady-state and the dynamic simulations

• Value of using real-time HIL simulation– A cheaper, safer, scalable, and controlled way of developing new control

systems, and testing equipment.

9

Page 10: A Co-Simulation Approach for modeling Transmission

GridWrx Lab

10

HIL Simulation Lab Setup

OPAL-RT Simulator

OPAL-RT Host Computer

For distribution and Distributed Energy

Resources

Volt-var Controller

OPAL-RTSmart

inverters

OPAL-RTOPAL-RT hosting

transmission system simulation

Page 11: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Controller Interface Design

11

Photovoltaic System

OPAL-RT

Remote Controller (Center)• Control

‒ Manual Control‒ Automated Control‒ Schedule and Dispatch

• Human–Machine Interface‒ SCADA System‒ Operation Dashboards

Communication Protocols

• Digital/analog I/O• IEC 61850• DNP3• Modbus

Energy Storage System

Main Grid

Page 12: A Co-Simulation Approach for modeling Transmission

GridWrx Lab HIL Modbus-Based Web Interface

12

Modbus

Hardware-in-the-loop Test Systems

OPAL-RT Real-time Simulator

Web-based External Energy Management Interface

Server

Publish

Page 13: A Co-Simulation Approach for modeling Transmission

GridWrx Lab HIL Model and System Developed

13

Status Use Case Simulink Models

Notes

1. PV and PV inverter X X X 100µs

2. Battery and Battery Inverter X X X 100µs

3. Distributed Generator Model X X X 100µs

4. Load Model X X X 100µs

5. System Integration Functions X X Use case 1: Grid connected to off-grid X X

Use case 2: Microgrid operation X X

Use case 3: Reconnect to the main grid X

X 6. Communication layer simulation X ModBus

7. Web-based interface X LabView

8. Transmission system (118-bus) X 10 ms

9. Distribution system model (123-bus) X 10 ms

Page 14: A Co-Simulation Approach for modeling Transmission

GridWrx Lab HIL Setup and Communication

14

Generator UC/dispatch

RT-Lab Python API

PN

NL

NC

SU

UT

Opal-RTIEEE 118-bus Transmission Model

Transmission Optimization

(GAMS)

Opal-RTIEEE 123-bus Distribution Model

UT Smart Inverter Model Load Model

Distribution Optimization

(GAMS)Modbus link

Load, PV, Voltage Measurements

Load, PV, Cap, VR Commands

Google Drive P & Q Constraints P & Q Requests

Google Drive PV Smart Inverter Q Set Point

PV Smart Inverter (Hardware)

PV Smart Inverter Q Output

P & Q Measurements Substation Voltage

Python Controller

Python-GAMS API

PV-setpoint, Shunt setpoint

Python Controller

Measurements, P & Q Request

Commands

Python-GAMS API

Page 15: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Control Coordination Timeline

Calculate ConstraintsInitialize Run Distribution

Optimization

DR, PV, Reg, Cap commands

Run Transmission Optimization

T=0s

WAIT for next control intervalWAIT for transmission response

Generator UC and Dispatch Shunt Command

Transmission Opal-RT

Transmission Controller

Distribution Controller

Distribution Opal-RT

Inverter Hardware

Initialize

Initialize

Load, PV, Voltage Measurements

Initialize

Initialize

T=300s

Simulate

Simulate Implement

ImplementImplement

Operate Implement

PV commandPV Output

P & Q Request

P & Q Constraints

Page 16: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Co-Simulation Coordination Timeline

Calculate ConstraintsInitialize Run Distribution

Optimization

Run Transmission Optimization

T=0s

WAIT for next control intervalWAIT for transmission response

Transmission Opal-RT

Transmission Controller

Distribution Controller

Distribution Opal-RT

Inverter Hardware

Initialize

Initialize

Initialize

Initialize

T=300s

Simulate

Simulate Implement

ImplementImplement

Operate Implement

PV Output

Page 17: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Co-Simulation Voltage Results

17

Page 18: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Future Work

18

Hardware

Opal-RT

API

Data inputPlayer

AsynchronousSynchronized

Synchronized

Data storageExcel file

Data storageExcel file

Python wrapper API

GAMS API

CReST-VCT

Pythonintegrator

Python module

Modbus

SCADA:Substation voltage

Controls: Solar Q-setpoint,

Demand response

SCADA: Substation load

Decision variable limits:Solar Q-limits, Demand

response limits

Hardware Opal-RT

Modbus

Distribution controller

NCSU distribution control platform

PNNL sub-transmission control platform

A universal co-simulation platform for multi-rate, multi-scale, multi-control mechanisms.

Page 19: A Co-Simulation Approach for modeling Transmission

GridWrx Lab DOE SETO ASSIST Award

19

Photovoltaic Analysis and Response Support (PARS) Platform for Solar Situational Awareness and Resiliency Services

PI: Ning LuCo-PIs: David Lubkeman, Mesut Baran, Srdjan Lukic (North Carolina State University)

Key Participants: • NCSU Clean Tech• Pacific Northwest National Lab• OPAL-RT Corporation• New York Power Authority• Strata Soalr• Roanoke Electric Cooperative

Federal funds: $3,180,000 Cost-share: $798,000 Total: $3,978,000

Page 20: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Acknowledgement

20

Page 21: A Co-Simulation Approach for modeling Transmission

GridWrx Lab Contact Information

21

Dr. Ning LuAssociate Professor,

NC State UniversityDept. of Electrical and Computer Engineering100-29 Keystone, Campus Box 7911, Raleigh, NC 27695-7911

[email protected]: 919.513.7529 Cell: 509.554.0678https://sites.google.com/a/ncsu.edu/ninglu/

Catie McEntee ([email protected])

PhD CandidateNC State University

Fuhong Xie ([email protected])

PhD CandidateNC State University

If you have any questions, feel free to contract us!