WEBVTT

00:01.330 --> 00:02.620
Hello and welcome.

00:03.070 --> 00:11.860
This is an in-depth lecture on a console, so here we will work on different values of the indictor

00:11.860 --> 00:19.330
and capacitor and try to find out the frequency and we will see if it matches with the analytical value

00:19.330 --> 00:20.260
or not.

00:20.560 --> 00:27.580
And also we will see how the error varies from our simulation set.

00:28.090 --> 00:37.990
So we will learn from this lecture that how the settings which you put on your software may influence

00:38.230 --> 00:43.540
the error which you might get from the simulation using very simple example.

00:44.020 --> 00:52.780
So let's go to the component electrical circuit and then let's change the value of the inductor.

00:52.780 --> 01:01.750
So previously we had one million rry, so let's just make it to zero point one nine.

01:02.110 --> 01:12.280
Let's take some order value and for capacitor, let's change this to, let's say, 67 nullifier.

01:12.430 --> 01:17.320
OK, these are just some random numbers, which I thought and.

01:17.380 --> 01:25.690
OK, so now if I open up study time dependent study and then if I click on compute.

01:28.970 --> 01:32.420
OK, so I have my computer solution.

01:33.600 --> 01:44.040
Now, let us use the same technique and let us find the frequency that is the resonant frequency of

01:44.040 --> 01:44.550
the circuit.

01:45.600 --> 01:49.420
So I'll zoom in and try to find the value.

01:49.830 --> 01:54.770
So this value is zero point zero two two, which is the T1.

01:55.260 --> 02:07.380
OK, so the second one, the value of the indicator was zero point one nine and capacitor was 67.

02:08.940 --> 02:16.770
And so I'll just calculate the C and end and also L.C.

02:17.710 --> 02:19.430
OK, right.

02:20.700 --> 02:29.580
And let us calculate the frequency that is the theoretical frequency and the time one is zero point

02:29.580 --> 02:30.760
zero two to.

02:32.290 --> 02:40.760
And what is due to let's zoom out a bit, D2 is around zero point four four five.

02:40.780 --> 02:42.330
So it's between these two.

02:42.940 --> 02:45.720
You can see the list somewhere here.

02:46.120 --> 02:56.560
So it's around zero point zero four four five thirty two is zero point zero four four five.

02:58.090 --> 03:08.530
And if I calculate the time so it is this and let us calculate the frequency and the error.

03:10.330 --> 03:15.330
OK, the error has increased a bit, which is zero point zero three six five zero.

03:16.660 --> 03:24.610
So the frequency from our theory is four four six zero seven and the frequency from our result is four

03:24.610 --> 03:31.750
four four four four and the error is zero point zero zero point thirty six percent, which is, well,

03:32.470 --> 03:37.990
quite decent because from simulation, any error, less than five percent is acceptable enough.

03:37.990 --> 03:39.050
So this is quite good.

03:40.150 --> 03:45.370
So what can be done now, as you can see from the plot?

03:46.180 --> 03:48.490
Let me zoom out now.

03:48.490 --> 03:53.340
If we zoom in, you see that the curve is not smooth.

03:53.770 --> 03:56.440
It is like a knife here, which is weird.

03:56.830 --> 03:59.380
So we need more data point rate to make it.

04:00.490 --> 04:07.320
Let's go to our step and in the range, just put one more system.

04:07.420 --> 04:13.210
That is we will measure at one order more than our previous method.

04:13.220 --> 04:22.210
So each step will be zero point zero zero zero one millisecond or zero point zero one microsecond.

04:23.330 --> 04:25.850
OK, and let us compute.

04:29.530 --> 04:36.310
It may take a few seconds and we have the same result, but with higher resolution because the data

04:36.310 --> 04:42.890
points are higher now, let us calculate our error from our simulation result.

04:43.270 --> 04:44.530
I will do the same step.

04:44.650 --> 04:48.300
I'll just zoom in and zoom into the curve.

04:49.000 --> 04:55.840
So this point is the highest point here, which is zero point zero two two two.

04:56.980 --> 05:00.610
So again, right here, T1 as zero.

05:01.860 --> 05:06.790
Point to zero to two, I think there is one or two.

05:06.830 --> 05:11.820
OK, so zero point two to two and let me see the value of T two.

05:13.970 --> 05:15.020
So do.

05:16.050 --> 05:26.970
Is zero point zero four four six, so to two is the zero point zero four four six.

05:28.600 --> 05:33.760
OK, and these values are saying, so I'll just drag it down.

05:34.600 --> 05:37.030
I did not change the capacitor values.

05:40.420 --> 05:41.800
I will just drag this down.

05:42.580 --> 05:46.690
OK, now let us calculate the simulation time.

05:47.940 --> 05:51.580
And the frequency and the error.

05:52.140 --> 06:02.970
Oh, wow, you can see that the error is one order and more less so this is what simulation is all about

06:03.300 --> 06:05.190
from this very simple example.

06:05.430 --> 06:14.130
You can see that when I use these two peaks in the same simulation, but with different timestamped

06:14.130 --> 06:25.290
to calculate the frequency, the resonant frequency, even the small settings in the study, uh, affect

06:25.290 --> 06:26.330
the error a lot.

06:26.760 --> 06:31.190
So this is zero point three six and this is zero point zero seven nine.

06:31.980 --> 06:35.190
So this is what is important in simulation.

06:35.400 --> 06:40.830
That is, you have to set up your simulation in such a way so as to minimize your error.

06:41.100 --> 06:49.020
Now, since this is a very simple simulation, you can increase the order of time and the competition

06:49.020 --> 06:54.300
time will be like few seconds maximum a few minutes or maximum a few hours.

06:54.630 --> 07:02.520
But when you are running complicated simulation involving Multiphasic Thermal or Chemical or any other

07:02.970 --> 07:09.750
complicated simulation, maybe structural mechanics, etc., there you can't just increase your time,

07:09.750 --> 07:17.010
your mesh or your boundary condition because it will be too heavy for your system or your computational

07:17.010 --> 07:18.390
setup to work on.

07:19.350 --> 07:27.220
So, for example, just by changing one order in your simulation, it might take from a few hours to

07:27.220 --> 07:33.720
a few months to complete a simulation because, you know, for complicated simulation, you can't just

07:33.720 --> 07:34.740
change your time.

07:34.740 --> 07:39.800
You know, you can't just randomly in this order and just check your result.

07:40.080 --> 07:48.630
So you have to be clever on setting up your simulation such that it is not computationally heavy, but

07:48.630 --> 07:49.990
it gives quite accurate.

07:49.990 --> 07:57.720
Griselle, I should explain to you once again that these two simulations were totally sane, but one

07:58.020 --> 08:03.240
has the I will just copy the time range.

08:05.210 --> 08:17.120
So this is the time in milliseconds and this is the time in millisecond, but one order less.

08:18.270 --> 08:26.640
So here the time difference was zero point zero zero one and here is one or more, even the small change

08:27.510 --> 08:30.180
makes a great change in the error calculation.

08:31.150 --> 08:38.890
I hope that you, too, are quite fascinated by these results, when I found this, rather, I was quite

08:38.890 --> 08:42.190
happy to see, OK, now these things matters a lot.

08:42.340 --> 08:49.570
So I hope that you have learned something new from this lecture and try to yourself try it with different

08:49.570 --> 08:55.330
circuits and see what are the errors you are getting from the analytical formula.

08:55.750 --> 08:57.250
And let me know.

08:57.280 --> 09:00.580
You can just messaged me and tell me what are the results you are getting.

09:00.590 --> 09:02.070
I'll be very happy to know.

09:02.080 --> 09:04.120
So thank you all for watching.

09:04.120 --> 09:08.080
And well, if you are enjoying, do you consider to read my cause?

09:08.080 --> 09:12.580
I really worked very hard to edit and construct this course.

09:13.060 --> 09:19.090
Now you need to be strong in the basics before you run your computer simulations.

09:19.090 --> 09:25.210
I know very well that this is not a very advanced course which will help you to solve your research

09:25.210 --> 09:26.170
problem or anything.

09:26.500 --> 09:33.430
But you have to understand that when you learn calculus, you have to learn to integrate basic functions

09:33.430 --> 09:35.350
so that you can solve difficult problems.

09:35.570 --> 09:39.550
So this is my goal is to help you solve easy problem.

09:39.550 --> 09:46.990
In comes also that you make your concept as clear as possible so that you can attempt to solve bigger

09:46.990 --> 09:47.590
problems.

09:48.290 --> 09:50.050
That's all I have to say.

09:50.350 --> 09:53.830
Thank you all for listening and following this course.

09:53.830 --> 09:58.420
If you have any doubt, you can just send me a text or whatever you wish.

09:58.810 --> 10:03.520
And and all the resources will be there in the course section.

10:03.520 --> 10:09.630
So you can just follow along and there will be quizzes which you can follow and test your skills.

10:10.120 --> 10:12.460
Thanks all for watching and take care.
