Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/models/devices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ end
supports_services(::HydroReservoir) = false

"""
Remove a reservoir from a device.
Remove a hydro turbine from a hydro reservoir.

Throws ArgumentError if the reservoir is not attached to the device.
Throws ArgumentError if the hydro turbine is not attached to the reservoir.
"""
function remove_turbine!(reservoir::HydroReservoir, device::HydroTurbine)
function remove_turbine!(reservoir::HydroReservoir, device::HydroUnit)
if !_remove_turbine!(reservoir, device)
throw(
ArgumentError(
Expand Down
Loading