Frequently Asked Question

Video: 3.2.1. Topological conflicts and model degeneration
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!

00:00:03

In the previous lesson we briefly touchedon the topic of compiler warnings as well

00:00:07

as core coupling orientation.

00:00:09

In this lesson we will discuss topologicalconflicts, which are important to fully understand

00:00:15

the compiler warnings resulting from electricalmodel degenerations, as well as partitioning

00:00:20

problems associated with placement, orientation,and parametrization of ideal transformer core couplings.

00:00:27

So, what are Topological Conflicts?

00:00:32

Topological conflicts are a set of modelingproblems that arise due to a specific combination

00:00:37

of elements within the ideal electrical circuit,which can cause unexpected or incorrect simulation

00:00:43

results.

00:00:44

Let’s start with an overview of all thetopological conflicts that could occur.

00:00:50

There are two main types of topological conflicts– state degenerations and source degenerations.

00:00:53

Let’s dive into state degenerations.

00:00:55

State degenerations are topological conflictsthat occur when either the voltage source

00:01:03

is connected in parallel with capacitor orthe current source is connected in series

00:01:07

with inductor.

00:01:08

In the first case, the capacitor gets degenerated,meaning that the circuit behaves in exactly

00:01:14

the same way as if there was no capacitorconnected at all.

00:01:17

The same occurs to the inductor in the secondcase.

00:01:21

Let’s see what will happen if some of thesedegenerations occur in our model.

00:01:26

Now, let’s add capacitor in parallel tothe voltage source.

00:01:36

[silence for 30 second] When we compile thismodel, we receive a warning about a bad voltage

00:01:53

loop which is detected and that capacitoris degenerated.

00:01:57

Basically, this warning is informing us thatthe capacitor has no impact on the circuit.

00:02:02

This error should be familiar if you rememberthe previous lesson, since it was discussed

00:02:08

there as well.

00:02:10

However, this warning is slightly differentthen the classical “bad voltage loop”

00:02:13

warning, and should be dealt with differently.

00:02:16

The reason why this is different is becauseregardless of the switch permutations, degeneration

00:02:22

will still stay, even though the error messageonly mentions one particular switch arrangement

00:02:27

where this occurs.

00:02:29

Therefore, it is important that you can recognizethese degenerations and know why the warning

00:02:34

has occurred.

00:02:35

You might already have sense about how tofix this issue – simply altering the circuit

00:02:41

by adding a snubber would fix this issue.

00:02:49

Snubbers are elements that are used to increasethe stability to the simulation.

00:02:50

They are also an important part of model partitioning,and therefore we will look into them in much

00:02:55

more detail in the next lessons that dealwith model partitioning.

00:02:58

In this case, snubber elements should be addedin series to the voltage source or in parallel

00:03:03

to the current source.

00:03:05

Let’s now talk about the next topologicalconflict type – source degenerations.

00:03:11

There are two types of source degenerations,

00:03:17

direct degeneration of independent sourcesand of independent sources with zero sources.

00:03:22

We’ll first explain the direct degenerationof independent sources.

00:03:28

Degeneration of independent sources occurswhen there are multiple voltage sources in

00:03:33

parallel or multiple current sources in series.

00:03:36

These degenerations won’t cause an errorduring compilation but instead will stop the

00:03:41

compilation process completely.

00:03:43

Let’s see this in our example.

00:03:46

Let’s add a voltage source in parallel withthe already existing voltage source.

00:04:07

When we compile, we receive an error thatstops the compilation completely and therefore

00:04:26

requires us to either remove the surplus ofsources, or to include passive elements in between.

00:04:32

Let’s go to the second source degeneration.

00:04:38

The second source degeneration is the directdegeneration of independent sources with zero source.

00:04:44

In this case, zero sources are open and closedswitches.

00:04:48

These topological conflicts occur when thereis a closed switch in parallel with a voltage

00:04:55

source or when an open switch is in serieswith current sources.

00:04:58

When this happens, the switches become degenerated– meaning that in the case where we have

00:05:02

a switch and voltage source in parallel, theswitch will always be open, no matter what

00:05:07

control signal it receives.

00:05:09

Additionally, any switch in series of a currentsource will always be closed, no matter the

00:05:14

control signal.

00:05:16

This means that having switches in parallelwith voltage sources and switches in series

00:05:21

of current sources has no effect on the circuitat all.

00:05:24

Let’s see how this impacts the compilationprocess.

00:05:29

Let’s add a switch in parallel to the voltagesource in the model.

00:05:38

[silence for 25 second] Now, when we compilethis model, we receive an error which warns

00:06:08

us that the switch we added is degenerated.

00:06:10

We have once again received a warning thatpoints us to the specific converter arrangement,

00:06:14

however this type of degeneration is independentof the converter permutation so you should

00:06:19

fix the topology in general, not just forthe particular case of this one switch permutation

00:06:24

that the compiler warned us about.

00:06:26

The compiler will not stop us from loadingthis model, however: it will simply ignore

00:06:33

these switches during simulation.

00:06:34

These issues can be fixed by adding snubbers,or more precisely by adding a snubber in series

00:06:40

to the voltage source or in parallel to thecurrent source.

00:06:44

The topic of snubbers will be expanded inlesson 3.3, Model Partitioning, where we address

00:06:48

the problem of snubber parametrization insidethe ideal transformer core couplings.

00:06:53

In this lesson, we have covered every typeof topological conflict.

00:06:59

If you want to learn more about them, pleaserefer to the documentation link in the materials section.

00:07:04

Thank you for your attention.

Please Wait!

Please wait... it will take a second!