egypt2 - # Model EGYPT from June 1989 version of CSTR 133 #...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
# Model EGYPT from June 1989 version of CSTR 133 # # This static production model, originally stated in the GAMS language #(Bisschop and Meeraus 1982), is based on a World Bank study of the #Egyptian fertilizer industry (Choksi, Meeraus and Stoutjesdijk 1980). # #### SETS ### # set center; # Locations from which final product may be shipped set port within center; # Locations at which imports can be received set plant within center; # Locations of plants s set region; # Demand regions s set unit; # Productive units set proc; # Processes s set nutr; # Nutrients s set c_final; # Final products (fertilizers) set c_inter; # Intermediate products set c_ship within c_inter; # Intermediates for shipment set c_raw; # Domestic raw materials and miscellaneous inputs s set commod := c_final union c_inter union c_raw; # All commodities ### PARAMETERS ### # param cf75 {region,c_final} >= 0; # Consumption of fertilizer 1974-75 (1000 tpy) param fn {c_final,nutr} >= 0; # Nutrient content of fertilizers param cn75 {r in region, n in nutr} := sum {c in c_final} cf75[r,c] * fn[c,n]; p # Consumption of nutrients 1974-75 (1000 tpy) param road {region,center} >= 0; # Road distances param rail_half {plant,plant} >= 0; param rail {p1 in plant, p2 in plant} := if rail_half[p1,p2] > 0 then rail_half[p1,p2] else rail_half[p2,p1]; # Interplant rail distances (kms) param impd_barg {plant} >= 0; param impd_road {plant} >= 0; # Import distances (kms) by barge and road param tran_final {pl in plant, r in region} := if road[r,pl] > 0 then .5 + .0144 * road[r,pl] else 0; param tran_import {r in region, po in port} :=
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
if road[r,po] > 0 then .5 + .0144 * road[r,po] else 0; param tran_inter {p1 in plant, p2 in plant} :=
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/01/2011 for the course CO 370 taught by Professor Henry during the Winter '11 term at Waterloo.

Page1 / 5

egypt2 - # Model EGYPT from June 1989 version of CSTR 133 #...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online