Skip to content

Commit

Permalink
Add comment about counting rows for Transformers
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrobinson251 committed Sep 27, 2021
1 parent 3940bbb commit e0eceb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function parse_network(source)
@debug "branches" nrows pos
branches, pos = parse_records!(Branches(nrows), bytes, pos, len, OPTIONS, EOL_OPTIONS)

nrows = count_nrow(bytes, pos, len, OPTIONS) ÷ 4
nrows = count_nrow(bytes, pos, len, OPTIONS) ÷ 4 # Two-winding Transformers data is 4 lines each
@debug "2-winding transformers" nrows pos
two_winding_transformers, pos = parse_records!(
TwoWindingTransformers(nrows), bytes, pos, len, OPTIONS, EOL_OPTIONS
Expand Down

0 comments on commit e0eceb6

Please sign in to comment.