View source: R/hydroVerification.R
hydroVerification | R Documentation |
It takes the optimisation results of a model and reruns the simulations in a verification period. Only applicable when the results of the previous optimisation were done with fn=='hydromod' | fn=='hydromodInR'
hydroVerification(Results,
fn = NULL,
control = list(),
model.FUN = NULL,
model.FUN.args = list())
Results |
( |
fn |
( When |
control |
( |
model.FUN |
( |
model.FUN.args |
( |
(list
)
(data.frame
)
History of positions of each Pareto Front particles in all iterations. In this data.frame
, the first column indicates the simulation number Sim
, in ascending order from the first simulation (first iteration, phase 1) to the last simulation (last iteration, phase 2); then as many columns as objectives treated, being identified with the assigned name; and finally, as many columns as decision variables (parameters).
(data.frame
)
Filled Pareto front degraded in verification period. Keep in mind that strictly speaking this is not a Pareto Front since it is reached only by extending the solutions of the original front obtained by calibration to a verification period.
(data.frame
)
Perticles from filled Pareto Front. In this data.frame
, the first column indicates the simulation number Sim
; then as many columns as objectives treated, being identified with the assigned name; and finally, as many columns as decision variables (parameters). Note that in the objective columns the original calibration values have been replaced by those of the filled Pareto front degraded in verification period.
(list
)
Time series of the model output variables in verification period, for all solutions of the filled Pareto Front obtained in calibration period. This list has as many objects as output variables, and each one corresponds to an object of class zoo with as many columns as solutions of the filled Pareto Front.
(data.frame
)
Best compromise solution, i.e., the solution with the minimum Euclidean distance from the maximum values of each objective, in calibration period. data.frame with only one row and several columns: the first column indicates the simulation number Sim
; then as many columns as objectives treated, being identified with the assigned name; and finally, as many columns as decision variables (parameters). Note that in the objective columns the original calibration values have been replaced by those obtained in the verification period.
(list
)
Time series of the model output variables in verification period, just for the best compromise solution obtained in calibration period. This list has as many objects as output variables, and each one corresponds to an object of class zoo with a single time serie.
(list
)
Solutions that minimise/maximise each of the objectives, obtained in calibration period. data.frame with only one row. In a first level, this list has as many objects as objectives involves in the optimisation, each one with a data.frame with only one row and several columns: the first column indicates the simulation number Sim
; then as many columns as objectives treated, being identified with the assigned name; and finally, as many columns as decision variables (parameters). Note that in the objective columns the original calibration values have been replaced by those obtained in the verification period.
(list
)
Time series of the model output variables in verification period, for the maximisation/minimisation of each objective in calibration. In a first level, this list has as many objects as objectives involves in the optimisation and, in a second level, each one corresponds to a list with as many objects as output variables, each one corresponding to an object of class zoo with a single time serie.
(character
)
String indicating the analysis period, in this case "verification"
.
(numeric
)
Number of decimal places used in dominance check. Fewer decimal places (say, 16, 8, or 4, for example) may be necessary to prevent the algorithm from resulting in solutions that are nearly the same.
(data.frame
)
Name of each of the objectives (Obj1, Obj2, ...
).
(data.frame
)
Specification on whether the objectives are maximised or minimised, must be in c("max", "min")
.
(list
)
Observed values of each of the variables involved in the optimisation, but now of the verification period. Keep in mind that the same format indicated as mandatory input data Obs
within the FUN
function is maintained.
(data.frame
)
Number of objectives and number of output variables involved in the optimisation.
(data.frame
)
Name and unit of measure of the output variables involved in the optimisation (var1, var1_unit, var2, var2_unit, ...
).
(data.frame
)
Time series indicating the warm-up period used in the optimisation.
(data.frame
)
Time series indicating the calibration period used in the optimisation.
1) The intended workflow is that first you must have the results of the optimisation done with the hydroMOPSO
function, which are then entered into this function (hydroVerification
)
Rodrigo Marinao Rivas ra.marinao.rivas@gmail.com, Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com
hydroMOPSO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.