You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- This block is for non symbolic input arguments. These are for inputs that usually are not meant to be part of components; but influence how they are defined. One can list inputs like boolean flags, functions etc... here.
108
112
- Whenever default values are specified, unlike parameters/variables, they are reflected in the keyword argument list.
109
113
114
+
#### `@constants` begin block
115
+
116
+
- Declare constants in the model definition.
117
+
- The values of these can't be changed by the user.
118
+
- This works similar to symbolic constants described [here](@ref constants)
119
+
110
120
#### `@parameters` and `@variables` begin block
111
121
112
122
- Parameters and variables are declared with respective begin blocks.
@@ -220,7 +230,8 @@ end
220
230
221
231
`structure` stores metadata that describes composition of a model. It includes:
222
232
223
-
-`:components`: List of sub-components in the form of [[name, sub_component_name],...].
233
+
-`:components`: The list of sub-components in the form of [[name, sub_component_name],...].
234
+
-`:constants`: Dictionary of constants mapped to its metadata.
224
235
-`:extend`: The list of extended unknowns, name given to the base system, and name of the base system.
225
236
-`:structural_parameters`: Dictionary of structural parameters mapped to their metadata.
226
237
-`:parameters`: Dictionary of symbolic parameters mapped to their metadata. For
@@ -239,6 +250,7 @@ Dict{Symbol, Any} with 9 entries:
0 commit comments