-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change ModelSpec to allow for simple array of input/output var …
- Loading branch information
1 parent
af4abbe
commit 3130901
Showing
22 changed files
with
382 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
[@sdeverywhere/build](../index.md) / ResolvedModelSpec | ||
|
||
# Interface: ResolvedModelSpec | ||
|
||
Describes a model (e.g., a Vensim mdl file) and the input/output variables | ||
that should be included in the model generated by SDEverywhere. This is | ||
largely the same as the `ModelSpec` interface, except this one has been | ||
fully resolved (paths have been validated, input and output variables have | ||
been checked, etc). This is the spec object that will be passed to plugin | ||
functions. | ||
|
||
## Properties | ||
|
||
### inputVarNames | ||
|
||
**inputVarNames**: `string`[] | ||
|
||
The input variable names for the model. This will be defined regardless | ||
of whether `ModelSpec.inputs` was defined as an array of variable names | ||
or an array of `InputSpec` instances. (The input variable names are | ||
derived from the `InputSpec` instances as needed.) | ||
|
||
___ | ||
|
||
### inputs | ||
|
||
**inputs**: [`InputSpec`](InputSpec.md)[] | ||
|
||
The input variable specs for the model. | ||
|
||
___ | ||
|
||
### outputVarNames | ||
|
||
**outputVarNames**: `string`[] | ||
|
||
The output variable names for the model. This will be defined regardless | ||
of whether `ModelSpec.outputs` was defined as an array of variable names | ||
or an array of `OutputSpec` instances. (The output variable names are | ||
derived from the `OutputSpec` instances as needed.) | ||
|
||
___ | ||
|
||
### outputs | ||
|
||
**outputs**: [`OutputSpec`](OutputSpec.md)[] | ||
|
||
The output variable specs for the model. | ||
|
||
___ | ||
|
||
### datFiles | ||
|
||
**datFiles**: `string`[] | ||
|
||
The dat files that provide the data for exogenous data variables in the | ||
model. | ||
|
||
___ | ||
|
||
### options | ||
|
||
`Optional` **options**: `Object` | ||
|
||
Additional options included with the SDE `spec.json` file. | ||
|
||
#### Index signature | ||
|
||
▪ [key: `string`]: `any` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[@sdeverywhere/build](../index.md) / VarName | ||
|
||
# Type alias: VarName | ||
|
||
**VarName**: `string` | ||
|
||
A variable name as used in the modeling tool. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.