summaryrefslogtreecommitdiffstats
path: root/Project/Line.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-11-03 16:26:55 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2016-11-03 16:26:55 -0200
commit4799019fb948226daf5777d0d3ba41257dd55657 (patch)
treeacc64be850536c872189d4885be51d2fc9075436 /Project/Line.h
parent004257e2abebbf448ba8d1fba32daae216b2c88e (diff)
downloadPSP.git-4799019fb948226daf5777d0d3ba41257dd55657.tar.gz
PSP.git-4799019fb948226daf5777d0d3ba41257dd55657.tar.xz
PSP.git-4799019fb948226daf5777d0d3ba41257dd55657.zip
Power flow validate method under implementation
Diffstat (limited to 'Project/Line.h')
-rw-r--r--Project/Line.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/Line.h b/Project/Line.h
index 2310126..7e50fc7 100644
--- a/Project/Line.h
+++ b/Project/Line.h
@@ -20,7 +20,8 @@ struct LineElectricalData {
double lineSize = 100.0;
bool useLinePower = false;
- // Power flow
+ // Power flow (p.u.)
+ std::complex<double> current[2] = {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0)};
std::complex<double> powerFlow[2] = {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0)};
// Fault