Skip to content

A C library designed to measure the electrical characteristics of AC circuits such as voltage, current, power, reactive power, and power factor...

License

Notifications You must be signed in to change notification settings

zakarialaoui10/PowerMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerMonitor

Initialise

  Power power(I, V , N); 
  // I, V and N should be predefined 
Methode return
iEff() The effective value of the current I
vEff() The effective value of the voltage V
iMoy() The mean value of the current I
vMoy() The mean value of the voltage V
P() The active power (in watts) of the circuit
Q() The reactive power (in volt-ampere-reactive or VAR) of the circuit
S() The apparent power (in volt-ampere or VA) of the circuit.
pf() The power factor of the circuit
Req() The equivalent resistance of the circuit
Xeq() The equivalent reactance of the circuit
Zeq() The equivalent impedance of the circuit
Methode arguments Description
print() ------------------------- print the different factors of the circuit
push() i : double , v : double Adds a new value to the I and V arrays.

About

A C library designed to measure the electrical characteristics of AC circuits such as voltage, current, power, reactive power, and power factor...

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages