pybounds 0.0.9__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/simulator.py +6 -1
- {pybounds-0.0.9.dist-info → pybounds-0.0.10.dist-info}/METADATA +1 -1
- pybounds-0.0.10.dist-info/RECORD +11 -0
- pybounds-0.0.9.dist-info/RECORD +0 -11
- {pybounds-0.0.9.dist-info → pybounds-0.0.10.dist-info}/LICENSE +0 -0
- {pybounds-0.0.9.dist-info → pybounds-0.0.10.dist-info}/WHEEL +0 -0
- {pybounds-0.0.9.dist-info → pybounds-0.0.10.dist-info}/top_level.txt +0 -0
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):
|
|
@@ -279,7 +280,6 @@ class Simulator(object):
|
|
|
279
280
|
:params u: input dict or array
|
|
280
281
|
:params return_full_output: boolean to run (time, x, u, y) instead of y
|
|
281
282
|
"""
|
|
282
|
-
print('run')
|
|
283
283
|
|
|
284
284
|
if (mpc is True) and (u is not None):
|
|
285
285
|
raise Exception('u must be None if running MPC')
|
|
@@ -319,6 +319,11 @@ class Simulator(object):
|
|
|
319
319
|
x[0, :] = x_step.copy()
|
|
320
320
|
|
|
321
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)
|
|
322
327
|
self.simulator.t0 = self.time[0]
|
|
323
328
|
self.simulator.x0 = x_step.copy()
|
|
324
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.9.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=GmWrPADr-vCbBJIv0Cjk3Gj9JJoCuOizKrF8lzX3ncs,31553
|
|
4
|
-
pybounds/observability_transform.py,sha256=YibApe7OzwrZT44BmlZwetJ1JLHOIgMkpVYggWz5Myo,585
|
|
5
|
-
pybounds/simulator.py,sha256=o0h175rJyqLntdaeVUG9uLfNuygIca1SL5-MMLs6v6w,16216
|
|
6
|
-
pybounds/util.py,sha256=Gs0UgqgLXTJI9FZww90iJhqU02iJ31bXBURjGiq3YzM,7401
|
|
7
|
-
pybounds-0.0.9.dist-info/LICENSE,sha256=kqeyRXtRGgBVZdXYeIX4zR9l2KZ2rqIBVEiPMTjxjcI,1093
|
|
8
|
-
pybounds-0.0.9.dist-info/METADATA,sha256=wFmQiIaKyPECwfrGqKzPfujLCBmY2MuumlCyNSGrYSA,2155
|
|
9
|
-
pybounds-0.0.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
10
|
-
pybounds-0.0.9.dist-info/top_level.txt,sha256=V-ofnWE3m_UkXTXJwNRD07n14m5R6sc6l4NadaCCP_A,9
|
|
11
|
-
pybounds-0.0.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|