Frequently Asked Question

Video: 5.2. Distributed energy resources
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. In this session you will find out moreabout the implementation of distributed energy

00:00:06

resources, also known as DERs, in the TyphoonHIL environment. We’ll cover how to use

00:00:13

them, what are the advantages, and the disadvantagesof each type of DER component. Several different

00:00:19

needs may affect your decision for choosingthe DER type for your project, such as speeding-up

00:00:24

the modeling setup, bridging the domain-specificknowledge gap, or reducing HIL hardware utilization.

00:00:30

The project scope can also be a deciding factor.

00:00:35

In the examples folder you can find premademodels together with dedicated SCADA panels.

00:00:41

These premade examples make it quick and easyto build microgrid models, as we will see

00:00:45

later in the module.

00:00:58

Now let’s open Schematic Editor and createa new model.

00:01:05

Let’s search for the distributed energyresources sub-library in the microgrid library.

00:01:15

Here you can find DER models of energy storagesystems (ESS), photovoltaic power plants,

00:01:21

wind power plants, and diesel gensets.

00:01:25

Let’s quickly note that in the Legacy sub-librariesthere are switching and average components.

00:01:32

Both average and switching models are implementedas three-phase devices. Let’s drag and drop

00:01:38

two battery components: one switching andone average.

00:01:44

From the perspective of controller functionality,these two models are identical. Also, the

00:01:50

parametrization of these components is thesame.

00:02:04

From the perspective of the power stage, theyare almost the same except for one key difference:

00:02:08

the switching model uses a detailed powerelectronics three-phase voltage source inverter component,

00:02:14

while the average model uses three signalcontrolled voltage sources to emulate the

00:02:18

behavior of the inverter.

00:02:22

As you can see here in the switching model,we are using three phase inverters. The three-phase

00:02:29

inverter is controlled by the internal modulator.

00:02:43

In the average model, you can see that signal-controlledvoltage sources are used.

00:02:47

There are instances where you will want toresort to the use of Legacy (Average) components,

00:02:52

especially if there are system design elementsin your project. One example would be if you

00:02:58

need to integrate a battery and the inverteras separate components. Also, using Legacy

00:03:04

(Average) components significantly reducesthe need for the circuit solver resources.

00:03:09

The decision of which component to use dependsmainly on the type of controller/device under

00:03:15

test or DUT.

00:03:17

The Legacy switching components are suitablefor testing a converter controller. The biggest

00:03:22

advantage of Legacy switching components aretheir high-fidelity power electronics models.

00:03:29

Also, they have explicitly defined inputsfor gate control of each semiconductor switch.

00:03:36

In this case, for both design and testingpurposes, the power stage should be modelled

00:03:41

using Legacy switching components where eachPWM output can be mapped to a HIL digital

00:03:45

input pin that corresponds to a particularswitch in the topology.

00:03:49

If you are still in the controller designstage, the added value of using Legacy switching

00:03:57

models comes from pre-implemented controlsubsystems for major DER applications.

00:04:03

Meanwhile, generic components are more suitablefor higher level controls, such as the modeling

00:04:09

and testing of microgrids, energy managementsystems, or battery management system controllers.

00:04:17

Microgrid controllers are the top-level controllersresponsible for steady-state regulation of

00:04:21

voltage and frequency as well as load andenergy management. In contrast to power electronics

00:04:27

models, their slower dynamics can be capturedby the average and generic DER types. Furthermore,

00:04:33

generic components have built-in functionalitiesthat are commonly encountered with real-life

00:04:37

DERs. Those are functionalities that a system-levelcontroller “expects” to exist in order

00:04:43

to have a fully integrated and functionalsystem. Voltage and frequency droop, ramping,

00:04:50

LVRT, voltage and current protection, andstorm control are just a few examples of these

00:04:56

functions. Self-tuning and grid support featuresare a life saver if you have little to no

00:05:00

experience in control engineering and powerelectronics or you simply don’t have time

00:05:05

to work your way up from scratch.

00:05:07

To find out more about the advantages anddisadvantages of each of the components, let’s

00:05:13

open the Microgrid Toolbox DER componentsguide. To find this how-to guide, go to the

00:05:18

Documentation Hub and let’s find the TyphoonHIL applications library.

00:05:28

Here you can find interesting applicationnotes as well as how to guides. How to guides

00:05:34

are a special form of application notes whereyou can find guides, tips, and tricks on various

00:05:39

aspects of using the Typhoon HIL toolchain.

00:05:41

Now let’s open the Microgrid Toolbox DERcomponents guide.

00:05:44

Here we can see several advantages and disadvantagesfor each type of component. You can unlink

00:05:50

Legacy component control sub-systems fromthe library and modify them freely for your

00:05:54

own project. Legacy components offer extensiveparameterization for controller gains and

00:05:59

converter output filter values. However, Legacycomponents utilize converter and machine solvers,

00:06:06

making them more computationally expensive.

00:06:09

Generic components have advantages in termsof automatic model tuning, dedicated communication

00:06:14

interface, and, as mentioned, standardizedDER functions. Also, generic components do

00:06:22

not utilize converter or machine solver resources.

00:06:27

Let’s explore the hardware utilization aspectof these components in more detail. Large

00:06:34

microgrid and power system models increasethe HIL device utilization. With large models,

00:06:40

you may want to maximize the use of averageor generic models in order to conserve hardware

00:06:44

resources. The next table illustrates thetrade-off and the gains in hardware resources

00:06:49

for battery DERs.

00:06:52

In this table we can see that the Legacy switchingmodel utilizes all available power electronics

00:06:57

resources of a core, while the generic componentdoes not, and only utilizes 3 out of the 16

00:07:03

available signal processing sources. Thismeans that we can theoretically fit up to

00:07:08

5 generic components in a core while, we canfit only one legacy switching component per

00:07:13

core. Optimizing our model with this in mindcan expand the number of DERs per model.

00:07:18

Now, let’s look at the same table for thediesel genset components.

00:07:24

The machine solver is a precious resourcethat should be saved for demanding applications,

00:07:28

like power electronics-based motor drives.In a majority of microgrid applications involving

00:07:34

synchronous generators with prime movers,the circuit solver rarely if ever, needs timesteps

00:07:39

on the scale of 1 to 10 microseconds. Hence,with generic components, you can easily build

00:07:46

models with multiple gensets for system-levelapplications without worrying about spending

00:07:50

machine solver resources.

00:07:53

In next three lessons we will look more into the separate DER components, how to use

00:07:57

parametrize them, and what are the tradeoffsfor each individual component.

Please Wait!

Please wait... it will take a second!