utopia.helpers

Functions

generate_fsd_matrix(FI)

mass_to_num(mass_g, volume_m3, density_kg_m3)

num_to_mass(number, volume_m3, density_kg_m3)

handle_value(value)

sum_column_values(column)

process_flows(compartment, size_fraction, mp_form, ...)

Process flows (inflows or outflows) for a given compartment, size fraction, and MP form.

process_flows_comp(compartment, flow_type, flows_dict)

Process flows (inflows or outflows) for a given compartment, this means the heteroaggregation and biofouling processess should not be included

Module Contents

utopia.helpers.generate_fsd_matrix(FI)[source]
utopia.helpers.mass_to_num(mass_g, volume_m3, density_kg_m3)[source]
utopia.helpers.num_to_mass(number, volume_m3, density_kg_m3)[source]
utopia.helpers.handle_value(value)[source]
utopia.helpers.sum_column_values(column)[source]
utopia.helpers.process_flows(compartment, size_fraction, mp_form, flow_type, flows_dict)[source]

Process flows (inflows or outflows) for a given compartment, size fraction, and MP form.

utopia.helpers.process_flows_comp(compartment, flow_type, flows_dict)[source]

Process flows (inflows or outflows) for a given compartment, this means the heteroaggregation and biofouling processess should not be included