Skip to content
/ droptest Public

R library for simulating LOX/GOX drop testing. (Impact Testing)

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
MIT-LICENSE.md
Notifications You must be signed in to change notification settings

chadr/droptest

Repository files navigation

droptest

GitHub CRAN

An R package for simulating LOX drop testing.

Introduction:

Generates simulated data representing the LOX drop testing process (also known as impact testing). Drop testing is expensive, time consuming, and notoriously difficult to analyze. A simulated process allows for accelerated study of test behavior. Functions are provided to simulate trials, test series, and groups of test series. Functions for creating plots specific to this process are also included. Test attributes and criteria can be set arbitrarily.

Installation:

To get the current released version from CRAN:

install.packages("droptest")

To get the current development version from github:

# install.packages("devtools")
devtools::install_github("chadr/droptest")

Background information:

Drop testing -- sometimes called impact testing -- is used to evaluate if a material will interact with liquid oxygen (LOX). The material is exposed to the LOX and an impactor is dropped onto the sample. Each drop is a bernoulli trial where a reaction is a failure and a non-reaction is a success. The specified number of trials -- until failure -- completes one test.

While fundamentally a binomial process, drop testing -- performed by the military and NASA -- yields results that are difficult to analyze. Numerous tech briefs and standards have attempted to address the problem (see below for more information). Testing stops immediately once the failure condition is reached. If the failure condition occurs on drop one or two -- depending on the failure criteria -- then the test returns only one or two result values. Alternatively, if a material passes, or if the failure condition occurs on the last trial, then the test returns as many result values as trials.

Simulation can be used to examine the behavior of this test procedure.

Inspired by NASA Technical Note "Computer Simulation of Threshold Sensitivity Determinations" (NASA-TN-D-7663). Gayle (1974). https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19750004618.pdf

Definitions:

  • Trial: A simulated bernoulli trial that represents one drop of the impactor onto a material sample. Hence a trial is also referred to as a drop. Where q is the probability of failure. A reaction is recorded as a failure. Where p is the probability of success. A non-reaction is recorded as a success. Where p = 1 - q. See https://en.wikipedia.org/wiki/Bernoulli_trial

  • Drop Test: A collection of simulated trials (drops) generated with equal parameters (q, number of trials, failure criteria, etc). When the failure criteria is reached the test is immediately terminated and no more trials are completed. The sooner a test reaches the failure criteria the less total trials for that particular test. A test with no failures will always contain the maximum number of trials as defined in the function parameters.

  • Test Series: A collection of simulated drop tests. A group number can be attached to the drop tests in a test series (optional).

  • Groups: A collection of multiple simulated test series. Each batch of test series are identified with a group number. Within each group test parameters will be identical.

  • Trial Deviation: The average distance from q for the total percent of reactions (failures).

Applicable Standards:

Pass/Fail criteria and number of observations required have been defined in the following standards:

Note: This package is not constrained by any standard. Arbitrary test criteria and observations can be specified for maximum flexibility.

For more information on drop testing:

Note: This work is not endorsed by or affiliated with NASA. Released under MIT license.

About

R library for simulating LOX/GOX drop testing. (Impact Testing)

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
MIT-LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages