A powerful command-line tool for analyzing and visualizing simulation data from CSV files
Project description
Simplation
A powerful command-line tool for analyzing and visualizing simulation data from CSV files.
Features
- ๐ Statistical Analysis: Mean, RMS, standard deviation, min, max, peak-to-peak
- ๐ Signal Quality Metrics: Crest factor, form factor, ripple factor, THD
- โก Power System Analysis: Efficiency, power factor calculations
- ๐จ Rich Visualization: Beautiful tables and colored output
- ๐ Fuzzy Matching: Intelligent signal name matching
- ๐ Complex Expressions: Mathematical operations combining multiple signals
- ๐ฏ Auto Unit Detection: Automatic unit recognition from signal names
Installation
pip install simplation
https://pypi.org/project/simplation/3.0.3/
# Requirements
- **Python**: 3.10.8 or higher
- **NumPy**: 1.22.4 or higher
- **pandas**: 2.2.2 or higher
- **Matplotlib**: 3.6.2 or higher
- **PyFiglet**: 0.8.post1 or higher
- **Rich**: 14.0.0 or higher
- **Colorama**: 0.4.6 or higher
Quick Start
# Launch the interactive tool
simplation
# Or run directly on a CSV file
simplation --file data.csv
Available Commands
Type help in the interactive tool to see all available commands, or examples for detailed usage examples.
๐ SIMPLATION USAGE EXAMPLES โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
-
BASIC STATISTICS: mean of Output Voltage - Average output voltage rms of Input Current - RMS value of input current max of Transformer Temperature - Maximum temperature reached min of Output Power - Minimum power output ptp of Ripple Voltage - Peak-to-peak ripple voltage std of Noise Signal - Standard deviation of noise
-
SIGNAL QUALITY ANALYSIS: crest factor of Motor Current - Ratio of peak to RMS current form factor of AC Voltage - Waveform shape quality factor ripple factor of DC Output - AC component relative to DC thd of Mains Voltage - Total Harmonic Distortion
-
POWER SYSTEM ANALYSIS: efficiency of Output Power vs Input Power - System efficiency power factor of Mains Voltage vs Line Current - Power factor
-
VISUALIZATION: plot Output Voltage - Plot voltage vs time plot Output Current vs Time - Plot current vs time
plot Efficiency vs Load - Plot efficiency vs load parameter plot Temperature vs Output Power - Correlation analysis -
COMPLEX EXPRESSIONS: (mean of Vout * max of Iout) / 1000 - Power calculation (rms of Voltage * rms of Current) - Apparent power std of Noise / mean of Signal - Signal-to-noise ratio (max of Temperature - min of Temperature) / 2 - Temperature swing (ptp of Ripple / mean of DC) * 100 - Ripple percentage efficiency of Output Power vs Input Power * 100 - Efficiency in %
-
MULTI-SIGNAL ANALYSIS: stats - Show all signals statistics stats Output Voltage - Detailed stats for specific signal list - Browse all available signals
-
REAL-WORLD SCENARIOS: Power Supply Analysis: mean of Output Voltage ptp of Output Ripple efficiency of Output Power vs Input Power crest factor of Input Current
Motor Drive Analysis: max of Motor Current rms of Phase Voltage power factor of Input Voltage vs Input Current plot Motor Speed vs Torque
Thermal Analysis: max of Junction Temperature mean of Heat Sink Temperature
stats Temperature Signals plot Temperature vs TimePower Quality: thd of Input Voltage thd of Input Current power factor of Grid Voltage vs Grid Current
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ก TIPS: โข Use fuzzy matching: 'mean of vout' will match 'Output Voltage' โข Complex expressions support: +, -, *, /, (), ** โข Units are auto-detected: [V], [A], [W], [ยฐC], etc. โข Rich tables for better data visualization โข Colors for easy result interpretation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simplation-3.0.3.tar.gz.
File metadata
- Download URL: simplation-3.0.3.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae5aa8573c2f155b503fa0c1f3603efd83d51f7921c1190c7bba6ec9bd814f88
|
|
| MD5 |
58264c297e2539b1ab9853cfb50a64e0
|
|
| BLAKE2b-256 |
fd819379af801229553685fc548ad66efa055f18c2ab185b8bdb3e3e64b5a758
|
File details
Details for the file simplation-3.0.3-py3-none-any.whl.
File metadata
- Download URL: simplation-3.0.3-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4da3c66f46bed200dfdd144148658006898f4e0c76e862651729eb3a69d403e1
|
|
| MD5 |
3944a84abcbf88fe652db8ddcabc1ec8
|
|
| BLAKE2b-256 |
71b6848b5a8c2fe050fa3b4ea1da0c6f41baeb0a207a2235dafd67827e086da9
|