blob: fbbe2bf61c604f55059eefcdf19317feb63112dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 11 : AC power Analysis
// Example 11 - 17
clear; clc; close;
//
// Given data
P = 200.0000;
P_max = 1600.0000;
Demand_Charge = 5.0000;
Energy_Charge_1 = 8.0000;
Energy_Charge_2 = 5.0000;
// Calculations Total Demand Charge
Total_Demand_Charge = P_max * Demand_Charge
// Calculations Energy Charge for The First
Energy_Charge_1 = (Energy_Charge_1 * 50000)/100;
// Calculation Energy Charge Another
Remaining_Energy = (200*1000) - (50000);
Energy_Charge_2 = (Energy_Charge_2 * Remaining_Energy)/100;
// Calculations Total Bills
Total_Bills = Total_Demand_Charge + Energy_Charge_1 + Energy_Charge_2;
//
disp("Example 11-17 Solution : ");
printf(" \n a. Total_Bills = Total Bills For Month = %.3f Dollar",Total_Bills)
|