3-Phase & Net P, Q, S Vector Plot v0.9
Please load a CSV file to view the plot.
No data loaded yet. Please select a CSV file and click "Load".
Vector Analysis for Three-Phase Power Systems
Our platform is a sophisticated, real‐time visualization and analysis tool engineered specifically for three-phase power systems. It ingests CSV datasets containing detailed electrical measurements—active power (P), reactive power (Q), and both computed and measured apparent power (S)—from individual phases (A, B, and C) as well as from the aggregated net power.
Data Acquisition and Preprocessing
Upon file upload, the system employs robust CSV parsing (via Papa Parse) to extract raw data from designated columns. Each phase is associated with specific data indices (e.g., for Phase A, P at column 15, Q at column 16, and measured S at column 17), ensuring precise mapping of electrical parameters. The raw scalar values are then preprocessed—handling locale-specific decimal formats—to prepare them for vector transformation.Vector Transformation and Analysis
At the heart of the platform lies an advanced vector transformation engine. The active power (P) and reactive power (Q) measurements are initially represented as orthogonal vectors on a Cartesian plane (with P along the x-axis and Q along the y-axis). To accurately reflect the inherent 120° phase separation in balanced three-phase systems, a fixed rotational transformation is applied:
Phase A: Remains unrotated. Phase B: Rotated by –120°. Phase C: Rotated by +120°.
Additionally, an extra rotation—computed from a time-dependent parameter (1° per second)—is applied to each vector to capture temporal dynamics. The computed apparent power vector (S) is derived from the vector sum of P and Q, and its magnitude and angle are then directly compared to the measured S, enabling detailed validation and diagnostic analysis.
Visualization and Interactivity
The transformed data is rendered using Plotly, offering both Cartesian and polar plotting interfaces. In the Cartesian view, distinct vector styles (solid, dashed, and dotted) differentiate between the active, reactive, and apparent power components, while annotations and dynamic axis scaling provide clarity in the phase relationships. The polar plot offers an intuitive representation of the amplitude and phase angles, highlighting the angular distribution of power across phases. Furthermore, the system supports multiple display themes (light, dark, and transparent modes), ensuring visual adaptability and ease of interpretation under varying conditions.
Export Capabilities and Integration
Beyond real-time analysis, the tool integrates export functionality via jsPDF and html2canvas, allowing users to generate comprehensive PDF reports that include side-by-side graphical representations and detailed data annotations. This seamless integration ensures that results can be easily documented, shared, and utilized for further research or operational diagnostics.
Overall, our script blends precise vector mathematics, dynamic transformation techniques, and state-of-the-art visualization methods to provide an indispensable analytical resource for engineers and researchers in the field of electrical power systems.