Skip to content

Commit

Permalink
add VSG1 model and add voltage_frequency control module, the apis of …
Browse files Browse the repository at this point in the history
…VSC-HVDC has been completed and the correctness is verified!
  • Loading branch information
mzhsdu committed Apr 7, 2022
1 parent 528a830 commit 7580f70
Show file tree
Hide file tree
Showing 47 changed files with 3,832 additions and 1,160 deletions.
6 changes: 6 additions & 0 deletions bench/39_bus/2_VSC.vscraw
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"Vsc-Project1 ", 2, 2, 1, 1, 100
101, "vsc1", 1, "angle_control", 0, "Vac_control", -109.00, 0.0000, 0.00000, 0.00000, 1.01, 80.0000, 0.0052, 0.00120, 200.00, 200.00, 5000.00, 0.100, 2.000, -43.00, 50.00, 550.00, -550.00, 150.00, -150.00, 220.00, 180.00, 0, 100.00
102, "vsc2", 1, "Vdc_control", 0, "Vac_control", 0.0000, 101.00, 0.00000, 0.00000, 1.0150, 100.000, 0.0035, 0.00125, 200.00, 600.00, 5000.00, 0.100, 1.000, 50.00, -10.00, 550.00, -550.00, 150.00, -150.00, 220.00, 180.00, 0, 100.00
1, 101, 100, 4, 4,'DC1 ', 0.0000, 4, 0, 0
2, 102, 101, 2, 2,'DC2 ', 0.0000, 2, 0, 0
1, 2, '1', 1, 1, 2.0000, 0.00
132 changes: 132 additions & 0 deletions bench/39_bus/IEEE39.dyr
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
30 'GENROU' 1 10.200 0.30000E-01 1.5000 0.40000E-01
4.2000 0.0000 0.10000E-01 0.69000E-02 0.31000E-02
0.80000E-03 0.20000E-02 0.12500E-02 0.0000 0.0000 /
30 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
30 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
31 'GENROU' 1 6.5600 0.30000E-01 1.5000 0.40000E-01
3.0300 0.0000 0.29500E-01 0.28200E-01 0.69700E-02
0.17000E-01 0.20000E-02 0.35000E-02 0.0000 0.0000 /
31 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
31 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
32 'GENROU' 1 5.7000 0.30000E-01 1.5000 0.40000E-01
3.5800 0.0000 0.24950E-01 0.23700E-01 0.53100E-02
0.87600E-02 0.20000E-02 0.30400E-02 0.0000 0.0000 /
32 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
32 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
33 'GENROU' 1 5.6900 0.30000E-01 1.5000 0.40000E-01
2.8600 0.0000 0.26200E-01 0.25800E-01 0.43600E-02
0.16600E-01 0.20000E-02 0.29500E-02 0.0000 0.0000 /
33 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
33 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
34 'GENROU' 1 5.4000 0.30000E-01 0.44000 0.40000E-01
2.6000 0.0000 0.67000E-01 0.62000E-01 0.13200E-01
0.16600E-01 0.20000E-02 0.54000E-02 0.0000 0.0000 /
34 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
34 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
35 'GENROU' 1 7.3000 0.30000E-01 0.40000 0.40000E-01
3.4800 0.0000 0.25400E-01 0.24100E-01 0.50000E-02
0.81400E-02 0.20000E-02 0.22400E-02 0.0000 0.0000 /
35 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
35 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
36 'GENROU' 1 5.6600 0.30000E-01 1.5000 0.40000E-01
2.6400 0.0000 0.29500E-01 0.29200E-01 0.49000E-02
0.18600E-01 0.20000E-02 0.32200E-02 0.0000 0.0000 /
36 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
36 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
37 'GENROU' 1 6.7000 0.30000E-01 0.41000 0.40000E-01
2.4300 0.0000 0.29000E-01 0.28000E-01 0.57000E-02
0.91100E-02 0.20000E-02 0.28000E-02 0.0000 0.0000 /
37 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
37 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
38 'GENROU' 1 4.7900 0.30000E-01 1.9600 0.40000E-01
3.4500 0.0000 0.21060E-01 0.20500E-01 0.57000E-02
0.58700E-02 0.20000E-02 0.29800E-02 0.0000 0.0000 /
38 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
38 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
39 'GENROU' 1 7.0000 0.30000E-01 0.70000 0.40000E-01
5.0000 0.0000 0.20000E-02 0.19000E-02 0.60000E-03
0.80000E-03 0.20000E-03 0.30000E-03 0.0000 0.0000 /
39 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
39 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
103 'GENROU' 1 10.200 0.30000E-01 1.5000 0.40000E-01
2.2000 0.0000 0.10000E-01 0.69000E-02 0.31000E-02
0.80000E-03 0.20000E-02 0.12500E-02 0.0000 0.0000 /
103 'IEEET1' 1 0.10000E-01 20.000 0.20000E-01 10.000
-10.000 1.0000 1.5000 0.40000E-01 0.70000
0.0000 1.6500 0.12000 2.2000 0.54000 /
103 'IEEEG1' 1 0 0 20.000 0.0000
0.0000 0.02000 0.10000 -0.10000 1.00000
0.0000 0.0000 0.3000 0.0000 8.3
0.7000 0.0 999.00 0.0000 0.0000
999.00 0.0000 0.0000 /
0 'IEELAL' * 0.4000 0.0000 0.60000 0.4000
0.0000 0.60000 2.0000 -1.8000 2.0000
1.0000 0.0000 2.0000 1.0000 0.0000 /
"Vsc-Project1 " "VSCHVDCP0 " /
"Vsc-Project1 " "VSCHVDCC0 " "vsc1 " 2000
"Vf_control" 1 0 2 10 0 0.01 1.1 -1.1
"Qac_control" 2 10 0 0 1.1 -1.1 /
"Vsc-Project1 " "VSG1 " "vsc2 " 2000 0.01 0.01 0.01 0.01
1 1 2.0 10.0 0.0 2 5
1 1 2.0 10.0 0.0 0 5
0 1 /
Loading

0 comments on commit 7580f70

Please sign in to comment.