summaryrefslogtreecommitdiffstats
path: root/Project/SyncGenerator.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-09-21 21:48:21 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-09-21 21:48:21 -0300
commit748b7c8a73c4bc48ff11469e990532e9e673de0e (patch)
treea2b2983d6fa1164f44d34a4b56b1461e721c5cef /Project/SyncGenerator.h
parent4a72b22d12c0fc71aba4b4df0e5f057a17b8cdf6 (diff)
downloadPSP.git-748b7c8a73c4bc48ff11469e990532e9e673de0e.tar.gz
PSP.git-748b7c8a73c4bc48ff11469e990532e9e673de0e.tar.xz
PSP.git-748b7c8a73c4bc48ff11469e990532e9e673de0e.zip
Saturation initialization fixed
Diffstat (limited to 'Project/SyncGenerator.h')
-rw-r--r--Project/SyncGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Project/SyncGenerator.h b/Project/SyncGenerator.h
index 23ab87d..aba3c8f 100644
--- a/Project/SyncGenerator.h
+++ b/Project/SyncGenerator.h
@@ -82,11 +82,15 @@ struct SyncGeneratorElectricalData {
double subEq;
double subEd;
double pe;
+ double sd;
+ double sq;
// Variables to extrapolate
double oldId;
double oldIq;
double oldPe;
+ double oldSd;
+ double oldSq;
// Integration constants
IntegrationConstant icSpeed;