Description Usage Arguments Details Value
The blend
operation inserts rows from a source impact matrix (typically corresponding to an impact matrix for a non-continuous source)
into a target impact matrix (typically corresponding to a continuous source that does not operate at the same time as the non-continuous source).
Blend also generates an impact matrix which is a zero matrix of the same dimensions as the source matrix, except for the selected rows.
1 | blend(src, indices, target)
|
src |
Matrix corresponding to source group for which intermittent operation is simulated. |
indices |
Hours of operation (integer vector). Typically generated with |
target |
Matrix representing source group that does not operate when intermittent source does. By default this is the zero matrix (i.e., intermittent source may operate at same time as all other sources). |
Indices are intended to be a set of randomly generated operating hours created by hrs_rand
(which may be created via make_simplan
).
Blended matrix. Has an attribute listing all of the hours for which a substitution was made. Existing attributes are carried over from target
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.