You're reading the documentation for a development version. For the latest stable documentation, please have a look at v5.1.X.
Solver Configuration#
Group /input/solver#
NTHREADSNumber of used threads (optional, defaults to \(0\)). A value of \(0\) lets the runtime choose the number of threads. In a non-parallelized build, only the value \(1\) is accepted.
Type: int
Range: \(\geq 0\)
Length: 1
USER_SOLUTION_TIMESVector with timepoints at which the solution is evaluated. Optional: if not specified, the solution is written for every time integration step, which may be many, leading to large output files.
Unit: \(\mathrm{s}\)
Type: double
Range: \(\geq 0\)
Length: Arbitrary
USER_SOLUTION_TIMES_UNIT_STATEVector with timepoints at which the solution is evaluated and, if the according fields (see e.g.
WRITE_BULK_SOLUTION) are enabled, the unit state solutions are written at these time points. This way, the unit state solutions can be written at a different time resolution than e.g. the outlet solution. Optional: if not specified, the solution is evaluated and written according toUSER_SOLUTION_TIMES.Unit: \(\mathrm{s}\)
Type: double
Range: \(\geq 0\)
Length: Arbitrary
CONSISTENT_INIT_MODEConsistent initialization mode (optional, defaults to \(1\)). Valid values are:
None
Full
Once, full
Lean
Once, lean
Full once, then lean
None once, then full
None once, then lean
Type: int
Range: \(\{ 0, \dots, 7\}\)
Length: 1
CONSISTENT_INIT_MODE_SENSConsistent initialization mode for parameter sensitivities (optional, defaults to \(1\)). Valid values are:
None
Full
Once, full
Lean
Once, lean
Full once, then lean
None once, then full
None once, then lean
Type: int
Range: \(\{ 0, \dots, 7\}\)
Length: 1
TIMEOUTTimeout in seconds. Simulation is aborted if wall clock time exceeds the provided value. Values less than or equal \(0\) are ignored (i.e., no timeout is applied).
Type: double
Range: \(\mathbb{R}\)
Length: 1
Group /input/solver/time_integrator#
USE_MODIFIED_NEWTONSpecifies whether modified or full Newton method should be used (optional, defaults to \(0\))
Type: int
Range: \(\{0, 1\}\)
Length: 1
ABSTOLAbsolute tolerance in the solution of the original system
Type: double
Range: \(> 0\)
Length: 1
RELTOLRelative tolerance in the solution of the original system
Type: double
Range: \(\geq 0\)
Length: 1
ALGTOLTolerance in the solution of the nonlinear equations for consistent initialization
Type: double
Range: \(> 0\)
Length: 1
RELTOL_SENSRelative tolerance in the solution of the sensitivity systems
Type: double
Range: \(\geq 0\)
Length: 1
INIT_STEP_SIZEInitial time integrator step size for each section or one value for all sections (0.0: IDAS default value), see IDAS documentation.
Unit: \(\mathrm{s}\)
Type: double
Range: \(\geq 0\)
Length: \(1 / \texttt{NSEC}\)
MAX_STEPSMaximum number of timesteps taken by IDAS (0: IDAS default = 500), see IDAS documentation.
Type: int
Range: \(\geq 0\)
Length: 1
MAX_STEP_SIZEMaximum size of timesteps taken by IDAS (optional, defaults to unlimited 0.0), see IDAS documentation.
Unit: \(\mathrm{s}\)
Type: double
Range: \(\geq 0\)
Length: 1
ERRORTEST_SENSDetermines whether (forward) sensitivities take part in local error test (optional, defaults to 1)
Type: int
Range: \(\{0,1\}\)
Length: 1
MAX_NEWTON_ITERMaximum number of Newton iterations in time step (optional, defaults to 4 (IDAS default))
Type: int
Range: \(\geq 0\)
Length: 1
MAX_ERRTEST_FAILMaximum number of local error test failures in time step (optional, defaults to 10 (IDAS default))
Type: int
Range: \(\geq 0\)
Length: 1
MAX_CONVTEST_FAILMaximum number of Newton convergence test failures (optional, defaults to 10 (IDAS default))
Type: int
Range: \(\geq 0\)
Length: 1
MAX_BDF_ORDERMaximum order of BDF time integration method (optional, defaults to 5)
Type: int
Range: \(\{1,2,3,4,5\}\)
Length: 1
MAX_NEWTON_ITER_SENSMaximum number of Newton iterations in forward sensitivity time step (optional, defaults to 4 (IDAS default))
Type: int
Range: \(\geq 0\)
Length: 1
Group /input/solver/sections#
SECTION_TIMESSimulation times at which the model changes or behaves discontinuously; including start and end times
Unit: \(\mathrm{s}\)
Type: double
Range: \(\geq 0\)
Length: \(\texttt{NSEC}+1\)
SECTION_CONTINUITYContinuity indicator for each section transition: 0 (discontinuous) or 1 (continuous). Optional, defaults to all 0.
Type: int
Range: \(\{0,1\}\)
Length: \(\texttt{NSEC}-1\)