sort.GRiwrm {airGRiwrm} | R Documentation |
Sort a GRiwrm network in upstream-downstream order ready for Calibration
Description
It Uses getNodeRanking for determining the best order for calibration and leaves direct injection nodes at the tail of the list.
Usage
## S3 method for class 'GRiwrm'
sort(x, decreasing = FALSE, ...)
Arguments
x |
A GRiwrm object (See CreateGRiwrm) |
decreasing |
logical. Should the sort be increasing or decreasing? Not available for partial sorting. |
... |
arguments to be passed to or from methods or (for the
default methods and objects without a class) to |
Value
The sorted GRiwrm object in upstream-downstream order ready for Calibration
[Package airGRiwrm version 0.7.0 Index]