Skip to content

Fix clustering and model update#40

Merged
prasadtalasila merged 52 commits intoINTO-CPS-Association:mainfrom
au650680:fix_clustering_and_model_update
Mar 25, 2026
Merged

Fix clustering and model update#40
prasadtalasila merged 52 commits intoINTO-CPS-Association:mainfrom
au650680:fix_clustering_and_model_update

Conversation

@au650680
Copy link
Copy Markdown
Contributor

No description provided.

au650680 added 30 commits October 21, 2025 12:46
Clustering and mode tracking is added with example code for both and a shared module for both. Other small changes have been made.
Clustering and mode tracking is added with example code for both and a shared module for both. Other small changes have been made.
Splitting function blocks into smaller functions. Other small changes.
Fixed an error in create_cluster, that resulted in doublicate model orders for a cluster. Allowed for scatter point size to be adjusted.
Removed debug info from some files, added missing type info for function arguments and returns, updated to YaFEM 1.0.0, changed some function descriptions, added timestamp to clustering data
Add model update module. Added reconnect function for MQTT client. Added timestamp outputs to some functions. Added models folder to store YAFEM models and model parameters. Added function to publish clustering results. Small change to the mode tracking algorithm. Added function to check mode shapes. Moved convert_list function to util.py, since it is used in multiple other functions. Added function to view the spectral density. Changes to readability.
Added example functions
dict to Dict, list to List, tuple to Tuple
- Added TopicToPublish to config file.
- Reduced code by reusing dublicate code.
- Added missing docstrings and argument types.
- Removed unused variables
- Small changes to plotting
- Duplicate code have been reduced.
- Models folder have been moved to top directory.
- mqtt.start_mqtt(), mqtt.shutdown() and mqtt.publish_to_mqtt() is added.
- Config have been change to have both MetadataToSubscribe, TopicsToSubscribe and TopicsToPublish.
- Topic indexes is not necessary to supply subscribe and publish functions.
- Publish functions have will now handle errors with missing topics.
- natural_freq.py have been replaced by plot_sysid.py.
- README.md is updated.
- Redundant sys.stdout.flush() have been removed.
- Added plot titles.
Added placeholder names to TopicsToPublish
- 10 minutes of recorded beam data
-  Small changes to broker information
- Updated replay config
- Added beam_pars.jsonl as example.
- Recordings are now done to one file.
- Replay function now uses threading.Timer() to delay the messages correctly.
- New path to model folder
Removed while loop
- Edit to docstring
- Edit to type hint
- Timestamp replaced with aligner time in sysid.py
- Reverted sysid config back to MQTT to have a more a general name
- Fixed warning with poetry build
- Fixed error within acceleration_readings()
- Added possibility to loop replay function.
- Changed key from "MQTT" back to "sysid" for configuration and code
- YAFEM model function which imported from the model file is now set in constants file, similar to other model variables.
- Added specific replay.json.template for use with record and replay files.
- Added replay_production.json.template for running function blocks with replayed data.
- Added more generalized model update information for the function block to grab from constants.py
- Updated USERGUIDE.md
- Typos, type hints and other minor improvements
The recording topic is now the same as the subscribe topic, which allows the user to see the origin of the recorded data.
The topic name which the recording is made to i simplified, but the original topic name is left as "origin" to backtrack to the original data source.
- Merged USERGUIDE.md with README.md
au650680 and others added 19 commits November 28, 2025 13:29
Small corrections and improvements are made, mostly in cluster tracking code.
The replay function is edited such that it correctly time and publish all data without loss.
The beam experiment is added with 1/4 of all the the data blocks. Such that 45 blocks at 2 minutes length are left.
Removed duplicate line
Added readme file to record and replay functions.
Reference results for beam experiment
Bug fix regarding plotting model update results
Increased version number
@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@prasadtalasila prasadtalasila merged commit 0283676 into INTO-CPS-Association:main Mar 25, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants