Skip to content

Commit

Permalink
add print measurement data functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mcosovic committed Jul 1, 2024
1 parent b3e9bfa commit a79b86c
Show file tree
Hide file tree
Showing 7 changed files with 1,136 additions and 216 deletions.
26 changes: 22 additions & 4 deletions docs/src/api/setupPrint.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,23 @@ For further information on this topic, please see the [Power System Model](@ref
###### Default Settings
* [`@default`](@ref @default)

###### Print Data
###### Print Power System Data
* [`printBusData`](@ref printBusData)
* [`printBranchData`](@ref printBranchData)
* [`printGeneratorData`](@ref printGeneratorData)

###### Print Summary
###### Print Power System Summary
* [`printBusSummary`](@ref printBusSummary)
* [`printBranchSummary`](@ref printBranchSummary)
* [`printGeneratorSummary`](@ref printGeneratorSummary)

###### Print Measurement Data
* [`printVoltmeterData`](@ref printVoltmeterData)
* [`printAmmeterData`](@ref printAmmeterData)
* [`printWattmeterData`](@ref printWattmeterData)
* [`printVarmeterData`](@ref printVarmeterData)
* [`printPmuData`](@ref printPmuData)

---

To load power system model API functionalities into the current scope, utilize the following command:
Expand Down Expand Up @@ -58,7 +65,7 @@ using JuliaGrid

---

## Print Data
## Print Power System Data
```@docs
printBusData
printBranchData
Expand All @@ -67,9 +74,20 @@ printGeneratorData

---

## Print Summary
## Print Power System Summary
```@docs
printBusSummary
printBranchSummary
printGeneratorSummary
```

---

## Print Measurement Data
```@docs
printVoltmeterData
printAmmeterData
printWattmeterData
printVarmeterData
printPmuData
```
7 changes: 6 additions & 1 deletion src/JuliaGrid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ include("definition/analysis.jl")
######### Utility ##########
include("utility/routine.jl")
include("utility/internal.jl")
include("utility/print.jl")
export @base, @power, @voltage, @current, @parameter, @default

######### Print ##########
include("print/powerSystem.jl")
include("print/measurement.jl")
include("print/routine.jl")
export printBusData, printBranchData, printGeneratorData
export printBusSummary, printBranchSummary, printGeneratorSummary
export printVoltmeterData, printAmmeterData, printWattmeterData, printVarmeterData, printPmuData

########## Power System ##########
include("powerSystem/load.jl")
Expand Down
Loading

0 comments on commit a79b86c

Please sign in to comment.