This function allows adding custom attributes to the APSIMX object, which can be used to store additional metadata or assumptions related to the decision session. It ensures that all relevant information is encapsulated within the APSIMX object for easy access during later stages of the workflow.
.add_attribute(apsimx, attribute_name, attribute_value)APSIM model object as returned by rapsimng::read_apsimx().
Character scalar name of the attribute to add.
List containing the attribute values to add.