Hi, guys, welcome back.
So in this tutorial, we will learn how to analyze the results of our simulation.
So our past lecture, we already computed our results.
So let's go back to the result and then see how we can plot these different results.
OK, so we have the results here just right.
Click on the result and then click on one deployed group.
Just remember that it actually depends on the type of physics you're using.
Let's say you are using a 3D component which has data in X, Y, Z direction and stuff.
So in that case, you might need to do 2D and one depending on your work.
So basically the one day to day truly depends one on the type of work you are doing.
Second, on the physics and the component dimension you are working.
OK, so we have our deployed group now instead of one deployed group just right click.
Click on Global.
When you click on Global, you will have settings window like this, so global are basically used to
plant this killer numbers, such as points up any data with respect to time, etc. So we can click on
the expression, go to ad expression and then click on Electric Circuit then devices.
Now know that when you add components in your electrical circuit, let's say if I go here and open up
the electric circuit physics and then when I come back in the global.
Plot and click on ADD explosion inside of electrical circuit devices, you will see that I have see
one are one are two and one here also I have see one are one V1 and are two.
So the components which are there in your physics will show up in their devices and the nodes.
Similarly we have four nodes.
The nodes are basically these nodes.
Right, the source resistor, capacitor and so on the north you're using.
So the nodes are actually the nodes which are used in the physics.
I hope you understood the concept.
So let's say I want to see the charging of a capacitor, the current.
So just Double-Click.
And now the expression will show something like this, which is the name of the component.
Then see are for the physics that is the circuit csir dot c one underscore I so see one for the capacitor
and underscore I for the current.
OK, so to plot this, just click on plot and you will have your plot here.
Now know that it looks a bit weird, it's just like a straight line, um, it looks like the simulation
is not right.
That's what I was telling in the previous lecture.
That is, the study matters a lot in this kind of simulation.
First of all, you must know the, um, time constant.
Right, or the reference point or the type of circuit you are doing so far here.
I can see that there should be some more points here.
And, um, it's better to run the simulation on a smaller range that is between zero and zero point
one second.
So let's do that.
I would go to study that this time dependent, uh, study and stop time seconds.
What I will do is I will click on milliseconds so it will run from zero to zero point one until one
millisecond.
And let's see what happens.
I click on compute.
And now you see the results are just awesome, you can see that the charging of a capacitor is easily
shown here in the graph and, um, let's increase the number of points because the curve is not smooth.
It's like a straight line.
So I will just add one more zero here.
And I will compute once again.
And now you can see a very beautiful curve of charging of a capacitor.
Now, just to verify your results, what you can do is you can just open up any sheet, maybe an Excel
sheet and try to just show the calculation.
So I have an Excel sheet, which I've already done.
And here you can see I have the one column, for instance, and one column for the capacitor.
So if I go on the register, I have a thousand, which I have here.
I have a thousand here.
And similarly for capacitor, I have 109 offered.
So if I converted to Ferid it is like a hundred by ten pound nine.
OK, so when I calculate RC.
I get zero point zero zero one, so if I see my plot, it is quite consistent.
So you can see that it is zero point zero zero one, which is in the order of RC.
That is what we learned in our theory lecture in the first lecture of our course.
Right.
So this is how easily you can calculate the charging, discharging and different kind of simulations
in console using the circuit.
Now, this is a very, very basic, I would say, the most basic circuit.
You should always try if you are planning to use the electrical circuit in concert.
So I will just link the actual sheet in the course resource page.
So when you are following the course, you can just download the actual sheet, change the values under
so you can put it five thousand and different, see different, uh, time constraint and you can play
with it, verify with different examples.
So that's it.
In my next lecture I will just finish off this particular section with a little bit of in-depth analysis
in the results.
Thanks for watching and we will be back in our next lecture.