From 954ac733b73850158cab500c70b9d6fbe68f1686 Mon Sep 17 00:00:00 2001 From: IMDijkstra <73649939+iddie1994@users.noreply.github.com> Date: Wed, 16 Feb 2022 10:23:22 +0100 Subject: [PATCH] Add files via upload --- finish-KDovertime_gas_vensim_NO_policy.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 finish-KDovertime_gas_vensim_NO_policy.py diff --git a/finish-KDovertime_gas_vensim_NO_policy.py b/finish-KDovertime_gas_vensim_NO_policy.py new file mode 100644 index 0000000..2c1183d --- /dev/null +++ b/finish-KDovertime_gas_vensim_NO_policy.py @@ -0,0 +1,14 @@ +import matplotlib.pyplot as plt + +from ema_workbench import ema_logging, load_results +from ema_workbench.analysis.plotting import kde_over_time + +ema_logging.log_to_stderr(ema_logging.INFO) + +fn = r'./data/500 gass cases no policy.tar.gz' +experiments, outcomes = load_results(fn) + +# the plotting functions return the figure and a dict of axes +fig, axes = kde_over_time(experiments, outcomes, outcomes_to_show=['NG Production capacity', + 'H2 Production capacity'], log=True) +plt.show() \ No newline at end of file