From 10ea54c1d98ed213dafedde67c60c4b660823869 Mon Sep 17 00:00:00 2001 From: spuhlerd <34094350+spuhlerd@users.noreply.github.com> Date: Tue, 5 Jul 2022 11:41:23 +0200 Subject: [PATCH] Update README.md adjusted updating cached allsys with new case file --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1f2bb7f..505757e 100644 --- a/README.md +++ b/README.md @@ -253,13 +253,14 @@ using Serialization sources, additional_sources, techs = import_technologies(tech_file) if isfile("mycachfile.jls") - allSys = deserialize("mycachfile.jls") + allSys, sources, additional_sources, techs = deserialize("mycachfile.jls") else allSys = build_systems(sources, techs) ... massflow_summary!.(allSys, Ref(input_masses), n=100); ... - serialize("mycachfile.jls", allSys) + serialize("mycachfile.jls", (allSys, sources, additional_sources, techs)) + # note: we need to save the techs in order to ensure the link to from systems to tech properties (tas) end sysappscore!.(allSys) # all are '-1.0' because no case profile was defined yet