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
@@ -240,7 +248,7 @@ connection. This is the variable named `u` if present, and otherwise the only
240
248
variable in the system. If the system does not have a variable named `u` and
241
249
contains multiple variables, throw an error.
242
250
"""
243
-
functionap_var(sys)
251
+
functionap_var(sys::AbstractSystem)
244
252
ifhasproperty(sys, :u)
245
253
return sys.u
246
254
end
@@ -249,6 +257,15 @@ function ap_var(sys)
249
257
error("Could not determine the analysis-point variable in system $(nameof(sys)). To use an analysis point, apply it to a connection between causal blocks which have a variable named `u` or a single unknown of the same size.")
250
258
end
251
259
260
+
"""
261
+
$(TYPEDSIGNATURES)
262
+
263
+
For an `AnalysisPoint` involving causal variables. Simply return the variable.
0 commit comments