Hello and welcome.
This is an in-depth lecture on a console, so here we will work on different values of the indictor
and capacitor and try to find out the frequency and we will see if it matches with the analytical value
or not.
And also we will see how the error varies from our simulation set.
So we will learn from this lecture that how the settings which you put on your software may influence
the error which you might get from the simulation using very simple example.
So let's go to the component electrical circuit and then let's change the value of the inductor.
So previously we had one million rry, so let's just make it to zero point one nine.
Let's take some order value and for capacitor, let's change this to, let's say, 67 nullifier.
OK, these are just some random numbers, which I thought and.
OK, so now if I open up study time dependent study and then if I click on compute.
OK, so I have my computer solution.
Now, let us use the same technique and let us find the frequency that is the resonant frequency of
the circuit.
So I'll zoom in and try to find the value.
So this value is zero point zero two two, which is the T1.
OK, so the second one, the value of the indicator was zero point one nine and capacitor was 67.
And so I'll just calculate the C and end and also L.C.
OK, right.
And let us calculate the frequency that is the theoretical frequency and the time one is zero point
zero two to.
And what is due to let's zoom out a bit, D2 is around zero point four four five.
So it's between these two.
You can see the list somewhere here.
So it's around zero point zero four four five thirty two is zero point zero four four five.
And if I calculate the time so it is this and let us calculate the frequency and the error.
OK, the error has increased a bit, which is zero point zero three six five zero.
So the frequency from our theory is four four six zero seven and the frequency from our result is four
four four four four and the error is zero point zero zero point thirty six percent, which is, well,
quite decent because from simulation, any error, less than five percent is acceptable enough.
So this is quite good.
So what can be done now, as you can see from the plot?
Let me zoom out now.
If we zoom in, you see that the curve is not smooth.
It is like a knife here, which is weird.
So we need more data point rate to make it.
Let's go to our step and in the range, just put one more system.
That is we will measure at one order more than our previous method.
So each step will be zero point zero zero zero one millisecond or zero point zero one microsecond.
OK, and let us compute.
It may take a few seconds and we have the same result, but with higher resolution because the data
points are higher now, let us calculate our error from our simulation result.
I will do the same step.
I'll just zoom in and zoom into the curve.
So this point is the highest point here, which is zero point zero two two two.
So again, right here, T1 as zero.
Point to zero to two, I think there is one or two.
OK, so zero point two to two and let me see the value of T two.
So do.
Is zero point zero four four six, so to two is the zero point zero four four six.
OK, and these values are saying, so I'll just drag it down.
I did not change the capacitor values.
I will just drag this down.
OK, now let us calculate the simulation time.
And the frequency and the error.
Oh, wow, you can see that the error is one order and more less so this is what simulation is all about
from this very simple example.
You can see that when I use these two peaks in the same simulation, but with different timestamped
to calculate the frequency, the resonant frequency, even the small settings in the study, uh, affect
the error a lot.
So this is zero point three six and this is zero point zero seven nine.
So this is what is important in simulation.
That is, you have to set up your simulation in such a way so as to minimize your error.
Now, since this is a very simple simulation, you can increase the order of time and the competition
time will be like few seconds maximum a few minutes or maximum a few hours.
But when you are running complicated simulation involving Multiphasic Thermal or Chemical or any other
complicated simulation, maybe structural mechanics, etc., there you can't just increase your time,
your mesh or your boundary condition because it will be too heavy for your system or your computational
setup to work on.
So, for example, just by changing one order in your simulation, it might take from a few hours to
a few months to complete a simulation because, you know, for complicated simulation, you can't just
change your time.
You know, you can't just randomly in this order and just check your result.
So you have to be clever on setting up your simulation such that it is not computationally heavy, but
it gives quite accurate.
Griselle, I should explain to you once again that these two simulations were totally sane, but one
has the I will just copy the time range.
So this is the time in milliseconds and this is the time in millisecond, but one order less.
So here the time difference was zero point zero zero one and here is one or more, even the small change
makes a great change in the error calculation.
I hope that you, too, are quite fascinated by these results, when I found this, rather, I was quite
happy to see, OK, now these things matters a lot.
So I hope that you have learned something new from this lecture and try to yourself try it with different
circuits and see what are the errors you are getting from the analytical formula.
And let me know.
You can just messaged me and tell me what are the results you are getting.
I'll be very happy to know.
So thank you all for watching.
And well, if you are enjoying, do you consider to read my cause?
I really worked very hard to edit and construct this course.
Now you need to be strong in the basics before you run your computer simulations.
I know very well that this is not a very advanced course which will help you to solve your research
problem or anything.
But you have to understand that when you learn calculus, you have to learn to integrate basic functions
so that you can solve difficult problems.
So this is my goal is to help you solve easy problem.
In comes also that you make your concept as clear as possible so that you can attempt to solve bigger
problems.
That's all I have to say.
Thank you all for listening and following this course.
If you have any doubt, you can just send me a text or whatever you wish.
And and all the resources will be there in the course section.
So you can just follow along and there will be quizzes which you can follow and test your skills.
Thanks all for watching and take care.