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

A few recommended changes #575

Closed teubert closed 1 year ago

teubert commented 1 year ago

I had some suggestions for reworking parameter estimation. Rather than making them all in github, I created this branch. The biggest changes are that I fixed the data for example 1, and that example 2 continues from example 1.

github-actions[bot] commented 1 year ago
Benchmarking Results From: Test Time (s)
import main 0.1820413999999999
import thrown object 0.7018373
model initialization 0.19742820000000005
set noise 0.8906768999999999
simulate 0.48042549999999995
simulate with saving 1.4533082999999998
simulate with saving, dt 1.5822912999999996
simulate with printing results, dt 2.1045695
Plot results 24.2551567
Metrics 0.04928740000000431
Surrogate Model Generation 2.5698043000000013
surrogate sim 1.7652353000000005
surrogate sim, dt 4.519910099999997
To: Test Time (s)
import main 0.18805929999999993
import thrown object 0.6761458999999999
model initialization 0.1805715000000001
set noise 0.8986038999999999
simulate 0.4733911000000002
simulate with saving 1.5027027999999998
simulate with saving, dt 1.5886717
simulate with printing results, dt 2.0278392000000007
Plot results 24.240487599999998
Metrics 0.05223800000000267
Surrogate Model Generation 2.5820137999999986
surrogate sim 1.834606799999996
surrogate sim, dt 4.574947799999997
github-actions[bot] commented 1 year ago
Benchmarking Results [Update] From: Test Time (s)
import main 0.11077380000000003
import thrown object 0.5034703
model initialization 0.11849510000000008
set noise 0.6717091000000002
simulate 0.2991136000000001
simulate with saving 0.9101789
simulate with saving, dt 1.0160052999999998
simulate with printing results, dt 1.2372896999999998
Plot results 14.3849697
Metrics 0.04059620000000308
Surrogate Model Generation 1.6144935000000018
surrogate sim 1.0008489000000012
surrogate sim, dt 2.891178700000001

To:

Test Time (s)
import main 0.11631110000000011
import thrown object 0.49499439999999995
model initialization 0.11726210000000004
set noise 0.6803803999999998
simulate 0.2990706000000003
simulate with saving 0.9020648000000002
simulate with saving, dt 1.0175708
simulate with printing results, dt 1.2405423000000004
Plot results 14.457681599999997
Metrics 0.0409440000000032
Surrogate Model Generation 1.6198104999999998
surrogate sim 0.9979751000000014
surrogate sim, dt 2.909147700000002
github-actions[bot] commented 1 year ago
Benchmarking Results [Update] From: Test Time (s)
import main 0.1528239
import thrown object 0.5444567999999999
model initialization 0.12233440000000018
set noise 0.7254151000000002
simulate 0.2961357000000002
simulate with saving 0.9469783999999999
simulate with saving, dt 1.0583757999999999
simulate with printing results, dt 1.2775894
Plot results 15.2260591
Metrics 0.038904600000002176
Surrogate Model Generation 1.6501328999999991
surrogate sim 1.0340533
surrogate sim, dt 2.999317999999999

To:

Test Time (s)
import main 0.13919729999999997
import thrown object 0.5283841
model initialization 0.14517300000000022
set noise 0.7662856000000002
simulate 0.3262095999999999
simulate with saving 0.9778194
simulate with saving, dt 1.0168999999999997
simulate with printing results, dt 1.1999281000000002
Plot results 14.735080199999999
Metrics 0.037420100000002066
Surrogate Model Generation 1.6112067000000003
surrogate sim 1.0475181000000013
surrogate sim, dt 2.9418635
github-actions[bot] commented 1 year ago
Benchmarking Results [Update] From: Test Time (s)
import main 0.11325020000000008
import thrown object 0.4971612000000001
model initialization 0.12195219999999996
set noise 0.6860502999999998
simulate 0.30165469999999983
simulate with saving 0.9195767999999997
simulate with saving, dt 1.0271723999999995
simulate with printing results, dt 1.2513827000000006
Plot results 14.0828422
Metrics 0.041556100000001095
Surrogate Model Generation 1.6024543000000016
surrogate sim 0.9995123000000028
surrogate sim, dt 2.9046445

To:

Test Time (s)
import main 0.11609179999999997
import thrown object 0.5102256999999999
model initialization 0.11734669999999991
set noise 0.6920605000000002
simulate 0.30175170000000007
simulate with saving 0.9158296999999997
simulate with saving, dt 1.0311464999999997
simulate with printing results, dt 1.2506366999999994
Plot results 14.0345772
Metrics 0.041775100000002396
Surrogate Model Generation 1.6005389
surrogate sim 0.9979130000000005
surrogate sim, dt 2.8899709000000016