Skip to content

Solver Settings

Solver settings control the behavior of the RAMSES simulation engine. They are specified as records starting with $ in the data files.

Sampling time for observed variables:

$PLOT_STEP time(s) ;

Display profiling results after simulation:

$DISP_PROF T/F ;

Refresh interval for runtime observable plots (requires Gnuplot):

$GP_REFRESH_RATE time_interval(s) ;

Sets the global base power of the system:

$S_BASE BASE(MVA) ;
FNOM Frequency(Hz) ;
$OMEGA_REF SYN/COI ;
  • SYN — Synchronous reference frame (suitable for short-term simulations)
  • COI — Center of inertia reference (suitable for long-term simulations)

See Reference Frames for details.

$NEWTON_TOLER NETWORK_TOLERANCE INJ_RELATIVE_TOLERANCE INJ_ABSOLUTE_TOLERANCE ;

Default values: 1e-03, 5e-04, 5e-04.

Values used to compute Jacobian matrices of injectors numerically:

$FIN_DIFFER proportional_value absolute_value ;

Disable partial Jacobian updates (force full update at every step):

$FULL_UPDATE T/F ;

Activate/deactivate skipping of converged injectors in Newton iterations:

$SKIP_CONV T/F ;
$MAX_FAULT value ;
$SCHEME DE/IN ;
  • DE — Decomposed scheme
  • IN — Integrated scheme
$LATENCY OBS_TIME_WINDOW(s) EARLY_STOP(T/F) ;
$T_LOAD_REST time(s) ;

Update network elements (admittances) with frequency:

$NET_FREQ_UPD T/F ;
$NB_THREADS Number ;
$OMP STA/DYN/GUI chunk ;
OptionDescription
STAStatic assignment (better for NUMA architectures)
DYNDynamic assignment (better for UMA architectures)
GUIGuided assignment

chunk is the number of consecutive injectors assigned to each thread.

# System base
$S_BASE 100. ;
FNOM 50. ;
# Reference frame (COI for long-term)
$OMEGA_REF COI ;
# Solution scheme
$SCHEME IN ;
# Solver tolerances
$NEWTON_TOLER 1e-03 5e-04 5e-04 ;
# Plotting
$PLOT_STEP 0.01 ;
# Parallel computing
$NB_THREADS 2 ;
$OMP DYN 50 ;
# Acceleration features
$SKIP_CONV T ;
$FULL_UPDATE F ;