pybounds 0.0.8__py3-none-any.whl → 0.0.10__py3-none-any.whl
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.
Potentially problematic release.
This version of pybounds might be problematic. Click here for more details.
- pybounds/observability.py +3 -5
- pybounds/simulator.py +6 -0
- {pybounds-0.0.8.dist-info → pybounds-0.0.10.dist-info}/METADATA +1 -1
- pybounds-0.0.10.dist-info/RECORD +11 -0
- pybounds-0.0.8.dist-info/RECORD +0 -11
- {pybounds-0.0.8.dist-info → pybounds-0.0.10.dist-info}/LICENSE +0 -0
- {pybounds-0.0.8.dist-info → pybounds-0.0.10.dist-info}/WHEEL +0 -0
- {pybounds-0.0.8.dist-info → pybounds-0.0.10.dist-info}/top_level.txt +0 -0
pybounds/observability.py
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import numpy as np
|
|
2
2
|
import pandas as pd
|
|
3
|
-
|
|
4
|
-
# from pathos.multiprocessing import ProcessingPool as Pool
|
|
5
|
-
from concurrent.futures import ThreadPoolExecutor
|
|
3
|
+
import sympy as sp
|
|
6
4
|
import warnings
|
|
7
|
-
# import matplotlib as mpl
|
|
8
5
|
import matplotlib.pyplot as plt
|
|
9
6
|
from mpl_toolkits.axes_grid1.inset_locator import inset_axes
|
|
10
|
-
|
|
7
|
+
from concurrent.futures import ThreadPoolExecutor
|
|
8
|
+
|
|
11
9
|
from .util import LatexStates
|
|
12
10
|
from .jacobian import SymbolicJacobian
|
|
13
11
|
|
pybounds/simulator.py
CHANGED
|
@@ -187,6 +187,7 @@ class Simulator(object):
|
|
|
187
187
|
self.simulator.set_tvp_fun(self.simulator_tvp_function)
|
|
188
188
|
|
|
189
189
|
# Setup simulator
|
|
190
|
+
self.simulator.set_param(store_simulator_stats=False)
|
|
190
191
|
self.simulator.setup()
|
|
191
192
|
|
|
192
193
|
def simulator_tvp_function(self, t):
|
|
@@ -318,6 +319,11 @@ class Simulator(object):
|
|
|
318
319
|
x[0, :] = x_step.copy()
|
|
319
320
|
|
|
320
321
|
# Initialize the simulator
|
|
322
|
+
# self.simulator = do_mpc.simulator.Simulator(self.model)
|
|
323
|
+
# self.simulator.set_param(**self.params_simulator)
|
|
324
|
+
# self.simulator.set_tvp_fun(self.simulator_tvp_function)
|
|
325
|
+
# self.simulator.setup()
|
|
326
|
+
self.simulator.reset_history() # reset simulator history (super important for speed)
|
|
321
327
|
self.simulator.t0 = self.time[0]
|
|
322
328
|
self.simulator.x0 = x_step.copy()
|
|
323
329
|
self.simulator.set_initial_guess()
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
pybounds/__init__.py,sha256=e4SQdDBQzqr7_x5lcQsuSoWqfBg258i7CDrhhvnmCe4,433
|
|
2
|
+
pybounds/jacobian.py,sha256=hqDOwwqZMdnlTECz0Rx6txCd4VuZ4iZHPaj62PTkKvA,2057
|
|
3
|
+
pybounds/observability.py,sha256=GmWrPADr-vCbBJIv0Cjk3Gj9JJoCuOizKrF8lzX3ncs,31553
|
|
4
|
+
pybounds/observability_transform.py,sha256=YibApe7OzwrZT44BmlZwetJ1JLHOIgMkpVYggWz5Myo,585
|
|
5
|
+
pybounds/simulator.py,sha256=ZCYwIA_TuIDNPF0kw4HcGKpZPFT-trmfM1KBpgp_1k0,16581
|
|
6
|
+
pybounds/util.py,sha256=Gs0UgqgLXTJI9FZww90iJhqU02iJ31bXBURjGiq3YzM,7401
|
|
7
|
+
pybounds-0.0.10.dist-info/LICENSE,sha256=kqeyRXtRGgBVZdXYeIX4zR9l2KZ2rqIBVEiPMTjxjcI,1093
|
|
8
|
+
pybounds-0.0.10.dist-info/METADATA,sha256=5Em8vYX6VQJD9j7yE7mU7xnfhFokIluxgibIeIPxRvw,2156
|
|
9
|
+
pybounds-0.0.10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
10
|
+
pybounds-0.0.10.dist-info/top_level.txt,sha256=V-ofnWE3m_UkXTXJwNRD07n14m5R6sc6l4NadaCCP_A,9
|
|
11
|
+
pybounds-0.0.10.dist-info/RECORD,,
|
pybounds-0.0.8.dist-info/RECORD
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
pybounds/__init__.py,sha256=e4SQdDBQzqr7_x5lcQsuSoWqfBg258i7CDrhhvnmCe4,433
|
|
2
|
-
pybounds/jacobian.py,sha256=hqDOwwqZMdnlTECz0Rx6txCd4VuZ4iZHPaj62PTkKvA,2057
|
|
3
|
-
pybounds/observability.py,sha256=iZqqjXju9YGHY441GEv9ZE68mUlOnzAyspAw-DSbsl8,31676
|
|
4
|
-
pybounds/observability_transform.py,sha256=YibApe7OzwrZT44BmlZwetJ1JLHOIgMkpVYggWz5Myo,585
|
|
5
|
-
pybounds/simulator.py,sha256=MhK7NjYHdRMToGzwVEuwEnu5Aa6MguF1KE7fAbWCiUA,16194
|
|
6
|
-
pybounds/util.py,sha256=Gs0UgqgLXTJI9FZww90iJhqU02iJ31bXBURjGiq3YzM,7401
|
|
7
|
-
pybounds-0.0.8.dist-info/LICENSE,sha256=kqeyRXtRGgBVZdXYeIX4zR9l2KZ2rqIBVEiPMTjxjcI,1093
|
|
8
|
-
pybounds-0.0.8.dist-info/METADATA,sha256=yFwL0tmDOZIydBYEPaewn1iSC-vTn252MtlJLjVPoLs,2155
|
|
9
|
-
pybounds-0.0.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
10
|
-
pybounds-0.0.8.dist-info/top_level.txt,sha256=V-ofnWE3m_UkXTXJwNRD07n14m5R6sc6l4NadaCCP_A,9
|
|
11
|
-
pybounds-0.0.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|