diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2019-07-24 00:02:17 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2019-07-24 00:02:17 -0300 |
commit | 0ca6710a7e003952e1212c8e32ebb2e7c008d508 (patch) | |
tree | 54886abf6d62d9341377d535e52b36016b602107 /Project/PropertiesData.h | |
parent | 7f46d390b8cc1d5f37560f52b222198dbc5e1225 (diff) | |
download | PSP.git-0ca6710a7e003952e1212c8e32ebb2e7c008d508.tar.gz PSP.git-0ca6710a7e003952e1212c8e32ebb2e7c008d508.tar.xz PSP.git-0ca6710a7e003952e1212c8e32ebb2e7c008d508.zip |
Newton bug fixed
Diffstat (limited to 'Project/PropertiesData.h')
-rw-r--r-- | Project/PropertiesData.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/PropertiesData.h b/Project/PropertiesData.h index 4a6e8d0..e6c156a 100644 --- a/Project/PropertiesData.h +++ b/Project/PropertiesData.h @@ -22,7 +22,7 @@ #include "PowerElement.h" #include "wx/language.h" -enum PowerFlowMethod { GAUSS_SEIDEL = 0, NEWTON_RAPHSON }; +enum PowerFlowMethod { GAUSS_SEIDEL = 0, NEWTON_RAPHSON, GAUSS_NEWTON }; enum GUITheme { THEME_LIGHT = 0, THEME_DARK }; struct SimulationData { @@ -39,6 +39,7 @@ struct SimulationData { double powerFlowTolerance = 1e-7; int powerFlowMaxIterations = 5000; double initAngle = 0.0; + double gaussTolerance = 1e-2; // Stability double stabilityFrequency = 60.0; |