GetICs
get the initial conditions of the active MapleSim subsystem
Calling Sequence
Parameters
Returns
Options
Description
Notes
Examples
A := MapleSim:-LinkModel();
A:-GetICs(options)
options
-
(optional) equation(s) of the form name = value
set : set of the active subsystem's initial conditions
toplevel : true or false
Specifies whether the top-level initial conditions should be returned regardless of the active subsystem setting. Default is false.
params : set or list
Specifies which, if any, new parameter values to use for the calculation of the initial conditions. Default is {}.
A:-GetICs returns a set A's active subsystem's initial conditions.
The A := MapleSim:-LinkModel() statement needs to be run prior to successfully using any of the ModelObject A's export functions.
The active subsystem's initial conditions will always be a subset of the entire system's initial conditions (same values) with the addition of initial conditions for the subsystem's input ports
Link to a MapleSim model (located in .msim file):
Set the active subsystem to an RLC circuit subsystem:
Get the initial conditions of the active subsystem:
See Also
MapleSim
MapleSim[LinkModel]
Download Help Document