Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zakarialaoui10/PowerMonitor
A C++ library designed to measure the electrical characteristics of AC circuits such as voltage, current, power, reactive power, and power factor...
https://github.com/zakarialaoui10/PowerMonitor
arduino arduino-library cpp monitor morocco power
Last synced: about 1 month ago
JSON representation
A C++ library designed to measure the electrical characteristics of AC circuits such as voltage, current, power, reactive power, and power factor...
- Host: GitHub
- URL: https://github.com/zakarialaoui10/PowerMonitor
- Owner: zakarialaoui10
- License: mit
- Created: 2023-04-11T15:03:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-26T21:25:49.000Z (6 months ago)
- Last Synced: 2024-08-02T13:24:37.760Z (4 months ago)
- Topics: arduino, arduino-library, cpp, monitor, morocco, power
- Language: C++
- Homepage:
- Size: 97.7 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-morocco - PowerMonitor
README
# PowerMonitor
# Initialise
```ino
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. |