Description Usage Arguments Value Examples
allows start & stop of controls to be set, depends on controls available in config file
1 | config_plan(l_config, t_strt, t_stop, control_id, add = FALSE)
|
l_config |
list of config parameters |
t_strt |
vector of start times |
t_stop |
vector of stop times |
control_id |
vector of control_ids for the times |
add |
whether to add the new controls to exisiting ones, default FALSE to replace |
list with modified control_plan
1 2 3 4 5 6 7 8 | l_config <- read_config()
l_config2 <- config_plan(l_config, t_strt=1, t_stop=15, control_id='irs_pyr')
l_config2 <- config_plan(l_config, t_strt=c(1,15), t_stop=c(10,20), control_id='irs_pyr')
l_config2 <- config_plan(l_config, t_strt=c(1,11), t_stop=c(10,20), control_id=c('irs_pyr','irs_ops'))
l_config2 <- config_plan(l_config, t_strt=c(1,11), t_stop=c(10,20), control_id=c('irs_pyr','irs_ddt'))
plot_sim( run_sim(l_config=l_config2))
#to create a blank config_plan
#l_config$control_plan <- l_config$control_plan[0,]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.