Frequently Asked Question

Video: 3.3.3 Introduction to device partitioning
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:01

Hello. Until now we have focused on how toperform core partitioning using different

00:00:06

types of core components, in order to makethe best use of a single HIL device. In some

00:00:12

cases though, it may make more sense to usemultiple HIL devices in parallel as a single

00:00:17

real-time testbed, such as for detailed interconnectedmicrogrid models or models that feature complex

00:00:23

communication interactions. For this, lets talk more about the HIL paralleling feature.

00:00:29

The HIL paralleling feature provides the abilityto connect multiple HIL devices into a single

00:00:35

functional unit. This way, a single devices capability can be extended by means of processing

00:00:41

power and IO capacity. In paralleling operation,multiple devices are connected in a multi-HIL

00:00:47

configuration using high speed serial linkports on the back plate of HIL devices.

00:00:52

It is important to note that only the sametypes of HIL device can be connected in parallel.

00:00:57

For example, a HIL604 device and HIL602+ devicecannot be paralleled. However, two or more

00:01:05

HIL604 devices can be paralleled, or two ormore HIL602+ devices can be paralleled.

00:01:12

Each HIL device has a maximum number of possibleparalleling devices, which you can see in

00:01:16

this table.In this lesson, we will show how to run a

00:01:20

model on multiple HILs in parallel, and thebasics of how to partition a model across

00:01:25

multiple devices. We will demonstrate thisusing the Device partitioning example in the

00:01:30

Example Explorer, which uses three HIL devicesas a single functional HIL setup.

00:01:36

First, we need to parallel the HIL devicesinto a single testbed. Let s connect three

00:01:41

HIL devices in a closed ring. In order toensure proper link operation, use only the

00:01:47

cables and modules recommended by TyphoonHIL. You can find out more information about

00:01:52

HIL paralleling in the documentaion hub.HIL602+ and HIL604 devices are connected using

00:02:01

2 PCIe 4X connectors on the back plate ofthe devices and standard PCIe 4X v2 or better

00:02:07

cables, as is shown here. Daisy chaining isused to connect more than two HIL devices,

00:02:12

as you can see here. Daisy chaining is ensuredby linking the TXN port to the RXN port and

00:02:18

the TXP port to the RXP port from one deviceto the next until the ring is closed.

00:02:23

Let s see how to connect three HIL604 devicesin a daisy chain.

00:02:26

To disconnect the PCI cable from the HIL device,use a green plastic handle.

00:02:35

HIL404 devices are connected using 2 SFP portson the back plate of the devices and a standard

00:02:44

SFP module with cables. HIL404 devices shouldbe connected point to point from the SFP1

00:02:50

and SFP2 connectors on one device to anotherdevice.

00:02:53

HIL 606 devices are connected using 2 Q-SFPports on the back plate of the device and

00:02:54

a standard Q-SFP module with cables.

00:02:57

For comparison s sake, let s see how to connecttwo HIL 404 devices.

00:03:04

Now let s return to the HIL604 setup thatwe are using for this example model. Let s

00:03:12

connect our three paralleled HIL 604 devicesto the PC.

00:03:19

All paralleled devices in a multi-HIL configurationshould be connected to a single computer using

00:03:24

either a direct USB or Ethernet connection.The multi-HIL configuration is controlled

00:03:29

by a single instance of Typhoon HIL ControlCenter or by HIL API.

00:03:34

Once connected, you can build and run yourmodels in a multi-HIL configuration in almost

00:03:39

the same way as you would a single device.The key difference is that we can now assign

00:03:43

which parts of our model we want to run onwhich HIL device, by using device ID numbers.

00:03:50

Device ID numbers in a multi-HIL configurationshould be continuous starting from zero. So,

00:04:00

in a 3 unit system, we should assign numbers0, 1, and 2 to our devices. The device ID

00:04:06

number is completely independent of the devices physical position in the ring. Instead,

00:04:11

the device ID number is set using the rotaryswitch on the back plate of each device.

00:04:15

Now let s set the device ID numbers for allthree HIL devices.

00:04:17

Now it is time to run all HIL Devices andrun Typhoon HIL Control Center. First we need

00:04:30

to open Device Manager and make sure thatthe connection is established with the HIL

00:04:34

setup. Here we can see that all three deviceshave same configuration. This is what we want,

00:04:39

but this doesn t need to be the case: in amulti-HIL setup, devices can have different

00:04:44

configurations.Now let s open our multi-HIL example model.

00:04:47

Let s go to Example Explorer, go to how-toexamples, and then device partitioning. Let

00:04:53

s open this model.As we can see, we are using a simple example

00:05:00

to demonstrate the HIL paralleling feature.Here we can see that we have special components,

00:05:05

such as Device Coupling, Device Markers, SignalDevice Transition, and Signal Device Markers.

00:05:11

We will find out more information about thesecomponents in the next few lessons.

Please Wait!

Please wait... it will take a second!