summaryrefslogtreecommitdiffstats
path: root/Project/Bus.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-09-06 20:11:37 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-09-06 20:11:37 -0300
commit41b81949a92aad043caa28b0e1144348d06921f8 (patch)
tree9336697587beafbcca1ad8bcf90e750db550b927 /Project/Bus.h
parent926af7f34aaf5aebdbac0cbc550ed75647874258 (diff)
downloadPSP.git-41b81949a92aad043caa28b0e1144348d06921f8.tar.gz
PSP.git-41b81949a92aad043caa28b0e1144348d06921f8.tar.xz
PSP.git-41b81949a92aad043caa28b0e1144348d06921f8.zip
Data report implementation start
Diffstat (limited to 'Project/Bus.h')
-rw-r--r--Project/Bus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/Bus.h b/Project/Bus.h
index cbc8287..17d341b 100644
--- a/Project/Bus.h
+++ b/Project/Bus.h
@@ -16,6 +16,8 @@ struct BusElectricalData {
// Power flow (p.u.)
std::complex<double> voltage = std::complex<double>(1.0, 0.0);
+ std::complex<double> power = std::complex<double>(0.0, 0.0);
+ int busType = 2; // PQ
// Fault
bool hasFault = false;