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.
Files changed (104) hide show
  1. {fmdtools-2.2.0 → fmdtools-2.2.1}/LICENSE +1 -1
  2. {fmdtools-2.2.0/fmdtools.egg-info → fmdtools-2.2.1}/PKG-INFO +5 -5
  3. {fmdtools-2.2.0 → fmdtools-2.2.1}/README.md +3 -3
  4. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/ex_pump.py +10 -5
  5. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/__init__.py +1 -1
  6. {fmdtools-2.2.0 → fmdtools-2.2.1/fmdtools.egg-info}/PKG-INFO +5 -5
  7. {fmdtools-2.2.0 → fmdtools-2.2.1}/pyproject.toml +1 -1
  8. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/__init__.py +0 -0
  9. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/asg_demo/__init__.py +0 -0
  10. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/asg_demo/demo_model.py +0 -0
  11. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/eps/__init__.py +0 -0
  12. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/eps/eps.py +0 -0
  13. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/eps/test_eps.py +0 -0
  14. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multiflow_demo/__init__.py +0 -0
  15. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multiflow_demo/multiflow_demo.py +0 -0
  16. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multiflow_demo/test_multiflow.py +0 -0
  17. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/__init__.py +0 -0
  18. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/drone_mdl_dynamic.py +0 -0
  19. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/drone_mdl_hierarchical.py +0 -0
  20. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/drone_mdl_rural.py +0 -0
  21. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/drone_mdl_static.py +0 -0
  22. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/drone_mdl_urban.py +0 -0
  23. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/opt_drone_rural.py +0 -0
  24. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/multirotor/test_multirotor.py +0 -0
  25. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/__init__.py +0 -0
  26. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/jointfaults_ex.py +0 -0
  27. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/parallelism_methods.py +0 -0
  28. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/pump_indiv.py +0 -0
  29. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/pump_stochastic.py +0 -0
  30. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/test_pump.py +0 -0
  31. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/test_pump_example.py +0 -0
  32. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/pump/test_pump_stochastic.py +0 -0
  33. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/__init__.py +0 -0
  34. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/optimization/ea_analysis.py +0 -0
  35. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/optimization/search_rover.py +0 -0
  36. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/rover_degradation.py +0 -0
  37. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/rover_mode_space.py +0 -0
  38. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/rover_model.py +0 -0
  39. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/rover_model_human.py +0 -0
  40. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/rover/test_rover.py +0 -0
  41. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/tank/__init__.py +0 -0
  42. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/tank/tank_model.py +0 -0
  43. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/tank/tank_optimization_model.py +0 -0
  44. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/tank/test_tank.py +0 -0
  45. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/ATC.py +0 -0
  46. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/asset.py +0 -0
  47. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/common.py +0 -0
  48. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/model.py +0 -0
  49. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/test_asset.py +0 -0
  50. {fmdtools-2.2.0 → fmdtools-2.2.1}/examples/taxiway/test_model.py +0 -0
  51. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/__init__.py +0 -0
  52. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/common.py +0 -0
  53. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/graph/__init__.py +0 -0
  54. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/graph/base.py +0 -0
  55. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/graph/label.py +0 -0
  56. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/graph/model.py +0 -0
  57. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/graph/style.py +0 -0
  58. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/history.py +0 -0
  59. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/phases.py +0 -0
  60. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/result.py +0 -0
  61. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/analyze/tabulate.py +0 -0
  62. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/__init__.py +0 -0
  63. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/__init__.py +0 -0
  64. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/action.py +0 -0
  65. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/base.py +0 -0
  66. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/component.py +0 -0
  67. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/function.py +0 -0
  68. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/architecture/geom.py +0 -0
  69. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/base.py +0 -0
  70. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/block/__init__.py +0 -0
  71. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/block/action.py +0 -0
  72. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/block/base.py +0 -0
  73. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/block/component.py +0 -0
  74. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/block/function.py +0 -0
  75. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/__init__.py +0 -0
  76. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/base.py +0 -0
  77. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/mode.py +0 -0
  78. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/parameter.py +0 -0
  79. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/rand.py +0 -0
  80. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/state.py +0 -0
  81. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/container/time.py +0 -0
  82. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/environment.py +0 -0
  83. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/flow/__init__.py +0 -0
  84. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/flow/base.py +0 -0
  85. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/flow/commsflow.py +0 -0
  86. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/flow/multiflow.py +0 -0
  87. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/object/__init__.py +0 -0
  88. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/object/base.py +0 -0
  89. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/object/coords.py +0 -0
  90. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/object/geom.py +0 -0
  91. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/define/object/timer.py +0 -0
  92. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/sim/__init__.py +0 -0
  93. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/sim/propagate.py +0 -0
  94. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/sim/sample.py +0 -0
  95. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/sim/scenario.py +0 -0
  96. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools/sim/search.py +0 -0
  97. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools.egg-info/SOURCES.txt +0 -0
  98. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools.egg-info/dependency_links.txt +0 -0
  99. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools.egg-info/requires.txt +0 -0
  100. {fmdtools-2.2.0 → fmdtools-2.2.1}/fmdtools.egg-info/top_level.txt +0 -0
  101. {fmdtools-2.2.0 → fmdtools-2.2.1}/setup.cfg +0 -0
  102. {fmdtools-2.2.0 → fmdtools-2.2.1}/tests/test_graph.py +0 -0
  103. {fmdtools-2.2.0 → fmdtools-2.2.1}/tests/test_hierarchical.py +0 -0
  104. {fmdtools-2.2.0 → fmdtools-2.2.1}/tests/test_packages.py +0 -0
@@ -1,4 +1,4 @@
1
- fmdtools version 2.2.0
1
+ fmdtools version 2.2.1
2
2
  ---------------------------
3
3
  Apache License
4
4
  Version 2.0, January 2004
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fmdtools
3
- Version: 2.2.0
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.0
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.0
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.0},
509
- date = {2025-6-6},
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.0
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.0},
248
- date = {2025-6-6},
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
- res, hist = propagate.nominal(mdl, to_return = {'graph': FunctionArchitectureGraph})
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
+ """
@@ -22,6 +22,6 @@ import fmdtools.sim as sim
22
22
  import fmdtools.analyze as analyze
23
23
 
24
24
  __all__ = ['analyze', 'sim', 'define']
25
- __version__ = '2.2.0'
25
+ __version__ = '2.2.1'
26
26
  __copyright__ = "Copyright 2024 United States Government"
27
27
  __license__ = "Apache-2.0"
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fmdtools
3
- Version: 2.2.0
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.0
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.0
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.0},
509
- date = {2025-6-6},
508
+ version = {2.2.1},
509
+ date = {2025-9-30},
510
510
  }
511
511
  ```
512
512
 
@@ -18,7 +18,7 @@ classifiers = [
18
18
  description = "System resilience modelling, simulation, and assessment in Python"
19
19
  license = {file="LICENSE"}
20
20
  name = "fmdtools"
21
- version="2.2.0"
21
+ version="2.2.1"
22
22
  readme = "README.md"
23
23
  requires-python = ">=3.11"
24
24
 
File without changes
File without changes
File without changes
File without changes