From 443c135ff44b3a8fb69a24d631dcfbbeab15a507 Mon Sep 17 00:00:00 2001 From: JoelCourtney Date: Wed, 7 Aug 2024 13:59:13 -0700 Subject: [PATCH] WIP procedural scheduling docs --- docs/overview/concept-of-operations.mdx | 4 +- docs/overview/software-design-document.mdx | 4 +- .../assets/run-scheduling-analysis.png | 0 .../assets/run-scheduling.png | 0 .../assets/scheduling-error.png | 0 .../assets/scheduling-failed.png | 0 .../assets/scheduling-success.png | 0 .../declarative}/constraints/concepts.md | 0 .../declarative}/constraints/examples.md | 0 .../declarative}/constraints/introduction.mdx | 0 .../declarative/introduction.mdx | 0 .../scheduling/assets/goal-context-menu.png | 0 .../scheduling/assets/goal-editor-edit.png | 0 .../scheduling/assets/goal-editor-new.png | 0 .../assets/invalid-recurrence-goal.png | 0 .../scheduling/assets/scheduling-panel.png | 0 .../assets/scheduling-specification.png | 0 .../scheduling/assets/xbeforey.png | 0 .../scheduling/assets/xcontainsy.png | 0 .../scheduling/assets/xequalsy.png | 0 .../scheduling/assets/xfinishesy.png | 0 .../scheduling/assets/xmeetsy.png | 0 .../scheduling/assets/xoverlapsy.png | 0 .../scheduling/assets/xstartsy.png | 0 .../scheduling/global-conditions.mdx | 0 .../declarative}/scheduling/goals.mdx | 0 .../declarative}/scheduling/introduction.mdx | 4 +- .../modelling-temporal-relations.mdx | 0 .../scheduling/temporal-subset.mdx} | 0 .../execution.mdx} | 36 +--- .../introduction.mdx | 43 +++++ .../scheduling-and-constraints/management.mdx | 41 +++++ .../procedural/constraints.mdx | 170 ++++++++++++++++++ .../procedural/getting-started.mdx | 27 +++ .../procedural/introduction.mdx | 7 + .../procedural/parameterization.mdx | 3 + .../procedural/plan-and-sim-results.mdx | 91 ++++++++++ .../procedural/running-externally.mdx | 3 + .../procedural/scheduling.mdx | 2 + .../timelines/advanced/custom-operations.mdx | 1 + .../timelines/advanced/custom-timelines.mdx | 1 + .../timelines/advanced/introduction.mdx | 3 + .../timelines/advanced/parallel-profiles.mdx | 1 + .../timelines/basics/activities.mdx | 51 ++++++ .../timelines/basics/common-operations.mdx | 156 ++++++++++++++++ .../timelines/basics/introduction.mdx | 62 +++++++ .../procedural/timelines/basics/profiles.mdx | 77 ++++++++ .../timelines/basics/sampling-and-caching.mdx | 145 +++++++++++++++ .../procedural/timelines/basics/windows.mdx | 40 +++++ .../procedural/timelines/introduction.mdx | 13 ++ docusaurus.config.js | 2 +- sidebars.js | 130 +++++++++++--- src/components/HomepageCards/index.js | 2 +- 53 files changed, 1054 insertions(+), 65 deletions(-) rename docs/{scheduling => scheduling-and-constraints}/assets/run-scheduling-analysis.png (100%) rename docs/{scheduling => scheduling-and-constraints}/assets/run-scheduling.png (100%) rename docs/{scheduling => scheduling-and-constraints}/assets/scheduling-error.png (100%) rename docs/{scheduling => scheduling-and-constraints}/assets/scheduling-failed.png (100%) rename docs/{scheduling => scheduling-and-constraints}/assets/scheduling-success.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/constraints/concepts.md (100%) rename docs/{ => scheduling-and-constraints/declarative}/constraints/examples.md (100%) rename docs/{ => scheduling-and-constraints/declarative}/constraints/introduction.mdx (100%) create mode 100644 docs/scheduling-and-constraints/declarative/introduction.mdx rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/goal-context-menu.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/goal-editor-edit.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/goal-editor-new.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/invalid-recurrence-goal.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/scheduling-panel.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/scheduling-specification.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/xbeforey.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/xcontainsy.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/xequalsy.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/xfinishesy.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/xmeetsy.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/xoverlapsy.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/assets/xstartsy.png (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/global-conditions.mdx (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/goals.mdx (100%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/introduction.mdx (64%) rename docs/{ => scheduling-and-constraints/declarative}/scheduling/modelling-temporal-relations.mdx (100%) rename docs/{scheduling/temporal-subset.md => scheduling-and-constraints/declarative/scheduling/temporal-subset.mdx} (100%) rename docs/{scheduling/run-scheduling.mdx => scheduling-and-constraints/execution.mdx} (52%) create mode 100644 docs/scheduling-and-constraints/introduction.mdx create mode 100644 docs/scheduling-and-constraints/management.mdx create mode 100644 docs/scheduling-and-constraints/procedural/constraints.mdx create mode 100644 docs/scheduling-and-constraints/procedural/getting-started.mdx create mode 100644 docs/scheduling-and-constraints/procedural/introduction.mdx create mode 100644 docs/scheduling-and-constraints/procedural/parameterization.mdx create mode 100644 docs/scheduling-and-constraints/procedural/plan-and-sim-results.mdx create mode 100644 docs/scheduling-and-constraints/procedural/running-externally.mdx create mode 100644 docs/scheduling-and-constraints/procedural/scheduling.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/advanced/custom-operations.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/advanced/custom-timelines.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/advanced/introduction.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/advanced/parallel-profiles.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/basics/activities.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/basics/common-operations.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/basics/introduction.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/basics/profiles.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/basics/sampling-and-caching.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/basics/windows.mdx create mode 100644 docs/scheduling-and-constraints/procedural/timelines/introduction.mdx diff --git a/docs/overview/concept-of-operations.mdx b/docs/overview/concept-of-operations.mdx index 583681f..d68315a 100644 --- a/docs/overview/concept-of-operations.mdx +++ b/docs/overview/concept-of-operations.mdx @@ -12,8 +12,8 @@ Aerie is designed to address the following capability gaps: - Allow missions to provide a web deployment of a planning tool such that operators with limited programming skills can create valid activity plans and run simulations - Support real time collaboration and and parallel hypothesis testing such that many more iterations of an activity plan can be tested within the same time frame - Allow automation and manual modifications to coexist throughout the planning process -- Provide a low-code constraint checking mechanism to validate simulation outputs which can be largely automated -- Provide a low-code scheduling mechanism that can scaffold parts of or generate complete activity plans according to goal snippets +- Provide a flexible constraint checking mechanism to validate simulation outputs which can be largely automated +- Provide a flexible scheduling mechanism that can scaffold parts of or generate complete activity plans according to goal snippets - Support an easy-to-use and verified translation from activities to sequences of commands that are recognized by the flight system Note that none of the capabilities above are completely new. Other software solutions have offered pieces of the listed capabilities in different or more limited flavors. Aerie's mission is to cover as many key steps in the whole activity planning and sequencing workflow in one deployed tool with dedicated components. diff --git a/docs/overview/software-design-document.mdx b/docs/overview/software-design-document.mdx index 6830e2d..0e84302 100644 --- a/docs/overview/software-design-document.mdx +++ b/docs/overview/software-design-document.mdx @@ -892,7 +892,7 @@ DSL, Merlin has little to no ability to see the actual Java code comprising a mission model. Merlin must instead make inferences about the mission model based on its observable behavior. -Merlin is a spiritual successor to the +Merlin is a spiritual successor to the [Blackbird](https://trs.jpl.nasa.gov/handle/2014/52245) planning system, which similarly uses Java for activity and resource modeling. Blackbird's design shed light on the myriad choices made in designing @@ -1225,7 +1225,7 @@ constraint expression operators, while the leaf nodes represent the operands. For example, operator nodes enable expressions such as 'or', 'and', 'less than', 'greater than', while the operands are simulated resource profiles and activity instances. See our [constraints -documentation](../../constraints/examples) for complete examples. +documentation](../../scheduling-and-constraints/edsl/constraints/examples) for complete examples. ## Meta-Programming (Annotations Processing) diff --git a/docs/scheduling/assets/run-scheduling-analysis.png b/docs/scheduling-and-constraints/assets/run-scheduling-analysis.png similarity index 100% rename from docs/scheduling/assets/run-scheduling-analysis.png rename to docs/scheduling-and-constraints/assets/run-scheduling-analysis.png diff --git a/docs/scheduling/assets/run-scheduling.png b/docs/scheduling-and-constraints/assets/run-scheduling.png similarity index 100% rename from docs/scheduling/assets/run-scheduling.png rename to docs/scheduling-and-constraints/assets/run-scheduling.png diff --git a/docs/scheduling/assets/scheduling-error.png b/docs/scheduling-and-constraints/assets/scheduling-error.png similarity index 100% rename from docs/scheduling/assets/scheduling-error.png rename to docs/scheduling-and-constraints/assets/scheduling-error.png diff --git a/docs/scheduling/assets/scheduling-failed.png b/docs/scheduling-and-constraints/assets/scheduling-failed.png similarity index 100% rename from docs/scheduling/assets/scheduling-failed.png rename to docs/scheduling-and-constraints/assets/scheduling-failed.png diff --git a/docs/scheduling/assets/scheduling-success.png b/docs/scheduling-and-constraints/assets/scheduling-success.png similarity index 100% rename from docs/scheduling/assets/scheduling-success.png rename to docs/scheduling-and-constraints/assets/scheduling-success.png diff --git a/docs/constraints/concepts.md b/docs/scheduling-and-constraints/declarative/constraints/concepts.md similarity index 100% rename from docs/constraints/concepts.md rename to docs/scheduling-and-constraints/declarative/constraints/concepts.md diff --git a/docs/constraints/examples.md b/docs/scheduling-and-constraints/declarative/constraints/examples.md similarity index 100% rename from docs/constraints/examples.md rename to docs/scheduling-and-constraints/declarative/constraints/examples.md diff --git a/docs/constraints/introduction.mdx b/docs/scheduling-and-constraints/declarative/constraints/introduction.mdx similarity index 100% rename from docs/constraints/introduction.mdx rename to docs/scheduling-and-constraints/declarative/constraints/introduction.mdx diff --git a/docs/scheduling-and-constraints/declarative/introduction.mdx b/docs/scheduling-and-constraints/declarative/introduction.mdx new file mode 100644 index 0000000..e69de29 diff --git a/docs/scheduling/assets/goal-context-menu.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/goal-context-menu.png similarity index 100% rename from docs/scheduling/assets/goal-context-menu.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/goal-context-menu.png diff --git a/docs/scheduling/assets/goal-editor-edit.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/goal-editor-edit.png similarity index 100% rename from docs/scheduling/assets/goal-editor-edit.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/goal-editor-edit.png diff --git a/docs/scheduling/assets/goal-editor-new.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/goal-editor-new.png similarity index 100% rename from docs/scheduling/assets/goal-editor-new.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/goal-editor-new.png diff --git a/docs/scheduling/assets/invalid-recurrence-goal.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/invalid-recurrence-goal.png similarity index 100% rename from docs/scheduling/assets/invalid-recurrence-goal.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/invalid-recurrence-goal.png diff --git a/docs/scheduling/assets/scheduling-panel.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/scheduling-panel.png similarity index 100% rename from docs/scheduling/assets/scheduling-panel.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/scheduling-panel.png diff --git a/docs/scheduling/assets/scheduling-specification.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/scheduling-specification.png similarity index 100% rename from docs/scheduling/assets/scheduling-specification.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/scheduling-specification.png diff --git a/docs/scheduling/assets/xbeforey.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/xbeforey.png similarity index 100% rename from docs/scheduling/assets/xbeforey.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/xbeforey.png diff --git a/docs/scheduling/assets/xcontainsy.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/xcontainsy.png similarity index 100% rename from docs/scheduling/assets/xcontainsy.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/xcontainsy.png diff --git a/docs/scheduling/assets/xequalsy.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/xequalsy.png similarity index 100% rename from docs/scheduling/assets/xequalsy.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/xequalsy.png diff --git a/docs/scheduling/assets/xfinishesy.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/xfinishesy.png similarity index 100% rename from docs/scheduling/assets/xfinishesy.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/xfinishesy.png diff --git a/docs/scheduling/assets/xmeetsy.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/xmeetsy.png similarity index 100% rename from docs/scheduling/assets/xmeetsy.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/xmeetsy.png diff --git a/docs/scheduling/assets/xoverlapsy.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/xoverlapsy.png similarity index 100% rename from docs/scheduling/assets/xoverlapsy.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/xoverlapsy.png diff --git a/docs/scheduling/assets/xstartsy.png b/docs/scheduling-and-constraints/declarative/scheduling/assets/xstartsy.png similarity index 100% rename from docs/scheduling/assets/xstartsy.png rename to docs/scheduling-and-constraints/declarative/scheduling/assets/xstartsy.png diff --git a/docs/scheduling/global-conditions.mdx b/docs/scheduling-and-constraints/declarative/scheduling/global-conditions.mdx similarity index 100% rename from docs/scheduling/global-conditions.mdx rename to docs/scheduling-and-constraints/declarative/scheduling/global-conditions.mdx diff --git a/docs/scheduling/goals.mdx b/docs/scheduling-and-constraints/declarative/scheduling/goals.mdx similarity index 100% rename from docs/scheduling/goals.mdx rename to docs/scheduling-and-constraints/declarative/scheduling/goals.mdx diff --git a/docs/scheduling/introduction.mdx b/docs/scheduling-and-constraints/declarative/scheduling/introduction.mdx similarity index 64% rename from docs/scheduling/introduction.mdx rename to docs/scheduling-and-constraints/declarative/scheduling/introduction.mdx index e00b8df..70a7e1f 100644 --- a/docs/scheduling/introduction.mdx +++ b/docs/scheduling-and-constraints/declarative/scheduling/introduction.mdx @@ -1,8 +1,8 @@ # Scheduling -This guide explains how to use the scheduling service with the latest version of Aerie. +This guide explains how to use the declarative scheduling service with Aerie. The scheduling service allows you to add activities to a plan based on goals that you define (this is something called "goal based scheduling"). -Goals are defined in [TypeScript](https://www.typescriptlang.org/) using an embedded domain specific language (EDSL) provided by Aerie. +Declarative Goals are defined in [TypeScript](https://www.typescriptlang.org/) using an embedded domain specific language (EDSL) provided by Aerie. :::note diff --git a/docs/scheduling/modelling-temporal-relations.mdx b/docs/scheduling-and-constraints/declarative/scheduling/modelling-temporal-relations.mdx similarity index 100% rename from docs/scheduling/modelling-temporal-relations.mdx rename to docs/scheduling-and-constraints/declarative/scheduling/modelling-temporal-relations.mdx diff --git a/docs/scheduling/temporal-subset.md b/docs/scheduling-and-constraints/declarative/scheduling/temporal-subset.mdx similarity index 100% rename from docs/scheduling/temporal-subset.md rename to docs/scheduling-and-constraints/declarative/scheduling/temporal-subset.mdx diff --git a/docs/scheduling/run-scheduling.mdx b/docs/scheduling-and-constraints/execution.mdx similarity index 52% rename from docs/scheduling/run-scheduling.mdx rename to docs/scheduling-and-constraints/execution.mdx index 430155e..9e30d0b 100644 --- a/docs/scheduling/run-scheduling.mdx +++ b/docs/scheduling-and-constraints/execution.mdx @@ -1,35 +1,11 @@ -# Run Scheduling +# Execution -## Scheduling Specification +## Constraints -After you have created one or several goals, you will see them in the scheduling pane of the plan in Aerie UI. +Constraints can be checked inside the main plan view by opening the `Constraints` pane and clicking the checklist icon +in the top right of the pane. Alternatively, you can hover over `Constraints` in the top bar and click "Check Constraints". -The Aerie scheduler accepts a list of goals, and tries to satisfy them one by one by adding activities to your plan. We refer to this list of goals as a **scheduling specification**. Aerie creates one scheduling specification per plan. A goal's priority is a number reflecting that goal's position in the scheduling specification. The first goal will always have priority `0`, and the n-th goal will always have priority `n - 1`. Within a scheduling specification, a scheduling goal can be toggled enabled or disabled. A disabled scheduling goal will be excluded from scheduling execution. The priority ordering of the scheduling goals remains unchanged whether a goal is enabled or disabled. - -import schedulingSpecification from './assets/scheduling-specification.png'; - -
- Aerie UI - Scheduling Specification -
Figure 1: Aerie UI Scheduling Specification
-
- -In this image, you can see a specification with three goals. Goal 1 has priority `0`, and goal 3 has priority `2`. You can modify the priorities directly by typing numbers or use the arrows. You can disable a goal by toggling it off with the checkbox. - -:::caution - -You must use priorities in the `[0, n-1]` range, `n` being the number of goals. - -::: - -:::caution - -A given goal may be a part of zero or one specification - goals may not be shared between multiple specifications. If you need to do this, make a copy of the goal. - -There may be at most one specification at a time associated with a given plan. - -::: - -## Running the Scheduler +## Scheduling To run the scheduler, click on the play button: @@ -71,7 +47,7 @@ import schedulingSuccess from './assets/scheduling-success.png'; - `174` means that there are `174` activity directives that contribute to the satisfaction of the goal - `+3` means that 3 new activities have been inserted in the plan to satisfied the goal during the last scheduling run -## Running a Scheduling Analysis +### Running a Scheduling Analysis The scheduler has an analysis mode that will evaluate the satisfaction of goals but will not place any new activities. To run the scheduler in analysis mode, click on the "analysis" button: diff --git a/docs/scheduling-and-constraints/introduction.mdx b/docs/scheduling-and-constraints/introduction.mdx new file mode 100644 index 0000000..b5472de --- /dev/null +++ b/docs/scheduling-and-constraints/introduction.mdx @@ -0,0 +1,43 @@ +# Scheduling & Constraints + +Aerie provides related frameworks for defining constraints and scheduling new activities in the plan, and two implementations +of those frameworks: one for arbitrary procedures that run on the JVM, and a legacy system based on a declarative Typescript eDSL +(embedded Domain-Specific Language). Both frameworks are documented here, but new users are encouraged to focus on +creating JVM procedures. The declarative eDSL is significantly less capable, and the difference in capabilities is only expected to +grow. + +## Constraints + +Constraints represent what is nominal for a plan or mission model, and when executed, the UI will display "violations" +whenever the plan or model is off-nominal. They don't alter the behavior of the simulation engine or scheduler; they +just serve as a warning, indicating that some requirement - perhaps a flight rule - was broken. + +## Scheduling + +The scheduler allows users to automate the creation of new activities, to remove some cognitive load from planners. A +scheduling specification contains a list of goals and rules with a priority order; during a scheduling run, they are +executed one at a time, starting from a priority of 0 and increasing from there. + +### Procedural Goals + +Procedural goals directly edit the plan, creating new activities at definite (grounded) times. They +can simulate potential changes to the plan, but aren't required to. In fact, a scheduling specification composed entirely +of procedures might run in its entirety without performing any simulations, potentially at the cost of optimality or even +soundness. + +### eDSL Goals + +eDSL goals are more declarative, in that they don't allow you to directly create grounded activities; instead they allow +you to describe a pattern of activities that should be present in the plan. If the pattern isn't found, the goal tries to +create it for you. Currently eDSL goals are simpler to write than procedural goals, for patterns that they can represent. +Many goals are more complex than can be represented in the eDSL, and will have to be written as a procedure. + +### Global Conditions + +Global scheduling conditions (or sometimes just "conditions") are supplemental pieces of code that define when scheduling +goals can and cannot place activities. They are incorporated into the solver when attempting to resolve conflicts as +a substitute for constraints. This is because it is too difficult to respect constraints during scheduling; constraints +only indicate that something went wrong, not what caused it or how to fix it. So in cases when the scheduler keeps violating +constraints, users can create a condition as a heuristic to help it satisfy the constraint. + +Conditions will be accessible to scheduling rules, but will be non-binding. diff --git a/docs/scheduling-and-constraints/management.mdx b/docs/scheduling-and-constraints/management.mdx new file mode 100644 index 0000000..60dd740 --- /dev/null +++ b/docs/scheduling-and-constraints/management.mdx @@ -0,0 +1,41 @@ +# Management + +## Creating and Updating + +The recommended setup is to store goals/rules/conditions/constraints (hereafter called "peripheral code") +in one or more repositories outside Aerie, and uploading +them either through the UI or the unofficial [Aerie CLI](https://github.com/NASA-AMMOS/aerie-cli). + +For example, after creating a new goal as described in the following pages, you can upload it with the CLI using +`aerie-cli goals new `. A new goal will be created in Aerie with a default name of `MyGoal`. +See `aerie-cli goals new --help` for more details, such as automatically +associating it with a model or plan. To update a goal afterward, you can run `aerie-cli goals update `, +assuming that the default name was not changed. The same works for Typescript eDSL declarations, and similar workflows +will be implemented for constraints and conditions soon. + +## Model and Plan Association + +In Aerie, peripherals live independently of plans and models, and can be associated with +any number of plans and models, or none at all. Each model and plan has a scheduling specification and a constraints +specification, which is simply a list of peripherals to run during the scheduling or constraints actions, respectively. + +Model specifications are never run directly, and instead populate the default spec for any plans created from that model. +So if a particular constraint is widely applicable to all plans made from a particular model, you can associate it with +the model by navigating to `Models ->