From 748b7c8a73c4bc48ff11469e990532e9e673de0e Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Thu, 21 Sep 2017 21:48:21 -0300 Subject: Saturation initialization fixed --- Project/SyncGenerator.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Project/SyncGenerator.h') 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; -- cgit From 4f2e475b8de0f19c0cda560c3213809cb9c8cfca Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Mon, 25 Sep 2017 19:56:07 -0300 Subject: Saturation calculated by Newton raphson implmeneted Not working yet --- Project/SyncGenerator.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Project/SyncGenerator.h') diff --git a/Project/SyncGenerator.h b/Project/SyncGenerator.h index aba3c8f..b035eed 100644 --- a/Project/SyncGenerator.h +++ b/Project/SyncGenerator.h @@ -82,6 +82,8 @@ struct SyncGeneratorElectricalData { double subEq; double subEd; double pe; + double id; + double iq; double sd; double sq; -- cgit From bc5a3e8923cb8efedbbd5b88e212eb0e9009cf87 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Thu, 5 Oct 2017 20:02:59 -0300 Subject: Add copyright on files and documentation update --- Project/SyncGenerator.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'Project/SyncGenerator.h') diff --git a/Project/SyncGenerator.h b/Project/SyncGenerator.h index b035eed..c2fa80b 100644 --- a/Project/SyncGenerator.h +++ b/Project/SyncGenerator.h @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2017 Thales Lima Oliveira + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #ifndef SYNCGENERATOR_H #define SYNCGENERATOR_H @@ -86,7 +103,7 @@ struct SyncGeneratorElectricalData { double iq; double sd; double sq; - + // Variables to extrapolate double oldId; double oldIq; -- cgit From 89befdb9b259d02249876e39ec6fd28860272439 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Fri, 6 Oct 2017 17:06:15 -0300 Subject: A lot of documentation written --- Project/SyncGenerator.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Project/SyncGenerator.h') diff --git a/Project/SyncGenerator.h b/Project/SyncGenerator.h index c2fa80b..cb1b146 100644 --- a/Project/SyncGenerator.h +++ b/Project/SyncGenerator.h @@ -130,6 +130,13 @@ struct SyncGeneratorElectricalData { Machines::SyncMachineModel model = Machines::SM_MODEL_1; }; +/** + * @class SyncGenerator + * @author Thales Lima Oliveira + * @date 06/10/2017 + * @brief Synchronous generator power element. + * @file SyncGenerator.h + */ class SyncGenerator : public Machines { public: -- cgit