Skip to contents

Write a per-agent Climate BDA input file

Usage

writeAgentFile(agent, base_path)

Arguments

agent

BDAAgent object (see bdaAgent()).

base_path

Character. Path to the extension's directory; the per-agent file is written to <base_path>/bda/<agent$name>.txt.

Value

Character. The relative path to the written file (relative to base_path), suitable for inclusion in the main file's BDAInputFiles block.