WEAP वेबसाईटमा स्वागत छ
WEAP को उत्प्रेरणा Stockholm Environment Institute.

WEAP बारे

गृह पृष्‍ठ
WEAP किन ?
नयाँ के छ ?
Screens को उधहरण
ईतिहास र श्रेय

WEAP को प्रयोग
डाउनलोड गर्नुहोस्
प्रयोगकर्ता मार्गदर्शक

प्रयोगकर्ता सभास्थल
सदस्य सुची
Profile सम्पादन गर्नुहोस्

थप सहयोग
विश्वविधालय पाठ्याकमहरु

हाम्रो बारे
SEI-US जल सम्पदा कार्यक्रम
कृपया हामीलाई संपर्क गर्नुहोला

वातावरणीय समाचार
उर्जा बारे इक्छुक हुनुहुन्छ?
LEAP बारे अध्ययन गर्नुस्: उर्जा योजनाको लागि SEI को Software

प्रयोगकर्ता सभास्थल

सम्पूर्ण शिर्षकहरु | शिर्सक "Constraints"
Log in to post new messages or reply to existing messages.
लेखक सन्देश
Janak Timilsena

बिषय: Constraints   
Posted: 12/14/2009 हेरिएको: 24329 times
I am working to set the constraints for the groundwater extraction. I am running the model in daily time step. In my project, constraint is in annual basis (i.e. it can not exceed 90 mgd for wateryear). Some of the time steps could be more than 90 mgd and some of the time step could be less than 90 mgd, but end of the water year the average should not be exceeded 90 mgd. I have tried to use the following function in max flow volume;

PrevTSValue(Maximum Flow Volume[Million gal],1,365,1<90)

but it constraints everytime step, which i donot want.

Do you have any suggestion to incorporate this type of constraint in WEAP?
Jack Sieber

बिषय: Re: Constraints   
Posted: 12/14/2009 हेरिएको: 24328 times
Very interesting idea! What you are trying to do is constrain the flow through the transmission link in the current timestep so that it doesn't push the average (over the past year) above some threshold (90 million gallons per day (MGD)). In order to do this, you need to calculate the flow in the current timestep that would cause the average to be exactly 90 MGD, then constrain the flow through the link to be at most this flow. The answer is to subtract the total flow over the previous 364 days from 90 * 365 to get the "available" flow for the current day. Also, you need to make sure the answer is not negative.

Max(0, 365 * 90 - PrevTSValue(Flow[MGD], 1, 364) )

Note: PrevTSValue(Flow[MGD], 1, 364) will sum up the flow, in MGD, over the previous 364 days.


शिर्सक "Constraints"