Skip to content

Commit 17912d0

Browse files
committed
Update README with new supported sections
1 parent 2dd4dc5 commit 17912d0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For more information about PowerModels.jl visit the PowerModels [documentation](
4141

4242
## Parser
4343

44-
The package parses all available sections into a julia dictionary. Every key represents a .pwf section as shown below:
44+
The package parses all available sections into a julia dictionary. Each key represents a .pwf section as shown below:
4545

4646
```julia
4747
julia> ParserPWF.parse_file(file)
@@ -57,7 +57,7 @@ Dict{String, Any} with 6 entries:
5757
**PWF Sections Available:**
5858
5959
- DBAR
60-
- DBSH (fban)
60+
- DBSH
6161
- DCBA
6262
- DCCV
6363
- DCER
@@ -72,9 +72,6 @@ Dict{String, Any} with 6 entries:
7272
- DLIN
7373
- DOPC
7474
- DSHL
75-
76-
**Incoming Sections:**
77-
7875
- DARE
7976
- DCAI
8077
- DCAR
@@ -83,6 +80,9 @@ Dict{String, Any} with 6 entries:
8380
- DMFL
8481
- DMOT
8582
- DMTE
83+
- DAGR
84+
- DCMT
85+
- DTPF
8686
8787
## PowerModels.jl converter
8888
@@ -133,9 +133,11 @@ julia> data = parse_file(file; pm = true, software = Organon)
133133
134134
**Additional data inside PWF files**
135135
136-
Additional information existing in a PWF file that is not used by PowerModels is stored inside each element in the field "control_data", such as the example below:
136+
If parse_pwf_to_powermodels' argument add_control_data is set to true (default = false), additional information present on the PWF file that is not used by PowerModels will be stored inside each element in the field "control_data", such as the example below:
137137

138138
```julia
139+
julia> data = ParserPWF.parse_pwf_to_powermodels(file, add_control_data = true);
140+
139141
julia> data["shunt"]["1"]["control_data"]
140142
Dict{String, Any} with 9 entries:
141143
"vmmax" => 1.029

0 commit comments

Comments
 (0)