changedInput schema / properties / request / properties / system / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "Discrete or continuous linear plant.\n\nContinuous ``(A, B, Bd)`` are converted with a matrix exponential / zero-order\nhold at ``dt``. Discrete matrices are used as given. ``Bd`` defaults to ``B``\n(input disturbance) when omitted.",
- "properties": {
- "A": {
- "description": "State matrix, shape nx by nx, with nx <= 24. Discrete map or continuous xdot, matching time_mode.",
- "items": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "type": "array"
- },
- "B": {
- "description": "Input matrix, shape nx by nu, with nu <= 12.",
- "items": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "type": "array"
- },
- "Bd": {
- "anyOf": [
- {
- "items": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Disturbance matrix, shape nx by nd, with nd <= 12. Omit to reuse B as an input disturbance."
- },
- "C": {
- "anyOf": [
- {
- "items": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Output matrix, shape ny by nx. Omit for identity, which uses the full state."
- },
- "D": {
- "anyOf": [
- {
- "items": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Feedthrough matrix, shape ny by nu. Omit when there is no direct term."
- },
- "N": {
- "description": "Prediction horizon in steps. Must be >= 1. Values above 100 are rejected.",
- "minimum": 1,
- "type": "integer"
- },
- "dt": {
- "description": "Sample time. Must be > 0. Continuous plants are zero-order-hold discretized at this step. Use seconds unless A is written in another time unit.",
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "du_max": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Upper slew bounds on delta-u, length nu. Omit for 1e6 on each input. Slew bounds are hard."
- },
- "du_min": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Lower slew bounds on delta-u, length nu. Omit for -1e6 on each input. Slew bounds are hard."
- },
- "kind": {
- "const": "linear",
- "default": "linear",
- "description": "Plant kind. Must be \"linear\" for matrices A and B.",
- "type": "string"
- },
- "time_mode": {
- "default": "discrete",
- "description": "discrete uses A and B as given. continuous is zero-order-hold discretized at dt. Default discrete.",
- "enum": [
- "discrete",
- "continuous"
- ],
- "type": "string"
- },
- "u_max": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Upper input bounds, length nu, in the plant's input units. Omit for 1e6 on each input. Input bounds are hard."
- },
- "u_min": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Lower input bounds, length nu, in the plant's input units. Omit for -1e6 on each input. Input bounds are hard."
- },
- "x_max": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Upper state bounds, length nx, in the plant's state units. Omit for 1e6 on each state. State bounds are soft."
- },
- "x_min": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Lower state bounds, length nx, in the plant's state units. Omit for -1e6 on each state. State bounds are soft."
- }
- },
- "required": [
- "A",
- "B",
- "dt",
- "N",
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Registered dynamics template plus a validated parameter dictionary.",
- "properties": {
- "N": {
- "description": "Prediction horizon in steps. Must be >= 1 and <= 100.",
- "maximum": 100,
- "minimum": 1,
- "type": "integer"
- },
- "du_max": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Upper slew bounds on delta-u, length nu. Omit for 1e6 on each input. Slew bounds are hard."
- },
- "du_min": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Lower slew bounds on delta-u, length nu. Omit for -1e6 on each input. Slew bounds are hard."
- },
- "kind": {
- "const": "nonlinear",
- "default": "nonlinear",
- "description": "Plant kind. Must be \"nonlinear\" for a registered template.",
- "type": "string"
- },
- "name": {
- "description": "Registered template: double_integrator, thermal_rc_zone, soil_moisture_cascade, or unicycle_kinematics.",
- "enum": [
- "double_integrator",
- "thermal_rc_zone",
- "soil_moisture_cascade",
- "unicycle_kinematics"
- ],
- "type": "string"
- },
- "parameters": {
- "additionalProperties": {
- "type": "number"
- },
- "description": "Template knobs, one number per required key. double_integrator and unicycle_kinematics: dt > 0 (seconds). thermal_rc_zone: dt > 0, capacity > 0, time_constant > 0, and ambient. soil_moisture_cascade: dt > 0, capacity > 0, tau_1 > 0, tau_2 > 0, tau_3 > 0, k_12 >= 0, k_23 >= 0. Unknown keys are rejected.",
- "type": "object"
- },
- "u_max": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Upper input bounds, length nu, in the plant's input units. Omit for 1e6 on each input. Input bounds are hard."
- },
- "u_min": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Lower input bounds, length nu, in the plant's input units. Omit for -1e6 on each input. Input bounds are hard."
- },
- "x_max": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Upper state bounds, length nx, in the plant's state units. Omit for 1e6 on each state. State bounds are soft."
- },
- "x_min": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Lower state bounds, length nx, in the plant's state units. Omit for -1e6 on each state. State bounds are soft."
- }
- },
- "required": [
- "name",
- "parameters",
- "N",
- "kind"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "Discrete or continuous linear plant.\n\nContinuous ``(A, B, Bd)`` are converted with a matrix exponential / zero-order\nhold at ``dt``. Discrete matrices are used as given. ``Bd`` defaults to ``B``\n(input disturbance) when omitted.",
+ "properties": {
+ "A": {
+ "description": "State matrix, shape nx by nx, with nx <= 24. Discrete map or continuous xdot, matching time_mode.",
+ "items": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "B": {
+ "description": "Input matrix, shape nx by nu, with nu <= 12.",
+ "items": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "Bd": {
+ "anyOf": [
+ {
+ "items": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Disturbance matrix, shape nx by nd, with nd <= 12. Omit to reuse B as an input disturbance."
+ },
+ "C": {
+ "anyOf": [
+ {
+ "items": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Output matrix, shape ny by nx. Omit for identity, which uses the full state."
+ },
+ "D": {
+ "anyOf": [
+ {
+ "items": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Feedthrough matrix, shape ny by nu. Omit when there is no direct term."
+ },
+ "N": {
+ "description": "Prediction horizon in steps. Must be >= 1. Values above 100 are rejected.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "dt": {
+ "description": "Sample time. Must be > 0. Continuous plants are zero-order-hold discretized at this step. Use seconds unless A is written in another time unit.",
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "du_max": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Upper slew bounds on delta-u, length nu. Omit for 1e6 on each input. Slew bounds are hard."
+ },
+ "du_min": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Lower slew bounds on delta-u, length nu. Omit for -1e6 on each input. Slew bounds are hard."
+ },
+ "kind": {
+ "const": "linear",
+ "default": "linear",
+ "description": "Plant kind. Must be \"linear\" for matrices A and B.",
+ "type": "string"
+ },
+ "time_mode": {
+ "default": "discrete",
+ "description": "discrete uses A and B as given. continuous is zero-order-hold discretized at dt. Default discrete.",
+ "enum": [
+ "discrete",
+ "continuous"
+ ],
+ "type": "string"
+ },
+ "u_max": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Upper input bounds, length nu, in the plant's input units. Omit for 1e6 on each input. Input bounds are hard."
+ },
+ "u_min": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Lower input bounds, length nu, in the plant's input units. Omit for -1e6 on each input. Input bounds are hard."
+ },
+ "x_max": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Upper state bounds, length nx, in the plant's state units. Omit for 1e6 on each state. State bounds are soft."
+ },
+ "x_min": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Lower state bounds, length nx, in the plant's state units. Omit for -1e6 on each state. State bounds are soft."
+ }
+ },
+ "required": [
+ "A",
+ "B",
+ "dt",
+ "N",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Registered dynamics template plus a validated parameter dictionary.",
+ "properties": {
+ "N": {
+ "description": "Prediction horizon in steps. Must be >= 1 and <= 100.",
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "du_max": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Upper slew bounds on delta-u, length nu. Omit for 1e6 on each input. Slew bounds are hard."
+ },
+ "du_min": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Lower slew bounds on delta-u, length nu. Omit for -1e6 on each input. Slew bounds are hard."
+ },
+ "kind": {
+ "const": "nonlinear",
+ "default": "nonlinear",
+ "description": "Plant kind. Must be \"nonlinear\" for a registered template.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Registered template: double_integrator, thermal_rc_zone, soil_moisture_cascade, unicycle_kinematics, gravity_tank, or cart_pendulum.",
+ "enum": [
+ "double_integrator",
+ "thermal_rc_zone",
+ "soil_moisture_cascade",
+ "unicycle_kinematics",
+ "gravity_tank",
+ "cart_pendulum"
+ ],
+ "type": "string"
+ },
+ "parameters": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "description": "Template knobs, one number per required key. double_integrator and unicycle_kinematics: dt > 0 (seconds). thermal_rc_zone: dt > 0, capacity > 0, time_constant > 0, and ambient. soil_moisture_cascade: dt > 0, capacity > 0, tau_1 > 0, tau_2 > 0, tau_3 > 0, k_12 >= 0, k_23 >= 0. gravity_tank: dt > 0, discharge > 0, inflow_gain > 0. cart_pendulum: dt, cart_mass, pole_mass, friction, inertia, gravity, and length, each > 0. Unknown keys are rejected.",
+ "type": "object"
+ },
+ "u_max": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Upper input bounds, length nu, in the plant's input units. Omit for 1e6 on each input. Input bounds are hard."
+ },
+ "u_min": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Lower input bounds, length nu, in the plant's input units. Omit for -1e6 on each input. Input bounds are hard."
+ },
+ "x_max": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Upper state bounds, length nx, in the plant's state units. Omit for 1e6 on each state. State bounds are soft."
+ },
+ "x_min": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Lower state bounds, length nx, in the plant's state units. Omit for -1e6 on each state. State bounds are soft."
+ }
+ },
+ "required": [
+ "name",
+ "parameters",
+ "N",
+ "kind"
+ ],
+ "type": "object"
+ }
+]