Power System Platform  2026w10a-beta
Loading...
Searching...
No Matches
ReactiveShuntElementForm.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017 Thales Lima Oliveira <thales@ufu.br>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17
18#ifndef REACTIVESHUNTELEMENTFORM_H
19#define REACTIVESHUNTELEMENTFORM_H
20#include "ElementFormBase.h"
21#include <wx/log.h>
22
23class Capacitor;
24class Inductor;
25class SwitchingForm;
26
34class ReactiveShuntElementForm : public ReactiveShuntElementFormBase
35{
36 public:
37 ReactiveShuntElementForm(wxWindow* parent, Capacitor* capacitor);
38 ReactiveShuntElementForm(wxWindow* parent, Inductor* inductor);
40 virtual bool ValidateData();
41
42 protected:
43 virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
44 virtual void OnOKButtonClick(wxCommandEvent& event);
45 virtual void OnStabilityButtonClick(wxCommandEvent& event);
46
47 wxWindow* m_parent;
48 Capacitor* m_capacitor = nullptr;
49 Inductor* m_inductor = nullptr;
50};
51#endif // REACTIVESHUNTELEMENTFORM_H
Shunt capactior power element.
Definition Capacitor.h:39
Inductor shunt power element.
Definition Inductor.h:39
Form to edit the reactive shunt element power data.
Form to edit the switching data of power elements for electromechanical transient studies.