Frequently Asked Question

Video: 6.1 Introduction
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 and welcome to the Test Automation course. In this lesson,  

00:00:05

we will go over the reasons why you should be automating tests for power electronic devices  

00:00:10

and power systems in general. The rest of the course will teach you how to do it. 

00:00:15

When developing power electronic converters, a considerable amount of time of is spent on  

00:00:20

developing control software. Hence, software development methodologies, such as DevOps, rapid  

00:00:26

prototyping, and continuous improvement, must be implemented in order to stay ahead of the market. 

00:00:32

The grid is going through a transformation, from centralized energy generation to a more  

00:00:37

distributed one. This scattered energy generation adds complexity to the system. 

00:00:42

Nearly all these new generation sources are based on power electronic converters,  

00:00:47

allowing affordable renewable energy generation to be introduced in several locations on the grid.  

00:00:52

Each Distributed Energy Resource, or DER, has to run its own control and remain stable  

00:00:58

under a wide range of operating conditions. As these DERs become a more significant portion of  

00:01:03

grids and microgrids, it is crucial to pay more attention to it. A great challenge of these Power  

00:01:09

Electronic converters is the effect of its lack of inertia, where fast responses can add undesirable  

00:01:14

effects to the bulk grid or microgrids. DERs can be designed to help enhance grid stability  

00:01:20

and provide inertia to the system, especially with the addition of energy storage systems. 

00:01:25

These DERs not only have to comply with strict standards, but also experience  

00:01:30

a wide range of events and conditions that are not tested during certification process.  

00:01:35

Hence, they need to be tested for all these conditions. On top of that, dynamic interaction  

00:01:41

with other DERs and loads also needs to be taken into consideration. This means that power  

00:01:46

electronic devices are not the only grid-connected components that need thorough testing.  

00:01:51

Similar challenges exist for relay protection, synchronous generators, and finally, microgrid  

00:01:57

controllers and distribution management systems.This all means that testing is a crucial aspect  

00:02:03

of developing new Power Electronic devices. The large number of tests, and ever-changing standards  

00:02:08

and conditions, means manually testing all necessary conditions is unfeasible.  

00:02:13

Here we will show you how to make it more efficient by introducing automation.

00:02:18

Test automation lets you run unsupervised tests, at any time, with repeatable steps,  

00:02:23

saving you time and helping you standardize your development process. 

00:02:27

Modern grids demand new features from power electronic converters.  

00:02:31

When adding these new features, it is necessary to check that they don t interfere with any  

00:02:36

previously implemented feature. For example, by adding anti-islanding functionality,  

00:02:41

we need to make sure the converter will not add undesirable behavior to normal operation  

00:02:45

conditions or cause erroneous disconnection.Automating your tests with scripts also allows  

00:02:51

for continuous improvement of the test procedure and reports. It can also be  

00:02:55

used for automated pre-certification test and be easily updated when grid codes inevitably change. 

00:03:01

It is also possible to develop test procedures in such a way that the  

00:03:04

same test can be utilized for a wide range of different devices. 

00:03:08

After you have a library of tests, adding new tests cases becomes easier. 

00:03:13

In order to be able to run these tests without human supervision, it is necessary  

00:03:17

to execute it in a safe environment. This is where Hardware-in-the-loop real time simulators shine.  

00:03:23

You can safely test you real control hardware under any number of conditions without worrying  

00:03:27

about hazards like fire or explosion, thanks to the simulated power stage. 

00:03:32

Using HIL and test automation together means you can build a continuous improvement and development  

00:03:37

cycle, continuously improving your product and increasing the test coverage.

00:03:43

Test automation for power electronic devices can be used in several places with significant  

00:03:48

benefits. Let s name a few use cases which already make use of HIL, so automating  

00:03:53

the test procedure is a natural next step.In industry, test automation can be used for: 

00:03:59

development, including a very large number of tests, operating conditions, and parameters; 

00:04:05

pre-certification, by running certification-like tests as part of the development process; 

00:04:11

and commissioning. Different sites might require different parameters.  

00:04:15

During commissioning, the new set of parameters can be tested for a wider range of conditions,  

00:04:20

other than the ones verified on-site.In Academia, the main use cases can be: 

00:04:26

Testing new methodologies for a wider range of conditions, not only for few cases and parameters; 

00:04:32

Benchmarking different methodologies, by using the same test procedure and metrics to compare them; 

00:04:38

And automatically generating results, such as plots or tables. This allows you  

00:04:43

to quickly create and update papers if needed.For laboratories, test automation allows for: 

00:04:49

Improving the turnaround for providing certification tests. Combining test automation  

00:04:54

with HIL means DERs can be very quickly, safely, and inexpensively tested and fixed. 

00:05:00

You can also run the same HIL test automation procedure with laboratory equipment.  

00:05:05

Therefore, after a DER has passed the automated HIL pre-certification tests,  

00:05:10

the same test procedure can be used in the lab, generating the same test results. This can help  

00:05:16

you avoid wasting time running laboratory tests on equipment that are doomed to fail.

00:05:21

In the lesson description, you can find links to a few of the many recordings and material  

00:05:25

we have on the topic of test automation.Now let s take a look how Typhoon HIL  

00:05:31

approaches this topic, harnessing the power of open-source tools that can be  

00:05:35

used in several stages of product development.Typhoon HIL software is developed using Python,  

00:05:41

and you can use Typhoon APIs to fully control the model and simulation. 

00:05:46

Hence, test automation is based on a widely used Python test framework: pytest. 

00:05:51

Visualizing the test results is a critically important step of test automation. Typhoon  

00:05:57

Test outputs Allure reports automatically, as Allure is already nicely integrated with pytest. 

00:06:02

The TyphoonTest IDE automation tool runs using pytest, adding automatic report generation with  

00:06:08

Allure. In addition, it provides several pre-built signal analysis, assertion,  

00:06:14

and reporting functions to speed up the test development process. 

00:06:18

After developing your tests, they can easily be integrated into CI/CD processes,  

00:06:25

using Jenkins for example.

00:06:27

Thank you for watching!

Please Wait!

Please wait... it will take a second!