Skip to main content

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/1.0.1/
Quick Start
bash
# 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 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

  1. 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

  2. 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

  3. POWER SYSTEM ANALYSIS: efficiency of Output Power vs Input Power - System efficiency power factor of Mains Voltage vs Line Current - Power factor

  4. 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

  5. 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 %

  6. MULTI-SIGNAL ANALYSIS: stats - Show all signals statistics stats Output Voltage - Detailed stats for specific signal list - Browse all available signals

  7. 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 Time

    Power 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplation-1.0.1.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simplation-1.0.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file simplation-1.0.1.tar.gz.

File metadata

  • Download URL: simplation-1.0.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for simplation-1.0.1.tar.gz
Algorithm Hash digest
SHA256 24ac58b42eef1e659f8adf97622dd470f59c9bb6d7520e949e17d217bf927e15
MD5 eeb976ee6f241b8c37fb41311f389293
BLAKE2b-256 ab160a730c300f70fdcd8477f46c6c7155efcc66b878b4af8547420942526c9d

See more details on using hashes here.

File details

Details for the file simplation-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: simplation-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for simplation-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e70d42a4bfdd058dda5883428badee6ab829eadb457901d1c5bd62ddc8337c64
MD5 42cbc6d54a7d4376370d30d94bd8c08f
BLAKE2b-256 8ccdb171a92e5376ce43e0c87fa3f93c0a365024639f0c77579e1e1e3e0ed36a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page