====== Steps of Creating a Calibration Framework ====== Steps for creating a calibration framework: - Copy simulator diagram (that runs dimensional analysis); rename to cal; change framework properties and directories - Create calibration calculators - If any //if $history// clauses are used in the simulator, preserve logic from the //true// branches and remove the //else// logic from the images in the calibrator. See [[howtos:Selective calibration - excluding some of a simulator from calibration]] - Replace simulation (time dependent) informants with calibration ones (e.g. ts with th) in the calibration diagram. - Initialize variable history links in simulator (Set history links...) - Replace simulation (time dependent) informants with calibration ones (e.g. ts with th) in the simulation diagram in history index only. - Handle binding link rules. - Run dimensional analysis in calibrator. - Run dimensional analysis in history in simulator. - Generate SAMM loading files for both frameworks (order doesn't matter). - Create model family in SAMM - Load informants from cal - Load simulator. - Load calibrator. - Save scenario. - Eval history ins. - Eval history outs.