Skip to content

Commit

Permalink
optimize memory allocations in the measurement print functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mcosovic committed Aug 28, 2024
1 parent 0adb2a2 commit 6705249
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 78 deletions.
1 change: 0 additions & 1 deletion docs/src/manual/dcPowerFlow.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ print(system.branch.label, system.base.power.value * analysis.power.from.active)
##### Print Results in the REPL
Users can utilize any of the print functions outlined in the [Print Power System Data](@ref PrintPowerSystemDataAPI) or [Print Power System Summary](@ref PrintPowerSystemSummaryAPI). For example, users have the option to print the results in the REPL using any units that have been configured:
```@example ComputationPowersCurrentsLosses
@voltage(pu, deg, V)
@power(MW, pu, pu)
printBranchData(system, analysis)
@default(unit) # hide
Expand Down
Loading

0 comments on commit 6705249

Please sign in to comment.