diff --git a/.nojekyll b/.nojekyll
index e94381c..c654a92 100644
--- a/.nojekyll
+++ b/.nojekyll
@@ -1 +1 @@
-855481b6
\ No newline at end of file
+40a0b9c0
\ No newline at end of file
diff --git a/CHANGELOG.html b/CHANGELOG.html
index 720f1de..a2f8557 100644
--- a/CHANGELOG.html
+++ b/CHANGELOG.html
@@ -106,7 +106,15 @@
Caveat: Please note that these criteria are based on available information about each badge online, and that we have likely differences in our procedure (e.g. allowed troubleshooting for execution and reproduction, not under tight time pressure to complete). Moreover, we focus only on reproduction of the discrete-event simulation, and not on other aspects of the article. We cannot guarantee that the badges below would have been awarded in practice by these journals.
Criteria
-
+
Code
from IPython.display import display, Markdown
@@ -391,7 +399,7 @@
Criteria
Badges
-
+
Code
# Full badge names
diff --git a/evaluation/reflections.html b/evaluation/reflections.html
index ae4b2a4..7d6a9df 100644
--- a/evaluation/reflections.html
+++ b/evaluation/reflections.html
@@ -106,7 +106,15 @@
This is run in a separate script from the other figures due to issues with RStudio crashing when all scenarios were run from a single script.
+
Run time: 6.165 minutes (will vary between machines)
+
+
Set up
+
+
# Clear environment
+rm(list=ls())
+
+# Start timer
+start.time <-Sys.time()
+
+# Disable scientific notation
+options(scipen=999)
+
+# Get the model and helper functions (but hide loading warnings for each package)
+suppressMessages(source("model.R"))
+suppressMessages(source("helpers.R"))
+
+
+
# Set the seed and default dimensions for figures
+SEED =200
+
+# Set file paths to save results
+folder ="../outputs"
+path_fig5 <-file.path(folder, "fig5.png")
Currently depends on simmer.plot() function that doesn’t work on the imported results from the csv file, so need to allow to run model to produce this plot!
+
+
if (isTRUE(run)) {
+# Replace resource (which has been filtered to angioINR) with scenario
+ baseline_f5$resource <-"Baseline"
+ exclusive_f5$resource <-"Exclusive-use"
+ twoangio_f5$resource <-"Two angio INRs"
+
+# Combine into single object
+ fig5_df <- dplyr::bind_rows(baseline_f5, exclusive_f5, twoangio_f5)
+
+# Create figure using simmer's plot
+ p <-plot(fig5_df, metric="utilization") +
+xlab("Scenarios") +
+ylab("Utilisation") +
+scale_y_continuous(labels = scales::percent, limits=c(0, 0.4)) +
+ggtitle("") +
+geom_text(aes(label=round(.data$Q50*100)), vjust=-1)
+ p
+
+# Save to provided path
+ggsave(path_fig5, width=5, height=2.5)
+}