ethos_penalps.capacity_calculator#

Module Contents#

Classes#

CapacityClassifier

Helper class that provides a standard way to create an ABC using

BatchCapacityClassifier

Helper class that provides a standard way to create an ABC using

ContinuousCapacityClassifier

Helper class that provides a standard way to create an ABC using

CapacityCalculatorProcessChain

CapacityCalculator

CapacityAdjuster

class ethos_penalps.capacity_calculator.CapacityClassifier#

Bases: abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.

process_step_name: str#
first_start_time: datetime.datetime#
last_end_time: datetime.datetime#
total_length: datetime.timedelta#
hourly_capacity: float#
class ethos_penalps.capacity_calculator.BatchCapacityClassifier#

Bases: CapacityClassifier

Helper class that provides a standard way to create an ABC using inheritance.

output_batch_mass: float#
pretty_print()#
class ethos_penalps.capacity_calculator.ContinuousCapacityClassifier#

Bases: CapacityClassifier

Helper class that provides a standard way to create an ABC using inheritance.

output_stream_length: datetime.timedelta#
total_output_mass: numbers.Number#
output_to_total_length_ratio: numbers.Number#
stream_rate: numbers.Number#
pretty_print()#
determine_required_stream_rate_to_reach_process_step_capacity()#
class ethos_penalps.capacity_calculator.CapacityCalculatorProcessChain(process_step: ethos_penalps.process_nodes.process_step.ProcessStep)#
__post_innit__()#
_create_process_chain() ethos_penalps.process_chain.ProcessChain#
_create_sink() ethos_penalps.process_nodes.sink.Sink#
_create_source() ethos_penalps.process_nodes.source.Source#
add_single_order()#
class ethos_penalps.capacity_calculator.CapacityCalculator(process_step: ethos_penalps.process_nodes.process_step.ProcessStep)#
determine_throughput_of_process_step(print_output: bool = True) CapacityClassifier#
create_capacity_classifier() CapacityClassifier#
class ethos_penalps.capacity_calculator.CapacityAdjuster(process_step: ethos_penalps.process_nodes.process_step.ProcessStep)#
adjust_process_step_capacity(target_rate: numbers.Number)#