Skip to content

Commit 52d8d9d

Browse files
Merge pull request #434 from SciML/baggepinnen-patch-1
Remove legacy gain parameter
2 parents bd1e2b8 + 5386e3a commit 52d8d9d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Blocks/continuous.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ U(s) = k (1 + \\dfrac{1}{sT}) E(S)
241241
242242
See also [`LimPI`](@ref)
243243
"""
244-
@component function PI(; name, k = 1.0, T = 1.0, gainPI__k = nothing)
244+
@component function PI(; name, k = 1.0, T = 1.0)
245245
@symcheck T > 0 ||
246246
throw(ArgumentError("Time constant `T` has to be strictly positive"))
247247

@@ -253,7 +253,7 @@ See also [`LimPI`](@ref)
253253
systems = @named begin
254254
err_input = RealInput() # control error
255255
ctr_output = RealOutput() # control signal
256-
gainPI = Gain(; k = gainPI__k)
256+
gainPI = Gain(; k)
257257
addPI = Add()
258258
int = Integrator(k = 1 / T, x = 0.0)
259259
end

0 commit comments

Comments
 (0)