From b23a673fbe5cfd322956cdff8ef3472da8e0dbff Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 7 Nov 2017 21:59:43 -0200 Subject: ZIP load fully implemented Need to save the new data --- Project/PropertiesData.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Project/PropertiesData.h') diff --git a/Project/PropertiesData.h b/Project/PropertiesData.h index 3e6bbf6..1943d52 100644 --- a/Project/PropertiesData.h +++ b/Project/PropertiesData.h @@ -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 { -- cgit From 3f2f03cc1aac38ad880c0859707b30654a3c935c Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 8 Nov 2017 19:22:56 -0200 Subject: File handling implamentation of ZIP loads (and simulation data) Version updated --- Project/PropertiesData.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Project/PropertiesData.h') diff --git a/Project/PropertiesData.h b/Project/PropertiesData.h index 1943d52..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; -- cgit