readCDF function for IEEE Common Data Format (CDF) files
Versione 1.0.2 (107 MB) da
Aryan Ritwajeet Jha
readCDF function inputs a filename of an IEEE Common Data Format CDF .txt file and outputs Bus Data, Branch Data, #Buses, #Branches.
function [busData, branchData, N, numBranch] = readCDF(filename, options)
Mandatory Inputs:
- filename: class::string. Example: "ieee14cdf.txt" or "rawData/ieee9cdf.txt".
Optional Inputs:
[OPTIONAL] reducedBranchColumnsCDFReading: class::boolean. true by default, it is enabled to shave off some of the latter columns of the CDF file as sometimes there are inconsistencies between different CDF files, plus the shaved input columns may NOT be useful to the user, at least for standard Power System Analysis.
[OPTIONAL] verboseCDFReading: class::boolean. false by default. Will output a lot of comments as it reads different parts of the CDF file.
Outputs:
- busData: class::table. Outputs an Nx18 MATLAB table with each row containing the corresponding data for each bus. All columns are neatly labelled like 'bus, busName, loadFlowArea, ...'.
- branchData: class:table. Outputs a numBranchx15 MATLAB table with each row containing data relevant to each branch of the bus.
- N: class:int. Outputs a single integer equal to the number of buses in the power system.
- numBranch: class:int. Outputs a single integer equal to the number of branches in the power system.
Built as part of course EE 521 Analysis of Power Systems at Washington State University.
Cita come
Aryan Ritwajeet Jha (2025). readCDF function for IEEE Common Data Format (CDF) files (https://github.com/Realife-Brahmin/readCDF/releases/tag/v1.0.2), GitHub. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2022a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.2 | See release notes for this release on GitHub: https://github.com/Realife-Brahmin/readCDF/releases/tag/v1.0.2 |
||
| 1.0.0 |
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
