atlantisfmsy_completion: Test Fmsy simulation completion.

View source: R/atlantisfmsy_check.R

atlantisfmsy_completionR Documentation

Test Fmsy simulation completion.

Description

It determines the F with the maximum cacth in the file Fmsy_XXX.txt and compares it to the two values of F planned for the next round of simulation stored in the file Fnext_simu.txt. If all the value are the same the Fmsy for the functional group func_grp has been found.

Usage

atlantisfmsy_completion(func_grp, output_path)

Arguments

func_grp

The code of the Atlantis functional group for which Fmsy will be estimated.

output_path

The directory of the output files.

Value

end A variable with three posibilities: (0) Fmsy isn't reached, (1) Fmsy is reached, and (2) no Fmsy have been found so fmax need to be increased.

See Also

read.table to open table stored in text files (.txt, .csv ...).

Examples

atlantisfmsy_completion("COD", "C:/Atlantis/AtlantisEEC/AtlantisMSY/COD/output")
atlantisfmsy_completion("COD", "/home/Atlantis/AtlantisEEC/AtlantisMSY/COD/output")

rgirardi/atlantisfmsy documentation built on Aug. 30, 2022, 9:11 a.m.