Determination of production run time and warranty length under system maintenance and trade credits · Study