addedInput schema / properties / request / properties / curriculum
Added value: +{
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "description": "Declarative stages. JSON only: there is no code to run.",
+ "properties": {
+ "held_out": {
+ "description": "Required scenarios scored after the last stage. They are not used to train or to apply the cap.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Step-reference rollout used by the auto-tuner.",
+ "properties": {
+ "disturbance_onset_step": {
+ "default": 0,
+ "description": "Closed-loop step index when step_disturbance turns on. Default 0, must be >= 0.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "n_steps": {
+ "default": 40,
+ "description": "Closed-loop steps in the scored rollout. Default 40, must be >= 1 and <= 200.",
+ "maximum": 200,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "plant_model_mismatch_pct": {
+ "default": 0,
+ "description": "Plant-model mismatch in percent. The plant is scaled by 1 + pct/100. Default 0.",
+ "type": "number"
+ },
+ "seed": {
+ "default": 0,
+ "description": "Seed for the sensor noise. Default 0.",
+ "type": "integer"
+ },
+ "sensor_noise_std": {
+ "default": 0,
+ "description": "Sensor noise standard deviation, in the plant's state units. Default 0, must be >= 0.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "step_disturbance": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Constant disturbance applied from disturbance_onset_step, length nd. Omit for none."
+ },
+ "step_reference": {
+ "description": "Step state reference held for the rollout, length nx.",
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "x0": {
+ "description": "Initial state for the rollout, length nx, in the plant's state units.",
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "x0",
+ "step_reference"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "stages": {
+ "description": "Ordered stages. Length 1 to 4. Each stage warm-starts from the previous stage's best feasible trial.",
+ "items": {
+ "additionalProperties": false,
+ "description": "One fixed bank. The numbers are the only plant the stage trains on.",
+ "properties": {
+ "scenarios": {
+ "description": "Training scenarios for this stage. Length 1 to 12. The stage does not add scenarios of its own.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Step-reference rollout used by the auto-tuner.",
+ "properties": {
+ "disturbance_onset_step": {
+ "default": 0,
+ "description": "Closed-loop step index when step_disturbance turns on. Default 0, must be >= 0.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "n_steps": {
+ "default": 40,
+ "description": "Closed-loop steps in the scored rollout. Default 40, must be >= 1 and <= 200.",
+ "maximum": 200,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "plant_model_mismatch_pct": {
+ "default": 0,
+ "description": "Plant-model mismatch in percent. The plant is scaled by 1 + pct/100. Default 0.",
+ "type": "number"
+ },
+ "seed": {
+ "default": 0,
+ "description": "Seed for the sensor noise. Default 0.",
+ "type": "integer"
+ },
+ "sensor_noise_std": {
+ "default": 0,
+ "description": "Sensor noise standard deviation, in the plant's state units. Default 0, must be >= 0.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "step_disturbance": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Constant disturbance applied from disturbance_onset_step, length nd. Omit for none."
+ },
+ "step_reference": {
+ "description": "Step state reference held for the rollout, length nx.",
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "x0": {
+ "description": "Initial state for the rollout, length nx, in the plant's state units.",
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "x0",
+ "step_reference"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "trials": {
+ "description": "Optuna trials for this stage. Must be >= 1 and <= 40.",
+ "maximum": 40,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "validation": {
+ "description": "Cap scenarios for this stage. Length 1 to 12. Used by the regression cap, not as the held-out block.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Step-reference rollout used by the auto-tuner.",
+ "properties": {
+ "disturbance_onset_step": {
+ "default": 0,
+ "description": "Closed-loop step index when step_disturbance turns on. Default 0, must be >= 0.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "n_steps": {
+ "default": 40,
+ "description": "Closed-loop steps in the scored rollout. Default 40, must be >= 1 and <= 200.",
+ "maximum": 200,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "plant_model_mismatch_pct": {
+ "default": 0,
+ "description": "Plant-model mismatch in percent. The plant is scaled by 1 + pct/100. Default 0.",
+ "type": "number"
+ },
+ "seed": {
+ "default": 0,
+ "description": "Seed for the sensor noise. Default 0.",
+ "type": "integer"
+ },
+ "sensor_noise_std": {
+ "default": 0,
+ "description": "Sensor noise standard deviation, in the plant's state units. Default 0, must be >= 0.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "step_disturbance": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Constant disturbance applied from disturbance_onset_step, length nd. Omit for none."
+ },
+ "step_reference": {
+ "description": "Step state reference held for the rollout, length nx.",
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "x0": {
+ "description": "Initial state for the rollout, length nx, in the plant's state units.",
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "x0",
+ "step_reference"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "scenarios",
+ "validation",
+ "trials"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 1,
+ "type": "array"
+ },
+ "timeout_seconds": {
+ "description": "Wall-clock budget for every stage and the held-out scoring, in seconds. Must be > 0 and <= 120.",
+ "exclusiveMinimum": 0,
+ "maximum": 120,
+ "type": "number"
+ }
+ },
+ "required": [
+ "stages",
+ "held_out",
+ "timeout_seconds"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Optional JSON stages. Omit to tune the single scenario in this request. When set, each stage uses only its supplied scenarios and the held-out block is scored afterward."
+}
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, 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"
- }
-]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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "B": {
+ "description": "Input matrix, shape nx by nu, with nu <= 12.",
+ "items": {
+ "items": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "Bd": {
+ "anyOf": [
+ {
+ "items": {
+ "items": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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,
+ "maximum": 1000000,
+ "type": "number"
+ },
+ "du_max": {
+ "anyOf": [
+ {
+ "items": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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, cart_pendulum, icr_skid_steer, or ackermann.",
+ "enum": [
+ "double_integrator",
+ "thermal_rc_zone",
+ "soil_moisture_cascade",
+ "unicycle_kinematics",
+ "gravity_tank",
+ "cart_pendulum",
+ "icr_skid_steer",
+ "ackermann"
+ ],
+ "type": "string"
+ },
+ "parameters": {
+ "additionalProperties": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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. icr_skid_steer: dt > 0 and slip, a signed length with abs(slip) <= 10. Body-frame lateral velocity equals slip * yaw_rate. If x_icr is the forward coordinate of the instantaneous center, positive ahead of the reference point, slip = -x_icr. ackermann: dt > 0 and wheelbase > 0. The steer component of u_min and u_max must lie inside ±1.2 rad. Unknown keys are rejected.",
+ "type": "object"
+ },
+ "u_max": {
+ "anyOf": [
+ {
+ "items": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Allowlisted scalar expressions, one per state row.\n\n``time_mode`` ``continuous`` is integrated with classical RK4 at ``dt``.\n``discrete`` means each expression is already the next state. ``p`` is a\nnumeric parameter vector baked into the discrete map. ``nd`` may be 0.\nDeclaring ``nd >= 1`` and never using ``d[i]`` is accepted; detectability\nis then false because the disturbance columns of the discrete Jacobian are zero.",
+ "properties": {
+ "C": {
+ "anyOf": [
+ {
+ "items": {
+ "items": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Output matrix, shape ny by nx, with ny <= 8. Omit for identity."
+ },
+ "N": {
+ "description": "Prediction horizon in steps. Must be >= 1 and <= 60.",
+ "maximum": 60,
+ "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,
+ "maximum": 1000000,
+ "type": "number"
+ },
+ "du_max": {
+ "anyOf": [
+ {
+ "items": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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."
+ },
+ "f": {
+ "description": "One scalar expression per state, length nx. Each string is at most 512 characters and the set is at most 4096. Symbols are x[i], u[i], d[i], p[i], pi, and the smooth allowlist sin, cos, tan, atan, atan2, exp, log, tanh, sqrt, hypot, sq, plus + - * / and ^2 ^3 ^4.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "expression",
+ "default": "expression",
+ "description": "Plant kind. Must be \"expression\" for allowlisted scalar expressions.",
+ "type": "string"
+ },
+ "nd": {
+ "description": "Disturbance dimension. Must be >= 0 and <= 4. Zero is a plant with no disturbance channel. An unused d[i] when nd is positive does not change the map and reports detectable false.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "np": {
+ "description": "Parameter dimension. Must be >= 0 and <= 8.",
+ "maximum": 8,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "nu": {
+ "description": "Input dimension. Must be >= 1 and <= 4.",
+ "maximum": 4,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "nx": {
+ "description": "State dimension. Must be >= 1 and <= 8.",
+ "maximum": 8,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "p": {
+ "description": "Numeric parameter values, length np. Baked into the discrete map.",
+ "items": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "type": "number"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "time_mode": {
+ "default": "continuous",
+ "description": "continuous integrates the expressions with classical RK4 at dt. discrete uses each expression as the next state. Default continuous.",
+ "enum": [
+ "continuous",
+ "discrete"
+ ],
+ "type": "string"
+ },
+ "u_max": {
+ "anyOf": [
+ {
+ "items": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": {
+ "maximum": 1000000000000,
+ "minimum": -1000000000000,
+ "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": [
+ "nx",
+ "nu",
+ "nd",
+ "np",
+ "f",
+ "dt",
+ "N",
+ "kind"
+ ],
+ "type": "object"
+ }
+]