Dynamic reliability modeling of three-state networks