diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2018-04-04 21:31:28 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2018-04-04 21:31:28 -0300 |
commit | 54b3719953815bd6a2648bb6dac662f513d80fca (patch) | |
tree | 10a68f1c0ae1911a50a2cdc922a43dac58290208 /Project/ImportForm.h | |
parent | aef98fb30666fd86cbbafc8bd748e4815d3c819b (diff) | |
download | PSP.git-54b3719953815bd6a2648bb6dac662f513d80fca.tar.gz PSP.git-54b3719953815bd6a2648bb6dac662f513d80fca.tar.xz PSP.git-54b3719953815bd6a2648bb6dac662f513d80fca.zip |
Some ANAREDE to PSP electric data implemented
Some bugfixes
Diffstat (limited to 'Project/ImportForm.h')
-rw-r--r-- | Project/ImportForm.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Project/ImportForm.h b/Project/ImportForm.h index f561bcd..021ba66 100644 --- a/Project/ImportForm.h +++ b/Project/ImportForm.h @@ -114,13 +114,13 @@ class ParseAnarede std::vector<wxPoint2DDouble> nodesPosition; /**< Coordinates of the line breaks, if any */ }; struct BusData { - int id = 0; /**< Bus electrical ID */ - bool isOnline = true; /**< Element is online */ - int type = 0; /**< Bus Type: 0 = PQ; 1 = PV; 2 = Ref.; 3 = PQ with voltage between */ - int voltageBase = 0; /**< Voltage base ID */ - wxString busName = "Bus"; /**< Bus name */ - double voltage = 1.0; /**< Bus abs voltage (controlled value for PV and Ref. types) */ - double angle = 0.0; /**< Angle of voltage */ + int id = 0; /**< Bus electrical ID */ + bool isOnline = true; /**< Element is online */ + int type = 0; /**< Bus Type: 0 = PQ; 1 = PV; 2 = Ref.; 3 = PQ with voltage between */ + wxString voltageBase = "0"; /**< Voltage base identifier */ + wxString busName = "Bus"; /**< Bus name */ + double voltage = 1.0; /**< Bus abs voltage (controlled value for PV and Ref. types) */ + double angle = 0.0; /**< Angle of voltage */ std::complex<double> genPower = std::complex<double>(0, 0); /**< Generated power */ double minReactivePower = -9999.0; /**< Minimal reactive power */ double maxReactivePower = 99999.0; /**< Maximum reactive power */ |