Getting Started with Simulink: Simple Power calculations
In this small example, we will calculate the instantaneous power along with average rms power and voltage using simulink when equation of V and I are given.
Problem:
if v(t)=10cos(120πt+30) and i(t)=6cos(120πt+60).Determine the average power and rms value of v(t).
Formulas Used:
As we know instantaneous power is given as
\[P(t)=v(t) i(t) \]
and average power is given as
\[P_{avg}=\frac{1}{T} \int_0^T{P(t)dt} \]
similarly rms voltage is given as
\[V_{rms}=\sqrt {\frac{1}{T} \int_0^T{V^2(t)dt}} \]
where T is an integer multiple of timeperiod.
Source Creation:
First we will create two sin sources V and I and adjust their parameter to match the problem
V Source:
Amplitude: 10
freq: 60
phase: pi/6
sample time: 0.01
I Source:
Amplitude: 6
freq: 60
phase: pi/3
sample time: 0.01
RMS Voltage
we will simple follow the equation of Vrms for the calculation.
1. first put a math function block, double click on it and change the equation as u^2
connect this block's input from the output of V source.
Output of this block represent V^2
2. Now put a integrator block and connect the input of it from V^2. The output represents \[ \int_0^T{V^2(t)dt} \]
3. Now put a divider block and connect the output of integrator to its input.
Output of this block represents \[\frac{1}{T} \int_0^T{V^2(t)dt} \]
4. Put a math function block, double click on it and change the equation as sqrt. Now connect this to
the output of step3.
5. Put a display block and connect the step4 output to it.
Instantaneous Power
Calculation of Inst, Power is very simple. Just multiply the V and I source and put a scope block to display it.
Average Power
Again Average Power calculation is simple and follows from RMS Voltage calculation. Put an integrator and divide block after the instant. power and connect it with the display block.
.
In this small example, we will calculate the instantaneous power along with average rms power and voltage using simulink when equation of V and I are given.
Problem:
if v(t)=10cos(120πt+30) and i(t)=6cos(120πt+60).Determine the average power and rms value of v(t).
Formulas Used:
As we know instantaneous power is given as
\[P(t)=v(t) i(t) \]
and average power is given as
\[P_{avg}=\frac{1}{T} \int_0^T{P(t)dt} \]
similarly rms voltage is given as
\[V_{rms}=\sqrt {\frac{1}{T} \int_0^T{V^2(t)dt}} \]
where T is an integer multiple of timeperiod.
Source Creation:
First we will create two sin sources V and I and adjust their parameter to match the problem
V Source:
Amplitude: 10
freq: 60
phase: pi/6
sample time: 0.01
I Source:
Amplitude: 6
freq: 60
phase: pi/3
sample time: 0.01
RMS Voltage
we will simple follow the equation of Vrms for the calculation.
1. first put a math function block, double click on it and change the equation as u^2
connect this block's input from the output of V source.
Output of this block represent V^2
2. Now put a integrator block and connect the input of it from V^2. The output represents \[ \int_0^T{V^2(t)dt} \]
3. Now put a divider block and connect the output of integrator to its input.
Output of this block represents \[\frac{1}{T} \int_0^T{V^2(t)dt} \]
4. Put a math function block, double click on it and change the equation as sqrt. Now connect this to
the output of step3.
5. Put a display block and connect the step4 output to it.
Fig1: Simulink model for RMS Voltage calculation |
Calculation of Inst, Power is very simple. Just multiply the V and I source and put a scope block to display it.
Fig2: Inst. Power |
Again Average Power calculation is simple and follows from RMS Voltage calculation. Put an integrator and divide block after the instant. power and connect it with the display block.
.
you should integrate 1 then divide it.
ReplyDeletejacksonville jaguars
ReplyDeleteeagles game
panthers game
cowboys game today
Nice post!
ReplyDeleteWorried About QuickBooks Error ?Get in touch with QuickBooks expert for instant solution.
Click Here to know how to fix QuickBooks Error 1712
Dial on QuickBooks Error Support Number +1-855-977-7463.
Software development services
ReplyDeleteSoftware support services are generally technical support or break/fix services that are delivered for specific software products. ... Software products and technologies covered under this category include commercial and custom operating systems, application software, and infrastructure software.
Finance and accounting outsorcing companies
Finance and Accounting Outsourcing (FAO) is: 'The outsourcing of one or more finance and accounting activities or processes. ... The real value to be gained is that the retained finance function can focus on working more closely with the business to provide business partnering and help improve decision making.
GST Billing Software
ReplyDeleteWhat is a GST bill? As a GST registered dealer, you are required to provide GST Invoices, also known as bills to your clients. An invoice or a bill is a list of goods sent or services provided, along with the amount due for payment. You can create GST compliant invoices FREE of cost using ClearTax Billing Software.
Nice Blog !
ReplyDeleteOur team at QuickBooks Customer Service listens and responds to your request in the least possible time in these unfortunate times of pandemic and anxiety.
This is a great inspiring article.I am pretty much pleased with your good work. Please share more good post.Keep it up. Keep blogging. Looking to read your next post.For QuickBooks Support, Contact:QuickBooks Customer Support phone number
ReplyDeleteNice Blog !
ReplyDeleteOur experts at Delta Customer Service make sure to offer you optimum results in these certainly unprecedented times.