Hi, Justin -
I'll ask my colleagues to
reply to your question about IBC, but I can answer the part about
preserving optimization results. This is possible with NEMO's
functionality for reusing precalculated results. Basically, you have to
do the following:
1) Save the
NEMO scenario database with the calculated results. You can do this after you calculate a scenario in LEAP by:
a)
Opening the LEAP working directory (normally \_Work\0 under the LEAP
settings folder, whose path can be verified at Settings -> Folders in
LEAP).
b) Finding the .sqlite file corresponding to the
scenario, and moving it to another folder. The file will be named
NEMO_[scenario id].sqlite, where [scenario id] is LEAP's ID number for
the scenario. Example: NEMO_255.sqlite. You can verify the ID number
for a scenario using the LEAP API and a script (for more on this, see
LEAP's help).
Note that if you save your model in LEAP, LEAP
will delete NEMO scenario databases in the working directory unless
you've activated Settings -> Optimization -> Keep Intermediate
Results.
2) Adding a NEMO configuration file to
your model, and setting precalcresultspath in the calculatescenarioargs
block of the file to the path of the folder containing the saved NEMO
scenario database. See NEMO's
help page on configuration files for full details and examples.
Once
you've taken these steps, your model will always use the precalculated
results whenever you calculate the corresponding scenario in LEAP. The
optimization calculations will in effect be bypassed. To tell NEMO to
recalculate the scenario, comment out or delete the precalcresultspath line in the NEMO configuration file, and recalculate in LEAP.
Thanks,
Jason