nasa / prog_models

The NASA Prognostic Model Package is a Python framework focused on defining and building models for prognostics (computation of remaining useful life) of engineering systems, and provides a set of prognostics models for select components developed within this framework, suitable for use in prognostics applications for these components.
123 stars 50 forks source link

Fixing uav_test #564

Closed kjjarvis closed 1 year ago

kjjarvis commented 1 year ago

Small syntax error in testing uav model is now fixed

github-actions[bot] commented 1 year ago

Thank you for opening this PR. Since this is a release branch, the PR must complete the release checklist, below:

github-actions[bot] commented 1 year ago
Benchmarking Results From: Test Time (s)
import main 0.1175622999999999
import thrown object 0.5238486999999998
model initialization 0.15557520000000014
set noise 0.6798905
simulate 0.5055321000000004
simulate with saving 1.404595
simulate with saving, dt 1.8271761
simulate with printing results, dt 2.2750511000000007
Plot results 14.588336299999998
Metrics 0.04266930000000002
Surrogate Model Generation 2.175981499999999
surrogate sim 1.3570993000000016
surrogate sim, dt 3.6740046
To: Test Time (s)
import main 0.11345699999999992
import thrown object 0.4946416
model initialization 0.15587920000000022
set noise 0.6849585999999999
simulate 0.4942042
simulate with saving 1.4012574999999998
simulate with saving, dt 1.8040492000000006
simulate with printing results, dt 2.2572670000000006
Plot results 14.4648388
Metrics 0.042745299999999986
Surrogate Model Generation 2.1713759999999986
surrogate sim 1.3562579000000028
surrogate sim, dt 3.668492399999998
github-actions[bot] commented 1 year ago
Benchmarking Results [Update] From: Test Time (s)
import main 0.1341912999999999
import thrown object 0.5085933
model initialization 0.15772690000000011
set noise 0.6430320999999999
simulate 0.4926401
simulate with saving 1.4122551999999997
simulate with saving, dt 1.8409317000000005
simulate with printing results, dt 2.2466954999999995
Plot results 14.6765886
Metrics 0.03669720000000254
Surrogate Model Generation 2.1751053999999996
surrogate sim 1.4411112999999993
surrogate sim, dt 3.7067188000000044

To:

Test Time (s)
import main 0.12785019999999991
import thrown object 0.49121269999999995
model initialization 0.1568851999999996
set noise 0.6473151000000001
simulate 0.49052380000000007
simulate with saving 1.3980937
simulate with saving, dt 1.8076876000000004
simulate with printing results, dt 2.2465819
Plot results 14.7411898
Metrics 0.03639090000000067
Surrogate Model Generation 2.1632359999999977
surrogate sim 1.4252728999999995
surrogate sim, dt 3.6766252999999978
codecov-commenter commented 1 year ago

Codecov Report

Merging #564 (1e821d7) into release/v1.5 (4cd2bf7) will decrease coverage by 0.68%. The diff coverage is n/a.

@@               Coverage Diff                @@
##           release/v1.5     #564      +/-   ##
================================================
- Coverage         85.50%   84.83%   -0.68%     
================================================
  Files                70       45      -25     
  Lines              8224     3495    -4729     
================================================
- Hits               7032     2965    -4067     
+ Misses             1192      530     -662     

see 25 files with indirect coverage changes