public interface Ode extends ModelEntity
Modifier and Type | Method and Description |
---|---|
java.lang.String |
descr(java.lang.String state)
Returns the description for a state.
|
Ode |
descr(java.lang.String state,
java.lang.String descr)
Sets the description for the state.
|
java.lang.String |
ode(java.lang.String state)
Returns the ode for a state.
|
Ode |
ode(java.lang.String state,
java.lang.String equation)
Sets the equation for a state.
|
java.lang.String[] |
state()
Returns the state vector.
|
Ode |
state(int pos,
java.lang.String state)
Sets a state of the the global equation.
|
Ode |
state(java.lang.String[] statelist)
Sets the states of the global equation.
|
java.lang.String |
type()
Returns the type of global equation, which can be
normal ,control , discrete , or
quadrature .The control type is used to
mark an ode as intended only for use by the optimization and
sensitivity solvers. |
Ode |
type(java.lang.String type)
Returns the type of global equation, which can be
normal ,control , discrete , or
quadrature .The control type is used to
mark an ode as intended only for use by the optimization and
sensitivity solvers. |
java.lang.String |
valueType()
Returns the value type.
|
Ode |
valueType(java.lang.String valueType)
Sets value type as real or complex when splitting of complex variables
in real and imaginary parts has been turned on.
|
java.lang.String[] |
weak()
Returns all weak equations.
|
Ode |
weak(int pos,
java.lang.String wexpr)
Sets a weak equation at a position.
|
Ode |
weak(java.lang.String[] wlist)
Sets the weak equations.
|
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
getContainer, getDisplayString
java.lang.String descr(java.lang.String state)
state
- State.Ode descr(java.lang.String state, java.lang.String descr)
state
- State name.descr
- Description.java.lang.String ode(java.lang.String state)
state
- State.Ode ode(java.lang.String state, java.lang.String equation)
state
- State name.equation
- Equation.java.lang.String[] state()
Ode state(java.lang.String[] statelist)
statelist
- Vector of states.Ode state(int pos, java.lang.String state)
pos
- Index of state.state
- State.java.lang.String type()
normal
,control
, discrete
, or
quadrature
.control
type is used to
mark an ode as intended only for use by the optimization and
sensitivity solvers. A control variable ode should never actually be
solved for by the basic solvers, while an optimization solver will
modify them in its outer loop.discrete
type is
only used for events, and represents variables that can change by the
re-initialization of a triggered event.quadrature
type is used by events to define indicator
states that indicates when an event will be triggered.Ode type(java.lang.String type)
normal
,control
, discrete
, or
quadrature
.control
type is used to
mark an ode as intended only for use by the optimization and
sensitivity solvers. A control variable ode should never actually be
solved for by the basic solvers, while an optimization solver will
modify them in its outer loop.discrete
type is
only used for events, and represents variables that can change by the
re-initialization of a triggered event.quadrature
type is used by events to define indicator
states that indicates when an event will be triggered.type
- Type of global equation.java.lang.String valueType()
real
or complex
.Ode valueType(java.lang.String valueType)
valueType
- Value type: real
or complex
.java.lang.String[] weak()
Ode weak(java.lang.String[] wlist)
wlist
- List of weak expressions.Ode weak(int pos, java.lang.String wexpr)
pos
- Position.wexpr
- .