SlideShare a Scribd company logo
Interactive Transmission
System Computation Unit.
(I.T.S.C.U)
A project Report
Submitted to
Prof. S.Angalaeswari
EEE 228 – Power Systems
Winter 2015
Submitted by
Student’s name Registration no.
1) Suseel.Anil.Menon 13BEE1076
2) Mayank Raj 13BEE1073
3) Chandankumar 13BEE1031
Developed & Tested in : Dev C++ (v5.4.2)
Programing language : C (Dec C++ compiler with
C99 release)
Contents
S. No Chapter Title
1 Abstract
2 Introduction about your Project
3 Algorithm/Flowchart
4 C Code
5 Output
6 Conclusion and future scope
Abstract
Electricity has become a vital part of our lives since its discovery.
Transmission systems deliver this irreplaceable component to our homes
everyday. But most consumers are often unaware of the intricate and tedious
processes involved in the design and maintenance of these systems. Power
transmission lines often take months to design after taking into consideration
factors such as geography, climate, distribution range and budgetary
constraints. We through our projects aspire to set a tone towards making this
design process much less tedious. Computation of transmission line
parameters, resistances, inductances, capacitances, cost of the chosen
materials etc. can be a daunting task for designers. Our project will be the first
phase to minimising this workload and improving the efficiency of calculation
for better results.
Introduction
I.T.S.C.U or the Interactive Transmission System Computation Unit is
designed to swiftly compute the A,B,C,D parameters, voltage regulation, and
efficiency for short, medium, and long transmission lines. The unit will take
an input for line voltage, current, resistance, inductance, capacitance, and
length. Also in the case of medium transmission line an option has been
provided to compute using Nominal ‘T’ method or Nominal ‘π’ method.
Although the regulation and efficiency will remain the same in both cases,
values of the parameters will vary.
Algorithm/Flowchart
Main
function
Launching the program
Necessary
input
Minimal input
Short Trans.
line
A,B,C,D calculated
Pass values
Medium Trans.
line
Prompt Selection
Nominal T
A,B,C,D claculated
Pass values
Nomial π
A,B,C,D calculated
Pass values
Long Trans.
line
A,B,C,D calculated
Efficiency
Regulation
Pass values
C code
#include<stdio.h>
#include<conio.h>
#include<math.h>
#include<complex.h> //standard library for complex calculations.
// function declarations
void smalltrans(float,double complex,double complex,float,float,float,float,float);
void mediumtrans(float,double complex,double complex,float,float,float,float,float);
void longtrans(float,double complex,double complex,float,float,float,float,float);
void eff_reg(double complex,double complex,float,float,float,float,float,float);
void input_all();
float pi=3.14159; // common use
void main()
{
// program begins
printf("tt**************** INTERSTELLAR *******************n tttt Technologies
nn ttt ------ I.T.S.C.U------n");
printf("n tWelcome to the Interactive Trnasmission System Computation Unit" );
printf(" nn tThis System will help you calculate the constant parameters A,B,C,Dn tfor
short,medium,and long transmission linesn");
input_all();
//return 0;
}//main ends
// function to get INPUT.
void input_all()
{
//input variables
float lgt,l,r,pf,pr,f,vreal,vimag,ireal,iimag;
double complex v,vl,il;
printf("nt Enter the real part of line voltage:"); // input problem
scanf("%f",&vreal);
printf("nt Enter the imag part of line voltage:"); // input problem
scanf("%f",&vimag);
printf("nt Enter the real part of line current:"); // input problem
scanf("%f",&ireal);
printf("nt Enter the imag part of line current:"); // input problem
scanf("%f",&iimag);
printf("nt Enter the supply frequency:");
scanf("%f",&f);
printf("nt Enter the inductance per km:");
scanf("%f",&l);
printf("nt Enter the reistance per km:");
scanf("%f",&r);
printf("nt Enter the output power:");
scanf("%f",&pr);
printf("nt Enter the load power factor:");
scanf("%f",&pf);
// Making a complex number.
v= vreal + vimag*I;
il=ireal + iimag*I;
vl=v/sqrt(3);
// to determine weather short, medium or long.
printf("nnt Enter the Length of the Trasmission Line (in Km): ");
scanf("%f",&lgt);
if (lgt<80){
printf("nntLine Classified as Small Transmission Line");
smalltrans(lgt,vl,il,pf,pr,r,l,f);
}
else if(lgt>80 && lgt<250){
printf("nntLine Classified as Medium Transmission Line");
mediumtrans(lgt,vl,il,pf,pr,r,l,f);
}
else{
printf("nntLine Classified as Long Transmission Line");
longtrans(lgt,vl,il,pf,pr,r,l,f);
}
} // input_all ends
// for calculating ABCD const for SMALL line
void smalltrans(lgt,vl,il,pf,pr,r,l,f)
double complex vl,il; float lgt,pf,pr,r,l,f;
{
float xl;
int A,C,D;
double complex B;
xl=l*2*pi*f*lgt; // impedence
r=r*lgt;
A=1;C=0;D=1;
B= r + xl*I;
// printf("n %ft %ft %ft %ft %ft",lgt,r,l,f,xl);
printf("nntA= %d tB= %.2f + %.2fi ntC= %d tD= %d",A,creal(B),cimag(B),C,D);
// printf("n vreal= %ft vimag= %f",creal(vl),cimag(vl)); // used for testing certain functions while
debugging
// printf("n Line-V per phase = %.2f L%.2f",cabs(vl),carg(vl)); // used for testing certain functions
while debugging
eff_reg(vl,il,pf,pr,A,B,C,D);
}// SMALL ends
// for calculating ABCD const for MEDIUM line
void mediumtrans(lm,vl,il,pf,pr,r,l,f)
double complex vl,il; float lm,pf,pr,r,l,f;
{
float c,xl;
int tog;
double complex yc,z,A,B,C,D;
// lm is the length of line
printf("nnt Enter the capcitince per km:");
scanf("%f",&c);
yc=2*pi*f*c*lm*I; // admittence
xl=l*2*pi*f*lm; // impedence
r=r*lm;
z= r + xl*I; // complex Z
printf("nt Enter 1 for proceeding with Nominal T method nttt OR nt Enter 2 for Nominal
pi method:");
scanf("%d",&tog);
// printf("n tog= %d ",tog);
if(tog==1)// nominal T
{
//printf("n works");
A=1+((yc*z)/2);
B=z*(1+((yc*z)/4));
C=yc;
D=A;
}
else if(tog==2)// nominal Pi
{
A=1+((yc*z)/2);
B=z;
C=yc*(1+((yc*z)/4));
D=A;
}
printf("nntA= %.2f + %.2fi tB= %.2f + %.2fi ntC= %.2f + %.2fi tD= %.2f +
%.2fi",creal(A),cimag(A),creal(B),cimag(B),creal(C),cimag(C),creal(D),cimag(D));
eff_reg(vl,il,pf,pr,A,B,C,D);
} // MEDIUM ends
// for calculating ABCD const for LONG line
void longtrans(ll,vl,il,pf,pr,r,l,f)
double complex vl,il; float ll,pf,pr,r,l,f;
{
// ll is the length of line
// printf("nl");
float c,xl;
double complex yc,z,A,B,C,D;
printf("nnt Enter the capcitince per km:");
scanf("%f",&c);
yc=2*pi*f*c*ll*I; // admittence
xl=l*2*pi*f*ll; // impedence
r=r*ll;
z= r + xl*I; // complex Z
A=1+((yc*z)/2);
B=z*(1+((yc*z)/6));
C=yc*(1+((yc*z)/6));
D=A;
printf("nntA= %.2f + %.2fi tB= %.2f + %.2fi ntC= %.2f + %.2fi tD= %.2f +
%.2fi",creal(A),cimag(A),creal(B),cimag(B),creal(C),cimag(C),creal(D),cimag(D));
eff_reg(vl,il,pf,pr,A,B,C,D);
} // LONG ends
// Efficiency and Regulation calculation.
void eff_reg(vl,il,pf,pr,A,B,C,D) // eff_reg(double complex vl,double complex il,float pf,float A,float
B,float C,float D)
double complex vl,il; float pf,A,B,C,D,pr;
{
double complex is,vs;
float eff,reg,ps;
is=(C*vl)+(D*il);
vs= (B*il)+(A*vl);
ps=3*cabs(vs)*cabs(is)*pf;
//printf("n%f", pr);
//sprintf("n%f", ps);
eff=(pr/ps)*100;
reg= (creal(vs)-creal(vl))/creal(vl);
printf("nntSending end- Current: %.2f L%.2f ntt Voltage: %.2f L%.2f ntt Power:%f nnt
Efficiency: %f nnt Vol regulation: %f",cabs(is),carg(is),cabs(vs),carg(vs),ps,eff,reg);
}
OUTPUT
An example of long transmission line was computed to verify output.
Conclusion
Power systems are irreplaceable in the modern world with the entire
world depending on it to distribute power over long and short distances for
utilization in varied applications ranging from household usage to industrial
power behemoths. With the debate and discussion over global warming and
energy conservation gathering exponential momentum in recent times,
efficiency and durability have become the byword.
All future distribution and transmission network will have to be super-
efficient and we see I.T.S.C.U as the first phase to achieving this goal.
Future Scope
In future semesters we aspire to take forward our goal of developing
low power-high efficiency systems spanning micro-electronics to macro-
distribution systems as a solution to combat global problems for which
I.T.S.C.U has laid a foundation. We aim to make this program open source
over the internet, so that any student or technician can improve the efficiency
of their system. We further in the future, aim to remodel and expand I.T.S.C.U
to be more interactive and bring more computational power under its wings
using Visual Basic and Java.

More Related Content

What's hot

Day 5 application of graph ,biconnectivity fdp on ds
Day 5 application of graph ,biconnectivity fdp on dsDay 5 application of graph ,biconnectivity fdp on ds
Day 5 application of graph ,biconnectivity fdp on ds
GUNASUNDARISAPIIICSE
 
Cs 8351 dpsd-hdl
Cs 8351  dpsd-hdlCs 8351  dpsd-hdl
Cs 8351 dpsd-hdl
BalajiK94
 
A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...
VLSICS Design
 
Effective replacement of dynamic polymorphism with std::variant
Effective replacement of dynamic polymorphism with std::variantEffective replacement of dynamic polymorphism with std::variant
Effective replacement of dynamic polymorphism with std::variant
Mateusz Pusz
 
Compiler Construction | Lecture 11 | Monotone Frameworks
Compiler Construction | Lecture 11 | Monotone FrameworksCompiler Construction | Lecture 11 | Monotone Frameworks
Compiler Construction | Lecture 11 | Monotone Frameworks
Eelco Visser
 
Towards Dynamic Updates in Service Composition - Prof. Mario Bravetti
Towards Dynamic Updates in Service Composition - Prof. Mario BravettiTowards Dynamic Updates in Service Composition - Prof. Mario Bravetti
Towards Dynamic Updates in Service Composition - Prof. Mario Bravetti
Facultad de Informática UCM
 
Webinar: Integrating timetabling and vehicle scheduling to analyze the trade-...
Webinar: Integrating timetabling and vehicle scheduling to analyze the trade-...Webinar: Integrating timetabling and vehicle scheduling to analyze the trade-...
Webinar: Integrating timetabling and vehicle scheduling to analyze the trade-...
BRTCoE
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
Maryala Srinivas
 
Dataflow Analysis
Dataflow AnalysisDataflow Analysis
Dataflow Analysis
Eelco Visser
 
9. 8085 instruction set v
9. 8085 instruction set v9. 8085 instruction set v
9. 8085 instruction set v
sandip das
 
Sequential Framework For HENS
Sequential Framework For HENSSequential Framework For HENS
Sequential Framework For HENSRahulA
 
VTU PCD Model Question Paper - Programming in C
VTU PCD Model Question Paper - Programming in CVTU PCD Model Question Paper - Programming in C
VTU PCD Model Question Paper - Programming in C
Syed Mustafa
 
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm OptimizationA Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
Rajib Roy
 
Lab manualsahu[et&amp;t]
Lab manualsahu[et&amp;t]Lab manualsahu[et&amp;t]
Lab manualsahu[et&amp;t]
Vivek Kumar Sinha
 
Principle source of optimazation
Principle source of optimazationPrinciple source of optimazation
Principle source of optimazation
Siva Sathya
 
Graph theory discrete mathmatics
Graph theory discrete mathmaticsGraph theory discrete mathmatics
Graph theory discrete mathmatics
Biplab Debnath
 
PMP Exam Formulas
PMP Exam FormulasPMP Exam Formulas
PMP Exam Formulas
Amr Miqdadi
 
Regression Analysis on Flights data
Regression Analysis on Flights dataRegression Analysis on Flights data
Regression Analysis on Flights data
Mansi Verma
 
3.4 deterministic pda
3.4 deterministic pda3.4 deterministic pda
3.4 deterministic pda
Sampath Kumar S
 
Compiler unit 5
Compiler  unit 5Compiler  unit 5
Compiler unit 5
BBDITM LUCKNOW
 

What's hot (20)

Day 5 application of graph ,biconnectivity fdp on ds
Day 5 application of graph ,biconnectivity fdp on dsDay 5 application of graph ,biconnectivity fdp on ds
Day 5 application of graph ,biconnectivity fdp on ds
 
Cs 8351 dpsd-hdl
Cs 8351  dpsd-hdlCs 8351  dpsd-hdl
Cs 8351 dpsd-hdl
 
A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...
 
Effective replacement of dynamic polymorphism with std::variant
Effective replacement of dynamic polymorphism with std::variantEffective replacement of dynamic polymorphism with std::variant
Effective replacement of dynamic polymorphism with std::variant
 
Compiler Construction | Lecture 11 | Monotone Frameworks
Compiler Construction | Lecture 11 | Monotone FrameworksCompiler Construction | Lecture 11 | Monotone Frameworks
Compiler Construction | Lecture 11 | Monotone Frameworks
 
Towards Dynamic Updates in Service Composition - Prof. Mario Bravetti
Towards Dynamic Updates in Service Composition - Prof. Mario BravettiTowards Dynamic Updates in Service Composition - Prof. Mario Bravetti
Towards Dynamic Updates in Service Composition - Prof. Mario Bravetti
 
Webinar: Integrating timetabling and vehicle scheduling to analyze the trade-...
Webinar: Integrating timetabling and vehicle scheduling to analyze the trade-...Webinar: Integrating timetabling and vehicle scheduling to analyze the trade-...
Webinar: Integrating timetabling and vehicle scheduling to analyze the trade-...
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
 
Dataflow Analysis
Dataflow AnalysisDataflow Analysis
Dataflow Analysis
 
9. 8085 instruction set v
9. 8085 instruction set v9. 8085 instruction set v
9. 8085 instruction set v
 
Sequential Framework For HENS
Sequential Framework For HENSSequential Framework For HENS
Sequential Framework For HENS
 
VTU PCD Model Question Paper - Programming in C
VTU PCD Model Question Paper - Programming in CVTU PCD Model Question Paper - Programming in C
VTU PCD Model Question Paper - Programming in C
 
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm OptimizationA Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
 
Lab manualsahu[et&amp;t]
Lab manualsahu[et&amp;t]Lab manualsahu[et&amp;t]
Lab manualsahu[et&amp;t]
 
Principle source of optimazation
Principle source of optimazationPrinciple source of optimazation
Principle source of optimazation
 
Graph theory discrete mathmatics
Graph theory discrete mathmaticsGraph theory discrete mathmatics
Graph theory discrete mathmatics
 
PMP Exam Formulas
PMP Exam FormulasPMP Exam Formulas
PMP Exam Formulas
 
Regression Analysis on Flights data
Regression Analysis on Flights dataRegression Analysis on Flights data
Regression Analysis on Flights data
 
3.4 deterministic pda
3.4 deterministic pda3.4 deterministic pda
3.4 deterministic pda
 
Compiler unit 5
Compiler  unit 5Compiler  unit 5
Compiler unit 5
 

Viewers also liked

Química - Compuestos organicos
Química - Compuestos organicosQuímica - Compuestos organicos
Química - Compuestos organicosfmbalvarez
 
Thesis_AMN_Final(typosCorrected)
Thesis_AMN_Final(typosCorrected)Thesis_AMN_Final(typosCorrected)
Thesis_AMN_Final(typosCorrected)Andy Nack
 
RQS 2006 - Entrevista com Luiz Eduardo Cheida
RQS 2006 - Entrevista com Luiz Eduardo CheidaRQS 2006 - Entrevista com Luiz Eduardo Cheida
RQS 2006 - Entrevista com Luiz Eduardo Cheida
Adri Baldini
 
копіювання документів
копіювання документівкопіювання документів
копіювання документів
Влад Бондаренко
 
A.MARWA QNET: Adiva divine (ar) 2012
A.MARWA QNET: Adiva divine (ar) 2012A.MARWA QNET: Adiva divine (ar) 2012
A.MARWA QNET: Adiva divine (ar) 2012ABIDI MARWA
 
Hiring the Right People, by Sunil Jagani
Hiring the Right People, by Sunil JaganiHiring the Right People, by Sunil Jagani
Hiring the Right People, by Sunil Jagani
Sunil Jagani
 
HISTORIC FOUNTAIN RESTORATION COMPANY OKLAHOMA CITY
HISTORIC FOUNTAIN RESTORATION COMPANY OKLAHOMA CITYHISTORIC FOUNTAIN RESTORATION COMPANY OKLAHOMA CITY
HISTORIC FOUNTAIN RESTORATION COMPANY OKLAHOMA CITY
UMKC MASONRY / LANDSCAPE / FOUNTAINS COMPANY
 
recibo creado por marca de uno
recibo creado por marca de unorecibo creado por marca de uno
recibo creado por marca de uno
manuel davila aponte
 
POWID_2016_AMN_R3
POWID_2016_AMN_R3POWID_2016_AMN_R3
POWID_2016_AMN_R3Andy Nack
 
Metro Plus Life Style, New Delhi, Rattan Sofa Set
Metro Plus Life Style, New Delhi, Rattan Sofa SetMetro Plus Life Style, New Delhi, Rattan Sofa Set
Metro Plus Life Style, New Delhi, Rattan Sofa Set
IndiaMART InterMESH Limited
 
Manga Rosario + vampire Tomo 6
Manga Rosario + vampire Tomo 6Manga Rosario + vampire Tomo 6
Manga Rosario + vampire Tomo 6
Kuroe
 
Best nature photography in india
Best nature photography in indiaBest nature photography in india
Best nature photography in india
pankaj788
 
خرائط المفهوم
خرائط المفهومخرائط المفهوم
خرائط المفهوم
شركة عالم التدريب
 

Viewers also liked (20)

Just txt
Just txtJust txt
Just txt
 
Química - Compuestos organicos
Química - Compuestos organicosQuímica - Compuestos organicos
Química - Compuestos organicos
 
K’tonius miller
K’tonius millerK’tonius miller
K’tonius miller
 
Ksums.com
Ksums.comKsums.com
Ksums.com
 
Thesis_AMN_Final(typosCorrected)
Thesis_AMN_Final(typosCorrected)Thesis_AMN_Final(typosCorrected)
Thesis_AMN_Final(typosCorrected)
 
RQS 2006 - Entrevista com Luiz Eduardo Cheida
RQS 2006 - Entrevista com Luiz Eduardo CheidaRQS 2006 - Entrevista com Luiz Eduardo Cheida
RQS 2006 - Entrevista com Luiz Eduardo Cheida
 
копіювання документів
копіювання документівкопіювання документів
копіювання документів
 
A.MARWA QNET: Adiva divine (ar) 2012
A.MARWA QNET: Adiva divine (ar) 2012A.MARWA QNET: Adiva divine (ar) 2012
A.MARWA QNET: Adiva divine (ar) 2012
 
Hiring the Right People, by Sunil Jagani
Hiring the Right People, by Sunil JaganiHiring the Right People, by Sunil Jagani
Hiring the Right People, by Sunil Jagani
 
HISTORIC FOUNTAIN RESTORATION COMPANY OKLAHOMA CITY
HISTORIC FOUNTAIN RESTORATION COMPANY OKLAHOMA CITYHISTORIC FOUNTAIN RESTORATION COMPANY OKLAHOMA CITY
HISTORIC FOUNTAIN RESTORATION COMPANY OKLAHOMA CITY
 
Quipu Overview
Quipu OverviewQuipu Overview
Quipu Overview
 
Alsalma
AlsalmaAlsalma
Alsalma
 
4
44
4
 
Driven intro
Driven introDriven intro
Driven intro
 
recibo creado por marca de uno
recibo creado por marca de unorecibo creado por marca de uno
recibo creado por marca de uno
 
POWID_2016_AMN_R3
POWID_2016_AMN_R3POWID_2016_AMN_R3
POWID_2016_AMN_R3
 
Metro Plus Life Style, New Delhi, Rattan Sofa Set
Metro Plus Life Style, New Delhi, Rattan Sofa SetMetro Plus Life Style, New Delhi, Rattan Sofa Set
Metro Plus Life Style, New Delhi, Rattan Sofa Set
 
Manga Rosario + vampire Tomo 6
Manga Rosario + vampire Tomo 6Manga Rosario + vampire Tomo 6
Manga Rosario + vampire Tomo 6
 
Best nature photography in india
Best nature photography in indiaBest nature photography in india
Best nature photography in india
 
خرائط المفهوم
خرائط المفهومخرائط المفهوم
خرائط المفهوم
 

Similar to Interactive Transmission System Computation Unit

Programming in C Basics
Programming in C BasicsProgramming in C Basics
Programming in C Basics
Bharat Kalia
 
Cbasic
CbasicCbasic
Cbasic
rohitladdu
 
answer-model-qp-15-pcd13pcd
answer-model-qp-15-pcd13pcdanswer-model-qp-15-pcd13pcd
answer-model-qp-15-pcd13pcd
Syed Mustafa
 
4 operators, expressions &amp; statements
4  operators, expressions &amp; statements4  operators, expressions &amp; statements
4 operators, expressions &amp; statements
MomenMostafa
 
Presentation 2
Presentation 2Presentation 2
C Operators and Control Structures.pdf
C Operators and Control Structures.pdfC Operators and Control Structures.pdf
C Operators and Control Structures.pdf
MaryJacob24
 
verilog_tutorial1.pptx
verilog_tutorial1.pptxverilog_tutorial1.pptx
verilog_tutorial1.pptx
SuyashMishra465104
 
Introduction to programming c and data-structures
Introduction to programming c and data-structures Introduction to programming c and data-structures
Introduction to programming c and data-structures
Pradipta Mishra
 
Introduction to programming c and data structures
Introduction to programming c and data structuresIntroduction to programming c and data structures
Introduction to programming c and data structures
Pradipta Mishra
 
Analysis Of Transmission Line Using MATLAB Software
Analysis Of Transmission Line Using MATLAB SoftwareAnalysis Of Transmission Line Using MATLAB Software
Analysis Of Transmission Line Using MATLAB Software
Allison Thompson
 
CP Handout#6
CP Handout#6CP Handout#6
CP Handout#6
trupti1976
 
C programming(Part 1)
C programming(Part 1)C programming(Part 1)
C programming(Part 1)
SURBHI SAROHA
 
unit 3 ppt.pptx
unit 3 ppt.pptxunit 3 ppt.pptx
unit 3 ppt.pptx
thenmozhip8
 
U3.pptx
U3.pptxU3.pptx
2. operator
2. operator2. operator
2. operator
Shankar Gangaju
 
7 functions
7  functions7  functions
7 functions
MomenMostafa
 
Basics of c
Basics of cBasics of c
Basics of c
DebanjanSarkar11
 
Functions And Header Files In C++ | Bjarne stroustrup
Functions And Header Files In C++ | Bjarne stroustrupFunctions And Header Files In C++ | Bjarne stroustrup
Functions And Header Files In C++ | Bjarne stroustrup
SyedHaroonShah4
 
Introduction to Basic C programming 01
Introduction to Basic C programming 01Introduction to Basic C programming 01
Introduction to Basic C programming 01
Wingston
 

Similar to Interactive Transmission System Computation Unit (20)

Programming in C Basics
Programming in C BasicsProgramming in C Basics
Programming in C Basics
 
Cbasic
CbasicCbasic
Cbasic
 
answer-model-qp-15-pcd13pcd
answer-model-qp-15-pcd13pcdanswer-model-qp-15-pcd13pcd
answer-model-qp-15-pcd13pcd
 
4 operators, expressions &amp; statements
4  operators, expressions &amp; statements4  operators, expressions &amp; statements
4 operators, expressions &amp; statements
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
 
C Operators and Control Structures.pdf
C Operators and Control Structures.pdfC Operators and Control Structures.pdf
C Operators and Control Structures.pdf
 
verilog_tutorial1.pptx
verilog_tutorial1.pptxverilog_tutorial1.pptx
verilog_tutorial1.pptx
 
Introduction to programming c and data-structures
Introduction to programming c and data-structures Introduction to programming c and data-structures
Introduction to programming c and data-structures
 
Introduction to programming c and data structures
Introduction to programming c and data structuresIntroduction to programming c and data structures
Introduction to programming c and data structures
 
Analysis Of Transmission Line Using MATLAB Software
Analysis Of Transmission Line Using MATLAB SoftwareAnalysis Of Transmission Line Using MATLAB Software
Analysis Of Transmission Line Using MATLAB Software
 
CP Handout#6
CP Handout#6CP Handout#6
CP Handout#6
 
functions
functionsfunctions
functions
 
C programming(Part 1)
C programming(Part 1)C programming(Part 1)
C programming(Part 1)
 
unit 3 ppt.pptx
unit 3 ppt.pptxunit 3 ppt.pptx
unit 3 ppt.pptx
 
U3.pptx
U3.pptxU3.pptx
U3.pptx
 
2. operator
2. operator2. operator
2. operator
 
7 functions
7  functions7  functions
7 functions
 
Basics of c
Basics of cBasics of c
Basics of c
 
Functions And Header Files In C++ | Bjarne stroustrup
Functions And Header Files In C++ | Bjarne stroustrupFunctions And Header Files In C++ | Bjarne stroustrup
Functions And Header Files In C++ | Bjarne stroustrup
 
Introduction to Basic C programming 01
Introduction to Basic C programming 01Introduction to Basic C programming 01
Introduction to Basic C programming 01
 

Recently uploaded

Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 

Recently uploaded (20)

Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 

Interactive Transmission System Computation Unit

  • 1. Interactive Transmission System Computation Unit. (I.T.S.C.U) A project Report Submitted to Prof. S.Angalaeswari EEE 228 – Power Systems Winter 2015
  • 2. Submitted by Student’s name Registration no. 1) Suseel.Anil.Menon 13BEE1076 2) Mayank Raj 13BEE1073 3) Chandankumar 13BEE1031 Developed & Tested in : Dev C++ (v5.4.2) Programing language : C (Dec C++ compiler with C99 release)
  • 3. Contents S. No Chapter Title 1 Abstract 2 Introduction about your Project 3 Algorithm/Flowchart 4 C Code 5 Output 6 Conclusion and future scope
  • 4. Abstract Electricity has become a vital part of our lives since its discovery. Transmission systems deliver this irreplaceable component to our homes everyday. But most consumers are often unaware of the intricate and tedious processes involved in the design and maintenance of these systems. Power transmission lines often take months to design after taking into consideration factors such as geography, climate, distribution range and budgetary constraints. We through our projects aspire to set a tone towards making this design process much less tedious. Computation of transmission line parameters, resistances, inductances, capacitances, cost of the chosen materials etc. can be a daunting task for designers. Our project will be the first phase to minimising this workload and improving the efficiency of calculation for better results. Introduction I.T.S.C.U or the Interactive Transmission System Computation Unit is designed to swiftly compute the A,B,C,D parameters, voltage regulation, and efficiency for short, medium, and long transmission lines. The unit will take an input for line voltage, current, resistance, inductance, capacitance, and length. Also in the case of medium transmission line an option has been provided to compute using Nominal ‘T’ method or Nominal ‘π’ method. Although the regulation and efficiency will remain the same in both cases, values of the parameters will vary.
  • 5. Algorithm/Flowchart Main function Launching the program Necessary input Minimal input Short Trans. line A,B,C,D calculated Pass values Medium Trans. line Prompt Selection Nominal T A,B,C,D claculated Pass values Nomial π A,B,C,D calculated Pass values Long Trans. line A,B,C,D calculated Efficiency Regulation Pass values
  • 6. C code #include<stdio.h> #include<conio.h> #include<math.h> #include<complex.h> //standard library for complex calculations. // function declarations void smalltrans(float,double complex,double complex,float,float,float,float,float); void mediumtrans(float,double complex,double complex,float,float,float,float,float); void longtrans(float,double complex,double complex,float,float,float,float,float); void eff_reg(double complex,double complex,float,float,float,float,float,float); void input_all(); float pi=3.14159; // common use void main() { // program begins printf("tt**************** INTERSTELLAR *******************n tttt Technologies nn ttt ------ I.T.S.C.U------n"); printf("n tWelcome to the Interactive Trnasmission System Computation Unit" ); printf(" nn tThis System will help you calculate the constant parameters A,B,C,Dn tfor short,medium,and long transmission linesn"); input_all(); //return 0; }//main ends // function to get INPUT. void input_all() { //input variables float lgt,l,r,pf,pr,f,vreal,vimag,ireal,iimag; double complex v,vl,il; printf("nt Enter the real part of line voltage:"); // input problem scanf("%f",&vreal); printf("nt Enter the imag part of line voltage:"); // input problem scanf("%f",&vimag); printf("nt Enter the real part of line current:"); // input problem scanf("%f",&ireal); printf("nt Enter the imag part of line current:"); // input problem scanf("%f",&iimag); printf("nt Enter the supply frequency:"); scanf("%f",&f); printf("nt Enter the inductance per km:");
  • 7. scanf("%f",&l); printf("nt Enter the reistance per km:"); scanf("%f",&r); printf("nt Enter the output power:"); scanf("%f",&pr); printf("nt Enter the load power factor:"); scanf("%f",&pf); // Making a complex number. v= vreal + vimag*I; il=ireal + iimag*I; vl=v/sqrt(3); // to determine weather short, medium or long. printf("nnt Enter the Length of the Trasmission Line (in Km): "); scanf("%f",&lgt); if (lgt<80){ printf("nntLine Classified as Small Transmission Line"); smalltrans(lgt,vl,il,pf,pr,r,l,f); } else if(lgt>80 && lgt<250){ printf("nntLine Classified as Medium Transmission Line"); mediumtrans(lgt,vl,il,pf,pr,r,l,f); } else{ printf("nntLine Classified as Long Transmission Line"); longtrans(lgt,vl,il,pf,pr,r,l,f); } } // input_all ends // for calculating ABCD const for SMALL line void smalltrans(lgt,vl,il,pf,pr,r,l,f) double complex vl,il; float lgt,pf,pr,r,l,f; { float xl; int A,C,D; double complex B; xl=l*2*pi*f*lgt; // impedence r=r*lgt; A=1;C=0;D=1; B= r + xl*I; // printf("n %ft %ft %ft %ft %ft",lgt,r,l,f,xl); printf("nntA= %d tB= %.2f + %.2fi ntC= %d tD= %d",A,creal(B),cimag(B),C,D); // printf("n vreal= %ft vimag= %f",creal(vl),cimag(vl)); // used for testing certain functions while debugging // printf("n Line-V per phase = %.2f L%.2f",cabs(vl),carg(vl)); // used for testing certain functions while debugging
  • 8. eff_reg(vl,il,pf,pr,A,B,C,D); }// SMALL ends // for calculating ABCD const for MEDIUM line void mediumtrans(lm,vl,il,pf,pr,r,l,f) double complex vl,il; float lm,pf,pr,r,l,f; { float c,xl; int tog; double complex yc,z,A,B,C,D; // lm is the length of line printf("nnt Enter the capcitince per km:"); scanf("%f",&c); yc=2*pi*f*c*lm*I; // admittence xl=l*2*pi*f*lm; // impedence r=r*lm; z= r + xl*I; // complex Z printf("nt Enter 1 for proceeding with Nominal T method nttt OR nt Enter 2 for Nominal pi method:"); scanf("%d",&tog); // printf("n tog= %d ",tog); if(tog==1)// nominal T { //printf("n works"); A=1+((yc*z)/2); B=z*(1+((yc*z)/4)); C=yc; D=A; } else if(tog==2)// nominal Pi { A=1+((yc*z)/2); B=z; C=yc*(1+((yc*z)/4)); D=A; } printf("nntA= %.2f + %.2fi tB= %.2f + %.2fi ntC= %.2f + %.2fi tD= %.2f + %.2fi",creal(A),cimag(A),creal(B),cimag(B),creal(C),cimag(C),creal(D),cimag(D)); eff_reg(vl,il,pf,pr,A,B,C,D); } // MEDIUM ends // for calculating ABCD const for LONG line void longtrans(ll,vl,il,pf,pr,r,l,f) double complex vl,il; float ll,pf,pr,r,l,f; {
  • 9. // ll is the length of line // printf("nl"); float c,xl; double complex yc,z,A,B,C,D; printf("nnt Enter the capcitince per km:"); scanf("%f",&c); yc=2*pi*f*c*ll*I; // admittence xl=l*2*pi*f*ll; // impedence r=r*ll; z= r + xl*I; // complex Z A=1+((yc*z)/2); B=z*(1+((yc*z)/6)); C=yc*(1+((yc*z)/6)); D=A; printf("nntA= %.2f + %.2fi tB= %.2f + %.2fi ntC= %.2f + %.2fi tD= %.2f + %.2fi",creal(A),cimag(A),creal(B),cimag(B),creal(C),cimag(C),creal(D),cimag(D)); eff_reg(vl,il,pf,pr,A,B,C,D); } // LONG ends // Efficiency and Regulation calculation. void eff_reg(vl,il,pf,pr,A,B,C,D) // eff_reg(double complex vl,double complex il,float pf,float A,float B,float C,float D) double complex vl,il; float pf,A,B,C,D,pr; { double complex is,vs; float eff,reg,ps; is=(C*vl)+(D*il); vs= (B*il)+(A*vl); ps=3*cabs(vs)*cabs(is)*pf; //printf("n%f", pr); //sprintf("n%f", ps); eff=(pr/ps)*100; reg= (creal(vs)-creal(vl))/creal(vl); printf("nntSending end- Current: %.2f L%.2f ntt Voltage: %.2f L%.2f ntt Power:%f nnt Efficiency: %f nnt Vol regulation: %f",cabs(is),carg(is),cabs(vs),carg(vs),ps,eff,reg); }
  • 10. OUTPUT An example of long transmission line was computed to verify output.
  • 11. Conclusion Power systems are irreplaceable in the modern world with the entire world depending on it to distribute power over long and short distances for utilization in varied applications ranging from household usage to industrial power behemoths. With the debate and discussion over global warming and energy conservation gathering exponential momentum in recent times, efficiency and durability have become the byword. All future distribution and transmission network will have to be super- efficient and we see I.T.S.C.U as the first phase to achieving this goal. Future Scope In future semesters we aspire to take forward our goal of developing low power-high efficiency systems spanning micro-electronics to macro- distribution systems as a solution to combat global problems for which I.T.S.C.U has laid a foundation. We aim to make this program open source over the internet, so that any student or technician can improve the efficiency of their system. We further in the future, aim to remodel and expand I.T.S.C.U to be more interactive and bring more computational power under its wings using Visual Basic and Java.