Division by Zero
#1
I do not understand why GAMS is not running due to division by zero, see error from lst-file below.

**** Exec Error at line 38675: division by zero (0)
---- 38675 Assignment RTCS_SFR      0.016     0.827 SECS     41 Mb 63420

The model runs if I use a given set of S_COM_FR. However, if I change the S_COM_FR to another profile I get "Gams run ended”. I am sure there is a logic explanation but I cannot really understand why this happens. The number of S_COM_FR in each regions and period is 1008 with 21 stochastic and 48 time-slices. The S_COM_FR represents the PV production profile, and is consequently zero in many of the time-slices.

How can I interpret this error message? How can I change the model or model input to make this work?

Pernille

Reply


Messages In This Thread
Division by Zero - by Pernille.S - 17-09-2015, 06:36 AM
Division by Zero - by Antti-L - 17-09-2015, 07:56 AM
Division by Zero - by Pernille.S - 17-09-2015, 08:11 AM
Division by Zero - by Antti-L - 17-09-2015, 08:28 AM
Division by Zero - by Pernille.S - 17-09-2015, 08:53 AM
Division by Zero - by Antti-L - 17-09-2015, 09:01 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)