Skip to content

Commit

Permalink
add docstrings to outer control
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Sep 10, 2024
1 parent 3d78fbb commit 7c06427
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/models/OuterControl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,13 @@ function OuterControl(;
return OuterControl(active_power_control, reactive_power_control, ext, states, n_states)
end

"""Get Active Power Control from OuterControl."""
get_active_power_control(value::OuterControl) = value.active_power_control
"""Get Reactive Power Control from OuterControl."""
get_reactive_power_control(value::OuterControl) = value.reactive_power_control
"""Get `ext` from OuterControl."""
get_ext(value::OuterControl) = value.ext
"""Get `states` from OuterControl."""
get_states(value::OuterControl) = value.states
"""Get `n_states` from OuterControl."""
get_n_states(value::OuterControl) = value.n_states

0 comments on commit 7c06427

Please sign in to comment.