summaryrefslogtreecommitdiffstats
path: root/Project/SyncGenerator.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-07-17 21:02:07 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-07-17 21:02:07 -0300
commit4ca362b083d7b20adfd80f1ec4b46a52789cdeb7 (patch)
treec6c5fc9f963400fac02076ca415d79cb9e5d2c68 /Project/SyncGenerator.h
parent54291220edb747c2a059ac5d316f6f7b14445404 (diff)
downloadPSP.git-4ca362b083d7b20adfd80f1ec4b46a52789cdeb7.tar.gz
PSP.git-4ca362b083d7b20adfd80f1ec4b46a52789cdeb7.tar.xz
PSP.git-4ca362b083d7b20adfd80f1ec4b46a52789cdeb7.zip
Some optimization, model 1 machine implementation start
Diffstat (limited to 'Project/SyncGenerator.h')
-rw-r--r--Project/SyncGenerator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Project/SyncGenerator.h b/Project/SyncGenerator.h
index 9929175..b5c7737 100644
--- a/Project/SyncGenerator.h
+++ b/Project/SyncGenerator.h
@@ -96,10 +96,12 @@ struct SyncGeneratorElectricalData {
// Control
ControlElementContainer* avr = NULL;
ControlElementContainer* speedGov = NULL;
-
+
// Control solvers
ControlElementSolver* avrSolver = NULL;
ControlElementSolver* speedGovSolver = NULL;
+
+ Machines::SyncMachineModel model = Machines::SM_MODEL_1;
};
class SyncGenerator : public Machines