File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1097,15 +1097,15 @@ def set_input_output_setpoints(
1097
1097
Note:
1098
1098
This method sets the values of the `u_s` and `y_s` attributes with
1099
1099
the provided new setpoints and updates the values of `u_s_param`
1100
- and `y_r_param ` to update the data-driven MPC controller setpoint.
1100
+ and `y_s_param ` to update the data-driven MPC controller setpoint.
1101
1101
"""
1102
1102
# Validate input types and dimensions
1103
1103
if u_s .shape != self .u_s .shape :
1104
1104
raise ValueError (
1105
1105
"Incorrect dimensions. `u_s` must have shape "
1106
1106
f"{ self .u_s .shape } , but got { u_s .shape } instead."
1107
1107
)
1108
- if y_s .shape != self .y_s .shape : # Replace with actual expected shape
1108
+ if y_s .shape != self .y_s .shape :
1109
1109
raise ValueError (
1110
1110
"Incorrect dimensions. `y_s` must have shape "
1111
1111
f"{ self .y_s .shape } , but got { y_s .shape } instead."
You can’t perform that action at this time.
0 commit comments