The code for simulating increased resource flow toward maximum power used in https://doi.org/10.1371/journal.pone.0229956 Usage:
java MainController parameter_file_path
Example parameter CSV file included (maxpower_param.csv)
Also requires EJML library (not included), and agent, branch point, resource, and matrix CSVs (examples included - scalefree_agents.csv, nobranchpoints.csv, scalefree_resources.csv, scalefree_matrix.csv)
Further enquiries, contact [email protected]