WEBVTT

00:00.180 --> 00:02.250
Hi, guys, welcome back.

00:02.490 --> 00:09.060
So in this tutorial, we will learn how to analyze the results of our simulation.

00:09.360 --> 00:14.810
So our past lecture, we already computed our results.

00:15.120 --> 00:22.050
So let's go back to the result and then see how we can plot these different results.

00:22.380 --> 00:27.090
OK, so we have the results here just right.

00:27.090 --> 00:32.100
Click on the result and then click on one deployed group.

00:32.340 --> 00:36.570
Just remember that it actually depends on the type of physics you're using.

00:36.570 --> 00:43.380
Let's say you are using a 3D component which has data in X, Y, Z direction and stuff.

00:43.710 --> 00:49.810
So in that case, you might need to do 2D and one depending on your work.

00:49.830 --> 00:55.770
So basically the one day to day truly depends one on the type of work you are doing.

00:56.040 --> 01:00.990
Second, on the physics and the component dimension you are working.

01:01.020 --> 01:09.000
OK, so we have our deployed group now instead of one deployed group just right click.

01:10.690 --> 01:12.250
Click on Global.

01:15.650 --> 01:22.010
When you click on Global, you will have settings window like this, so global are basically used to

01:22.070 --> 01:31.310
plant this killer numbers, such as points up any data with respect to time, etc. So we can click on

01:31.310 --> 01:42.770
the expression, go to ad expression and then click on Electric Circuit then devices.

01:43.700 --> 01:51.800
Now know that when you add components in your electrical circuit, let's say if I go here and open up

01:51.800 --> 01:58.670
the electric circuit physics and then when I come back in the global.

02:00.040 --> 02:08.190
Plot and click on ADD explosion inside of electrical circuit devices, you will see that I have see

02:08.200 --> 02:15.670
one are one are two and one here also I have see one are one V1 and are two.

02:16.210 --> 02:24.010
So the components which are there in your physics will show up in their devices and the nodes.

02:24.010 --> 02:26.020
Similarly we have four nodes.

02:26.470 --> 02:29.800
The nodes are basically these nodes.

02:29.800 --> 02:34.180
Right, the source resistor, capacitor and so on the north you're using.

02:34.810 --> 02:39.130
So the nodes are actually the nodes which are used in the physics.

02:39.350 --> 02:41.350
I hope you understood the concept.

02:41.710 --> 02:46.470
So let's say I want to see the charging of a capacitor, the current.

02:47.230 --> 02:48.580
So just Double-Click.

02:49.540 --> 02:55.360
And now the expression will show something like this, which is the name of the component.

02:55.930 --> 03:06.640
Then see are for the physics that is the circuit csir dot c one underscore I so see one for the capacitor

03:07.030 --> 03:08.980
and underscore I for the current.

03:10.030 --> 03:18.430
OK, so to plot this, just click on plot and you will have your plot here.

03:20.000 --> 03:26.870
Now know that it looks a bit weird, it's just like a straight line, um, it looks like the simulation

03:26.870 --> 03:27.770
is not right.

03:28.550 --> 03:31.520
That's what I was telling in the previous lecture.

03:31.520 --> 03:34.450
That is, the study matters a lot in this kind of simulation.

03:34.940 --> 03:39.290
First of all, you must know the, um, time constant.

03:39.920 --> 03:46.460
Right, or the reference point or the type of circuit you are doing so far here.

03:46.640 --> 03:49.580
I can see that there should be some more points here.

03:49.580 --> 03:58.130
And, um, it's better to run the simulation on a smaller range that is between zero and zero point

03:58.130 --> 03:58.850
one second.

03:59.240 --> 04:00.440
So let's do that.

04:00.800 --> 04:07.280
I would go to study that this time dependent, uh, study and stop time seconds.

04:07.680 --> 04:14.600
What I will do is I will click on milliseconds so it will run from zero to zero point one until one

04:14.600 --> 04:15.290
millisecond.

04:15.440 --> 04:16.820
And let's see what happens.

04:17.480 --> 04:19.130
I click on compute.

04:21.770 --> 04:29.840
And now you see the results are just awesome, you can see that the charging of a capacitor is easily

04:29.840 --> 04:39.610
shown here in the graph and, um, let's increase the number of points because the curve is not smooth.

04:39.740 --> 04:41.270
It's like a straight line.

04:41.780 --> 04:45.200
So I will just add one more zero here.

04:47.530 --> 04:49.090
And I will compute once again.

04:51.160 --> 04:55.600
And now you can see a very beautiful curve of charging of a capacitor.

04:56.680 --> 05:05.440
Now, just to verify your results, what you can do is you can just open up any sheet, maybe an Excel

05:05.440 --> 05:08.550
sheet and try to just show the calculation.

05:08.560 --> 05:11.790
So I have an Excel sheet, which I've already done.

05:12.160 --> 05:19.330
And here you can see I have the one column, for instance, and one column for the capacitor.

05:20.050 --> 05:26.140
So if I go on the register, I have a thousand, which I have here.

05:26.140 --> 05:27.130
I have a thousand here.

05:27.820 --> 05:32.200
And similarly for capacitor, I have 109 offered.

05:33.070 --> 05:37.480
So if I converted to Ferid it is like a hundred by ten pound nine.

05:37.840 --> 05:40.090
OK, so when I calculate RC.

05:41.560 --> 05:51.240
I get zero point zero zero one, so if I see my plot, it is quite consistent.

05:51.250 --> 05:55.720
So you can see that it is zero point zero zero one, which is in the order of RC.

05:56.050 --> 06:01.340
That is what we learned in our theory lecture in the first lecture of our course.

06:01.360 --> 06:01.720
Right.

06:02.200 --> 06:10.600
So this is how easily you can calculate the charging, discharging and different kind of simulations

06:10.900 --> 06:12.640
in console using the circuit.

06:12.670 --> 06:18.370
Now, this is a very, very basic, I would say, the most basic circuit.

06:19.090 --> 06:24.900
You should always try if you are planning to use the electrical circuit in concert.

06:25.270 --> 06:32.440
So I will just link the actual sheet in the course resource page.

06:32.450 --> 06:38.730
So when you are following the course, you can just download the actual sheet, change the values under

06:38.740 --> 06:45.700
so you can put it five thousand and different, see different, uh, time constraint and you can play

06:45.700 --> 06:48.070
with it, verify with different examples.

06:48.970 --> 06:49.870
So that's it.

06:49.870 --> 06:56.770
In my next lecture I will just finish off this particular section with a little bit of in-depth analysis

06:56.770 --> 06:58.330
in the results.

06:58.720 --> 07:01.900
Thanks for watching and we will be back in our next lecture.
