MaplesimCompilerOptions

Defines the MapleSim compiler options.

    MaplesimCompilerOptions

Library

Activate/Misc

Parameters

MaplesimCompilerOptions_0

NameLabelDescriptionData TypeValid Values

optimize

optimize

Specifies the level of code optimization.

Structure

optimize/True

true

Results in full optimization.

Number

0
1

optimize/False

false

Do not perform optimization.

Number

0
1

optimize/Fast

fast

Performs subexpression and some additional fast optimizations.

Number

0
1

optimize/SubExprOnly

subexpronly

Optimizes only simple expressions.

Number

0
1

coniter

coniter

Specifies constraint iteration count.

Scalar

contol

contol

Specifies constraint tolerance.

Scalar

eviter

eviter

Specifies the maximum number of event iterations.

Scalar

evtproj

evtproj

Specifies the use of projection in events.

Number

0
1

evthyst

evthyst

Specifies the width of the event hysteresis band.

Scalar

cs

CoSimulation

Generates Cosimulation code.

Number

0
1

cs_solver

Cosimulation Solver

Specifies the solver for cosimulation.

Structure

cs_solver/Euler

Euler

Number

0
1

cs_solver/ImplicitEuler

Implicit Euler

Number

0
1

cs_solver/RK2

RK2

Number

0
1

cs_solver/RK3

RK3

Number

0
1

cs_solver/RK4

RK4

Number

0
1

cs_solver/RKF45

RKF45

Number

0
1

cs_solver/CK45

CK45

Number

0
1

cs_solver/SDIRK

SDIRK

Number

0
1

cs_solver/Rosenbrock

Rosenbrock

Number

0
1

cs_stepsize

Cosimulation Step Size

Specifies the step size for cosimulation

Scalar

script

MapleSim debug script

String