{'fraction_non_alphanumeric': 0.02318840579710145, 'fraction_numerical': 0.0014492753623188406, 'mean_word_length': 5.192825112107624, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Generalized phase-type distributions based on multi-state systems

Abstract It is a well-known definition that the time until entering an absorbing state in a finite state Markov process follows a phase-type distribution. In this article we extend this distribution through adding two new events: one is that the number of transitions among states reaches a specified threshold; the other is that the sojourn time in a specified subset of states exceeds a given threshold. The system fails when it enters the absorbing state or two new events happen, whichever occurs first. We develop three models in terms of three circumstances: (i) the two thresholds are constants; (ii) the number of transitions is random while the sojourn time in the specified states is constant; and (iii) the sojourn time in the specified states is random while the number of transitions is constant. To the performance of such systems, we employ the theory of aggregated stochastic processes and obtain closed-form expressions for all reliability indexes, such as point-wise availabilities, various interval availabilities, and distributions of lifetimes. We select special distributions of two thresholds for models 2 and 3, which are the exponential and geometric distributions. The corresponding formulas are presented. Finally, some numerical examples are given to demonstrate the proposed formulas.