Hi Guido,
Thanks! The issue got resolved when I reopened the software. However I find the Message Window helpful.
I have another question based on scenario analysis (or) what-if analysis from Power system expansion problem:
- Which part of the procedure performs the task of using the output of a scenario as input into the other scenarios? (Please see the procedure from powersysexp.prj)
If not IsRunningAsViewer then
FixNewCapVariables;
NewCap(p).Nonvar := 1;
NewCapVarAreFixed := 1;
for spl do
CurrentPlan := spl;
SetNewCapAsInCurrentPlan;
NewCap(p) := PlanNewCap(CurrentPlan,p);
for s do
CurrentScenario := s;
SetInstDemAsInCurrentScenario;
InstDemand(k) := SPInstDemand(k,CurrentScenario);
SolveDet_PowerExpModel;
solve PowerExpModel;
CopyCurrentPlanSolInScenario;
PlanCapImportedInScenario(CurrentPlan,CurrentScenario) := CapImported; //CapImported := sum(k, ImportCap(k) /$ DemandDuration(k))
PlanTotalCostsInScenario(CurrentPlan,CurrentScenario) := TotalCosts;
endfor
endfor;
UnfixNewcapVariables;
else
DialogMessage("In the AIMMS Viewer, the SOLVE statement is disabled. Hence the solution is read from a case.");
CaseFind("Viewer Case", ACase);
CaseLoadCurrent(ACase,0);
endif;
Would much appreciate your explanation.
Thanks,
Mo
___________________________________________________________________________________________________________________________________