getwdsdata.m
Syntax
[x] = getwdsdata(wdsfile, code)
[x] = getwdsdata(wdsfile, code, id)
[x,t] = getwdsdata(...)
Description
[x] = getwdsdata(wdsfile, code) returns static water distribution system data for all nodes/links from an EPANET 2 input file. The type of data is specified by the epanet 'code'.
[x] = getwdsdata(wdsfile, code, id) returns static water distribution system data for the nodes/links specified in cell array of strings 'id' from an EPANET 2 input file.
[x,t] = getwdsdata(...) returns dynamic water distribution system data with the time steps from an EPANET 2 input file.
Example
[cl, t] = getwdsdata('Net1.inp', 'en_quality', {'2', '12'})
Citation pour cette source
Philip Jonkergouw (2024). getwdsdata.m (https://www.mathworks.com/matlabcentral/fileexchange/15502-getwdsdata-m), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : OpenWaterAnalytics/EPANET-Matlab-Toolkit, EPANET Info from INP files
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |