Skip to content

Commit

Permalink
v0.10.7. Fix bug of dedc1_flag in PSASPS3 model. All testes of PSASPS…
Browse files Browse the repository at this point in the history
…x models are passed. Accuracy verfied.
  • Loading branch information
changgang committed Nov 12, 2019
1 parent c648702 commit 680e313
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions code/STEPS.depend
Original file line number Diff line number Diff line change
Expand Up @@ -2205,7 +2205,7 @@
"header/data_imexporter/bpa_imexporter.h"
"header/data_imexporter/steps_imexporter.h"

1572347493 source:c:\users\lichg\steps\code\source\apis\steps_api_dynamic_simulation.cpp
1573482147 source:c:\users\lichg\steps\code\source\apis\steps_api_dynamic_simulation.cpp
"header/apis/steps_api.h"
"header/basic/utility.h"
"header/toolkit/cct_searcher/cct_searcher.h"
Expand Down Expand Up @@ -4128,7 +4128,7 @@
"header/model/sg_models/stabilizer_model/PSASPS2_test.h"
"header/basic/utility.h"

1572347493 source:c:\users\lichg\steps\code\source\model\sg_models\stabilizer_model\psasps3.cpp
1573544311 source:c:\users\lichg\steps\code\source\model\sg_models\stabilizer_model\psasps3.cpp
"header/model/sg_models/stabilizer_model/PSASPS3.h"
"header/basic/constants.h"
"header/STEPS.h"
Expand Down Expand Up @@ -5049,7 +5049,7 @@
"header/toolkit/contingency_screener/contingency_screener.h"
"header/STEPS.h"

1572347493 source:c:\users\lichg\steps\code\source\toolkit\dynamic_simulator\dynamic_simulator_test.cpp
1573483131 source:c:\users\lichg\steps\code\source\toolkit\dynamic_simulator\dynamic_simulator_test.cpp
"header/basic/test_macro.h"
"header/toolkit/dynamic_simulator/dynamic_simulator_test.h"
"header/basic/utility.h"
Expand Down Expand Up @@ -5115,7 +5115,7 @@
"header/data_imexporter/bpa_imexporter.h"
<cstdio>

1572347493 source:c:\users\lichg\steps\code\source\toolkit\dynamic_simulator\dynamic_simulator.cpp
1573483120 source:c:\users\lichg\steps\code\source\toolkit\dynamic_simulator\dynamic_simulator.cpp
"header/toolkit/dynamic_simulator/dynamic_simulator.h"
"header/basic/constants.h"
"header/basic/utility.h"
Expand Down
2 changes: 1 addition & 1 deletion code/source/model/sg_models/stabilizer_model/PSASPS3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ void PSASPS3::run(DYNAMIC_MODE mode)

double input = Macc*(speed_deviation_pu-speed_deviation_ref_pu)+Iacc*(Pmech_pu-Pmech_ref_pu)-Nacc*(Pe_pu-Pe_ref_pu);

if(get_dedc_1_flag())
if(get_dedc_1_flag()==false)
{
dedc_block_1.set_input(input);
dedc_block_1.run(mode);
Expand Down

0 comments on commit 680e313

Please sign in to comment.