summaryrefslogtreecommitdiffstats
path: root/Project/Bus.h
diff options
context:
space:
mode:
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;