HydPy-Test-Stiff-1D (test model for stiff ODEs and 1-dimensional sequences)¶
test_stiff1d
similar to test_stiff0d
but works on 1-dimensional sequences
instead of 0-dimensional sequences.
- class hydpy.models.test_stiff1d.Model[source]¶
Bases:
ELSModel
HydPy-Test-Stiff-1D (test model for stiff ODEs and 1-dimensional sequences).
- The following methods define the relevant components of a system of ODE equations (e.g. direct runoff):
Calc_QV_V1
Calculate the actual storage losses.
- The following methods define the complete equations of an ODE system (e.g. change in storage of fast water due to effective precipitation and direct runoff):
Calc_SV_V1
Calculate the actual storage contenst.
- REUSABLE_METHODS: ClassVar[tuple[type[ReusableMethod], ...]] = ()¶
- class hydpy.models.test_stiff1d.ControlParameters(master: Parameters, cls_fastaccess: type[FastAccessParameter] | None = None, cymodel: CyModelProtocol | None = None)¶
Bases:
SubParameters
Control parameters of model test_stiff1d.
- class hydpy.models.test_stiff1d.FluxSequences(master: Sequences, cls_fastaccess: type[TypeFastAccess_co] | None = None, cymodel: CyModelProtocol | None = None)¶
Bases:
FluxSequences
Flux sequences of model test_stiff1d.
- The following classes are selected:
QV()
Storage loss vector [mm/T]
- class hydpy.models.test_stiff1d.SolverParameters(master: Parameters, cls_fastaccess: type[FastAccessParameter] | None = None, cymodel: CyModelProtocol | None = None)¶
Bases:
SubParameters
Solver parameters of model test_stiff1d.
- The following classes are selected:
AbsErrorMax()
Absolute numerical error tolerance [mm/T].RelErrorMax()
Relative numerical error tolerance [1/T].RelDTMin()
Smallest relative integration time step size allowed [-].RelDTMax()
Largest relative integration time step size allowed [-].
- class hydpy.models.test_stiff1d.StateSequences(master: Sequences, cls_fastaccess: type[TypeFastAccess_co] | None = None, cymodel: CyModelProtocol | None = None)¶
Bases:
StateSequences
State sequences of model test_stiff1d.
- The following classes are selected:
SV()
Storage content vector[mm].