Apsim Next Gen can be used to do your normal functions as you would from the full version.
Navigate to where you have apsim next gen installed, on Windows it’s installed by default under:
C:\Program Files\APSIM<Version-number>\bin
replace <version-number> with your current version number.
Use:
Models.exe --apply <configFileName.txt>
Note: Above command can only be used when load is the first command in the configFile.
or
Use:
Models.exe <pathToApsimxFile> --apply <configFileName.txt>
A config file is simply a text file with a simple command on each line.
save C:\TestSims\wheatTest.apsimx
load C:\TestSims\wheatTest.apsimx
add [ParentNodeName] childNodeName
add [ParentNodeName] exampleApsimFile.apsimx;[nodeName]
delete [ParentNodeName].childNodeName
copy [NodeName] [AnotherNodesName]
duplicate [NodeName].ChildNodeName.ChildNodeName NewName
[Weather].FileName=Dalby.met
#
or /
# Makes a new apsimx file and builds it up to something that will run
# Dalby.met needs to be in C:\TestSims\
load C:\TestSims\minimalSim.apsimx
# Add various nodes to the Simulations node.
add [Simulations] Simulation
add [Simulations] Experiment
add [Simulation] Summary
add [Simulation] Clock
add [Simulation] Weather
# Change data in various nodes.
[Weather].FileName=Dalby.met
[Clock].Start=1900/01/01
[Clock].End=1900/01/31
# Makes a copy of the simulation named Simulation and moves it to the Experiment node named Experiment.
copy [Simulation] [Experiment]
# Duplicate the simulation in the experiment
duplicate [Experiment].Simulation
# Deletes the original Simulation.
delete [Simulations].Simulation
# Saves the Simulation to new file.
save C:\TestSims\newMinimalSim.apsimx
# Runs the simulation.
run