Frequently Asked Question

Video: 5.1. Introduction to microgrid library
Last Updated 3 years ago


Press "Ctrl + F" to find the keyword of your interest.

If you wish to have a direct link access to the video timestamps, please follow these instructions.

Found this video helpful? Why not take the whole HIL Specialist course? A Certificate is waiting for you for free at HIL Academy.

Would you or your organization benefit from having these videos narrated in your native language? Contact us and let us know if you wish to contribute.

TRANSCRIPT

00:00:02

Hello! Welcome to the HIL for microgrid module.In previous modules, we have often used SCADA

00:00:09

inputs when we wanted to change the powerreference or enable/disable a converter. Essentially,

00:00:15

we were managing the energy delivery of theconverter manually. In reality, complex systems

00:00:21

like microgrids require automated energy managementof multiple converter and non-converter based

00:00:27

resources. Typhoon HIL supports controllerhardware in the loop testing of system-level

00:00:31

controllers like building energy managementsystems, distribution management systems,

00:00:36

and microgrid controllers. But before youcan test its controller you need to prepare

00:00:41

a test environment with a microgrid model.In this module you will learn how to build

00:00:46

a real-time model of a microgrid in ten minutes,while using HIL device resources optimally.

00:00:52

This includes learning the basics of the microgridlibrary components, as well as the advantages

00:00:58

and disadvantages of different model typesof distributed energy resources, or DERs.

00:01:04

Once you’ve learned how to model the powerpart, we will demonstrate in a practical example

00:01:08

how you can use the Typhoon HIL toolchainfor Rapid Control Prototyping and testing

00:01:12

of microgrid controller functions.

00:01:15

In this module, we will use material fromthe Microgrid Toolbox, which is one of several

00:01:21

paid toolbox licenses available through TyphoonHIL’s software. You can find out more about

00:01:27

licensing, and how you can access this materialduring the course, in our license notice.

00:01:33

All microgrid components from the microgridlibrary have dedicated examples, which you

00:01:37

can access using the Example Explorer.

00:01:45

Also, all microgrid components that are presentedin this module can be used as building blocks

00:01:55

for power system models or system-level powerelectronics models. In fact, you’ve already

00:02:01

encountered some of them when you tinkeredwith the electric vehicle and NPC PV inverter

00:02:06

example models.

00:02:08

Before we start let’s run Schematic Editorand create a new schematic model.

00:02:12

For the hardware settings, let’s chooseHIL 604 with hardware configuration number

00:02:19

1.

00:02:22

The Microgrid library consists of severalsub-libraries. In some microgrid sub-libraries

00:02:30

you will find “legacy” components. Thesecomponents are no longer upgraded with new

00:02:36

functionalities, but instead serve as unlockedsubsystems which you can use to develop your

00:02:40

own component models. The first library isDistributed Energy Resources. In this library

00:02:47

you can find most of the common DER componentsthat comprise a microgrid. We will cover these

00:02:53

components in more detail in the DistributedEnergy Resources module.

00:02:59

The Grid sub-library consists of a ready-to-useGrid component together with its user interface,

00:03:08

or UI, component.

00:03:10

Let’s drag and drop the grid component andits UI component in our model.

00:03:17

The settings of the grid component parametersare nominal line voltage, nominal frequency,

00:03:26

short circuit power, and inductive power factor.All inputs and outputs are pre-defined in

00:03:31

the UI grid component. You can find more informationabout the grid component by clicking help.

00:03:37

The Loads sub-library consists of severalcomponents. The legacy component voltage behind

00:03:43

reactance variable load, or VBR variable load,has vectorized inputs and outputs. Let’s

00:03:49

add it to the model.

00:03:53

The VBR variable load component takes theenabled/disabled status of the load, the active

00:04:01

power reference, and the reactive power referenceas inputs. It outputs measured active power,

00:04:08

reactive power, apparent power, and the powerfactor. The component can be easily parametrized

00:04:13

using only nominal voltage, nominal power,nominal frequency, series inductance, and

00:04:19

the execution rate. Also, there are more advancedparameters for control settings and snubber

00:04:26

resistance.

00:04:29

The constant impedance load component representsa three-phase balanced or unbalanced constant

00:04:38

impedance load. The possible combinationsfor the impedance per phase are R, RL, and

00:04:43

RC series connections. The properties underthe General tab include nominal frequency

00:04:48

and connection type. Also, there are two checkboxeswhere you can enable a neutral connection

00:04:54

or set a balanced three-phase power.

00:04:57

If the checkbox Set balanced three phase poweris active, the constant power can be set in

00:05:02

the Three-phase tab.

00:05:09

In this tab you can set the nominal line voltage,the nominal three phase power, the power factor

00:05:14

mode, and the power factor.

00:05:16

If you disable the Set balanced three phasepower checkbox, you can instead set the individual

00:05:22

power per phase using the corresponding Phasetab.

00:05:28

The generic variable load component representsthe behavior of the variable load in a microgrid.

00:05:36

This component has additional features comparedto the VBR variable load, such as a ramping

00:05:42

element, alarm messages, and fault protection.The generic variable load component consists

00:05:48

of two main parts: a high-level control subsystemand a low-level control subsystem with its

00:05:53

power stage and necessary measurements included.

00:05:56

High level control contains a PQ Control block,which contains regulators for active and reactive

00:06:02

power control, and ramping elements, whichlimit the rate of change of the active power

00:06:06

reference, reactive power reference, voltagereference, and frequency reference.

00:06:12

The low-level control subsystem also has twomain parts: the Current control block, which

00:06:18

contains regulators for the inner currentcontrol loops, and the Fault state machine,

00:06:23

which checks all measurements, signals thefault state, and sends alarm messages.

00:06:29

You can find more information about this componentin the Help documentation.

00:06:35

The Microgrid library also includes a sub-libraryfor measurement. In the Meter sub-library,

00:06:45

you can find the Three-phase meter and MeterSplit components. The Three-phase meter is

00:06:50

a quite useful and customizable component.You can choose what to measure in the properties

00:06:55

of the component using the checkboxes.

00:06:57

The possible measurements are voltage, current,frequency, voltage rms, current rms, and power.

00:07:05

Depending on the selected measurements thesubsystem dynamically changes, keeping your

00:07:11

schematic clean of measurement implementationclutter.

00:07:14

The Meter Split works as a splitter whereyou can split the Three-phase meter output

00:07:18

into separate measurement signals for eachphase. These two components usually are used

00:07:23

together.

00:07:26

The American National Standards Institute,or ANSI, protective functions are also part

00:07:35

of the microgrid library. In the library youcan find most of the frequently used ANSI

00:07:40

protective functions, such as 27 undervoltage,32 directional power, and several others.

00:07:46

The

00:07:58

input to this component is the output of thethree-phase meter component. Every ANSI protective

00:08:03

function has a meter split inside it whichsplits the signals from the three-phase meter

00:08:08

component. Mem (En/Rst) is a digital inputthat enables or resets the trip memory.

00:08:14

The outputs from the ANSI protective functionsare trip delayed, meaning it delays the trip

00:08:19

of the contactor. The trip delay can be setin the component properties. It also has a

00:08:26

signal for instantaneous trip if needed. Memtrip is high when the Mem (En/Rst) input

00:08:32

is high and a trip command occurs. The outputis zero if no trip occurred or if the trip

00:08:37

command is cleared and the Mem (En/Rst) risesfrom low to high value.

00:08:41

You can find more information about each ANSIprotective function component in the documentation.

00:08:51

Also, in the Protection sub-library you canfind a more advanced type of the relay. The

00:09:00

SEL-751 Relay Logic is a digital twin modelof the real SEL-751 protective device. This

00:09:07

component can be configured by using the same.txt file as the real device.

00:09:11

The main purpose of the SEL-751 componentis to study system stability and protection

00:09:17

coordination in power system and microgridapplications with an unprecedented level of

00:09:22

fidelity. You can find more information aboutthis component in the video presentation in

00:09:28

the materials section.

00:09:30

Lastly, in the Protection sub-library, youcan find the entire prepacked Feeder Protection

00:09:35

Relay component from the Feeder ProtectionRelay example. This component combines protective

00:09:41

functions such as synchronism check, undervoltage,instantaneous overcurrent, inverse time overcurrent,

00:09:47

and overvoltage.

00:09:55

Thank you for participating in this introductionto the microgrid module, where we covered

00:09:59

the basic components in the microgrid library.In the next module, you will find out more

00:10:05

details about distributed energy resources.

Please Wait!

Please wait... it will take a second!