fmdtools 2.2.0__tar.gz → 2.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fmdtools-2.2.0 → fmdtools-2.2.1}/LICENSE +1 -1
- {fmdtools-2.2.0/fmdtools.egg-info → fmdtools-2.2.1}/PKG-INFO +5 -5
- {fmdtools-2.2.0 → fmdtools-2.2.1}/README.md +3 -3
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/ex_pump.py +10 -5
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/__init__.py +1 -1
- {fmdtools-2.2.0 → fmdtools-2.2.1/fmdtools.egg-info}/PKG-INFO +5 -5
- {fmdtools-2.2.0 → fmdtools-2.2.1}/pyproject.toml +1 -1
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/asg_demo/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/asg_demo/demo_model.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/eps/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/eps/eps.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/eps/test_eps.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multiflow_demo/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multiflow_demo/multiflow_demo.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multiflow_demo/test_multiflow.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/drone_mdl_dynamic.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/drone_mdl_hierarchical.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/drone_mdl_rural.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/drone_mdl_static.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/drone_mdl_urban.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/opt_drone_rural.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/test_multirotor.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/jointfaults_ex.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/parallelism_methods.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/pump_indiv.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/pump_stochastic.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/test_pump.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/test_pump_example.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/test_pump_stochastic.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/optimization/ea_analysis.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/optimization/search_rover.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/rover_degradation.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/rover_mode_space.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/rover_model.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/rover_model_human.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/test_rover.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/tank/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/tank/tank_model.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/tank/tank_optimization_model.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/tank/test_tank.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/ATC.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/asset.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/common.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/model.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/test_asset.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/test_model.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/common.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/graph/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/graph/base.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/graph/label.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/graph/model.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/graph/style.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/history.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/phases.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/result.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/tabulate.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/action.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/base.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/component.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/function.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/geom.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/base.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/block/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/block/action.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/block/base.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/block/component.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/block/function.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/base.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/mode.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/parameter.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/rand.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/state.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/time.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/environment.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/flow/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/flow/base.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/flow/commsflow.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/flow/multiflow.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/object/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/object/base.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/object/coords.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/object/geom.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/object/timer.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/sim/__init__.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/sim/propagate.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/sim/sample.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/sim/scenario.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/sim/search.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools.egg-info/SOURCES.txt +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools.egg-info/dependency_links.txt +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools.egg-info/requires.txt +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools.egg-info/top_level.txt +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/setup.cfg +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/tests/test_graph.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/tests/test_hierarchical.py +0 -0
- {fmdtools-2.2.0 → fmdtools-2.2.1}/tests/test_packages.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fmdtools
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: System resilience modelling, simulation, and assessment in Python
|
|
5
5
|
Author: fmdtools Developers
|
|
6
6
|
Maintainer-email: Daniel Hulse <daniel.e.hulse@nasa.gov>
|
|
7
|
-
License: fmdtools version 2.2.
|
|
7
|
+
License: fmdtools version 2.2.1
|
|
8
8
|
---------------------------
|
|
9
9
|
Apache License
|
|
10
10
|
Version 2.0, January 2004
|
|
@@ -367,7 +367,7 @@ This may then be installed using:
|
|
|
367
367
|
Note that this version reflects the latest version on the ``main`` git branch along with any local changes. To use a particular version of ``fmdtools`` you can checkout the tag corresponding to the version you want, e.g.:
|
|
368
368
|
|
|
369
369
|
```
|
|
370
|
-
git checkout v2.2.
|
|
370
|
+
git checkout v2.2.1
|
|
371
371
|
```
|
|
372
372
|
|
|
373
373
|
|
|
@@ -505,8 +505,8 @@ To cite a particular version of the fmdtools, you may use:
|
|
|
505
505
|
author = {{NASA}},
|
|
506
506
|
title = {fmdtools},
|
|
507
507
|
url = {https://github.com/nasa/fmdtools},
|
|
508
|
-
version = {2.2.
|
|
509
|
-
date = {2025-
|
|
508
|
+
version = {2.2.1},
|
|
509
|
+
date = {2025-9-30},
|
|
510
510
|
}
|
|
511
511
|
```
|
|
512
512
|
|
|
@@ -106,7 +106,7 @@ This may then be installed using:
|
|
|
106
106
|
Note that this version reflects the latest version on the ``main`` git branch along with any local changes. To use a particular version of ``fmdtools`` you can checkout the tag corresponding to the version you want, e.g.:
|
|
107
107
|
|
|
108
108
|
```
|
|
109
|
-
git checkout v2.2.
|
|
109
|
+
git checkout v2.2.1
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
|
|
@@ -244,8 +244,8 @@ To cite a particular version of the fmdtools, you may use:
|
|
|
244
244
|
author = {{NASA}},
|
|
245
245
|
title = {fmdtools},
|
|
246
246
|
url = {https://github.com/nasa/fmdtools},
|
|
247
|
-
version = {2.2.
|
|
248
|
-
date = {2025-
|
|
247
|
+
version = {2.2.1},
|
|
248
|
+
date = {2025-9-30},
|
|
249
249
|
}
|
|
250
250
|
```
|
|
251
251
|
|
|
@@ -432,9 +432,6 @@ class MoveWat(Function):
|
|
|
432
432
|
self.wat_out.s.pressure = 10/500 * velocity/self.wat_out.s.area
|
|
433
433
|
self.wat_out.s.flowrate = 0.3/500 * velocity*self.wat_out.s.area
|
|
434
434
|
|
|
435
|
-
self.wat_in.s.assign(self.wat_out.s, 'pressure', 'flowrate')
|
|
436
|
-
|
|
437
|
-
|
|
438
435
|
# DEFINE MODEL OBJECT
|
|
439
436
|
class Pump(FunctionArchitecture):
|
|
440
437
|
"""
|
|
@@ -660,8 +657,15 @@ def script_sample_faults(track='all', **kwargs):
|
|
|
660
657
|
|
|
661
658
|
if __name__ == "__main__":
|
|
662
659
|
|
|
663
|
-
mdl = Pump()
|
|
664
|
-
|
|
660
|
+
mdl = Pump(sp={'end_time': 100000}, track=[])
|
|
661
|
+
import time
|
|
662
|
+
t = time.time()
|
|
663
|
+
mdl(100000)
|
|
664
|
+
dt = time.time() - t
|
|
665
|
+
# mdl = Pump()
|
|
666
|
+
# res, hist = propagate.nominal(mdl, to_return = {'graph': FunctionArchitectureGraph})
|
|
667
|
+
|
|
668
|
+
"""
|
|
665
669
|
endfaults, mdlhist = propagate.one_fault(mdl, 'export_water', 'block',
|
|
666
670
|
time=10, to_return='faults')
|
|
667
671
|
# import doctest
|
|
@@ -686,3 +690,4 @@ if __name__ == "__main__":
|
|
|
686
690
|
og = ObjectGraph(Pump(), get_source=True)
|
|
687
691
|
og.set_node_labels(title='shortname', title2='classname', subtext='docs')
|
|
688
692
|
og.draw_graphviz()
|
|
693
|
+
"""
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fmdtools
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: System resilience modelling, simulation, and assessment in Python
|
|
5
5
|
Author: fmdtools Developers
|
|
6
6
|
Maintainer-email: Daniel Hulse <daniel.e.hulse@nasa.gov>
|
|
7
|
-
License: fmdtools version 2.2.
|
|
7
|
+
License: fmdtools version 2.2.1
|
|
8
8
|
---------------------------
|
|
9
9
|
Apache License
|
|
10
10
|
Version 2.0, January 2004
|
|
@@ -367,7 +367,7 @@ This may then be installed using:
|
|
|
367
367
|
Note that this version reflects the latest version on the ``main`` git branch along with any local changes. To use a particular version of ``fmdtools`` you can checkout the tag corresponding to the version you want, e.g.:
|
|
368
368
|
|
|
369
369
|
```
|
|
370
|
-
git checkout v2.2.
|
|
370
|
+
git checkout v2.2.1
|
|
371
371
|
```
|
|
372
372
|
|
|
373
373
|
|
|
@@ -505,8 +505,8 @@ To cite a particular version of the fmdtools, you may use:
|
|
|
505
505
|
author = {{NASA}},
|
|
506
506
|
title = {fmdtools},
|
|
507
507
|
url = {https://github.com/nasa/fmdtools},
|
|
508
|
-
version = {2.2.
|
|
509
|
-
date = {2025-
|
|
508
|
+
version = {2.2.1},
|
|
509
|
+
date = {2025-9-30},
|
|
510
510
|
}
|
|
511
511
|
```
|
|
512
512
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|