Closed CuiiGen closed 1 year ago
Hi @CuiiGen, thanks for bringing the measurement noise issue to our attention. We are working on a long-term fix, but in the meantime, you can include measurement noise by adding the following option to your config definition: 'print': True . Also please note that with this change, you'll either need to override event_state by redefining it in your script (see the linear_model.py example), or define F to be a matrix, for the code to run.
We'll get another solution online next week that won't require printing. Thank you!
Measurement Noise wasn't working correctly in simulation when output was stored as a LazySimResult (e.g., when not printing to screen). This has been fixed in prog_models v1.4.4 - now released.
Thank you @CuiiGen for bringing this issue to our attention.
The outputs are the same with the case where no measurement noise is applied in the model. The parameter
measurement_noise
does not work!Here is my code (Python 3.10.4 64-bit):
Without measurement nosie:
With measurement nosie (
measurement_noise = 10
):