You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Blocks/analysis_points.jl
+76-56Lines changed: 76 additions & 56 deletions
Original file line number
Diff line number
Diff line change
@@ -152,21 +152,7 @@ function Base.:(==)(ap1::AnalysisPoint, ap2::AnalysisPoint)
152
152
return ap1.in == ap2.in && ap1.out == ap2.out # Name doesn't really matter if inputs and outputs are the same
153
153
end
154
154
155
-
"""
156
-
get_sensitivity(sys, ap::AnalysisPoint; kwargs)
157
-
get_sensitivity(sys, ap_name::Symbol; kwargs)
158
-
159
-
Compute the sensitivity function in analysis point `ap`. The sensitivity function is obtained by introducing an infinitesimal perturbation `d` at the input of `ap`, linearizing the system and computing the transfer function between `d` and the output of `ap`.
160
-
161
-
!!! danger "Experimental"
162
-
The analysis-point interface is currently experimental and at any time subject to breaking changes not respecting semantic versioning.
163
-
164
-
# Arguments:
165
-
- `kwargs`: Are sent to `ModelingToolkit.linearize`
166
-
167
-
See also [`get_comp_sensitivity`](@ref), [`get_looptransfer`](@ref).
Compute the complementary sensitivity function in analysis point `ap`. The complementary sensitivity function is obtained by introducing an infinitesimal perturbation `d` at the output of `ap`, linearizing the system and computing the transfer function between `d` and the input of `ap`.
204
-
205
-
!!! danger "Experimental"
206
-
The analysis-point interface is currently experimental and at any time subject to breaking changes not respecting semantic versioning.
207
-
208
-
# Arguments:
209
-
- `kwargs`: Are sent to `ModelingToolkit.linearize`
210
-
211
-
See also [`get_sensitivity`](@ref), [`get_looptransfer`](@ref).
Compute the sensitivity function in analysis point `ap`. The sensitivity function is obtained by introducing an infinitesimal perturbation `d` at the input of `ap`, linearizing the system and computing the transfer function between `d` and the output of `ap`.
366
+
367
+
!!! danger "Experimental"
368
+
The analysis-point interface is currently experimental and at any time subject to breaking changes not respecting semantic versioning.
369
+
370
+
# Arguments:
371
+
- `kwargs`: Are sent to `ModelingToolkit.linearize`
372
+
373
+
See also [`get_comp_sensitivity`](@ref), [`get_looptransfer`](@ref).
Compute the complementary sensitivity function in analysis point `ap`. The complementary sensitivity function is obtained by introducing an infinitesimal perturbation `d` at the output of `ap`, linearizing the system and computing the transfer function between `d` and the input of `ap`.
382
+
383
+
!!! danger "Experimental"
384
+
The analysis-point interface is currently experimental and at any time subject to breaking changes not respecting semantic versioning.
385
+
386
+
# Arguments:
387
+
- `kwargs`: Are sent to `ModelingToolkit.linearize`
388
+
389
+
See also [`get_sensitivity`](@ref), [`get_looptransfer`](@ref).
390
+
"""
391
+
get_comp_sensitivity
392
+
393
+
"""
394
+
get_looptransfer(sys, ap::AnalysisPoint; kwargs)
395
+
get_looptransfer(sys, ap_name::Symbol; kwargs)
396
+
397
+
Compute the (linearized) loop-transfer function in analysis point `ap`, from `ap.out` to `ap.in`.
398
+
399
+
!!! danger "Experimental"
400
+
The analysis-point interface is currently experimental and at any time subject to breaking changes not respecting semantic versioning.
401
+
402
+
# Arguments:
403
+
- `kwargs`: Are sent to `ModelingToolkit.linearize`
404
+
405
+
See also [`get_sensitivity`](@ref), [`get_comp_sensitivity`](@ref), [`open_loop`](@ref).
0 commit comments