Stage

class moba_muscod.muscod_config.Config.Stage
boundStartValues()

Force start values to be between lower and upper bounds.

grid

Multiple shooting grid.

hFixed

Model stage duration fixed value flag.

If hFixed = 1, duration of model stage is fixed.

hlbound

Lower bound of time horizon.

hscale

Scale value of time horizon.

hstart

Start value of time horizon.

hubound

Upper bound of time horizon.

libind

Name of ODE solver for this stage.

Possible choices are:

  • ‘ind_daesol’: Our preferred variable order variable step size BDF method for stiff and non-stiff ODE systems. (default)
  • ‘ind_rkf12’: The 1st/2nd order Runge-Kutta-Fehlberg method.
  • ‘ind_rkf23’: The 2nd/3rd order Runge-Kutta-Fehlberg method.
  • ‘ind_rkf45’: Our preferred Runge–Kutta solver, the 4th/5th order Runge-Kutta-Fehlberg method.
  • ‘ind_rkf45adj’: The 4th/5th order Runge-Kutta-Fehlberg method, capable of computing adjoint sensitivities.
  • ‘ind_rkf78’: The 7th/8th order Runge-Kutta-Fehlberg method.
nmsi

Number of multiple shooting intervals.

npr

Number of local parameters.

nu

Number of controls.

nxa

Number of algebraic states.

nxd

Number of differential states.

ny

Number of outputs.

randomStartArrays()

Set random guess values for all variables that are not fixed.

u_type

Controls discretization type.

uname

Names of controls.

xdname

Names of differential states.

yname

Names of outputs.