Frequently Asked Question

Video: 5.3 Create simple microgrid model in 10 minutes video
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:04

Hello and welcome back to the HIL for microgridsmodule!

00:00:05

In the previous lessons, you learned aboutmicrogrids in Typhoon HIL software.

00:00:10

In this lesson, you will see how microgridcomponents can be put into action by creating

00:00:15

a simple microgrid.

00:00:16

Your task in this lesson is to create themicrogrid shown here.

00:00:20

This simple microgrid consist of a PV PowerPlant, a Variable Load, a Battery ESS, and

00:00:24

a Grid.

00:00:26

The parameters of each microgrid componentare given here.

00:00:30

You can use these values to parametrize themicrogrid components.

00:00:34

Now let's go to the Schematic Editor and startbuilding this microgrid model.

00:00:39

For this exercise, you will use generic microgridcomponents.

00:00:44

The main advantages of generic componentsare ease of use, straight forward parametrization,

00:00:50

self-tuning capability, a constantly growingfeature set, and better-defined functionality

00:00:54

maps for integration of communication.

00:01:00

To begin, use the model initialization scriptto define all parameters that are given in

00:01:05

the problem definition.

00:01:07

Define variables for the voltage levels andthe frequency of the system.

00:01:11

Set Vprim to 2.4 kV, Vsec to 0.4 kV, and fto 50 Hz.

00:01:17

These are the basic parameters that all componentswill share.

00:01:29

Now insert a Grid generic component and GridUI component and connect them together.

00:01:44

With these components inserted, you are readyto configure the grid component.

00:01:54

As you can see, this component also has parametersfor Short Circuit power and Inductive power

00:02:00

factor.

00:02:01

Grid short circuit power is a function ofthe grid impedance value.

00:02:06

The grid inductive power factor representsthe power factor when the grid is short-circuited,

00:02:12

and can be calculated using the reactanceto resistance ratio, or X over R.

00:02:15

Values for these parameters are given in thepresentation slide we saw earlier.

00:02:21

Let's add them in the model initializationfunction.

00:02:47

With that, you have successfully parametrizedthe grid component.

00:03:16

Do the same for the PV Power Plant generic,Variable Load generic, and Battery ESS generic

00:03:39

components.

00:03:40

All of these components are going to be connectedto the same bus.

00:03:44

As you can see here, all model parametershave been defined in the model initialization

00:03:49

script.

00:03:50

The parameters from the model initializationscript are propagated to the DER components.

00:03:53

It is worth to noting that most DER componentshave a converter extras tab.

00:03:56

These parameters don't influence the powerstage of the model, only the control embedded

00:04:00

in the generic DER component.

00:04:01

Stable operation of the converter can be achievedby adjusting this parameter.

00:04:04

A transformer can optionally be included inall DER generic components.

00:04:08

Let's compile and load the model and createa new SCADA Panel.

00:04:09

In the handout materials, you can find a widgetlibrary.

00:04:11

This library consists of several predefinedwidgets for the DER generic components.

00:04:14

This library will help you to create a SCADApanel within a few minutes.

00:04:16

You can find more information about widgetlibraries in the tutorial linked in the Materials

00:04:19

tab.

00:04:20

Let's include this library.

00:04:21

To do this, add the path of the folder wherethe library is saved to you user libraries

00:04:23

path.

00:04:24

Now you can update your libraries path byclicking Apply and Save, then reload your

00:04:25

libraries.

00:04:26

At the bottom of the library dock, you willfind the Generic DER Widgets library.

00:04:27

To start, drag and drop the PV Power interface.

00:04:28

You now need to link the widget to the modelcomponent.

00:04:29

All predefined DER widgets are linked to dedicatedUI components in the model.

00:05:25

The PV Power interface sub-panel has now beenplaced in the SCADA panel and linked to the

00:05:45

appropriate DER.

00:05:47

Fill out your panel by doing the same withthe other interfaces.

00:05:57

You now have a fully populated SCADA panelfor your microgrid.

00:06:07

Let's run the simulation.

00:06:10

You can see that the Grid component suppliesthe load with around 90 kW of active power

00:06:24

and around 108 kVAR of reactive power.

00:06:27

Try changing the active and reactive powersetpoints of the load.

00:06:31

You can change the power setpoints insidethe Load Interface sub-panel by modifying

00:06:35

the entries in the Active and Reactive powertextboxes.

00:06:38

Set the Active power to 1 per unit and reactivepower to 0 per unit.

00:06:43

You can see that the load is supplied with450 kW of active power, which is the nominal

00:06:49

active power of the load.

00:06:51

The Load can be configured as None, quadratic,or Taylor series.

00:06:55

Active and reactive power consumption candepend on voltage and frequency variation.

00:07:00

You can find more information about Load configurationin the documentation linked in the Materials

00:07:26

tab.

00:07:27

For this example, use a simple load withoutany dependencies.

00:07:44

All of the Sub-panels can be configured toopen in windowed mode.

00:08:39

Open the sub-panels this way.

00:08:51

Now let's turn on the PV Power Plant.

00:08:56

The MCB status LED is currently indicatingthat the inverter is in the disabled state.

00:09:05

To enable the PV power plant, check the Enablecheckbox.

00:09:11

The LED is now indicating that the inverteris in the running state.

00:09:19

You can see that the inverter is running andthat the active and reactive power are limited

00:09:23

to 0.2 per unit.

00:09:24

Try increasing the limit of active power to1 per unit.

00:09:25

You can see how the active power rises tothe new active power setpoint.

00:09:26

The output power of the PV power plant isdirectly influenced by the irradiation and

00:09:27

temperature values.

00:09:28

Try moving the sliders for irradiation andtemperature.

00:09:29

You can see how active power changes in responseto different irradiances and temperatures.

00:09:30

Similar to the PV Power plant, the BatteryESS component has four LED indicators of the

00:09:31

state.

00:09:32

Run the Battery ESS in grid following mode.

00:09:33

As you can see, in grid following mode theinverter follows the active and reactive power

00:09:34

references.

00:09:35

The Battery ESS can operate in three differentoperation modes: grid following, droop, and

00:09:36

isochronous.

00:09:37

The droop characteristic can be defined inreal time using the frequency droop offset,

00:09:38

frequency droop coefficient, and voltage droopcoefficient.

00:09:39

These parameters define the droop curve.

00:09:40

There is also an option to enable grid codesin the Battery ESS component.

00:09:41

You can find more information about this inthe tutorial video linked in the materials

00:09:42

tab.

00:09:43

In this lesson, you learned how to createa simple microgrid model in 10 minutes.

00:09:44

The only thing missing is the microgrid controller.

00:09:45

In the next lesson, you will see a more functionalmicrogrid that consist of more DER components

00:09:46

and a microgrid controller model developedusing the Signal Processing toolbox.

00:09:47

Thank you for your attention.

Please Wait!

Please wait... it will take a second!