Package net.simplace.sim.components.util
package net.simplace.sim.components.util
Sim components that perform auxiliary technical calculations
WIKI_START
== Overview ==
The components from this package perform auxiliary technical calculations
like counting or transforming of array values.
They act more as transformers or management components, but are used
where normal transformers don't work (e.g. when transformations have to
be performed during simulation in dependence of actual values) or
management rules would be rather complicated.
See individual sim component documentation for details.
WIKI_END
- See Also:
-
ClassDescriptionResamples array values from one resolution to another resolution WIKI_START The resolutions of original dataset and resampled datasets are determined by the arrays `iOriginalDepths` ($D_o$) and `iResampledDepths` ($D_r$) which contains the depths of the layers' bottom.Defines some helper functions similar to some FST functions (FortranSimulationTranslator) WIKI_START Defines some of the FST-Functions (sometimes with different signatures than the original FST ones). == References: == (FST) [https://www.wageningenur.nl/en/Publication-details.htm?Calculate values of a function defined by tables.Interpolates values from a table of x and y values.Scales and shifts DOUBLEARRAY SimVariables.Provides a resettable counter of simulation days.Calculates simple moving average of a variable (non centered) WIKI_START == Averaging == Calculates the simple moving average by taking the sum of the last `cDays` values of the variable `iValue` and dividing by the number of days with available data during the averaging window.Creates an table from two scalar values.