How to Add Custom Rows to an AnyLogic Exporter Report
AdditionalRowExportTotalOutput row = new AdditionalRowExportTotalOutput( "Custom Product Output", 4, processUnit, productId ); main.resultsExporter.addAdditionalRow(row); AdditionalRowExportTotalOutput row = new AdditionalRowExportTotalOutput( "Custom Product Output", 4, processUnit, productId );
main.resultsExporter.addAdditionalRow(row); exportRows.put( new ExportKey(prlObject, productId, outputLabel), row ); ExportKey key = new ExportKey(processUnit, productId, outputLabel);
AdditionalRowExportTotalOutput row = exportRows.get(key); row.addStepValue(value); double value = getMass(fluidBlock);
row.addStepValue(value); ExportKey key = new ExportKey(processUnit, productId, outputLabel);
AdditionalRowExportTotalOutput row = exportRows.get(key);
if (row == null) { throw new IllegalStateException("Export row not found"); } row.addStepValue(value); AdditionalRowExportTotalOutput row = new AdditionalRowExportTotalOutput( "Custom Product Output", 4, processUnit, productId );
main.resultsExporter.addAdditionalRow(row);
ExportKey key = new ExportKey(processUnit, productId, outputLabel);
exportRows.put(key, row); AdditionalRowExportTotalOutput row = exportRows.get(key);
double value = getMass(fluidBlock);
row.addStepValue(value);