Package: rapsimng 0.5.1

rapsimng: APSIM Next Generation

The Agricultural Production Systems sIMulator ('APSIM') is a widely used to simulate the agricultural systems for multiple crops. This package is designed to create, modify and run 'apsimx' files in the 'APSIM' Next Generation <https://www.apsim.info/>.

Authors:Bangyou Zheng [aut, cre]

rapsimng_0.5.1.tar.gz
rapsimng_0.5.1.zip(r-4.7)rapsimng_0.5.1.zip(r-4.6)rapsimng_0.5.1.zip(r-4.5)
rapsimng_0.5.1.tgz(r-4.6-any)rapsimng_0.5.1.tgz(r-4.5-any)
rapsimng_0.5.1.tar.gz(r-4.7-any)rapsimng_0.5.1.tar.gz(r-4.6-any)
rapsimng_0.5.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
rapsimng/json (API)

# Install 'rapsimng' in R:
install.packages('rapsimng', repos = c('https://byzheng.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/byzheng/rapsimng/issues

Pkgdown/docs site:https://rapsimng.bangyou.me

On CRAN:

Conda:

apsimapsimx

6.51 score 12 stars 15 scripts 294 downloads 42 exports 30 dependencies

Last updated from:3b66313902. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK152
source / vignettesOK200
linux-release-x86_64OK151
macos-release-arm64OK91
macos-oldrel-arm64OK108
windows-develOK113
windows-releaseOK91
windows-oldrelOK83
wasm-releaseOK133

Exports:append_modelcalc_cum_damage_frost_heatcalc_daily_damage_frost_heatcum_damage_frostcum_damage_frost_heatcum_damage_heatdaily_damage_frostdaily_damage_frost_heatdaily_damage_heatdefault_frost_heat_paramsdisable_modelsget_cultivarget_experimentget_metfileget_parentget_pawcget_simulationsinsert_modelinsert_modelsinstall_apsimngkeep_simulationslist_reportlog_levelminimum_apsimngnew_cultivarnew_modelread_apsimxread_reportremove_modelreplace_modelrun_modelssearch_nodesearch_pathset_parameter_valuesplit_apsimxstage_sens_froststage_sens_heattemp_damage_frosttemp_damage_heatupdate_cultivarwith_apsimxwrite_apsimx

Dependencies:bitbit64blobcachemclicpp11DBIdplyrfastmapgenericsgluejsonlitelifecyclemagrittrmemoiseoptreepillarpkgconfigpurrrR6rlangRSQLitestringistringrtibbletidyselecttidyweatherutf8vctrswithr

Modify apsimx file
Read apsimx file | Modify existing model | Create new model | Update cultivar parameter values

Last update: 2026-05-06
Started: 2020-10-01

Generate apsimx file for sensitivity analysis

Last update: 2022-07-11
Started: 2021-03-15

Readme and manuals

Help Manual

Help pageTopics
append a model into apsimxappend_model
Disable models in apsimxdisable_models
Frost and Heat Damage Functionscalc_cum_damage_frost_heat calc_daily_damage_frost_heat cum_damage_frost cum_damage_frost_heat cum_damage_heat daily_damage_frost daily_damage_frost_heat daily_damage_heat default_frost_heat_params frost_heat_damage stage_sens_frost stage_sens_heat temp_damage_frost temp_damage_heat
Get all cultivar parameters in a modelget_cultivar
Get an experiment node by nameget_experiment
Get the met file name for an experimentget_metfile
Get the parent node from a pathget_parent
Estimate Plant Available Water Capacity (PAWC) from an apsimx fileget_pawc
Get simulations for a factorial experimentget_simulations
Insert a model into apsimxinsert_model
Insert models into apsimxinsert_models
Install ApsimNG Softwareinstall_apsimng
Keep simulations for a factorial experimentkeep_simulations
List all reports in the databaselist_report
Set the log level of apsimx filelog_level
Create the minimum requirements to run an APSIM Next Generationminimum_apsimng
Generate new cultivars with parameter which can be used in Replacementsnew_cultivar
Create a new modelnew_model
Read APSIMX fileread_apsimx
Read apsimx database in db file formatread_report
Remove a model with new valuesremove_model
Replace a model with new valuesreplace_model
Run apsimx file using Models.exerun_models
Find element(s) in apsimx filesearch_node
Find a model in the apsimx file using specified pathsearch_path
Set a parameter with a new valueset_parameter_value
Split an APSIMX file into separate simulations except cultivarsplit_apsimx
Test whether all files under published folder of apsimx are requiredtest_apsimx
Title Update the cultivar parametersupdate_cultivar
Run APSIM Next Generation Simulations in a Temporary Folderwith_apsimx
Write APSIMX filewrite_apsimx