readCDF function for IEEE Common Data Format (CDF) files
版本 1.0.2 (106.7 MB) 作者:
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.
引用格式
Aryan Ritwajeet Jha (2024). readCDF function for IEEE Common Data Format (CDF) files (https://github.com/Realife-Brahmin/readCDF/releases/tag/v1.0.2), GitHub. 检索来源 .
MATLAB 版本兼容性
创建方式
R2022a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
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 |
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。