SolverModel#

class ebtelplusplus.models.SolverModel(tau=<Quantity 1. s>, tau_max=<Quantity 10. s>, use_adaptive_solver=True, adaptive_solver_error=1e-06, adaptive_solver_safety=0.5)[source]#

Bases: object

ebtelplusplus input parameters related to the numerical solver

Parameters:
  • tau (Quantity) – Time step if using adaptive solver, the initial timestep

  • tau_max (Quantity) – Maximum allowed time step when using adaptive solver

  • use_adaptive_solver (bool) – If true, use an adaptive timestepping routine

  • adaptive_solver_error (float) – Allowed truncation error in adaptive timestep routine

  • adaptive_solver_safety (float) – Refinement factor, between 0 and 1, used if timestep becomes too large and solution contains NaNs. Especially important for short, infrequently heated loops. Also controls decreases in timestep due to thermal conduction timestep.

Attributes Summary

Methods Summary

Attributes Documentation

adaptive_solver_error: float = 1e-06#
adaptive_solver_safety: float = 0.5#
tau: Annotated[Quantity, Unit('s')] = <Quantity 1. s>#
tau_max: Annotated[Quantity, Unit('s')] = <Quantity 10. s>#
use_adaptive_solver: bool = True#

Methods Documentation

to_dict()[source]#