We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 535d3de + 1649eb5 commit 96842c0Copy full SHA for 96842c0
1 file changed
src/models/devices.jl
@@ -118,11 +118,11 @@ end
118
supports_services(::HydroReservoir) = false
119
120
"""
121
-Remove a reservoir from a device.
+Remove a hydro turbine from a hydro reservoir.
122
123
-Throws ArgumentError if the reservoir is not attached to the device.
+Throws ArgumentError if the hydro turbine is not attached to the reservoir.
124
125
-function remove_turbine!(reservoir::HydroReservoir, device::HydroTurbine)
+function remove_turbine!(reservoir::HydroReservoir, device::HydroUnit)
126
if !_remove_turbine!(reservoir, device)
127
throw(
128
ArgumentError(
0 commit comments