Frequently Asked Question

Video: 5.2.1. Battery ESS
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:03

Hello and welcome.

00:00:05

This lesson is dedicated to one of the mostcommonly used components in our microgrid

00:00:09

library: battery models.

00:00:12

You will learn more about the different batterycomponents as well as their advantages and

00:00:15

disadvantages.

00:00:16

So, let’s start.

00:00:19

When you click on the Microgrid group, youcan see the Energy Storage folder inside of

00:00:23

the Distributed energy resources group ofcomponents.

00:00:27

By expanding the Energy Storage folder, youwill see two types of Battery ESS components:

00:00:33

Legacy and Generic.

00:00:34

Let’s drag and drop each of those componentsinto Schematic Editor.

00:00:49

When it comes to the Legacy group, you cansee two types of components: Switching and Average.

00:00:56

If you double-click on the mask, you can seeseveral tabs which allow you to change some

00:00:59

parameters such as nominal power, nominalvoltage, switching frequency, and others.

00:01:05

There are also a few tabs which provide informationabout some filter parameters, particularly

00:01:11

those connected with control like Kp and Ki.

00:01:14

The parameter set is the same for both typesof components.

00:01:19

The Help button on the bottom corner willredirect you to our online documentation where

00:01:23

you can find more details about the components.

00:01:29

Since Legacy components are unlocked, youare able to modify them in accordance with

00:01:33

your needs.

00:01:35

For instance, if you would like to expandfunctionality with frequency droop, the output

00:01:39

of your droop equation should be fed to thef_ref tab.

00:01:43

If we look under the mask, you can noticethat battery and inverter are separated, meaning

00:01:48

that you are able to connect battery modelsof any type.

00:01:51

You can find a link to our switching componenttutorial in the Materials tab.

00:01:57

In this lesson module we will be more focusedon the Average battery component.

00:02:00

Let’s open the average model from the Examplelibrary.

00:02:05

Go to examples on the main screen of the TyphoonHIL Control Center, then click microgrid,

00:02:10

energy storage and battery average model.

00:02:17

If we open the model, a very simple exampleopens.

00:02:20

As you can see, the example looks the sameas the switching component in the tutorial.

00:02:25

Let’s see what is the difference.

00:02:28

If we look under the mask, you can noticethat the only difference is that in the average

00:02:32

model, three-phase voltage sources take theplace of the inverter in the switching model.

00:02:38

That difference means that the average modelhas no switching output signals.

00:02:42

A detailed comparison between those componentsis explained in the DER introductory module.

00:02:49

Now let’s return to our original model andreturn to the root view.

00:02:54

As was previously mentioned, legacy componentsare unlocked and open on the DC side, which

00:02:59

means that they can accept battery modelsof any type.

00:03:04

In this example we’ll use a battery componentfrom our core library.

00:03:08

If we double click on the mask of this component,there are two tabs: General and Signal Processing.

00:03:15

In the General tab you can choose which batterytype you want use.

00:03:18

You can use standard technologies like Lithium-Ionor Lead Acid, or you can define a custom battery

00:03:24

type by clicking on user defined type.

00:03:27

You can adjust the default parameters fornominal voltage, initial state of charge,

00:03:32

and Capacity, and preview the SOC curve foreach battery type.

00:03:37

If you need additional parameters, then choosethe "User defined" option.

00:03:42

This enables hidden parameters that allowyou to define the battery's SOC curve in detail,

00:03:47

letting you shape it to your needs.

00:03:50

Some of parameters you are able to defineare: full charge of model, nominal discharge

00:03:55

current, resistance, and capacity.

00:03:57

The signal processing tab contains featuressuch as State of Charge output and Use Signal

00:04:03

Processing LUT.

00:04:05

If the State of charge output, or SOC, propertyis checked, an additional signal processing

00:04:11

output port on the battery model will be addedwhich outputs the current state of charge.

00:04:17

The Execution rate property determines theexecution rate of the signal processing components.

00:04:23

The Battery component is implemented as acontrolled voltage source and a series resistance.

00:04:29

The voltage source is controlled by a lookuptable that is automatically modified by changing

00:04:33

the battery type.

00:04:36

The number of LUTs is limited per device to 8.

00:04:40

If the Use signal processing Look up tableproperty is checked, the entire battery will

00:04:44

be modeled with a single Signal Processinglookup table.

00:04:49

This is very useful in case there are morethan 8 batteries in the model, since you are

00:04:53

saving 1 LUT resource by spending 1 SignalProcessing resource, of which you have 16 per core.

00:05:00

This is a very good deal if your applicationallows trading between battery model speed and size.

00:05:06

Now that we’ve covered the Legacy components,let’s switch to Generic components.

00:05:11

The main purpose of generic components isto allow you to easily parametrize models

00:05:17

through nominal values which you provide,without the need for you to adjust the details

00:05:21

of the grid filter or the control software.

00:05:23

The Generic Battery model consists of twomain sub-components: the Battery ESS component

00:05:29

which contains a high-level control subsystemand a low-level control subsystem with the

00:05:33

power stage, and the Battery ESS UI componentwhere all inputs and outputs are defined.

00:05:39

The purpose of this component is demonstratebehaviors characteristic of a battery inverter,

00:05:45

considering factors such as different operationmodes, limitations based on the nominal parameters,

00:05:51

and fault detection.

00:05:53

It is capable of operating in isochronous,droop, and grid following modes.

00:05:59

Entering the component properties for thebattery lets you change general parameters

00:06:02

such as nominal active power, nominal apparentpower, and nominal frequency.

00:06:08

There is also a possibility to include a built-intransformer.

00:06:12

The Battery tab provides some informationregarding the battery, such as the nominal

00:06:17

battery voltage and capacity.

00:06:19

It is also possible to set up an absoluteState of Charge range.

00:06:24

Grid codes are one of the most interestingthings when it comes to generic components.

00:06:29

You are able to choose between several built-ingrid support functionalities such as LVRT,

00:06:34

VoltVAR, HzWatt, and VoltWatt.

00:06:38

More details about grid support functionalitiesare available in the materials tab.

00:06:44

Next to the grid codes tab is the ConverterExtras Tab where additional parameters that

00:06:49

are related to the converter can be specified,such as Input filter impedance, DC link voltage

00:06:54

margin, shunt resistance as well as the fasterand slower execution rate.

00:06:59

The Grid Extras component tab is intendedfor setting up additional parameters that

00:07:03

are related to the grid, including valueslike the Grid Short Circuit power and the

00:07:08

Grid inductive power factor.

00:07:10

You can find more details about this componentin the online documentation, which is accessible

00:07:15

by clicking on the help button in the bottomcorner.

00:07:19

Unlike Legacy components, Generic batterycomponents are locked and open only towards

00:07:23

the AC/grid side, which means that the batteryand inverter are both aggregated.

00:07:29

These components each have their own respectiveUI component, which is unlocked.

00:07:33

Inside, you will find all outputs that themicrogrid controller monitors, as well as

00:07:38

all the inputs it receives to control theDER.

00:07:42

You can modify the user interface block byadding a communication protocol from our vast

00:07:46

library of available communication components,such as Modbus or CAN.

00:07:52

That way, you can focus on mapping the communicationlayer without the need to worry that some

00:07:56

function listed in your controller’s Modbusmap is not supported by the DER component.

00:08:01

There is a dedicated example which can helpyou to test all these functionalities.

00:08:06

In order to find it, click on Example explorer,then the microgrid, energy storage group,

00:08:11

the battery ess generic model, and then clickopen model.

00:08:22

You can find more information on how to testthe example by reading the generic battery

00:08:26

application note in the Materials tab.

00:08:30

This component will also be discussed in lessonCreate a microgrid in 10 minutes.

00:08:35

Now we will continue with the other DER components.

00:08:38

See you in the next videos.

00:08:40

Thank you for watching.

Please Wait!

Please wait... it will take a second!