summaryrefslogtreecommitdiffstats
path: root/Project/PropertiesData.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-11-08 19:24:39 -0200
committerGitHub <noreply@github.com>2017-11-08 19:24:39 -0200
commit879830d81c4d01084990e655028b60fd01bcc244 (patch)
tree5497752183130eeb282506ae2dda7ad196ea2509 /Project/PropertiesData.h
parent24808d2de827f219b683ad46744a179ae25bc859 (diff)
parent3f2f03cc1aac38ad880c0859707b30654a3c935c (diff)
downloadPSP.git-879830d81c4d01084990e655028b60fd01bcc244.tar.gz
PSP.git-879830d81c4d01084990e655028b60fd01bcc244.tar.xz
PSP.git-879830d81c4d01084990e655028b60fd01bcc244.zip
Merge pull request #41 from Thales1330/wip/zip-load
Wip zip load
Diffstat (limited to 'Project/PropertiesData.h')
-rw-r--r--Project/PropertiesData.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/Project/PropertiesData.h b/Project/PropertiesData.h
index 3e6bbf6..deba3e9 100644
--- a/Project/PropertiesData.h
+++ b/Project/PropertiesData.h
@@ -29,8 +29,8 @@ struct SimulationData {
// General simulation data
double basePower = 100.0;
ElectricalUnit basePowerUnit = UNIT_MVA;
- bool faultAfterPowerFlow = true;
- bool scPowerAfterPowerFlow = true;
+ bool faultAfterPowerFlow = false;
+ bool scPowerAfterPowerFlow = false;
// Power flow
PowerFlowMethod powerFlowMethod = GAUSS_SEIDEL;
@@ -47,6 +47,17 @@ struct SimulationData {
int controlTimeStepRatio = 10;
double plotTime = 1e-2;
bool useCOI = true;
+
+ // ZIP load
+ bool useCompLoads = false;
+ double constImpedanceActive = 100.0;
+ double constCurrentActive = 0.0;
+ double constPowerActive = 0.0;
+ double constImpedanceReactive = 100.0;
+ double constCurrentReactive = 0.0;
+ double constPowerReactive = 0.0;
+ double underVoltageConstCurrent = 70.0;
+ double underVoltageConstPower = 70.0;
};
struct GeneralData {