Skip to content

Commit

Permalink
include a basic table print and add delimiters
Browse files Browse the repository at this point in the history
  • Loading branch information
mcosovic committed Jul 22, 2024
1 parent 9b2e3bd commit da978ea
Show file tree
Hide file tree
Showing 4 changed files with 1,118 additions and 884 deletions.
8 changes: 8 additions & 0 deletions docs/src/manual/acPowerFlow.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,14 @@ open("bus_data.txt", "w") do file
end
```

For CSV output, users should first generate a simple table with `style = false`, and then save it to a CSV file. For example:
```julia
using CSV

data = take!(printBusData(system, analysis, IOBuffer(); style = false, delimiter = ","))
CSV.write("bus_data.csv", CSV.File(data; delim = ","))
```

---

## [Power System Update](@id ACPowerSystemAlterationManual)
Expand Down
Loading

0 comments on commit da978ea

Please sign in to comment.