Solver Arrays
Specify a list of variables or constants that can be referenced by other entities
In the below formulations, the vectors x(t) (states), u(t) (inputs), and y(t) (outputs) are referred to as solver arrays.
Dynamic systems can be characterized in two ways:
- Linear Dynamical Systems
-
These are defined by four constant matrices: A, B, C, and D, related to the system as follows:
- State dynamics: xd(t) = A x(t) + B u(t)
- System outputs: y(t) = C x(t) + D u(t)
- A (State matrix): Defines the system dynamics. For n states, A is an n × n matrix. Either A, B, or A + B must be non-singular.
- B (Input matrix): Defines how inputs affect states. For m inputs, B is an n × m matrix.
- C (Output matrix): Defines how states affect outputs. For p outputs, C is a p × n matrix.
- D (Feedthrough matrix): Defines how inputs directly affect outputs. D is a p × m matrix.
- Nonlinear Dynamical Systems
-
These are defined by two vector functions, F() and G(), related to the system as follows:
- State dynamics: xd(t) = F(x(t), u(t))
- System outputs: y(t) = G(x(t), u(t))
- F(x, u): Returns the time derivative of the state vector given the current state x(t) and input u(t).
- G(x, u): Returns the outputs given the current state x(t) and input u(t).
Both functions can be implemented through user-defined subroutines (for example, StateEquations) or by coupling with another solver.
Solver Array Properties
Descriptions of solver array properties in the Property Editor.
| Property Name | Description | |||
|---|---|---|---|---|
| General | ||||
| Name | Name of the entity | |||
| Variable Name | The variable name, a unique identifier string of the entity | |||
| ID | A unique identifying integer | |||
| Properties | ||||
| Type | Array type options If X or Y are selected, no other information is needed. All other types have additional options available as described below.
|
|||
| Notes and Tags | ||||
| Attachment Candidate | Add an attachment candidate tag. See Attachments. | |||