ethos_penalps.process_state_switch#

Module Contents#

Classes#

ProcessStateSwitch

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

ProcessStateSwitchDelay

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

ProcessStateSwitchAtOutputStreamProvided

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

ProcessStateSwitchAtInputStreamProvided

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

ProcessStateSwitchAfterInputAndOutputStream

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

ProcessStateSwitchAtNextDiscreteEvent

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

Attributes#

logger

ethos_penalps.process_state_switch.logger#
class ethos_penalps.process_state_switch.ProcessStateSwitch#

Bases: abc.ABC

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

state_connector: ethos_penalps.data_classes.StateConnector#
process_step_data: ethos_penalps.process_step_data.ProcessStepData#
abstract calculate_next_event_time_backward() datetime.datetime#
class ethos_penalps.process_state_switch.ProcessStateSwitchDelay(process_step_data: ethos_penalps.process_step_data.ProcessStepData, state_connector: ethos_penalps.data_classes.StateConnector, delay: datetime.timedelta)#

Bases: ProcessStateSwitch

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

__str__()#

Return str(self).

calculate_next_event_time_backward() datetime.datetime#

This method calculates the time until the next storage event occurs for each storage of the process step

class ethos_penalps.process_state_switch.ProcessStateSwitchAtOutputStreamProvided(process_step_data: ethos_penalps.process_step_data.ProcessStepData, state_connector: ethos_penalps.data_classes.StateConnector)#

Bases: ProcessStateSwitch

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

__str__()#

Return str(self).

calculate_next_event_time_backward() datetime.datetime#

This method calculates the time until the next storage event occurs for each storage of the process step

class ethos_penalps.process_state_switch.ProcessStateSwitchAtInputStreamProvided(process_step_data: ethos_penalps.process_step_data.ProcessStepData, state_connector: ethos_penalps.data_classes.StateConnector)#

Bases: ProcessStateSwitch

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

__str__()#

Return str(self).

calculate_next_event_time_backward() datetime.datetime#

This method calculates the time until the next storage event occurs for each storage of the process step

class ethos_penalps.process_state_switch.ProcessStateSwitchAfterInputAndOutputStream(process_step_data: ethos_penalps.process_step_data.ProcessStepData, state_connector: ethos_penalps.data_classes.StateConnector)#

Bases: ProcessStateSwitch

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

__str__()#

Return str(self).

calculate_next_event_time_backward() datetime.datetime#

This method calculates the time until the next storage event occurs for each storage of the process step

class ethos_penalps.process_state_switch.ProcessStateSwitchAtNextDiscreteEvent(process_step_data: ethos_penalps.process_step_data.ProcessStepData, state_connector: ethos_penalps.data_classes.StateConnector)#

Bases: ProcessStateSwitch

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

__str__()#

Return str(self).

calculate_next_event_time_backward() datetime.datetime#

This method calculates the time until the next storage event occurs for each storage of the process step